Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:59:03.563851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-26 23:59:12.414857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/44/image_20112025_23_44_15_2665.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_27_3620.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_33_2589.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_39_3684.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_42_2781.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_45_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_15_2665.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_27_3620.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_33_2589.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_39_3684.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_42_2781.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_45_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396317143","1396317196","1396317364","1396317328","1396317293","1396317251"],"photo_ids_order":["1396317143","1396317196","1396317251","1396317293","1396317328","1396317364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/152a723d252f9ce1b74abd7ab36eea32.jpg","text":"TemporaryFile(/tmp/multipartBody3519494531053581055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_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/27/4a5caca848ef1b0ebdd2edeccdc139fa.jpg","text":"TemporaryFile(/tmp/multipartBody6225057610562511972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_27_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/27/0849a57eeb03f83640d8c0af924c9090.jpg","text":"TemporaryFile(/tmp/multipartBody4143097717248597185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_45_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/27/0aca60d062d391499be648f2dd60f2d6.jpg","text":"TemporaryFile(/tmp/multipartBody1375435695048125276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_42_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/27/886fb04a4f56f9085702481b8146b813.jpg","text":"TemporaryFile(/tmp/multipartBody7111265950719762518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_39_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/27/0e60f216e96745904df820c572cef566.jpg","text":"TemporaryFile(/tmp/multipartBody2732584320470314028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198014113,"filename":"image_20112025_23_44_33_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396317251","file1":"1396317196","file0":"1396317143","file4":"1396317328","file5":"1396317364","file3":"1396317293"},"map_files_photo_id_array":[{"photo_id":"1396317364","filename":"file5"},{"photo_id":"1396317251","filename":"file2"},{"photo_id":"1396317328","filename":"file4"},{"photo_id":"1396317196","filename":"file1"},{"photo_id":"1396317143","filename":"file0"},{"photo_id":"1396317293","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396317143":["hashtag1","hashtag2"]},{"1396317196":["hashtag1","hashtag2"]},{"1396317364":["hashtag1","hashtag2"]},{"1396317328":["hashtag1","hashtag2"]},{"1396317293":["hashtag1","hashtag2"]},{"1396317251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396317143, 1396317196, 1396317364, 1396317328, 1396317293, 1396317251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23445391654968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:00:03.277296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/44/image_20112025_23_44_48_3743.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_57_2644.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_03_2767.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_24_2767.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_26_2650.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_36_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/23/44/image_20112025_23_44_48_3743.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_57_2644.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_03_2767.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_24_2767.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_26_2650.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_36_2677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0208702087402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:00:12.702791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/44/image_20112025_23_44_48_3743.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_57_2644.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_03_2767.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_24_2767.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_26_2650.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_36_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/23/44/image_20112025_23_44_48_3743.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_57_2644.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_03_2767.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_24_2767.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_26_2650.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_36_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396317670","1396317861","1396317783","1396317819","1396317747","1396317711"],"photo_ids_order":["1396317670","1396317711","1396317747","1396317783","1396317819","1396317861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0826d159265fd35f65c7bdcbc3295aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5948505597240661080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_44_48_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/27/ec5e3b7052eb72d087e1a0d2eeca0ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6340404854439511938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_45_36_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/27/7d86d06039bc2ae47521f8338f1cc711.jpg","text":"TemporaryFile(/tmp/multipartBody5775886591599984485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_45_24_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/27/e7e1e88fbab7ece2711d7cf3c7c6462a.jpg","text":"TemporaryFile(/tmp/multipartBody1309516394326831871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_45_26_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/27/b39bf2d43718e5dafb23ef6732e5c644.jpg","text":"TemporaryFile(/tmp/multipartBody5430985308569450615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_45_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/27/8fbd22da098f4696627a8ba28897c866.jpg","text":"TemporaryFile(/tmp/multipartBody5655252235437324322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198074222,"filename":"image_20112025_23_44_57_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396317747","file1":"1396317711","file0":"1396317670","file4":"1396317819","file5":"1396317861","file3":"1396317783"},"map_files_photo_id_array":[{"photo_id":"1396317861","filename":"file5"},{"photo_id":"1396317747","filename":"file2"},{"photo_id":"1396317819","filename":"file4"},{"photo_id":"1396317711","filename":"file1"},{"photo_id":"1396317670","filename":"file0"},{"photo_id":"1396317783","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396317670":["hashtag1","hashtag2"]},{"1396317861":["hashtag1","hashtag2"]},{"1396317783":["hashtag1","hashtag2"]},{"1396317819":["hashtag1","hashtag2"]},{"1396317747":["hashtag1","hashtag2"]},{"1396317711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396317670, 1396317861, 1396317783, 1396317819, 1396317747, 1396317711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11052489280701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:01:02.946703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/45/image_20112025_23_45_38_2685.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_45_3110.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_48_2644.jpg', '/home/pi/Desktop/images/20112025/23/45/image_20112025_23_46_00_2963.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_05_2652.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_12_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_38_2685.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_45_3110.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_45_48_2644.jpg
/home/pi/Desktop/images/20112025/23/45/image_20112025_23_46_00_2963.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_05_2652.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_12_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396317988","1396317970","1396317966","1396317969","1396317959","1396317968"],"photo_ids_order":["1396317959","1396317966","1396317968","1396317969","1396317970","1396317988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bcaac4893112b6292a297e5e78cf4b0.jpg","text":"TemporaryFile(/tmp/multipartBody193501802028493643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_46_12_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/27/decc899a08b5b8cb135c71ac231913f0.jpg","text":"TemporaryFile(/tmp/multipartBody8555555377206333872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_46_05_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/27/4e5984afb70cfbeef8ecc2f530af86ab.jpg","text":"TemporaryFile(/tmp/multipartBody2166705358258592187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_45_45_3110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9c8fadb00d8d4ca93bd55fc64dda97c.jpg","text":"TemporaryFile(/tmp/multipartBody4846375741996974975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_46_00_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/27/0d739d09cfe52fa9e1397ad342ba0eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8969692712982985342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_45_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/27/d58a46596513b4b8ef4b3cfbdb13986d.jpg","text":"TemporaryFile(/tmp/multipartBody7190297845747827988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198124135,"filename":"image_20112025_23_45_48_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396317968","file1":"1396317966","file0":"1396317959","file4":"1396317970","file5":"1396317988","file3":"1396317969"},"map_files_photo_id_array":[{"photo_id":"1396317988","filename":"file5"},{"photo_id":"1396317968","filename":"file2"},{"photo_id":"1396317970","filename":"file4"},{"photo_id":"1396317966","filename":"file1"},{"photo_id":"1396317959","filename":"file0"},{"photo_id":"1396317969","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396317988":["hashtag1","hashtag2"]},{"1396317970":["hashtag1","hashtag2"]},{"1396317966":["hashtag1","hashtag2"]},{"1396317969":["hashtag1","hashtag2"]},{"1396317959":["hashtag1","hashtag2"]},{"1396317968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396317988, 1396317970, 1396317966, 1396317969, 1396317959, 1396317968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6368293762207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:01:42.354229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/56/image_30102025_20_56_12_3624.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_15_2606.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_18_2668.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_24_3541.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_33_3792.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_36_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_12_3624.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_15_2606.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_18_2668.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_24_3541.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_33_3792.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_36_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396318177","1396318225","1396318426","1396318356","1396318137","1396318286"],"photo_ids_order":["1396318137","1396318177","1396318225","1396318286","1396318356","1396318426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1960a55bd366cc356b8246d5aba59cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1527141681746883814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_15_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/27/c3b9f3f24d189d87e641cd41479f9621.jpg","text":"TemporaryFile(/tmp/multipartBody5489928051047830755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_18_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/27/4fb81f63946b58320d55de9aa5de49db.jpg","text":"TemporaryFile(/tmp/multipartBody8271747420030791242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_36_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/27/ea0c224f0822f43d362c0227803d3a62.jpg","text":"TemporaryFile(/tmp/multipartBody7024975990463689445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_33_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/27/e12a2d73ea6ac117aca8add336e42a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7851782893686904766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_12_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/27/a8a47e22f0c9af8207fb8dc20d2608f8.jpg","text":"TemporaryFile(/tmp/multipartBody3960394174013850610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198164610,"filename":"image_30102025_20_56_24_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396318225","file1":"1396318177","file0":"1396318137","file4":"1396318356","file5":"1396318426","file3":"1396318286"},"map_files_photo_id_array":[{"photo_id":"1396318426","filename":"file5"},{"photo_id":"1396318225","filename":"file2"},{"photo_id":"1396318356","filename":"file4"},{"photo_id":"1396318177","filename":"file1"},{"photo_id":"1396318137","filename":"file0"},{"photo_id":"1396318286","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396318177":["hashtag1","hashtag2"]},{"1396318225":["hashtag1","hashtag2"]},{"1396318426":["hashtag1","hashtag2"]},{"1396318356":["hashtag1","hashtag2"]},{"1396318137":["hashtag1","hashtag2"]},{"1396318286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396318177, 1396318225, 1396318426, 1396318356, 1396318137, 1396318286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49474000930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:02:22.502122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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_27112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28941786, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764198203000}
4219
4125030
4219
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/23/59/image_27112025_00_00_05_9841.jpg', '/home/pi/Desktop/images/27112025/00/00/image_27112025_00_00_24_9802.jpg', '/home/pi/Desktop/images/27112025/00/00/image_27112025_00_01_04_9689.jpg', '/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_15_10594.jpg', '/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_24_9826.jpg', '/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_34_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/26112025/23/59/image_27112025_00_00_05_9841.jpg
/home/pi/Desktop/images/27112025/00/00/image_27112025_00_00_24_9802.jpg
/home/pi/Desktop/images/27112025/00/00/image_27112025_00_01_04_9689.jpg
/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_15_10594.jpg
/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_24_9826.jpg
/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_34_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396318930","1396319016","1396318860","1396318710","1396318781","1396318979"],"photo_ids_order":["1396318710","1396318781","1396318860","1396318930","1396318979","1396319016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82d8c3d8337f0468b170490e964b700d.jpg","text":"TemporaryFile(/tmp/multipartBody6773462478877148283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_01_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98d3c5dbe20f7b6f6f46c6ce7d0f05bc.jpg","text":"TemporaryFile(/tmp/multipartBody6383690209130358403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_01_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce40023e70625a9193a668f2f4263919.jpg","text":"TemporaryFile(/tmp/multipartBody3184151911134265030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_01_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de24f55a8d0ccce76bb7ac8523e68a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2063528119857566995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_00_05_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d90c1516e5b2097e84e7fc1e10b4e57.jpg","text":"TemporaryFile(/tmp/multipartBody3650025411469977182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_00_24_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/118bae8704fdb2c207d2336399858bab.jpg","text":"TemporaryFile(/tmp/multipartBody2984599342603902224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198204342,"filename":"image_27112025_00_01_24_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396318860","file1":"1396318781","file0":"1396318710","file4":"1396318979","file5":"1396319016","file3":"1396318930"},"map_files_photo_id_array":[{"photo_id":"1396319016","filename":"file5"},{"photo_id":"1396318860","filename":"file2"},{"photo_id":"1396318979","filename":"file4"},{"photo_id":"1396318781","filename":"file1"},{"photo_id":"1396318710","filename":"file0"},{"photo_id":"1396318930","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396318930":["hashtag1","hashtag2"]},{"1396319016":["hashtag1","hashtag2"]},{"1396318860":["hashtag1","hashtag2"]},{"1396318710":["hashtag1","hashtag2"]},{"1396318781":["hashtag1","hashtag2"]},{"1396318979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396318930, 1396319016, 1396318860, 1396318710, 1396318781, 1396318979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95072865486145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:03:03.414019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_45_10700.jpg', '/home/pi/Desktop/images/27112025/00/01/image_27112025_00_02_04_9627.jpg', '/home/pi/Desktop/images/27112025/00/02/image_27112025_00_02_35_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/01/image_27112025_00_01_45_10700.jpg
/home/pi/Desktop/images/27112025/00/01/image_27112025_00_02_04_9627.jpg
/home/pi/Desktop/images/27112025/00/02/image_27112025_00_02_35_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319323","1396319196","1396319266"],"photo_ids_order":["1396319196","1396319266","1396319323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73479288f2df726cec38ba0b0667cc03.jpg","text":"TemporaryFile(/tmp/multipartBody3332021681686298428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198244121,"filename":"image_27112025_00_02_35_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/652c1f34a5036f5178c4cebf3fa4df59.jpg","text":"TemporaryFile(/tmp/multipartBody338395529709549475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198244121,"filename":"image_27112025_00_01_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcd4caab6f3fa3a1842a81e9028134ee.jpg","text":"TemporaryFile(/tmp/multipartBody2315149968219611006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198244121,"filename":"image_27112025_00_02_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319323","file1":"1396319266","file0":"1396319196"},"map_files_photo_id_array":[{"photo_id":"1396319323","filename":"file2"},{"photo_id":"1396319266","filename":"file1"},{"photo_id":"1396319196","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396319323":["hashtag1","hashtag2"]},{"1396319196":["hashtag1","hashtag2"]},{"1396319266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396319323, 1396319196, 1396319266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.53604769706726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:03:32.664228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/46/image_20112025_23_46_27_2711.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_30_2732.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_32_2795.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_35_2957.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_38_2973.jpg', '/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_47_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_27_2711.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_30_2732.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_32_2795.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_35_2957.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_38_2973.jpg
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_47_2841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319481","1396319478","1396319480","1396319474","1396319476","1396319479"],"photo_ids_order":["1396319474","1396319476","1396319478","1396319479","1396319480","1396319481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be0e931b516836c85c6a4071e7ecff6c.jpg","text":"TemporaryFile(/tmp/multipartBody2383409142040122826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_47_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/27/3640dfd025243b8291aff706ab16209f.jpg","text":"TemporaryFile(/tmp/multipartBody2393946366115781931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_32_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/27/4b8de77223296896c5a36297578085ca.jpg","text":"TemporaryFile(/tmp/multipartBody7580009421459584722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_38_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/27/804f94dd6d37328e9f36c56d25b6c269.jpg","text":"TemporaryFile(/tmp/multipartBody8970138858349413825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_27_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/27/d9766bfb8d48de47f06a633c9d64555f.jpg","text":"TemporaryFile(/tmp/multipartBody689318784146977341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_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/27/cf9796b2d0e2bc813022366d392ec928.jpg","text":"TemporaryFile(/tmp/multipartBody7833095721879393938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198274399,"filename":"image_20112025_23_46_35_2957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319478","file1":"1396319476","file0":"1396319474","file4":"1396319480","file5":"1396319481","file3":"1396319479"},"map_files_photo_id_array":[{"photo_id":"1396319481","filename":"file5"},{"photo_id":"1396319478","filename":"file2"},{"photo_id":"1396319480","filename":"file4"},{"photo_id":"1396319476","filename":"file1"},{"photo_id":"1396319474","filename":"file0"},{"photo_id":"1396319479","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396319481":["hashtag1","hashtag2"]},{"1396319478":["hashtag1","hashtag2"]},{"1396319480":["hashtag1","hashtag2"]},{"1396319474":["hashtag1","hashtag2"]},{"1396319476":["hashtag1","hashtag2"]},{"1396319479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396319481, 1396319478, 1396319480, 1396319474, 1396319476, 1396319479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99955344200134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:04:11.831410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/46/image_20112025_23_46_54_2852.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_09_2724.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_12_2882.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_15_2964.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_24_2705.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_26_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/46/image_20112025_23_46_54_2852.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_09_2724.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_12_2882.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_15_2964.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_24_2705.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_26_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319529","1396319612","1396319686","1396319569","1396319716","1396319650"],"photo_ids_order":["1396319529","1396319569","1396319612","1396319650","1396319686","1396319716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/495bff975e727fcccee9688ed517675d.jpg","text":"TemporaryFile(/tmp/multipartBody4789347700153891202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_46_54_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ea48939782890efa1763417f40b4056.jpg","text":"TemporaryFile(/tmp/multipartBody2426691377241657695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_47_12_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/27/955f8de89d2d65df90767dc3679567e2.jpg","text":"TemporaryFile(/tmp/multipartBody7405591200652080824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_47_24_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/27/bc321123d28da17345c5e5613659865d.jpg","text":"TemporaryFile(/tmp/multipartBody8670119998193956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_47_09_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/27/809f3da5d03dd539903f8365196e0e80.jpg","text":"TemporaryFile(/tmp/multipartBody8006903509060284867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_47_26_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/27/60838d0f1d330a510071ba4a233f5f37.jpg","text":"TemporaryFile(/tmp/multipartBody6679509604237755868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198313489,"filename":"image_20112025_23_47_15_2964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319612","file1":"1396319569","file0":"1396319529","file4":"1396319686","file5":"1396319716","file3":"1396319650"},"map_files_photo_id_array":[{"photo_id":"1396319716","filename":"file5"},{"photo_id":"1396319612","filename":"file2"},{"photo_id":"1396319686","filename":"file4"},{"photo_id":"1396319569","filename":"file1"},{"photo_id":"1396319529","filename":"file0"},{"photo_id":"1396319650","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396319529":["hashtag1","hashtag2"]},{"1396319612":["hashtag1","hashtag2"]},{"1396319686":["hashtag1","hashtag2"]},{"1396319569":["hashtag1","hashtag2"]},{"1396319716":["hashtag1","hashtag2"]},{"1396319650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396319529, 1396319612, 1396319686, 1396319569, 1396319716, 1396319650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22783803939819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:05:02.780127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/02/image_27112025_00_02_55_10590.jpg', '/home/pi/Desktop/images/27112025/00/02/image_27112025_00_03_04_9651.jpg', '/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_25_10689.jpg', '/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_44_9758.jpg', '/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_55_10756.jpg', '/home/pi/Desktop/images/27112025/00/03/image_27112025_00_04_05_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/02/image_27112025_00_02_55_10590.jpg
/home/pi/Desktop/images/27112025/00/02/image_27112025_00_03_04_9651.jpg
/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_25_10689.jpg
/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_44_9758.jpg
/home/pi/Desktop/images/27112025/00/03/image_27112025_00_03_55_10756.jpg
/home/pi/Desktop/images/27112025/00/03/image_27112025_00_04_05_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319808","1396319811","1396319813","1396319807","1396319816","1396319821"],"photo_ids_order":["1396319807","1396319808","1396319811","1396319813","1396319816","1396319821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98b8d77075a7c003272824b1afba2fea.jpg","text":"TemporaryFile(/tmp/multipartBody4434094995199528454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_03_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44ddd879da55396dc931a0f2c52c6c14.jpg","text":"TemporaryFile(/tmp/multipartBody1728548495790726225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_03_25_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c93d92b366cb94df770d7339cc3dfdf0.jpg","text":"TemporaryFile(/tmp/multipartBody7351899630160801974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_03_44_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e41f74da4186e7d66d44094394495b6.jpg","text":"TemporaryFile(/tmp/multipartBody287808577213901005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_02_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f773cea377050880c6a73362c79a88f1.jpg","text":"TemporaryFile(/tmp/multipartBody8520973830069858935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_03_55_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed3922bbfd4ac36cc8cb16f15bf8adc1.jpg","text":"TemporaryFile(/tmp/multipartBody627080341934257035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198363655,"filename":"image_27112025_00_04_05_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319811","file1":"1396319808","file0":"1396319807","file4":"1396319816","file5":"1396319821","file3":"1396319813"},"map_files_photo_id_array":[{"photo_id":"1396319821","filename":"file5"},{"photo_id":"1396319811","filename":"file2"},{"photo_id":"1396319816","filename":"file4"},{"photo_id":"1396319808","filename":"file1"},{"photo_id":"1396319807","filename":"file0"},{"photo_id":"1396319813","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396319808":["hashtag1","hashtag2"]},{"1396319811":["hashtag1","hashtag2"]},{"1396319813":["hashtag1","hashtag2"]},{"1396319807":["hashtag1","hashtag2"]},{"1396319816":["hashtag1","hashtag2"]},{"1396319821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396319808, 1396319811, 1396319813, 1396319807, 1396319816, 1396319821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.180190563201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:05:42.025015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/56/image_30102025_20_56_38_2606.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_44_2586.jpg', '/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_02_2548.jpg', '/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_06_3599.jpg', '/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_21_2683.jpg', '/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_27_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_38_2606.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_44_2586.jpg
/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_02_2548.jpg
/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_06_3599.jpg
/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_21_2683.jpg
/home/pi/Desktop/images/30102025/20/57/image_30102025_20_57_27_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319830","1396319827","1396319832","1396319829","1396319831","1396319833"],"photo_ids_order":["1396319827","1396319829","1396319830","1396319831","1396319832","1396319833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c13f1ff6fbb5807b81667fb868965be.jpg","text":"TemporaryFile(/tmp/multipartBody8938380511058734466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_57_02_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/27/32f536c931ca5a85680fdb391427971d.jpg","text":"TemporaryFile(/tmp/multipartBody5292439159372758909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_56_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/27/591a7ce9d026d48edf9205d06d7c651c.jpg","text":"TemporaryFile(/tmp/multipartBody7233126086163249052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_57_21_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/27/3f5312d47d11035a8bdfa180b6a03df6.jpg","text":"TemporaryFile(/tmp/multipartBody5066894828197010873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_56_44_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/27/f37b849d600facb74694298bfdac7d70.jpg","text":"TemporaryFile(/tmp/multipartBody8719227580386986760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_57_06_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/27/fae26a6057d94b1ff3fd40fae7ab1ace.jpg","text":"TemporaryFile(/tmp/multipartBody4314494639521537866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198403267,"filename":"image_30102025_20_57_27_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319830","file1":"1396319829","file0":"1396319827","file4":"1396319832","file5":"1396319833","file3":"1396319831"},"map_files_photo_id_array":[{"photo_id":"1396319833","filename":"file5"},{"photo_id":"1396319830","filename":"file2"},{"photo_id":"1396319832","filename":"file4"},{"photo_id":"1396319829","filename":"file1"},{"photo_id":"1396319827","filename":"file0"},{"photo_id":"1396319831","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396319830":["hashtag1","hashtag2"]},{"1396319827":["hashtag1","hashtag2"]},{"1396319832":["hashtag1","hashtag2"]},{"1396319829":["hashtag1","hashtag2"]},{"1396319831":["hashtag1","hashtag2"]},{"1396319833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396319830, 1396319827, 1396319832, 1396319829, 1396319831, 1396319833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25389528274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:06:22.384410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_14_9756.jpg', '/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_34_9748.jpg', '/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_55_10758.jpg', '/home/pi/Desktop/images/27112025/00/04/image_27112025_00_05_04_9689.jpg', '/home/pi/Desktop/images/27112025/00/05/image_27112025_00_05_14_9700.jpg', '/home/pi/Desktop/images/27112025/00/05/image_27112025_00_05_35_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_14_9756.jpg
/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_34_9748.jpg
/home/pi/Desktop/images/27112025/00/04/image_27112025_00_04_55_10758.jpg
/home/pi/Desktop/images/27112025/00/04/image_27112025_00_05_04_9689.jpg
/home/pi/Desktop/images/27112025/00/05/image_27112025_00_05_14_9700.jpg
/home/pi/Desktop/images/27112025/00/05/image_27112025_00_05_35_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319874","1396319871","1396319868","1396319864","1396319875","1396319857"],"photo_ids_order":["1396319857","1396319864","1396319868","1396319871","1396319874","1396319875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3164856b2dd03f7347f176a73cb9affd.jpg","text":"TemporaryFile(/tmp/multipartBody7661859293264137802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_05_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0875dc03dbfb182a13690da11f329dda.jpg","text":"TemporaryFile(/tmp/multipartBody7726571315286566188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_05_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fb9039cd674f62a41e4881c07606257.jpg","text":"TemporaryFile(/tmp/multipartBody8168368889920764844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_04_55_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe48eb4845c6bee39eed179ef4424772.jpg","text":"TemporaryFile(/tmp/multipartBody1891016577111728400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_04_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f322331ae1fb0084093241c5b86d3af.jpg","text":"TemporaryFile(/tmp/multipartBody7425823964458540822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_05_35_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d9f0f1a6083a3ef2ebcc272389b6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5238422280369778712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198443146,"filename":"image_27112025_00_04_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319868","file1":"1396319864","file0":"1396319857","file4":"1396319874","file5":"1396319875","file3":"1396319871"},"map_files_photo_id_array":[{"photo_id":"1396319875","filename":"file5"},{"photo_id":"1396319868","filename":"file2"},{"photo_id":"1396319874","filename":"file4"},{"photo_id":"1396319864","filename":"file1"},{"photo_id":"1396319857","filename":"file0"},{"photo_id":"1396319871","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396319874":["hashtag1","hashtag2"]},{"1396319871":["hashtag1","hashtag2"]},{"1396319868":["hashtag1","hashtag2"]},{"1396319864":["hashtag1","hashtag2"]},{"1396319875":["hashtag1","hashtag2"]},{"1396319857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396319874, 1396319871, 1396319868, 1396319864, 1396319875, 1396319857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71491003036499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:07:12.478650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/47/image_20112025_23_47_39_3610.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_48_3763.jpg', '/home/pi/Desktop/images/20112025/23/47/image_20112025_23_48_00_3569.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_05_2806.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_08_2984.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_15_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_39_3610.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_47_48_3763.jpg
/home/pi/Desktop/images/20112025/23/47/image_20112025_23_48_00_3569.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_05_2806.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_08_2984.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_15_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396319880","1396319883","1396319891","1396319885","1396319888","1396319878"],"photo_ids_order":["1396319878","1396319880","1396319883","1396319885","1396319888","1396319891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56adbff4a0923b1f2b6703cbc8d39ef5.jpg","text":"TemporaryFile(/tmp/multipartBody2819033211818620012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_47_48_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/27/aa22a1cf8b822f176fac8c41117f6847.jpg","text":"TemporaryFile(/tmp/multipartBody3992335997272743369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_48_00_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/27/b5419d137a49031a02ed6308267e1cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8919191940196521630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_48_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/27/dea9a03cc285fade65ec8c27e1dfb4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3553825022453110137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_48_05_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/27/89c6636dae697bf5394207275a86f4c6.jpg","text":"TemporaryFile(/tmp/multipartBody7211198377847543847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_48_08_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c3af5cd28439afdb57f97d309857153.jpg","text":"TemporaryFile(/tmp/multipartBody779854528749590103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198494127,"filename":"image_20112025_23_47_39_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396319883","file1":"1396319880","file0":"1396319878","file4":"1396319888","file5":"1396319891","file3":"1396319885"},"map_files_photo_id_array":[{"photo_id":"1396319891","filename":"file5"},{"photo_id":"1396319883","filename":"file2"},{"photo_id":"1396319888","filename":"file4"},{"photo_id":"1396319880","filename":"file1"},{"photo_id":"1396319878","filename":"file0"},{"photo_id":"1396319885","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396319880":["hashtag1","hashtag2"]},{"1396319883":["hashtag1","hashtag2"]},{"1396319891":["hashtag1","hashtag2"]},{"1396319885":["hashtag1","hashtag2"]},{"1396319888":["hashtag1","hashtag2"]},{"1396319878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396319880, 1396319883, 1396319891, 1396319885, 1396319888, 1396319878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.362065076828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:08:03.288179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/05/image_27112025_00_06_04_9840.jpg', '/home/pi/Desktop/images/27112025/00/06/image_27112025_00_06_15_10612.jpg', '/home/pi/Desktop/images/27112025/00/06/image_27112025_00_06_25_10008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/05/image_27112025_00_06_04_9840.jpg
/home/pi/Desktop/images/27112025/00/06/image_27112025_00_06_15_10612.jpg
/home/pi/Desktop/images/27112025/00/06/image_27112025_00_06_25_10008.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320081","1396320041","1396320116"],"photo_ids_order":["1396320041","1396320081","1396320116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5494bc3d0ed897570a3fbe5e8e0b411f.jpg","text":"TemporaryFile(/tmp/multipartBody4245420823162698605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198544010,"filename":"image_27112025_00_06_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6ac8d39360289407663f7060ea11466.jpg","text":"TemporaryFile(/tmp/multipartBody7851861642329281213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198544010,"filename":"image_27112025_00_06_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f07ca5071971c58f90b9496af63b69a.jpg","text":"TemporaryFile(/tmp/multipartBody5922145893580739952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198544010,"filename":"image_27112025_00_06_25_10008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320116","file1":"1396320081","file0":"1396320041"},"map_files_photo_id_array":[{"photo_id":"1396320116","filename":"file2"},{"photo_id":"1396320081","filename":"file1"},{"photo_id":"1396320041","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396320081":["hashtag1","hashtag2"]},{"1396320041":["hashtag1","hashtag2"]},{"1396320116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396320081, 1396320041, 1396320116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.588324546813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:08:32.679044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/48/image_20112025_23_48_17_2587.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_20_2843.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_29_2833.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_36_2710.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_45_3646.jpg', '/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_50_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_17_2587.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_20_2843.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_29_2833.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_36_2710.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_45_3646.jpg
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_50_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":["1396320259","1396320217","1396320330","1396320225","1396320295","1396320212"],"photo_ids_order":["1396320212","1396320217","1396320225","1396320259","1396320295","1396320330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b264ddab6d1c5aa0b244a05a54f6b41a.jpg","text":"TemporaryFile(/tmp/multipartBody2964156894001169202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_36_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/27/a40c9a5fb2cf752bd9e136f40249a62a.jpg","text":"TemporaryFile(/tmp/multipartBody2841371538459157586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_20_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/27/b08c831a207145a8aca1b8ea43036a21.jpg","text":"TemporaryFile(/tmp/multipartBody8849804370268587922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_50_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/27/9711fcf113428034ae2292a779c26685.jpg","text":"TemporaryFile(/tmp/multipartBody2222577908849516736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_29_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/27/83ee98db070c47a088314a99a413e482.jpg","text":"TemporaryFile(/tmp/multipartBody3292682605937823773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_45_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/27/5bda678dc18c73b41676d88624712290.jpg","text":"TemporaryFile(/tmp/multipartBody7589716372922570148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198574409,"filename":"image_20112025_23_48_17_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320225","file1":"1396320217","file0":"1396320212","file4":"1396320295","file5":"1396320330","file3":"1396320259"},"map_files_photo_id_array":[{"photo_id":"1396320330","filename":"file5"},{"photo_id":"1396320225","filename":"file2"},{"photo_id":"1396320295","filename":"file4"},{"photo_id":"1396320217","filename":"file1"},{"photo_id":"1396320212","filename":"file0"},{"photo_id":"1396320259","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396320259":["hashtag1","hashtag2"]},{"1396320217":["hashtag1","hashtag2"]},{"1396320330":["hashtag1","hashtag2"]},{"1396320225":["hashtag1","hashtag2"]},{"1396320295":["hashtag1","hashtag2"]},{"1396320212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396320259, 1396320217, 1396320330, 1396320225, 1396320295, 1396320212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80518102645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:09:11.789195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/48/image_20112025_23_48_56_2652.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_08_2671.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_15_3580.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_20_2616.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_24_3629.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_26_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/48/image_20112025_23_48_56_2652.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_08_2671.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_15_3580.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_20_2616.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_24_3629.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_26_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320397","1396320424","1396320418","1396320413","1396320422","1396320410"],"photo_ids_order":["1396320397","1396320410","1396320413","1396320418","1396320422","1396320424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fee311f80a5c198ffc492cfa6ffd4e23.jpg","text":"TemporaryFile(/tmp/multipartBody910451230467356340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_48_56_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/27/753bd9c46df4ee7990bc0e328e4970bd.jpg","text":"TemporaryFile(/tmp/multipartBody1079221331374786715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_49_26_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/27/c558cf9a76de997143e560cf70b11d22.jpg","text":"TemporaryFile(/tmp/multipartBody8063689940883468660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_49_20_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/27/f9d38a098f2dddd30a918c3ad97f03c9.jpg","text":"TemporaryFile(/tmp/multipartBody5300032652332534779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_49_15_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/27/1fb05e0ba3cda1a47c5973c00b3e0f93.jpg","text":"TemporaryFile(/tmp/multipartBody8419668338406272263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_49_24_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/27/cee334cbad8ab3a791aa9e3be9a1151b.jpg","text":"TemporaryFile(/tmp/multipartBody1137055961352347684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198613426,"filename":"image_20112025_23_49_08_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320413","file1":"1396320410","file0":"1396320397","file4":"1396320422","file5":"1396320424","file3":"1396320418"},"map_files_photo_id_array":[{"photo_id":"1396320424","filename":"file5"},{"photo_id":"1396320413","filename":"file2"},{"photo_id":"1396320422","filename":"file4"},{"photo_id":"1396320410","filename":"file1"},{"photo_id":"1396320397","filename":"file0"},{"photo_id":"1396320418","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396320397":["hashtag1","hashtag2"]},{"1396320424":["hashtag1","hashtag2"]},{"1396320418":["hashtag1","hashtag2"]},{"1396320413":["hashtag1","hashtag2"]},{"1396320422":["hashtag1","hashtag2"]},{"1396320410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396320397, 1396320424, 1396320418, 1396320413, 1396320422, 1396320410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73990774154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:10:02.607283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/07/image_27112025_00_07_55_10534.jpg', '/home/pi/Desktop/images/27112025/00/07/image_27112025_00_08_04_9698.jpg', '/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_24_9694.jpg', '/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/07/image_27112025_00_07_55_10534.jpg
/home/pi/Desktop/images/27112025/00/07/image_27112025_00_08_04_9698.jpg
/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_24_9694.jpg
/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_44_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320430","1396320427","1396320432","1396320426"],"photo_ids_order":["1396320426","1396320427","1396320430","1396320432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d85dbd4c33d8986700f23fa9b2ad857c.jpg","text":"TemporaryFile(/tmp/multipartBody5779019928920207634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198663304,"filename":"image_27112025_00_09_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e340238d188a5f897e015a775a01753.jpg","text":"TemporaryFile(/tmp/multipartBody1040283606312703286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198663304,"filename":"image_27112025_00_08_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/758a08c305d144fd57a57962d6992cba.jpg","text":"TemporaryFile(/tmp/multipartBody6301650944974832236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198663304,"filename":"image_27112025_00_09_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff01d94a634ec9b1a269f93700ea1ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1352524937731450686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198663304,"filename":"image_27112025_00_07_55_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320430","file1":"1396320427","file0":"1396320426","file3":"1396320432"},"map_files_photo_id_array":[{"photo_id":"1396320430","filename":"file2"},{"photo_id":"1396320427","filename":"file1"},{"photo_id":"1396320426","filename":"file0"},{"photo_id":"1396320432","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396320430":["hashtag1","hashtag2"]},{"1396320427":["hashtag1","hashtag2"]},{"1396320432":["hashtag1","hashtag2"]},{"1396320426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396320430, 1396320427, 1396320432, 1396320426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.311703205108643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:10:32.063871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/49/image_20112025_23_49_45_2767.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_47_2642.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_50_2793.jpg', '/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_59_2695.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_08_2771.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_15_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_45_2767.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_47_2642.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_50_2793.jpg
/home/pi/Desktop/images/20112025/23/49/image_20112025_23_49_59_2695.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_08_2771.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_15_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320442","1396320445","1396320447","1396320444","1396320446","1396320440"],"photo_ids_order":["1396320440","1396320442","1396320444","1396320445","1396320446","1396320447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95c42c7811313323222e6ab3e2d43c35.jpg","text":"TemporaryFile(/tmp/multipartBody285854480130743192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_49_47_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/27/4aff73f3321dfddeaeed806af2062977.jpg","text":"TemporaryFile(/tmp/multipartBody5360513515419274885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_49_59_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/27/9d4d74a55e06510f83da4092e9ec1cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8480361743254058495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_50_15_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/27/baec629065e30a1c42e07079f3e36722.jpg","text":"TemporaryFile(/tmp/multipartBody1102792311546161029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_49_50_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/27/fce9cdaf548908d5b41502b4cafac287.jpg","text":"TemporaryFile(/tmp/multipartBody6754132852236917641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_50_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/27/f6126a81a273a61e7eb6ffbf0ddd723d.jpg","text":"TemporaryFile(/tmp/multipartBody5162091816648077117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198693795,"filename":"image_20112025_23_49_45_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320444","file1":"1396320442","file0":"1396320440","file4":"1396320446","file5":"1396320447","file3":"1396320445"},"map_files_photo_id_array":[{"photo_id":"1396320447","filename":"file5"},{"photo_id":"1396320444","filename":"file2"},{"photo_id":"1396320446","filename":"file4"},{"photo_id":"1396320442","filename":"file1"},{"photo_id":"1396320440","filename":"file0"},{"photo_id":"1396320445","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396320442":["hashtag1","hashtag2"]},{"1396320445":["hashtag1","hashtag2"]},{"1396320447":["hashtag1","hashtag2"]},{"1396320444":["hashtag1","hashtag2"]},{"1396320446":["hashtag1","hashtag2"]},{"1396320440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396320442, 1396320445, 1396320447, 1396320444, 1396320446, 1396320440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06982612609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:11:12.189641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/50/image_20112025_23_50_17_2685.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_23_5921.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_25_1718.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_38_2727.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_41_2548.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_45_3738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_17_2685.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_23_5921.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_25_1718.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_38_2727.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_41_2548.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_45_3738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320450","1396320474","1396320476","1396320470","1396320467","1396320452"],"photo_ids_order":["1396320450","1396320452","1396320467","1396320470","1396320474","1396320476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cace761f8de94e0b27e8092541c622e4.jpg","text":"TemporaryFile(/tmp/multipartBody3809042448806128619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_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/27/7d26281e5d692b6efff6cba384552aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8283119540782991084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_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/27/af026e387a94818a294f22e5cd5d4e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1361128215637420045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_45_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/27/909c4f332295e3c5b63fde6468e35f85.jpg","text":"TemporaryFile(/tmp/multipartBody5280778771463561169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_38_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/27/f163a96c50a5d296044b72f01dc0d203.jpg","text":"TemporaryFile(/tmp/multipartBody5519886435289132055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_25_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/27/80a417815c0ce6def17022ba97ff1099.jpg","text":"TemporaryFile(/tmp/multipartBody1567448389198183258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198733842,"filename":"image_20112025_23_50_23_5921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320467","file1":"1396320452","file0":"1396320450","file4":"1396320474","file5":"1396320476","file3":"1396320470"},"map_files_photo_id_array":[{"photo_id":"1396320476","filename":"file5"},{"photo_id":"1396320467","filename":"file2"},{"photo_id":"1396320474","filename":"file4"},{"photo_id":"1396320452","filename":"file1"},{"photo_id":"1396320450","filename":"file0"},{"photo_id":"1396320470","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396320450":["hashtag1","hashtag2"]},{"1396320474":["hashtag1","hashtag2"]},{"1396320476":["hashtag1","hashtag2"]},{"1396320470":["hashtag1","hashtag2"]},{"1396320467":["hashtag1","hashtag2"]},{"1396320452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396320450, 1396320474, 1396320476, 1396320470, 1396320467, 1396320452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35073685646057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:12:02.926485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_54_9614.jpg', '/home/pi/Desktop/images/27112025/00/09/image_27112025_00_10_05_10632.jpg', '/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_14_9811.jpg', '/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_35_10736.jpg', '/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_54_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/09/image_27112025_00_09_54_9614.jpg
/home/pi/Desktop/images/27112025/00/09/image_27112025_00_10_05_10632.jpg
/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_14_9811.jpg
/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_35_10736.jpg
/home/pi/Desktop/images/27112025/00/10/image_27112025_00_10_54_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320483","1396320480","1396320488","1396320485","1396320479"],"photo_ids_order":["1396320479","1396320480","1396320483","1396320485","1396320488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3948e163abf6dc4a8dea91719317a76d.jpg","text":"TemporaryFile(/tmp/multipartBody6188706880108773597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198783667,"filename":"image_27112025_00_10_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/297ca91792a26d0095f9d5eb77c0513b.jpg","text":"TemporaryFile(/tmp/multipartBody4697846772876102830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198783667,"filename":"image_27112025_00_10_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/947e6a2a2954c376e8189536b1c0d753.jpg","text":"TemporaryFile(/tmp/multipartBody1949104484414915865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198783667,"filename":"image_27112025_00_10_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62bee8c0c75a626c99148b537239b8cb.jpg","text":"TemporaryFile(/tmp/multipartBody3070954588283947476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198783667,"filename":"image_27112025_00_10_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fb41160ec5b2d23c172c37b145de5cf.jpg","text":"TemporaryFile(/tmp/multipartBody8747672411321002326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198783667,"filename":"image_27112025_00_09_54_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320483","file1":"1396320480","file0":"1396320479","file4":"1396320488","file3":"1396320485"},"map_files_photo_id_array":[{"photo_id":"1396320483","filename":"file2"},{"photo_id":"1396320488","filename":"file4"},{"photo_id":"1396320480","filename":"file1"},{"photo_id":"1396320479","filename":"file0"},{"photo_id":"1396320485","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396320483":["hashtag1","hashtag2"]},{"1396320480":["hashtag1","hashtag2"]},{"1396320488":["hashtag1","hashtag2"]},{"1396320485":["hashtag1","hashtag2"]},{"1396320479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396320483, 1396320480, 1396320488, 1396320485, 1396320479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.48550534248352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:12:42.452203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/57/image_30102025_20_58_00_3566.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_03_2766.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_08_2665.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_12_3568.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_15_2665.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_17_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/57/image_30102025_20_58_00_3566.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_03_2766.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_08_2665.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_12_3568.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_15_2665.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_17_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320535","1396320606","1396320497","1396320644","1396320572","1396320500"],"photo_ids_order":["1396320497","1396320500","1396320535","1396320572","1396320606","1396320644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa281c6ebf4eab9c1a3782ca2ff08e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6896617723201045822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_08_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/27/38fce703ec3002e757b86dd033ba2c75.jpg","text":"TemporaryFile(/tmp/multipartBody4479297237144702019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_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/27/fb43fc7fb4b24fe902d5e84e46f57893.jpg","text":"TemporaryFile(/tmp/multipartBody7081492144542895238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_00_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/27/921f29b73c11c1fefa6bfff106c1f94e.jpg","text":"TemporaryFile(/tmp/multipartBody8147454996819346748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_17_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/27/8dfde4bd05726899e967da00ce923cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6691473877230709475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_12_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/27/6ac65627f5b81c58b87d2b5cc8910e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2256413824316246684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198823707,"filename":"image_30102025_20_58_03_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320535","file1":"1396320500","file0":"1396320497","file4":"1396320606","file5":"1396320644","file3":"1396320572"},"map_files_photo_id_array":[{"photo_id":"1396320644","filename":"file5"},{"photo_id":"1396320535","filename":"file2"},{"photo_id":"1396320606","filename":"file4"},{"photo_id":"1396320500","filename":"file1"},{"photo_id":"1396320497","filename":"file0"},{"photo_id":"1396320572","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396320535":["hashtag1","hashtag2"]},{"1396320606":["hashtag1","hashtag2"]},{"1396320497":["hashtag1","hashtag2"]},{"1396320644":["hashtag1","hashtag2"]},{"1396320572":["hashtag1","hashtag2"]},{"1396320500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396320535, 1396320606, 1396320497, 1396320644, 1396320572, 1396320500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.186869621276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:13:22.629971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/11/image_27112025_00_11_55_10693.jpg', '/home/pi/Desktop/images/27112025/00/12/image_27112025_00_12_44_9764.jpg', '/home/pi/Desktop/images/27112025/00/12/image_27112025_00_12_54_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/11/image_27112025_00_11_55_10693.jpg
/home/pi/Desktop/images/27112025/00/12/image_27112025_00_12_44_9764.jpg
/home/pi/Desktop/images/27112025/00/12/image_27112025_00_12_54_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396320793","1396320868","1396320833"],"photo_ids_order":["1396320793","1396320833","1396320868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6e9e24184ed01243e062936b3591bc6.jpg","text":"TemporaryFile(/tmp/multipartBody251658068709679919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198863254,"filename":"image_27112025_00_11_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e512e21390629d682ececb498c405a78.jpg","text":"TemporaryFile(/tmp/multipartBody3050925288747696706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198863254,"filename":"image_27112025_00_12_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/029c9e96d5ab58559b2be6144a5e42e3.jpg","text":"TemporaryFile(/tmp/multipartBody3092012803516002334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198863254,"filename":"image_27112025_00_12_44_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396320868","file1":"1396320833","file0":"1396320793"},"map_files_photo_id_array":[{"photo_id":"1396320868","filename":"file2"},{"photo_id":"1396320833","filename":"file1"},{"photo_id":"1396320793","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396320793":["hashtag1","hashtag2"]},{"1396320868":["hashtag1","hashtag2"]},{"1396320833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396320793, 1396320868, 1396320833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.133240222930908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:14:03.500768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/50/image_20112025_23_50_50_2711.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_56_3552.jpg', '/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_59_2704.jpg', '/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_08_2811.jpg', '/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_26_2660.jpg', '/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_30_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_50_2711.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_56_3552.jpg
/home/pi/Desktop/images/20112025/23/50/image_20112025_23_50_59_2704.jpg
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_08_2811.jpg
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_26_2660.jpg
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_30_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321263","1396321201","1396321260","1396321161","1396321125","1396321238"],"photo_ids_order":["1396321125","1396321161","1396321201","1396321238","1396321260","1396321263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ff5bb9a1bc978a3b0dd7566326d1991.jpg","text":"TemporaryFile(/tmp/multipartBody8590392626149313931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_51_30_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/27/9b1e8a6f6fe91d70294e9a5ea06bdbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1321268572588584427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_50_59_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/27/bad13c8394eb01df3044b5e2d80fd5e7.jpg","text":"TemporaryFile(/tmp/multipartBody2020776700686080903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_51_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/27/9a41bfbd3f5d36d2eec11ecba2fef2b8.jpg","text":"TemporaryFile(/tmp/multipartBody7710164935688573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_50_56_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/27/5d43d733259307b82da98bc55ecdf7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7638048641719430802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_50_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/27/1603bdbcdd845255081d278f15c5b748.jpg","text":"TemporaryFile(/tmp/multipartBody8182339051585719518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198904628,"filename":"image_20112025_23_51_08_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321201","file1":"1396321161","file0":"1396321125","file4":"1396321260","file5":"1396321263","file3":"1396321238"},"map_files_photo_id_array":[{"photo_id":"1396321263","filename":"file5"},{"photo_id":"1396321201","filename":"file2"},{"photo_id":"1396321260","filename":"file4"},{"photo_id":"1396321161","filename":"file1"},{"photo_id":"1396321125","filename":"file0"},{"photo_id":"1396321238","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396321263":["hashtag1","hashtag2"]},{"1396321201":["hashtag1","hashtag2"]},{"1396321260":["hashtag1","hashtag2"]},{"1396321161":["hashtag1","hashtag2"]},{"1396321125":["hashtag1","hashtag2"]},{"1396321238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396321263, 1396321201, 1396321260, 1396321161, 1396321125, 1396321238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18461847305298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:14:42.812972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/58/image_30102025_20_58_21_3690.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_24_2610.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_26_2791.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_33_2710.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_35_2802.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_38_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_21_3690.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_24_2610.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_26_2791.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_33_2710.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_35_2802.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_38_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321272","1396321274","1396321271","1396321307","1396321279","1396321270"],"photo_ids_order":["1396321270","1396321271","1396321272","1396321274","1396321279","1396321307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8ee049252ff5bfdcfce1a8a18888d71.jpg","text":"TemporaryFile(/tmp/multipartBody6313215961309706113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_26_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/27/d3f71ba99aee9b809da0437a1ed23b38.jpg","text":"TemporaryFile(/tmp/multipartBody6789105239798380217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_33_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/27/76dc45a3b6325a2a8c975aebfe8f56a0.jpg","text":"TemporaryFile(/tmp/multipartBody6954218300934174653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_24_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/27/3861b6419a23a93c6ecd4125f0537658.jpg","text":"TemporaryFile(/tmp/multipartBody4382905055268773088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_38_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/27/dc5809864f6036e459e57802659cda04.jpg","text":"TemporaryFile(/tmp/multipartBody779877544414196080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_35_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/27/40b176a483597f5f3a7a0b21acb498c4.jpg","text":"TemporaryFile(/tmp/multipartBody6310100596675887447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198944046,"filename":"image_30102025_20_58_21_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321272","file1":"1396321271","file0":"1396321270","file4":"1396321279","file5":"1396321307","file3":"1396321274"},"map_files_photo_id_array":[{"photo_id":"1396321307","filename":"file5"},{"photo_id":"1396321272","filename":"file2"},{"photo_id":"1396321279","filename":"file4"},{"photo_id":"1396321271","filename":"file1"},{"photo_id":"1396321270","filename":"file0"},{"photo_id":"1396321274","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396321272":["hashtag1","hashtag2"]},{"1396321274":["hashtag1","hashtag2"]},{"1396321271":["hashtag1","hashtag2"]},{"1396321307":["hashtag1","hashtag2"]},{"1396321279":["hashtag1","hashtag2"]},{"1396321270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396321272, 1396321274, 1396321271, 1396321307, 1396321279, 1396321270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.547653913497925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:15:21.971875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/13/image_27112025_00_13_54_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/13/image_27112025_00_13_54_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321446"],"photo_id":"1396321446","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c23eb0973fbd007d1d210d80c8950a2c.jpg","text":"TemporaryFile(/tmp/multipartBody897833454614862462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764198982512,"filename":"image_27112025_00_13_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396321446"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396321446"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.205605268478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:15:41.943251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/58/image_30102025_20_58_42_3700.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_44_2609.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_47_2629.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_51_3711.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_53_2640.jpg', '/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_56_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_42_3700.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_44_2609.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_47_2629.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_51_3711.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_53_2640.jpg
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_58_56_2544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321618","1396321587","1396321620","1396321608","1396321568","1396321538"],"photo_ids_order":["1396321538","1396321568","1396321587","1396321608","1396321618","1396321620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e380f4b79e07fb98f6556c583fbc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody1760524483683933084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_53_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/27/8ac0b9e3fa3c039142a6bbc41ce9cd21.jpg","text":"TemporaryFile(/tmp/multipartBody1264095323602047074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_47_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/27/2567b2e2ff5d2c06151a0429dd8fc2d9.jpg","text":"TemporaryFile(/tmp/multipartBody7281404722050382220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_56_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/27/711bb48713dd0d37e1024db1fe6538fc.jpg","text":"TemporaryFile(/tmp/multipartBody1403922266142727143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_51_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/27/13d8b1c351a736046b48846ebdbddece.jpg","text":"TemporaryFile(/tmp/multipartBody7654562808271353222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_44_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/27/0224c0d83e178f36912e0d9602e4019d.jpg","text":"TemporaryFile(/tmp/multipartBody1888482973226986237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199003184,"filename":"image_30102025_20_58_42_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321587","file1":"1396321568","file0":"1396321538","file4":"1396321618","file5":"1396321620","file3":"1396321608"},"map_files_photo_id_array":[{"photo_id":"1396321620","filename":"file5"},{"photo_id":"1396321587","filename":"file2"},{"photo_id":"1396321618","filename":"file4"},{"photo_id":"1396321568","filename":"file1"},{"photo_id":"1396321538","filename":"file0"},{"photo_id":"1396321608","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396321618":["hashtag1","hashtag2"]},{"1396321587":["hashtag1","hashtag2"]},{"1396321620":["hashtag1","hashtag2"]},{"1396321608":["hashtag1","hashtag2"]},{"1396321568":["hashtag1","hashtag2"]},{"1396321538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396321618, 1396321587, 1396321620, 1396321608, 1396321568, 1396321538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28052234649658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:16:22.124119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/51/image_20112025_23_51_35_2786.jpg', '/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_47_2661.jpg', '/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_53_2982.jpg', '/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_02_2723.jpg', '/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_26_6920.jpg', '/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_34_7558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_35_2786.jpg
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_47_2661.jpg
/home/pi/Desktop/images/20112025/23/51/image_20112025_23_51_53_2982.jpg
/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_02_2723.jpg
/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_26_6920.jpg
/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_34_7558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321642","1396321641","1396321635","1396321638","1396321632","1396321629"],"photo_ids_order":["1396321629","1396321632","1396321635","1396321638","1396321641","1396321642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fba9b0ad9c6a3c6d240659c620fc695e.jpg","text":"TemporaryFile(/tmp/multipartBody683078198088641595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_52_34_7558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7112816e2eacfe02b78c871a56e8001.jpg","text":"TemporaryFile(/tmp/multipartBody457002350068308382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_52_26_6920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7b6c9a74b7dcdc675c834f5aae0f03c.jpg","text":"TemporaryFile(/tmp/multipartBody7189205915349494749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_51_53_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/27/b2e3479589418e503087459af784b520.jpg","text":"TemporaryFile(/tmp/multipartBody3070046689153752070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_52_02_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/27/c0dea8d9076078589a9ebc66154fa8b8.jpg","text":"TemporaryFile(/tmp/multipartBody2806077380716226070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_51_47_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/27/9dcdff004a2b12bd61ab828252e565b9.jpg","text":"TemporaryFile(/tmp/multipartBody8214268942605329787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199043856,"filename":"image_20112025_23_51_35_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321635","file1":"1396321632","file0":"1396321629","file4":"1396321641","file5":"1396321642","file3":"1396321638"},"map_files_photo_id_array":[{"photo_id":"1396321642","filename":"file5"},{"photo_id":"1396321635","filename":"file2"},{"photo_id":"1396321641","filename":"file4"},{"photo_id":"1396321632","filename":"file1"},{"photo_id":"1396321629","filename":"file0"},{"photo_id":"1396321638","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396321642":["hashtag1","hashtag2"]},{"1396321641":["hashtag1","hashtag2"]},{"1396321635":["hashtag1","hashtag2"]},{"1396321638":["hashtag1","hashtag2"]},{"1396321632":["hashtag1","hashtag2"]},{"1396321629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396321642, 1396321641, 1396321635, 1396321638, 1396321632, 1396321629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39580416679382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:17:02.950123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/52/image_20112025_23_52_58_1759.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_02_1585.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_29_2563.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_32_3480.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_34_1689.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_35_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/52/image_20112025_23_52_58_1759.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_02_1585.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_29_2563.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_32_3480.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_34_1689.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_35_1698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321667","1396321661","1396321675","1396321669","1396321672","1396321651"],"photo_ids_order":["1396321651","1396321661","1396321667","1396321669","1396321672","1396321675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07c21b04efc5b56a50a682b36a31fbf9.jpg","text":"TemporaryFile(/tmp/multipartBody4450909016424335902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_53_29_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/27/da49eba5a14b0e5aef78c8afead728f1.jpg","text":"TemporaryFile(/tmp/multipartBody5045312153854059501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_53_02_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/27/374150333e184b525b504f0cb36e20c7.jpg","text":"TemporaryFile(/tmp/multipartBody5708042458829517136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_53_35_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/27/ad1167612d37e3cc4403e9fbaa976c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2483641925671725356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_53_32_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3aea07170b7bad8e20d40ed1f0e6bf96.jpg","text":"TemporaryFile(/tmp/multipartBody669846355359198030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_53_34_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/27/5134bfa64abccf56bfa7ca8bbd9a8988.jpg","text":"TemporaryFile(/tmp/multipartBody2487525343655599333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199084103,"filename":"image_20112025_23_52_58_1759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321667","file1":"1396321661","file0":"1396321651","file4":"1396321672","file5":"1396321675","file3":"1396321669"},"map_files_photo_id_array":[{"photo_id":"1396321675","filename":"file5"},{"photo_id":"1396321667","filename":"file2"},{"photo_id":"1396321672","filename":"file4"},{"photo_id":"1396321661","filename":"file1"},{"photo_id":"1396321651","filename":"file0"},{"photo_id":"1396321669","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396321667":["hashtag1","hashtag2"]},{"1396321661":["hashtag1","hashtag2"]},{"1396321675":["hashtag1","hashtag2"]},{"1396321669":["hashtag1","hashtag2"]},{"1396321672":["hashtag1","hashtag2"]},{"1396321651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396321667, 1396321661, 1396321675, 1396321669, 1396321672, 1396321651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99777793884277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:17:42.289813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/58/image_30102025_20_59_00_3652.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_02_2564.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_06_3580.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_08_2697.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_11_2690.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_15_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/58/image_30102025_20_59_00_3652.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_02_2564.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_06_3580.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_08_2697.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_11_2690.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_15_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321698","1396321683","1396321701","1396321694","1396321700","1396321696"],"photo_ids_order":["1396321683","1396321694","1396321696","1396321698","1396321700","1396321701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f38dd801afa3e13a777f4882d444d40.jpg","text":"TemporaryFile(/tmp/multipartBody7439170535752114838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_08_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/27/f4feb791e3bafc466bc692dbe6d507f1.jpg","text":"TemporaryFile(/tmp/multipartBody8663506328924912775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_00_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/27/ae5e0493c44958178a6ab2e8328fd477.jpg","text":"TemporaryFile(/tmp/multipartBody5250393521346135691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_15_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/27/da69de354ecaa0b6604e46b9dfcb8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6076654822516106617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_02_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/27/851a2f3ddb134edd2875a18a28aacb00.jpg","text":"TemporaryFile(/tmp/multipartBody1395342185934042472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_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/27/8f4c8e34eda7c92f4b7432538c040a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8188344178894317373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199123529,"filename":"image_30102025_20_59_06_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321696","file1":"1396321694","file0":"1396321683","file4":"1396321700","file5":"1396321701","file3":"1396321698"},"map_files_photo_id_array":[{"photo_id":"1396321701","filename":"file5"},{"photo_id":"1396321696","filename":"file2"},{"photo_id":"1396321700","filename":"file4"},{"photo_id":"1396321694","filename":"file1"},{"photo_id":"1396321683","filename":"file0"},{"photo_id":"1396321698","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396321698":["hashtag1","hashtag2"]},{"1396321683":["hashtag1","hashtag2"]},{"1396321701":["hashtag1","hashtag2"]},{"1396321694":["hashtag1","hashtag2"]},{"1396321700":["hashtag1","hashtag2"]},{"1396321696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396321698, 1396321683, 1396321701, 1396321694, 1396321700, 1396321696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58347964286804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:18:22.485691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/14/image_27112025_00_14_54_9707.jpg', '/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_25_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/14/image_27112025_00_14_54_9707.jpg
/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_25_9901.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5003077983856201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:18:32.460536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/53/image_20112025_23_53_37_1693.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_42_1756.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_47_3516.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_51_1661.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_54_3665.jpg', '/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_56_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_37_1693.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_42_1756.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_47_3516.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_51_1661.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_54_3665.jpg
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_56_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321720","1396321723","1396321722","1396321716","1396321724","1396321718"],"photo_ids_order":["1396321716","1396321718","1396321720","1396321722","1396321723","1396321724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bb9361008ee930c89b6015394f4eb59.jpg","text":"TemporaryFile(/tmp/multipartBody8285961940542116828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_47_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/27/42df6fc1fa85fe0094e0307aac070efa.jpg","text":"TemporaryFile(/tmp/multipartBody6599541861129267028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_54_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/27/7a140047288ec9c87629690683131f43.jpg","text":"TemporaryFile(/tmp/multipartBody6381796210214731986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_51_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/27/efb0d197deb773ae5eac62f42482fea5.jpg","text":"TemporaryFile(/tmp/multipartBody853956173756302913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_37_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/27/7ee5dee4d6732d3e993ca3f5d1aac14b.jpg","text":"TemporaryFile(/tmp/multipartBody1877300313221117948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_56_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/27/e5610fbadc47b081f7997fbba9540804.jpg","text":"TemporaryFile(/tmp/multipartBody8865461543872494904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199174204,"filename":"image_20112025_23_53_42_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321720","file1":"1396321718","file0":"1396321716","file4":"1396321723","file5":"1396321724","file3":"1396321722"},"map_files_photo_id_array":[{"photo_id":"1396321724","filename":"file5"},{"photo_id":"1396321720","filename":"file2"},{"photo_id":"1396321723","filename":"file4"},{"photo_id":"1396321718","filename":"file1"},{"photo_id":"1396321716","filename":"file0"},{"photo_id":"1396321722","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396321720":["hashtag1","hashtag2"]},{"1396321723":["hashtag1","hashtag2"]},{"1396321722":["hashtag1","hashtag2"]},{"1396321716":["hashtag1","hashtag2"]},{"1396321724":["hashtag1","hashtag2"]},{"1396321718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396321720, 1396321723, 1396321722, 1396321716, 1396321724, 1396321718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24440789222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:19:12.650609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/53/image_20112025_23_53_59_3081.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_01_1693.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_05_2325.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_08_1668.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_11_2492.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_12_1523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/53/image_20112025_23_53_59_3081.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_01_1693.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_05_2325.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_08_1668.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_11_2492.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_12_1523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396321729","1396321746","1396321952","1396321727","1396321882","1396321810"],"photo_ids_order":["1396321727","1396321729","1396321746","1396321810","1396321882","1396321952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88f88dffb2e6b01c798d5252265232bf.jpg","text":"TemporaryFile(/tmp/multipartBody4346707425394331449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_54_01_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/27/182d0616c73bb552954093a94c31a4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5068590065753184711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_54_05_2325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8efc052ec0d1f76dee847d9e42185b8.jpg","text":"TemporaryFile(/tmp/multipartBody3732913175335755919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_54_12_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/27/8e29ecd91b2c3446d7a80648807aff6b.jpg","text":"TemporaryFile(/tmp/multipartBody9123197893107998926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_53_59_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b1ab12fa7d852071660ba469e0396a1.jpg","text":"TemporaryFile(/tmp/multipartBody5174337978753921089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_54_11_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/27/18a586e14b4b5add8e39f3c6df83d958.jpg","text":"TemporaryFile(/tmp/multipartBody4946382208939920231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199214300,"filename":"image_20112025_23_54_08_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396321746","file1":"1396321729","file0":"1396321727","file4":"1396321882","file5":"1396321952","file3":"1396321810"},"map_files_photo_id_array":[{"photo_id":"1396321952","filename":"file5"},{"photo_id":"1396321746","filename":"file2"},{"photo_id":"1396321882","filename":"file4"},{"photo_id":"1396321729","filename":"file1"},{"photo_id":"1396321727","filename":"file0"},{"photo_id":"1396321810","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396321729":["hashtag1","hashtag2"]},{"1396321746":["hashtag1","hashtag2"]},{"1396321952":["hashtag1","hashtag2"]},{"1396321727":["hashtag1","hashtag2"]},{"1396321882":["hashtag1","hashtag2"]},{"1396321810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396321729, 1396321746, 1396321952, 1396321727, 1396321882, 1396321810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15634751319885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:20:02.322375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/14/image_27112025_00_14_54_9707.jpg', '/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_25_9901.jpg', '/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_44_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/14/image_27112025_00_14_54_9707.jpg
/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_25_9901.jpg
/home/pi/Desktop/images/27112025/00/18/image_27112025_00_18_44_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322321","1396322318","1396322299"],"photo_ids_order":["1396322299","1396322318","1396322321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6469cf64c3eab0025dd7d9b03bd918a.jpg","text":"TemporaryFile(/tmp/multipartBody5410338664388312325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199262985,"filename":"image_27112025_00_18_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ece6c7fedadb2dd29454de38444db07.jpg","text":"TemporaryFile(/tmp/multipartBody4511362906833011431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199262985,"filename":"image_27112025_00_18_25_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/985fd5818b4edb4f9c4e723449fea717.jpg","text":"TemporaryFile(/tmp/multipartBody5762044143635878176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199262985,"filename":"image_27112025_00_14_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322321","file1":"1396322318","file0":"1396322299"},"map_files_photo_id_array":[{"photo_id":"1396322321","filename":"file2"},{"photo_id":"1396322318","filename":"file1"},{"photo_id":"1396322299","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396322321":["hashtag1","hashtag2"]},{"1396322318":["hashtag1","hashtag2"]},{"1396322299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396322321, 1396322318, 1396322299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.065854787826538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:20:31.867792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/54/image_20112025_23_54_14_1732.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_16_1678.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_17_1740.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_34_3066.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_45_1729.jpg', '/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_48_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_14_1732.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_16_1678.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_17_1740.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_34_3066.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_45_1729.jpg
/home/pi/Desktop/images/20112025/23/54/image_20112025_23_54_48_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322460","1396322448","1396322433","1396322461","1396322455","1396322446"],"photo_ids_order":["1396322433","1396322446","1396322448","1396322455","1396322460","1396322461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6dccb1f5ec80699fa360336fb8fa07e.jpg","text":"TemporaryFile(/tmp/multipartBody1376603965247005404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_45_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b400e2e597774579b7fa065d85666a1.jpg","text":"TemporaryFile(/tmp/multipartBody6292394126843784822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_17_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/27/ab4c1df3de3ee000a7074c6be281101d.jpg","text":"TemporaryFile(/tmp/multipartBody4225612418246466884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_14_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/27/073dbc91819f9b6d28b3a6573ee8a56f.jpg","text":"TemporaryFile(/tmp/multipartBody3902699381877577725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_48_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/27/b40f4d0e08d79e8a712baacc31c2e755.jpg","text":"TemporaryFile(/tmp/multipartBody771149157324472483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_34_3066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d52071f3ebbaa6d936f058b10b3be374.jpg","text":"TemporaryFile(/tmp/multipartBody7185725486210936987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199293603,"filename":"image_20112025_23_54_16_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322448","file1":"1396322446","file0":"1396322433","file4":"1396322460","file5":"1396322461","file3":"1396322455"},"map_files_photo_id_array":[{"photo_id":"1396322461","filename":"file5"},{"photo_id":"1396322448","filename":"file2"},{"photo_id":"1396322460","filename":"file4"},{"photo_id":"1396322446","filename":"file1"},{"photo_id":"1396322433","filename":"file0"},{"photo_id":"1396322455","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396322460":["hashtag1","hashtag2"]},{"1396322448":["hashtag1","hashtag2"]},{"1396322433":["hashtag1","hashtag2"]},{"1396322461":["hashtag1","hashtag2"]},{"1396322455":["hashtag1","hashtag2"]},{"1396322446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396322460, 1396322448, 1396322433, 1396322461, 1396322455, 1396322446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97529149055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:21:11.978970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/55/image_20112025_23_55_02_1765.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_11_2785.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_14_2813.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_26_3069.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_39_4234.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_41_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_02_1765.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_11_2785.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_14_2813.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_26_3069.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_39_4234.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_41_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322481","1396322475","1396322468","1396322479","1396322470","1396322472"],"photo_ids_order":["1396322468","1396322470","1396322472","1396322475","1396322479","1396322481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fff4e39e3c7b85f063a03ffd17e868ff.jpg","text":"TemporaryFile(/tmp/multipartBody6086639681859302003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_41_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/27/8c59d07145863401cdc3f8fdd32d5bd2.jpg","text":"TemporaryFile(/tmp/multipartBody3496020066717198785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_26_3069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/937b649df7dc02081b5876888ea356e8.jpg","text":"TemporaryFile(/tmp/multipartBody8223850022033521146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_02_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3cfd32b3879bd005bccc38fb520cda88.jpg","text":"TemporaryFile(/tmp/multipartBody6703628299822196536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_39_4234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90824855a488ebb8827161d7cc2898b0.jpg","text":"TemporaryFile(/tmp/multipartBody6419432351423545495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_11_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/27/2b4ff191c3ae07a99efeb47b3b1d0ebc.jpg","text":"TemporaryFile(/tmp/multipartBody3249008839557405672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199333678,"filename":"image_20112025_23_55_14_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322472","file1":"1396322470","file0":"1396322468","file4":"1396322479","file5":"1396322481","file3":"1396322475"},"map_files_photo_id_array":[{"photo_id":"1396322481","filename":"file5"},{"photo_id":"1396322472","filename":"file2"},{"photo_id":"1396322479","filename":"file4"},{"photo_id":"1396322470","filename":"file1"},{"photo_id":"1396322468","filename":"file0"},{"photo_id":"1396322475","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396322481":["hashtag1","hashtag2"]},{"1396322475":["hashtag1","hashtag2"]},{"1396322468":["hashtag1","hashtag2"]},{"1396322479":["hashtag1","hashtag2"]},{"1396322470":["hashtag1","hashtag2"]},{"1396322472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396322481, 1396322475, 1396322468, 1396322479, 1396322470, 1396322472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11464977264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:22:02.586941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/19/image_27112025_00_19_35_9664.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_14_9715.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_25_10737.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_55_9728.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_21_04_9722.jpg', '/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/19/image_27112025_00_19_35_9664.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_14_9715.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_25_10737.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_55_9728.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_21_04_9722.jpg
/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_14_9648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7086226940155029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:22:12.154303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/55/image_20112025_23_55_43_2547.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_56_3755.jpg', '/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_59_2639.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_01_2796.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_08_2779.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_17_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_43_2547.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_56_3755.jpg
/home/pi/Desktop/images/20112025/23/55/image_20112025_23_55_59_2639.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_01_2796.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_08_2779.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_17_3842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322495","1396322492","1396322489","1396322501","1396322497","1396322499"],"photo_ids_order":["1396322489","1396322492","1396322495","1396322497","1396322499","1396322501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a8c71a5ae07f68699710923a1da482b.jpg","text":"TemporaryFile(/tmp/multipartBody2140901606042311109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_55_59_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/27/e61ec167942c7f90447af18df8b75836.jpg","text":"TemporaryFile(/tmp/multipartBody3721550480151667668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_55_56_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/27/cf9efb2582ec84698512014bdf574cda.jpg","text":"TemporaryFile(/tmp/multipartBody5027463624099592536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_55_43_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/27/ed0ee9900f28f7198e347fb246a749ff.jpg","text":"TemporaryFile(/tmp/multipartBody3417429463149056380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_56_17_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/27/cc3fadb3ae1d736e3ac183ebd619612e.jpg","text":"TemporaryFile(/tmp/multipartBody8539529999529039071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_56_01_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/27/3d082aa503c8d22866a16fe379a0a965.jpg","text":"TemporaryFile(/tmp/multipartBody2327921987181866675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199393787,"filename":"image_20112025_23_56_08_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322495","file1":"1396322492","file0":"1396322489","file4":"1396322499","file5":"1396322501","file3":"1396322497"},"map_files_photo_id_array":[{"photo_id":"1396322501","filename":"file5"},{"photo_id":"1396322495","filename":"file2"},{"photo_id":"1396322499","filename":"file4"},{"photo_id":"1396322492","filename":"file1"},{"photo_id":"1396322489","filename":"file0"},{"photo_id":"1396322497","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396322495":["hashtag1","hashtag2"]},{"1396322492":["hashtag1","hashtag2"]},{"1396322489":["hashtag1","hashtag2"]},{"1396322501":["hashtag1","hashtag2"]},{"1396322497":["hashtag1","hashtag2"]},{"1396322499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396322495, 1396322492, 1396322489, 1396322501, 1396322497, 1396322499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08108472824097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:23:03.055059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/19/image_27112025_00_19_35_9664.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_14_9715.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_25_10737.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_55_9728.jpg', '/home/pi/Desktop/images/27112025/00/20/image_27112025_00_21_04_9722.jpg', '/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/19/image_27112025_00_19_35_9664.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_14_9715.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_25_10737.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_20_55_9728.jpg
/home/pi/Desktop/images/27112025/00/20/image_27112025_00_21_04_9722.jpg
/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_14_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322520","1396322523","1396322525","1396322519","1396322521","1396322509"],"photo_ids_order":["1396322509","1396322519","1396322520","1396322521","1396322523","1396322525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2878c23a866e421bda5d7ee575b72f1.jpg","text":"TemporaryFile(/tmp/multipartBody5926847315519206157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_20_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b34400bb7bf96187b741744ba8d16d22.jpg","text":"TemporaryFile(/tmp/multipartBody7035426700983698205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_21_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e97c83411f54cba647e621a5057e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody7553244461987537730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_21_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31a5c142404ac592fb39c1ec48bbf3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2555106566278230988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_20_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a71d7a355f5e171f2aff21c28445bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4507284533888881749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_20_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60b928b27414413f33d0120f5f3d5eec.jpg","text":"TemporaryFile(/tmp/multipartBody6263043736307451560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199443900,"filename":"image_27112025_00_19_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322520","file1":"1396322519","file0":"1396322509","file4":"1396322523","file5":"1396322525","file3":"1396322521"},"map_files_photo_id_array":[{"photo_id":"1396322525","filename":"file5"},{"photo_id":"1396322520","filename":"file2"},{"photo_id":"1396322523","filename":"file4"},{"photo_id":"1396322519","filename":"file1"},{"photo_id":"1396322509","filename":"file0"},{"photo_id":"1396322521","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396322520":["hashtag1","hashtag2"]},{"1396322523":["hashtag1","hashtag2"]},{"1396322525":["hashtag1","hashtag2"]},{"1396322519":["hashtag1","hashtag2"]},{"1396322521":["hashtag1","hashtag2"]},{"1396322509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396322520, 1396322523, 1396322525, 1396322519, 1396322521, 1396322509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90644884109497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:23:42.465540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/59/image_30102025_20_59_18_2730.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_20_2626.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_23_2746.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_27_3738.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_29_2544.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_33_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_18_2730.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_20_2626.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_23_2746.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_27_3738.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_29_2544.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_33_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":["1396322541","1396322529","1396322544","1396322540","1396322543","1396322542"],"photo_ids_order":["1396322529","1396322540","1396322541","1396322542","1396322543","1396322544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e57359e973a5a1310a2fd7412e3b343a.jpg","text":"TemporaryFile(/tmp/multipartBody7788616816386387826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_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/27/f58c6300e62494cdf29e94a1d2e99bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2592572019836998392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_18_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/27/3c03f33ac7766091d45d8bbb47d59f16.jpg","text":"TemporaryFile(/tmp/multipartBody9075026210416963171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_33_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/27/c6944cc4205aec7f417afc2af6b62e48.jpg","text":"TemporaryFile(/tmp/multipartBody8906527063239424646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_20_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/27/da385cc2603ef4e0a9c2cdf31fdd8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7770995427011417423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_29_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/27/43ca45185b94f97ce9a721aa12188cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2638505382151433264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199483871,"filename":"image_30102025_20_59_27_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322541","file1":"1396322540","file0":"1396322529","file4":"1396322543","file5":"1396322544","file3":"1396322542"},"map_files_photo_id_array":[{"photo_id":"1396322544","filename":"file5"},{"photo_id":"1396322541","filename":"file2"},{"photo_id":"1396322543","filename":"file4"},{"photo_id":"1396322540","filename":"file1"},{"photo_id":"1396322529","filename":"file0"},{"photo_id":"1396322542","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396322541":["hashtag1","hashtag2"]},{"1396322529":["hashtag1","hashtag2"]},{"1396322544":["hashtag1","hashtag2"]},{"1396322540":["hashtag1","hashtag2"]},{"1396322543":["hashtag1","hashtag2"]},{"1396322542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396322541, 1396322529, 1396322544, 1396322540, 1396322543, 1396322542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33575797080994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:24:22.686867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/21/image_27112025_00_21_34_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322548"],"photo_id":"1396322548","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f3269fd8a50aca5b98ff7bed5511c52.jpg","text":"TemporaryFile(/tmp/multipartBody1822660342149597933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199523228,"filename":"image_27112025_00_21_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396322548"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396322548"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.756314277648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:24:42.693015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/59/image_30102025_20_59_36_2762.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_38_2653.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_41_2673.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_45_3642.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_47_2617.jpg', '/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_54_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_36_2762.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_38_2653.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_41_2673.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_45_3642.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_47_2617.jpg
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_54_3706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322553","1396322556","1396322555","1396322581","1396322575","1396322560"],"photo_ids_order":["1396322553","1396322555","1396322556","1396322560","1396322575","1396322581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5419eed2978345c9078197792751b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7915901546404074705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_36_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/27/412af3482be822b5506ac63c8b21458d.jpg","text":"TemporaryFile(/tmp/multipartBody7986669479185814130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_41_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/27/49b9bd790bf5772794736082d544f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4491112484885929181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_38_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/27/c39943fa76c88e5083d23bdc08f8b83f.jpg","text":"TemporaryFile(/tmp/multipartBody1126471877781655681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_54_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/27/530c7eed1c9632f8fa43eb9d1d78749a.jpg","text":"TemporaryFile(/tmp/multipartBody884800132506703355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_47_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/27/514bd1d8e288a46bd6382f2ce6bcf4a5.jpg","text":"TemporaryFile(/tmp/multipartBody2607331208466574552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199543946,"filename":"image_30102025_20_59_45_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322556","file1":"1396322555","file0":"1396322553","file4":"1396322575","file5":"1396322581","file3":"1396322560"},"map_files_photo_id_array":[{"photo_id":"1396322581","filename":"file5"},{"photo_id":"1396322556","filename":"file2"},{"photo_id":"1396322575","filename":"file4"},{"photo_id":"1396322555","filename":"file1"},{"photo_id":"1396322553","filename":"file0"},{"photo_id":"1396322560","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396322553":["hashtag1","hashtag2"]},{"1396322556":["hashtag1","hashtag2"]},{"1396322555":["hashtag1","hashtag2"]},{"1396322581":["hashtag1","hashtag2"]},{"1396322575":["hashtag1","hashtag2"]},{"1396322560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396322553, 1396322556, 1396322555, 1396322581, 1396322575, 1396322560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.88227081298828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:25:31.854502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/56/image_20112025_23_56_22_2685.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_26_3567.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_29_2850.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_44_2814.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_46_2754.jpg', '/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_50_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_22_2685.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_26_3567.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_29_2850.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_44_2814.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_46_2754.jpg
/home/pi/Desktop/images/20112025/23/56/image_20112025_23_56_50_3779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322637","1396322591","1396322600","1396322603","1396322587","1396322602"],"photo_ids_order":["1396322587","1396322591","1396322600","1396322602","1396322603","1396322637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/183b7c8f03f1dfe9e3c11700e6aa9f34.jpg","text":"TemporaryFile(/tmp/multipartBody3121993672050847991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_50_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/27/1af06ae9d37b7302ae38e596427b6b13.jpg","text":"TemporaryFile(/tmp/multipartBody8546276317575718283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_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/27/e9e49c2342b41bf8b6f7147a6107c2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5285660915533050898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_29_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/27/70cf3877ab6611caa333e7870da009ae.jpg","text":"TemporaryFile(/tmp/multipartBody9163646345745869395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_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/27/bb1cd6fb196788e51b9c3a0e0842e4c8.jpg","text":"TemporaryFile(/tmp/multipartBody233994238740075299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_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/27/f06e30be795099163574895f8611416d.jpg","text":"TemporaryFile(/tmp/multipartBody3912576470058174516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199593646,"filename":"image_20112025_23_56_44_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322600","file1":"1396322591","file0":"1396322587","file4":"1396322603","file5":"1396322637","file3":"1396322602"},"map_files_photo_id_array":[{"photo_id":"1396322637","filename":"file5"},{"photo_id":"1396322600","filename":"file2"},{"photo_id":"1396322603","filename":"file4"},{"photo_id":"1396322591","filename":"file1"},{"photo_id":"1396322587","filename":"file0"},{"photo_id":"1396322602","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396322637":["hashtag1","hashtag2"]},{"1396322591":["hashtag1","hashtag2"]},{"1396322600":["hashtag1","hashtag2"]},{"1396322603":["hashtag1","hashtag2"]},{"1396322587":["hashtag1","hashtag2"]},{"1396322602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396322637, 1396322591, 1396322600, 1396322603, 1396322587, 1396322602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.699172019958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:26:12.256835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/57/image_20112025_23_57_13_2621.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_23_2558.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_29_3535.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_32_2865.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_37_2762.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_44_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/23/57/image_20112025_23_57_13_2621.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_23_2558.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_29_3535.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_32_2865.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_37_2762.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_44_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396322871","1396322853","1396322867","1396322779","1396322869","1396322815"],"photo_ids_order":["1396322779","1396322815","1396322853","1396322867","1396322869","1396322871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2762257cc8f96e9dc9f29a04a346d8c5.jpg","text":"TemporaryFile(/tmp/multipartBody2219595675019019646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_44_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/27/6c5b96c022d1c262d7d7d5cd65760ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1949319210131312005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_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/27/ba553f7266c8c3799aae039540e3cbc0.jpg","text":"TemporaryFile(/tmp/multipartBody4679454918271884178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_32_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/27/1458092b16f233f1aa8b401a68e170dc.jpg","text":"TemporaryFile(/tmp/multipartBody689701522736983412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_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/27/951c10e0024e0a432d6f442845719bed.jpg","text":"TemporaryFile(/tmp/multipartBody3651419657019130458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_37_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/27/c6f87962b31c1ba1e85c569fe0981387.jpg","text":"TemporaryFile(/tmp/multipartBody5486020544689693404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199633894,"filename":"image_20112025_23_57_23_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396322853","file1":"1396322815","file0":"1396322779","file4":"1396322869","file5":"1396322871","file3":"1396322867"},"map_files_photo_id_array":[{"photo_id":"1396322871","filename":"file5"},{"photo_id":"1396322853","filename":"file2"},{"photo_id":"1396322869","filename":"file4"},{"photo_id":"1396322815","filename":"file1"},{"photo_id":"1396322779","filename":"file0"},{"photo_id":"1396322867","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396322871":["hashtag1","hashtag2"]},{"1396322853":["hashtag1","hashtag2"]},{"1396322867":["hashtag1","hashtag2"]},{"1396322779":["hashtag1","hashtag2"]},{"1396322869":["hashtag1","hashtag2"]},{"1396322815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396322871, 1396322853, 1396322867, 1396322779, 1396322869, 1396322815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55219316482544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:27:03.317203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/22/image_27112025_00_22_54_9680.jpg', '/home/pi/Desktop/images/27112025/00/25/image_27112025_00_25_34_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/22/image_27112025_00_22_54_9680.jpg
/home/pi/Desktop/images/27112025/00/25/image_27112025_00_25_34_9535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323014","1396322997"],"photo_ids_order":["1396322997","1396323014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e03a22dfab4e122573d48130d5147ff.jpg","text":"TemporaryFile(/tmp/multipartBody802234927623327254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199683933,"filename":"image_27112025_00_25_34_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fef8447dd326108112e5573353993c7.jpg","text":"TemporaryFile(/tmp/multipartBody4031457363676521705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199683933,"filename":"image_27112025_00_22_54_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396323014","file0":"1396322997"},"map_files_photo_id_array":[{"photo_id":"1396323014","filename":"file1"},{"photo_id":"1396322997","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396323014":["hashtag1","hashtag2"]},{"1396322997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396323014, 1396322997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.062157154083252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:27:22.623563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/25/image_27112025_00_25_44_9781.jpg', '/home/pi/Desktop/images/27112025/00/26/image_27112025_00_26_25_10689.jpg', '/home/pi/Desktop/images/27112025/00/26/image_27112025_00_26_34_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/25/image_27112025_00_25_44_9781.jpg
/home/pi/Desktop/images/27112025/00/26/image_27112025_00_26_25_10689.jpg
/home/pi/Desktop/images/27112025/00/26/image_27112025_00_26_34_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323021","1396323031","1396323040"],"photo_ids_order":["1396323021","1396323031","1396323040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09e14de735946747e5f65d4a6ab683d5.jpg","text":"TemporaryFile(/tmp/multipartBody7694748546763187382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199703276,"filename":"image_27112025_00_25_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/edada514a4bc5b19f6818ec831164811.jpg","text":"TemporaryFile(/tmp/multipartBody6040632001671339420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199703276,"filename":"image_27112025_00_26_25_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9cdcc14cd4d90cce4062edbf680810cf.jpg","text":"TemporaryFile(/tmp/multipartBody2730923686397659531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199703276,"filename":"image_27112025_00_26_34_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323040","file1":"1396323031","file0":"1396323021"},"map_files_photo_id_array":[{"photo_id":"1396323040","filename":"file2"},{"photo_id":"1396323031","filename":"file1"},{"photo_id":"1396323021","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396323021":["hashtag1","hashtag2"]},{"1396323031":["hashtag1","hashtag2"]},{"1396323040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396323021, 1396323031, 1396323040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.487762212753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:28:03.098702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/57/image_20112025_23_57_46_2671.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_53_3752.jpg', '/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_56_2754.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_19_2709.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_26_3634.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_28_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_46_2671.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_53_3752.jpg
/home/pi/Desktop/images/20112025/23/57/image_20112025_23_57_56_2754.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_19_2709.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_26_3634.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_28_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323065","1396323062","1396323056","1396323059","1396323063","1396323057"],"photo_ids_order":["1396323056","1396323057","1396323059","1396323062","1396323063","1396323065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9e0032b8cb8d24bc2d46bb437151a88.jpg","text":"TemporaryFile(/tmp/multipartBody6465721577853226037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_58_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/27/2e10e09057237c54bc95b12a9e0af9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5495636143942078695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_58_19_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/27/23cc486184d1e6b67460c5049f174154.jpg","text":"TemporaryFile(/tmp/multipartBody2504320090294415515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_57_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/27/c8f93a1becd98134185914d166624f9a.jpg","text":"TemporaryFile(/tmp/multipartBody521544168258417464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_57_56_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/27/14196c2dd00abb1171ca93ae9784c711.jpg","text":"TemporaryFile(/tmp/multipartBody7597094642523615487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_58_26_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/27/b6c5eb813e6b9b1902593c49a33b1e83.jpg","text":"TemporaryFile(/tmp/multipartBody8420301332732079795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199744184,"filename":"image_20112025_23_57_53_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323059","file1":"1396323057","file0":"1396323056","file4":"1396323063","file5":"1396323065","file3":"1396323062"},"map_files_photo_id_array":[{"photo_id":"1396323065","filename":"file5"},{"photo_id":"1396323059","filename":"file2"},{"photo_id":"1396323063","filename":"file4"},{"photo_id":"1396323057","filename":"file1"},{"photo_id":"1396323056","filename":"file0"},{"photo_id":"1396323062","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396323065":["hashtag1","hashtag2"]},{"1396323062":["hashtag1","hashtag2"]},{"1396323056":["hashtag1","hashtag2"]},{"1396323059":["hashtag1","hashtag2"]},{"1396323063":["hashtag1","hashtag2"]},{"1396323057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396323065, 1396323062, 1396323056, 1396323059, 1396323063, 1396323057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.509576082229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:28:42.655823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/20/59/image_30102025_20_59_56_2745.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_07_3013.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_10_3282.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_17_2665.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_22_2648.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_26_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/59/image_30102025_20_59_56_2745.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_07_3013.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_10_3282.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_17_2665.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_22_2648.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_26_3557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323071","1396323080","1396323082","1396323070","1396323073","1396323081"],"photo_ids_order":["1396323070","1396323071","1396323073","1396323080","1396323081","1396323082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a70faa37a912afbabd639e4c961fbbc0.jpg","text":"TemporaryFile(/tmp/multipartBody3727037785619506325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_21_00_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/27/e41299bcda18eb6fdbde2f2bb39f025a.jpg","text":"TemporaryFile(/tmp/multipartBody5262925704807573011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_21_00_17_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/27/48d83c1f97d1ad2d710bc983584fedf2.jpg","text":"TemporaryFile(/tmp/multipartBody8936686693211722152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_21_00_26_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/27/d12d7192a5a6f5894a97877d5f3c92c2.jpg","text":"TemporaryFile(/tmp/multipartBody7398038098839741579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_20_59_56_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/27/6ac396dab52c5cb4be4ebc98bc0e430f.jpg","text":"TemporaryFile(/tmp/multipartBody275931346327896505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_21_00_10_3282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c85816ccbe336cf0d5264d874635431.jpg","text":"TemporaryFile(/tmp/multipartBody8864144168978552595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199783905,"filename":"image_30102025_21_00_22_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323073","file1":"1396323071","file0":"1396323070","file4":"1396323081","file5":"1396323082","file3":"1396323080"},"map_files_photo_id_array":[{"photo_id":"1396323082","filename":"file5"},{"photo_id":"1396323073","filename":"file2"},{"photo_id":"1396323081","filename":"file4"},{"photo_id":"1396323071","filename":"file1"},{"photo_id":"1396323070","filename":"file0"},{"photo_id":"1396323080","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396323071":["hashtag1","hashtag2"]},{"1396323080":["hashtag1","hashtag2"]},{"1396323082":["hashtag1","hashtag2"]},{"1396323070":["hashtag1","hashtag2"]},{"1396323073":["hashtag1","hashtag2"]},{"1396323081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396323071, 1396323080, 1396323082, 1396323070, 1396323073, 1396323081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93955063819885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:29:21.900569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/27/image_27112025_00_27_55_10714.jpg', '/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_14_9725.jpg', '/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_25_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/27/image_27112025_00_27_55_10714.jpg
/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_14_9725.jpg
/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_25_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323129","1396323169","1396323091"],"photo_ids_order":["1396323091","1396323129","1396323169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2f4e9f158e5d3dc1e1727c1024e556b.jpg","text":"TemporaryFile(/tmp/multipartBody4423766507662753574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199822531,"filename":"image_27112025_00_28_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da119601a3a1b55253ebccf3738b33a3.jpg","text":"TemporaryFile(/tmp/multipartBody3149707394568761546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199822531,"filename":"image_27112025_00_28_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ed4e540e9e5b511e38a9e639cb9fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody5855517130156207929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199822531,"filename":"image_27112025_00_27_55_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323169","file1":"1396323129","file0":"1396323091"},"map_files_photo_id_array":[{"photo_id":"1396323169","filename":"file2"},{"photo_id":"1396323129","filename":"file1"},{"photo_id":"1396323091","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396323129":["hashtag1","hashtag2"]},{"1396323169":["hashtag1","hashtag2"]},{"1396323091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396323129, 1396323169, 1396323091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.995098114013672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:30:02.335254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/58/image_20112025_23_58_32_3354.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_35_2823.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_37_2592.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_41_3685.jpg', '/home/pi/Desktop/images/20112025/23/58/image_20112025_23_59_00_1664.jpg', '/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_05_4635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_32_3354.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_35_2823.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_37_2592.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_58_41_3685.jpg
/home/pi/Desktop/images/20112025/23/58/image_20112025_23_59_00_1664.jpg
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_05_4635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323497","1396323458","1396323548","1396323553","1396323550","1396323531"],"photo_ids_order":["1396323458","1396323497","1396323531","1396323548","1396323550","1396323553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79031fd160f30bd202c3de88efa9007b.jpg","text":"TemporaryFile(/tmp/multipartBody9049442848554597029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_58_35_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/27/131debabd9e6d9c4736932dd04322aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8830818181623666314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_58_32_3354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/544927c366ee913b1ab77acb375b61a3.jpg","text":"TemporaryFile(/tmp/multipartBody5122764361968198673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_58_41_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/27/8ce6bf1a8ebe7f165dd1dc1e1c19322f.jpg","text":"TemporaryFile(/tmp/multipartBody8862203250614381748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_59_05_4635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6be1c8deb48e0d144efb3124f7096f5.jpg","text":"TemporaryFile(/tmp/multipartBody5130929200614419517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_59_00_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/27/76bb99af4dd62d1b2896b72b4f1ec875.jpg","text":"TemporaryFile(/tmp/multipartBody3271786275335134630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199867729,"filename":"image_20112025_23_58_37_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323531","file1":"1396323497","file0":"1396323458","file4":"1396323550","file5":"1396323553","file3":"1396323548"},"map_files_photo_id_array":[{"photo_id":"1396323553","filename":"file5"},{"photo_id":"1396323531","filename":"file2"},{"photo_id":"1396323550","filename":"file4"},{"photo_id":"1396323497","filename":"file1"},{"photo_id":"1396323458","filename":"file0"},{"photo_id":"1396323548","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396323497":["hashtag1","hashtag2"]},{"1396323458":["hashtag1","hashtag2"]},{"1396323548":["hashtag1","hashtag2"]},{"1396323553":["hashtag1","hashtag2"]},{"1396323550":["hashtag1","hashtag2"]},{"1396323531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396323497, 1396323458, 1396323548, 1396323553, 1396323550, 1396323531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14706778526306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:31:02.793941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_55_10622.jpg', '/home/pi/Desktop/images/27112025/00/29/image_27112025_00_29_44_9768.jpg', '/home/pi/Desktop/images/27112025/00/29/image_27112025_00_30_05_10678.jpg', '/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_25_10621.jpg', '/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/28/image_27112025_00_28_55_10622.jpg
/home/pi/Desktop/images/27112025/00/29/image_27112025_00_29_44_9768.jpg
/home/pi/Desktop/images/27112025/00/29/image_27112025_00_30_05_10678.jpg
/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_25_10621.jpg
/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_44_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323720","1396323717","1396323719","1396323701","1396323718"],"photo_ids_order":["1396323701","1396323717","1396323718","1396323719","1396323720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42df72af584afc6b6e433088a2fde8cd.jpg","text":"TemporaryFile(/tmp/multipartBody3898079296881233515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199923609,"filename":"image_27112025_00_30_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f834276f0155c59feac86fcd349e664.jpg","text":"TemporaryFile(/tmp/multipartBody5390876783817919648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199923609,"filename":"image_27112025_00_29_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b586fa49b637987b984462bfcfd9c50b.jpg","text":"TemporaryFile(/tmp/multipartBody8747104539340345446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199923609,"filename":"image_27112025_00_30_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0994f536caedca4284501097c739abf.jpg","text":"TemporaryFile(/tmp/multipartBody8278167018082802301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199923609,"filename":"image_27112025_00_28_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77685396c207402aa8ab49f005c8e74a.jpg","text":"TemporaryFile(/tmp/multipartBody4702274790907616973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199923609,"filename":"image_27112025_00_30_05_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323718","file1":"1396323717","file0":"1396323701","file4":"1396323720","file3":"1396323719"},"map_files_photo_id_array":[{"photo_id":"1396323718","filename":"file2"},{"photo_id":"1396323720","filename":"file4"},{"photo_id":"1396323717","filename":"file1"},{"photo_id":"1396323701","filename":"file0"},{"photo_id":"1396323719","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396323720":["hashtag1","hashtag2"]},{"1396323717":["hashtag1","hashtag2"]},{"1396323719":["hashtag1","hashtag2"]},{"1396323701":["hashtag1","hashtag2"]},{"1396323718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396323720, 1396323717, 1396323719, 1396323701, 1396323718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.349935054779053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:31:42.113193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/00/image_30102025_21_00_29_2836.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_31_2737.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_38_2805.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_40_2637.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_44_3559.jpg', '/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_49_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_29_2836.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_31_2737.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_38_2805.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_40_2637.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_44_3559.jpg
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_49_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323735","1396323734","1396323731","1396323733","1396323736","1396323732"],"photo_ids_order":["1396323731","1396323732","1396323733","1396323734","1396323735","1396323736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/914ca7f76839d9d1daffe99d46917eff.jpg","text":"TemporaryFile(/tmp/multipartBody1907578622287830370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_44_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/27/b8624e40275d4e023273f8f5c72a720a.jpg","text":"TemporaryFile(/tmp/multipartBody6712831293460434888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_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/27/2a87d43af6626cb153ea3dba77aa9bca.jpg","text":"TemporaryFile(/tmp/multipartBody7550418179785931892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_29_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/27/ce3c78f7ce8424c8fb3aa768232b448e.jpg","text":"TemporaryFile(/tmp/multipartBody4929230955335967526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_38_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/27/56cf417c735564e699a9d4095383a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6208366801781013297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_49_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/27/c4237a79ba1034aa94d525e496153cbf.jpg","text":"TemporaryFile(/tmp/multipartBody538994260265291128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764199963407,"filename":"image_30102025_21_00_31_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323733","file1":"1396323732","file0":"1396323731","file4":"1396323735","file5":"1396323736","file3":"1396323734"},"map_files_photo_id_array":[{"photo_id":"1396323736","filename":"file5"},{"photo_id":"1396323733","filename":"file2"},{"photo_id":"1396323735","filename":"file4"},{"photo_id":"1396323732","filename":"file1"},{"photo_id":"1396323731","filename":"file0"},{"photo_id":"1396323734","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396323735":["hashtag1","hashtag2"]},{"1396323734":["hashtag1","hashtag2"]},{"1396323731":["hashtag1","hashtag2"]},{"1396323733":["hashtag1","hashtag2"]},{"1396323736":["hashtag1","hashtag2"]},{"1396323732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396323735, 1396323734, 1396323731, 1396323733, 1396323736, 1396323732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.594911336898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:32:22.240435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_55_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/30/image_27112025_00_30_55_10771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323740"],"photo_id":"1396323740","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cfdbd296af42dad8a514291e2a78b6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1170653486474125384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200002754,"filename":"image_27112025_00_30_55_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396323740"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396323740"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.184350967407227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:32:42.377788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/00/image_30102025_21_00_56_2752.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_02_3662.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_07_2666.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_11_3646.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_19_2778.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_28_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/00/image_30102025_21_00_56_2752.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_02_3662.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_07_2666.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_11_3646.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_19_2778.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_28_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396323752","1396323761","1396323778","1396323760","1396323820","1396323762"],"photo_ids_order":["1396323752","1396323760","1396323761","1396323762","1396323778","1396323820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c43111563157b2f3a606f27094120859.jpg","text":"TemporaryFile(/tmp/multipartBody8182796551477248027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_00_56_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/27/9a2817b8633a0b03597da8562ddb3250.jpg","text":"TemporaryFile(/tmp/multipartBody2773326453468441376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_01_07_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/27/8b01542693098941ecfd3bc43ea6c7f6.jpg","text":"TemporaryFile(/tmp/multipartBody5693493550301508037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_01_19_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/27/21d70baeb83c8d5844315204a80c7765.jpg","text":"TemporaryFile(/tmp/multipartBody3604027359892762093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_01_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/27/1eecd46852c61b6c46089796c6ba7db7.jpg","text":"TemporaryFile(/tmp/multipartBody4510336429885983983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_01_28_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/27/7de6d7aa1e07d24eb0a3e272ca547955.jpg","text":"TemporaryFile(/tmp/multipartBody3751049970889583369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200023631,"filename":"image_30102025_21_01_11_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396323761","file1":"1396323760","file0":"1396323752","file4":"1396323778","file5":"1396323820","file3":"1396323762"},"map_files_photo_id_array":[{"photo_id":"1396323820","filename":"file5"},{"photo_id":"1396323761","filename":"file2"},{"photo_id":"1396323778","filename":"file4"},{"photo_id":"1396323760","filename":"file1"},{"photo_id":"1396323752","filename":"file0"},{"photo_id":"1396323762","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396323752":["hashtag1","hashtag2"]},{"1396323761":["hashtag1","hashtag2"]},{"1396323778":["hashtag1","hashtag2"]},{"1396323760":["hashtag1","hashtag2"]},{"1396323820":["hashtag1","hashtag2"]},{"1396323762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396323752, 1396323761, 1396323778, 1396323760, 1396323820, 1396323762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93640184402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:33:22.470103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_08_1813.jpg', '/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_14_1871.jpg', '/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_23_5810.jpg', '/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_41_12988.jpg', '/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_43_2351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_08_1813.jpg
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_14_1871.jpg
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_23_5810.jpg
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_41_12988.jpg
/home/pi/Desktop/images/20112025/23/59/image_20112025_23_59_43_2351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396324073","1396323965","1396324036","1396323999","1396324107"],"photo_ids_order":["1396323965","1396323999","1396324036","1396324073","1396324107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c366678ff00c13569577497a41d50c0.jpg","text":"TemporaryFile(/tmp/multipartBody5504413024071822105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200064102,"filename":"image_20112025_23_59_41_12988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2710af2125a3ce10ca95e6047bd3906.jpg","text":"TemporaryFile(/tmp/multipartBody174252727057082931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200064102,"filename":"image_20112025_23_59_08_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3839f163bdc263352ef5853d94f9da74.jpg","text":"TemporaryFile(/tmp/multipartBody1317301180719710719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200064102,"filename":"image_20112025_23_59_23_5810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a85ee1acab8a4ad30b9f0cb35eff720c.jpg","text":"TemporaryFile(/tmp/multipartBody5792995117825625148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200064102,"filename":"image_20112025_23_59_14_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f14d7bb0cff5cc0a704944b0b19b526.jpg","text":"TemporaryFile(/tmp/multipartBody2014029501154905189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200064102,"filename":"image_20112025_23_59_43_2351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396324036","file1":"1396323999","file0":"1396323965","file4":"1396324107","file3":"1396324073"},"map_files_photo_id_array":[{"photo_id":"1396324036","filename":"file2"},{"photo_id":"1396324107","filename":"file4"},{"photo_id":"1396323999","filename":"file1"},{"photo_id":"1396323965","filename":"file0"},{"photo_id":"1396324073","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396324073":["hashtag1","hashtag2"]},{"1396323965":["hashtag1","hashtag2"]},{"1396324036":["hashtag1","hashtag2"]},{"1396323999":["hashtag1","hashtag2"]},{"1396324107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396324073, 1396323965, 1396324036, 1396323999, 1396324107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.33085012435913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:34:02.447886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_43_3678.jpg', '/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_46_2660.jpg', '/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_49_2862.jpg', '/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_52_3199.jpg', '/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_54_2623.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_19_14767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_43_3678.jpg
/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_46_2660.jpg
/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_49_2862.jpg
/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_52_3199.jpg
/home/pi/Desktop/images/21112025/18/31/image_21112025_18_31_54_2623.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_19_14767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396324349","1396324384","1396324420","1396324275","1396324311","1396324428"],"photo_ids_order":["1396324275","1396324311","1396324349","1396324384","1396324420","1396324428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5959d5759ef1d9481e7d6801b0286ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2422098483584054714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_31_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/27/0de11ebdb92404831aafa1c50e89735d.jpg","text":"TemporaryFile(/tmp/multipartBody1326671338558541661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_31_52_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/27/ef24adfef5eebc47e6b5f1908cb3dea1.jpg","text":"TemporaryFile(/tmp/multipartBody8108996548488716488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_31_54_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/27/5d3f272c0080a64003af1785440341aa.jpg","text":"TemporaryFile(/tmp/multipartBody6908185977000758911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_31_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/27/21e24c21a426f73fa465f7c4a9a38822.jpg","text":"TemporaryFile(/tmp/multipartBody3094628978494332782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_31_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/27/054d24ac8e761f3fdbe38f45672df67f.jpg","text":"TemporaryFile(/tmp/multipartBody1949600732720954420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200103831,"filename":"image_21112025_18_32_19_14767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396324349","file1":"1396324311","file0":"1396324275","file4":"1396324420","file5":"1396324428","file3":"1396324384"},"map_files_photo_id_array":[{"photo_id":"1396324428","filename":"file5"},{"photo_id":"1396324349","filename":"file2"},{"photo_id":"1396324420","filename":"file4"},{"photo_id":"1396324311","filename":"file1"},{"photo_id":"1396324275","filename":"file0"},{"photo_id":"1396324384","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396324349":["hashtag1","hashtag2"]},{"1396324384":["hashtag1","hashtag2"]},{"1396324420":["hashtag1","hashtag2"]},{"1396324275":["hashtag1","hashtag2"]},{"1396324311":["hashtag1","hashtag2"]},{"1396324428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396324349, 1396324384, 1396324420, 1396324275, 1396324311, 1396324428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13951849937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:34:41.853341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/01/image_30102025_21_01_34_2673.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_38_3521.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_40_2594.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_43_2610.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_47_3648.jpg', '/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_50_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_34_2673.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_38_3521.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_40_2594.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_43_2610.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_47_3648.jpg
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_50_2844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396324457","1396324442","1396324564","1396324492","1396324450","1396324527"],"photo_ids_order":["1396324442","1396324450","1396324457","1396324492","1396324527","1396324564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e082628b8a6988cbcac15ae39558781.jpg","text":"TemporaryFile(/tmp/multipartBody801184000977135071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_40_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/27/7e2063ae38692e6462f345573011cd37.jpg","text":"TemporaryFile(/tmp/multipartBody250627111275042175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_34_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/27/9a40aa55a596ba0065a64461c558e386.jpg","text":"TemporaryFile(/tmp/multipartBody8301961074056150397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_50_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/27/cf02d54abb936bafde693f63024b49f7.jpg","text":"TemporaryFile(/tmp/multipartBody708384409273826762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_43_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/27/4a996040898d08269cef41e413ea544f.jpg","text":"TemporaryFile(/tmp/multipartBody868489163804310857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_38_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/27/1ca18feeca6037321ec379b225243a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4754781703403424952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200143097,"filename":"image_30102025_21_01_47_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396324457","file1":"1396324450","file0":"1396324442","file4":"1396324527","file5":"1396324564","file3":"1396324492"},"map_files_photo_id_array":[{"photo_id":"1396324564","filename":"file5"},{"photo_id":"1396324457","filename":"file2"},{"photo_id":"1396324527","filename":"file4"},{"photo_id":"1396324450","filename":"file1"},{"photo_id":"1396324442","filename":"file0"},{"photo_id":"1396324492","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396324457":["hashtag1","hashtag2"]},{"1396324442":["hashtag1","hashtag2"]},{"1396324564":["hashtag1","hashtag2"]},{"1396324492":["hashtag1","hashtag2"]},{"1396324450":["hashtag1","hashtag2"]},{"1396324527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396324457, 1396324442, 1396324564, 1396324492, 1396324450, 1396324527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49106812477112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:35:21.970469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/32/image_27112025_00_32_45_10598.jpg', '/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_15_9732.jpg', '/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_24_9815.jpg', '/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_34_9708.jpg', '/home/pi/Desktop/images/27112025/00/34/image_27112025_00_34_38_13123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/32/image_27112025_00_32_45_10598.jpg
/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_15_9732.jpg
/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_24_9815.jpg
/home/pi/Desktop/images/27112025/00/33/image_27112025_00_33_34_9708.jpg
/home/pi/Desktop/images/27112025/00/34/image_27112025_00_34_38_13123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396324823","1396324861","1396324781","1396324713","1396324664"],"photo_ids_order":["1396324664","1396324713","1396324781","1396324823","1396324861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a95a58b00c6fac8ed7cbd62b7a6cc62e.jpg","text":"TemporaryFile(/tmp/multipartBody3056603535128191425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200182682,"filename":"image_27112025_00_33_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34bf822ae92f622ab6d591b473d2b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody5100614578185805841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200182682,"filename":"image_27112025_00_34_38_13123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2274dfc3cd9d32c4f4fea9eda36c8376.jpg","text":"TemporaryFile(/tmp/multipartBody7817424446687948863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200182682,"filename":"image_27112025_00_33_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23955af6712e75185100243b84a4f430.jpg","text":"TemporaryFile(/tmp/multipartBody1927193789195821043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200182682,"filename":"image_27112025_00_33_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5133db519a855632ac9ce883270e0a88.jpg","text":"TemporaryFile(/tmp/multipartBody4641827911572086723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200182682,"filename":"image_27112025_00_32_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396324781","file1":"1396324713","file0":"1396324664","file4":"1396324861","file3":"1396324823"},"map_files_photo_id_array":[{"photo_id":"1396324781","filename":"file2"},{"photo_id":"1396324861","filename":"file4"},{"photo_id":"1396324713","filename":"file1"},{"photo_id":"1396324664","filename":"file0"},{"photo_id":"1396324823","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396324823":["hashtag1","hashtag2"]},{"1396324861":["hashtag1","hashtag2"]},{"1396324781":["hashtag1","hashtag2"]},{"1396324713":["hashtag1","hashtag2"]},{"1396324664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396324823, 1396324861, 1396324781, 1396324713, 1396324664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.9267520904541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:36:02.612164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_28_9212.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_30_2077.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_32_1654.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_35_3820.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_37_1503.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_40_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_28_9212.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_30_2077.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_32_1654.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_35_3820.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_37_1503.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_40_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325114","1396325077","1396325157","1396325154","1396325040","1396325153"],"photo_ids_order":["1396325040","1396325077","1396325114","1396325153","1396325154","1396325157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7149a945efefe05256e25395e5ba197.jpg","text":"TemporaryFile(/tmp/multipartBody8437743432614439240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_32_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/27/5ffa1301f67a94ae55e5f759898b6ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5405833991319582729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_30_2077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00be6854289a800942209874f4795f98.jpg","text":"TemporaryFile(/tmp/multipartBody5613671145431421591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_40_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/27/c3f02dac17c0c7db5cb219a6c60e5681.jpg","text":"TemporaryFile(/tmp/multipartBody4355822429371820173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_37_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89bef3e10763e6175a026d4d8ff39a95.jpg","text":"TemporaryFile(/tmp/multipartBody7917664342675042864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_28_9212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05926344137c89f166063ba4a1d260de.jpg","text":"TemporaryFile(/tmp/multipartBody6064381390924631138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200223838,"filename":"image_21112025_18_32_35_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325114","file1":"1396325077","file0":"1396325040","file4":"1396325154","file5":"1396325157","file3":"1396325153"},"map_files_photo_id_array":[{"photo_id":"1396325157","filename":"file5"},{"photo_id":"1396325114","filename":"file2"},{"photo_id":"1396325154","filename":"file4"},{"photo_id":"1396325077","filename":"file1"},{"photo_id":"1396325040","filename":"file0"},{"photo_id":"1396325153","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325114":["hashtag1","hashtag2"]},{"1396325077":["hashtag1","hashtag2"]},{"1396325157":["hashtag1","hashtag2"]},{"1396325154":["hashtag1","hashtag2"]},{"1396325040":["hashtag1","hashtag2"]},{"1396325153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325114, 1396325077, 1396325157, 1396325154, 1396325040, 1396325153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122331857681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:36:42.215518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/01/image_30102025_21_01_56_3598.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_01_2719.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_04_2824.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_10_2629.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_17_3625.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_28_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/01/image_30102025_21_01_56_3598.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_01_2719.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_04_2824.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_10_2629.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_17_3625.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_28_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325266","1396325233","1396325329","1396325256","1396325288","1396325336"],"photo_ids_order":["1396325233","1396325256","1396325266","1396325288","1396325329","1396325336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/939383b75f9fb0ca36fedd2e70ff4dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2489005948829323015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_02_04_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/27/09e12ab4e519371741de2c601a1d7f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1117117143324103643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_01_56_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/27/9c5cb0259c9a471b3b5010c288268224.jpg","text":"TemporaryFile(/tmp/multipartBody9166881945721168591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_02_17_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/27/6d2d4fdf085fef2e7b3d9fe94ffd774d.jpg","text":"TemporaryFile(/tmp/multipartBody8314319493753767645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_02_01_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/27/0e7fcd972fb56f313f23c27ce7b6040f.jpg","text":"TemporaryFile(/tmp/multipartBody7941654351171958724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_02_10_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/27/85224cf4f74afc61431a8c3be803877c.jpg","text":"TemporaryFile(/tmp/multipartBody5859057056644355364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200263485,"filename":"image_30102025_21_02_28_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325266","file1":"1396325256","file0":"1396325233","file4":"1396325329","file5":"1396325336","file3":"1396325288"},"map_files_photo_id_array":[{"photo_id":"1396325336","filename":"file5"},{"photo_id":"1396325266","filename":"file2"},{"photo_id":"1396325329","filename":"file4"},{"photo_id":"1396325256","filename":"file1"},{"photo_id":"1396325233","filename":"file0"},{"photo_id":"1396325288","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396325266":["hashtag1","hashtag2"]},{"1396325233":["hashtag1","hashtag2"]},{"1396325329":["hashtag1","hashtag2"]},{"1396325256":["hashtag1","hashtag2"]},{"1396325288":["hashtag1","hashtag2"]},{"1396325336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396325266, 1396325233, 1396325329, 1396325256, 1396325288, 1396325336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49950671195984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:37:22.373486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/34/image_27112025_00_34_44_6744.jpg', '/home/pi/Desktop/images/27112025/00/35/image_27112025_00_35_44_10611.jpg', '/home/pi/Desktop/images/27112025/00/35/image_27112025_00_36_05_10780.jpg', '/home/pi/Desktop/images/27112025/00/36/image_27112025_00_36_15_9738.jpg', '/home/pi/Desktop/images/27112025/00/36/image_27112025_00_36_34_9648.jpg', '/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_04_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/34/image_27112025_00_34_44_6744.jpg
/home/pi/Desktop/images/27112025/00/35/image_27112025_00_35_44_10611.jpg
/home/pi/Desktop/images/27112025/00/35/image_27112025_00_36_05_10780.jpg
/home/pi/Desktop/images/27112025/00/36/image_27112025_00_36_15_9738.jpg
/home/pi/Desktop/images/27112025/00/36/image_27112025_00_36_34_9648.jpg
/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_04_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325362","1396325365","1396325379","1396325367","1396325376","1396325381"],"photo_ids_order":["1396325362","1396325365","1396325367","1396325376","1396325379","1396325381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/230ad0c09bc6dcaa3bcf78a70459939f.jpg","text":"TemporaryFile(/tmp/multipartBody5283792679914501890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_34_44_6744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/107dde443eba39def101e1b0801e2e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4746576505588132133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_35_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d05c4a15d896bbd8c946e01873488eb.jpg","text":"TemporaryFile(/tmp/multipartBody728888990220556650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_36_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1f5907c4a9aebe91e0cb326704a134e.jpg","text":"TemporaryFile(/tmp/multipartBody1811686582488367579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_36_05_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a6edbdd6fff21d4bcc1ac41990d3979.jpg","text":"TemporaryFile(/tmp/multipartBody6952259477756969686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_36_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e71c7747b474c4b3321263e5bc932b7.jpg","text":"TemporaryFile(/tmp/multipartBody976165173278024318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200303144,"filename":"image_27112025_00_37_04_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325367","file1":"1396325365","file0":"1396325362","file4":"1396325379","file5":"1396325381","file3":"1396325376"},"map_files_photo_id_array":[{"photo_id":"1396325381","filename":"file5"},{"photo_id":"1396325367","filename":"file2"},{"photo_id":"1396325379","filename":"file4"},{"photo_id":"1396325365","filename":"file1"},{"photo_id":"1396325362","filename":"file0"},{"photo_id":"1396325376","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396325362":["hashtag1","hashtag2"]},{"1396325365":["hashtag1","hashtag2"]},{"1396325379":["hashtag1","hashtag2"]},{"1396325367":["hashtag1","hashtag2"]},{"1396325376":["hashtag1","hashtag2"]},{"1396325381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396325362, 1396325365, 1396325379, 1396325367, 1396325376, 1396325381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874513149261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:38:03.077982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_24_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_24_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325382"],"photo_id":"1396325382","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/319de8d1f0a3b46794768b42731e071a.jpg","text":"TemporaryFile(/tmp/multipartBody3295956401960260067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200343624,"filename":"image_27112025_00_37_24_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396325382"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396325382"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.091356992721558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:38:22.610091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_35_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/37/image_27112025_00_37_35_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325389"],"photo_id":"1396325389","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/451ab94259e9e1e8988b68b01af337ff.jpg","text":"TemporaryFile(/tmp/multipartBody1203120051093075564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200363145,"filename":"image_27112025_00_37_35_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396325389"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396325389"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.360940933227539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:38:42.668550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/02/image_30102025_21_02_32_3570.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_34_2503.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_37_2609.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_49_2636.jpg', '/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_56_3683.jpg', '/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_19_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_32_3570.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_34_2503.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_37_2609.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_49_2636.jpg
/home/pi/Desktop/images/30102025/21/02/image_30102025_21_02_56_3683.jpg
/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_19_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325395","1396325397","1396325416","1396325401","1396325396","1396325408"],"photo_ids_order":["1396325395","1396325396","1396325397","1396325401","1396325408","1396325416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f52ea195f198c9c6d67a1352d920e252.jpg","text":"TemporaryFile(/tmp/multipartBody9023992318133119613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_02_32_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/27/49c29c9363fccf0654e997732bd2f707.jpg","text":"TemporaryFile(/tmp/multipartBody3575735286708773451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_02_37_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/27/bec8729089b1043874e2187b749813e4.jpg","text":"TemporaryFile(/tmp/multipartBody5727223089026373670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_03_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/27/94266ad02f937e73a3b35fb43658bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody3780843845301624216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_02_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/27/add875d50a6ae5225bd37fcc4ed37efd.jpg","text":"TemporaryFile(/tmp/multipartBody742739294891945675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_02_34_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/27/25bbd708fc351b5be822875a935a6107.jpg","text":"TemporaryFile(/tmp/multipartBody5227107834271144404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200383955,"filename":"image_30102025_21_02_56_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325397","file1":"1396325396","file0":"1396325395","file4":"1396325408","file5":"1396325416","file3":"1396325401"},"map_files_photo_id_array":[{"photo_id":"1396325416","filename":"file5"},{"photo_id":"1396325397","filename":"file2"},{"photo_id":"1396325408","filename":"file4"},{"photo_id":"1396325396","filename":"file1"},{"photo_id":"1396325395","filename":"file0"},{"photo_id":"1396325401","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396325395":["hashtag1","hashtag2"]},{"1396325397":["hashtag1","hashtag2"]},{"1396325416":["hashtag1","hashtag2"]},{"1396325401":["hashtag1","hashtag2"]},{"1396325396":["hashtag1","hashtag2"]},{"1396325408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396325395, 1396325397, 1396325416, 1396325401, 1396325396, 1396325408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.231619119644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:39:21.780377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_42_1805.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_44_1566.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_45_1585.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_47_1573.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_49_1821.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_50_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_42_1805.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_44_1566.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_45_1585.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_47_1573.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_49_1821.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_50_1545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325423","1396325431","1396325425","1396325421","1396325427","1396325429"],"photo_ids_order":["1396325421","1396325423","1396325425","1396325427","1396325429","1396325431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0f7dbb9cd92eabb307756bf11bd2799.jpg","text":"TemporaryFile(/tmp/multipartBody834619126898719172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_44_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/27/c0e80d92910bdc533cf797157e0a19e7.jpg","text":"TemporaryFile(/tmp/multipartBody3388199917466017806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_50_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/27/1f3e9ead314419f77c5139cda38b6677.jpg","text":"TemporaryFile(/tmp/multipartBody946375620402049684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_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/27/b31ad58fd59133dd818dd8f9ceb8c684.jpg","text":"TemporaryFile(/tmp/multipartBody5761254779421283453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_42_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de762f6395532d51b632a5d2f6c95a03.jpg","text":"TemporaryFile(/tmp/multipartBody5301897996644676997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_47_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/27/f3b3c150b5718d5c4378339a579cb723.jpg","text":"TemporaryFile(/tmp/multipartBody3893169421003394246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200423538,"filename":"image_21112025_18_32_49_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325425","file1":"1396325423","file0":"1396325421","file4":"1396325429","file5":"1396325431","file3":"1396325427"},"map_files_photo_id_array":[{"photo_id":"1396325431","filename":"file5"},{"photo_id":"1396325425","filename":"file2"},{"photo_id":"1396325429","filename":"file4"},{"photo_id":"1396325423","filename":"file1"},{"photo_id":"1396325421","filename":"file0"},{"photo_id":"1396325427","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325423":["hashtag1","hashtag2"]},{"1396325431":["hashtag1","hashtag2"]},{"1396325425":["hashtag1","hashtag2"]},{"1396325421":["hashtag1","hashtag2"]},{"1396325427":["hashtag1","hashtag2"]},{"1396325429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325423, 1396325431, 1396325425, 1396325421, 1396325427, 1396325429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.436779737472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:40:02.544381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_52_1627.jpg', '/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_53_1635.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_16_22663.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_18_1584.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_19_1583.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_21_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_52_1627.jpg
/home/pi/Desktop/images/21112025/18/32/image_21112025_18_32_53_1635.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_16_22663.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_18_1584.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_19_1583.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_21_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325557","1396325644","1396325710","1396325675","1396325741","1396325765"],"photo_ids_order":["1396325557","1396325644","1396325675","1396325710","1396325741","1396325765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e5da52a52c4ce5014f9ff5549294809.jpg","text":"TemporaryFile(/tmp/multipartBody2673774092886848933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_32_52_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/27/480adc550b31a5f5cf320d58ea0e9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7112518487400381660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_32_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/27/96c96d5c15f122bf67f92f5bf165cc6b.jpg","text":"TemporaryFile(/tmp/multipartBody3344505781208043681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_33_18_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/27/e2e84aa4891719429da7dd0b4a35248c.jpg","text":"TemporaryFile(/tmp/multipartBody6783980794691080736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_33_16_22663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/132e76e0535be4ebbe312750c0ef883d.jpg","text":"TemporaryFile(/tmp/multipartBody4491856909845233733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_33_19_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/27/b717163fc90f74e37b8fd4cae2018eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2105122586283261881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200463742,"filename":"image_21112025_18_33_21_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325675","file1":"1396325644","file0":"1396325557","file4":"1396325741","file5":"1396325765","file3":"1396325710"},"map_files_photo_id_array":[{"photo_id":"1396325765","filename":"file5"},{"photo_id":"1396325675","filename":"file2"},{"photo_id":"1396325741","filename":"file4"},{"photo_id":"1396325644","filename":"file1"},{"photo_id":"1396325557","filename":"file0"},{"photo_id":"1396325710","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325557":["hashtag1","hashtag2"]},{"1396325644":["hashtag1","hashtag2"]},{"1396325710":["hashtag1","hashtag2"]},{"1396325675":["hashtag1","hashtag2"]},{"1396325741":["hashtag1","hashtag2"]},{"1396325765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325557, 1396325644, 1396325710, 1396325675, 1396325741, 1396325765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.56054401397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:41:03.262891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/38/image_27112025_00_38_34_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/38/image_27112025_00_38_34_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325773"],"photo_id":"1396325773","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5dff62f4aab5c94c9003cd3043ecaff5.jpg","text":"TemporaryFile(/tmp/multipartBody3800377153664768230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200523855,"filename":"image_27112025_00_38_34_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396325773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396325773"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 25.634222269058228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:41:32.734880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_23_1632.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_24_1761.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_26_1721.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_28_2054.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_30_1731.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_36_6618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_23_1632.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_24_1761.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_26_1721.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_28_2054.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_30_1731.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_36_6618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325828","1396325801","1396325827","1396325826","1396325825","1396325819"],"photo_ids_order":["1396325801","1396325819","1396325825","1396325826","1396325827","1396325828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf6c01ec5f8badf4b1cec173c95a919c.jpg","text":"TemporaryFile(/tmp/multipartBody3989112227640165430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_36_6618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/defa7e4f4f8c53dc8b2529803f2fae48.jpg","text":"TemporaryFile(/tmp/multipartBody4106185638574614807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_23_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/27/12f9f3950c5daf8505f2bf5cc4b06b42.jpg","text":"TemporaryFile(/tmp/multipartBody3534198459656060536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_30_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/27/f34f0f54167db84956c02aad4031c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody3796055834839209194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_28_2054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b4259466c6b3dfdbf10c159319c2f01.jpg","text":"TemporaryFile(/tmp/multipartBody7976497271087525547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_26_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/27/8fde64dd575572c976dd66b95a826596.jpg","text":"TemporaryFile(/tmp/multipartBody5506053513882308568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200554604,"filename":"image_21112025_18_33_24_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325825","file1":"1396325819","file0":"1396325801","file4":"1396325827","file5":"1396325828","file3":"1396325826"},"map_files_photo_id_array":[{"photo_id":"1396325828","filename":"file5"},{"photo_id":"1396325825","filename":"file2"},{"photo_id":"1396325827","filename":"file4"},{"photo_id":"1396325819","filename":"file1"},{"photo_id":"1396325801","filename":"file0"},{"photo_id":"1396325826","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325828":["hashtag1","hashtag2"]},{"1396325801":["hashtag1","hashtag2"]},{"1396325827":["hashtag1","hashtag2"]},{"1396325826":["hashtag1","hashtag2"]},{"1396325825":["hashtag1","hashtag2"]},{"1396325819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325828, 1396325801, 1396325827, 1396325826, 1396325825, 1396325819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9603226184845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:42:11.946796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_38_1671.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_40_1589.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_43_1552.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_44_1551.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_46_1636.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_48_1831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_38_1671.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_40_1589.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_43_1552.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_44_1551.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_46_1636.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_48_1831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325833","1396325836","1396325839","1396325835","1396325837","1396325831"],"photo_ids_order":["1396325831","1396325833","1396325835","1396325836","1396325837","1396325839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7aadfe222641ce7f642fec01d15a4c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4240521394072358683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_40_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/27/03568df3dac1b7eca93fe533e2aee0cc.jpg","text":"TemporaryFile(/tmp/multipartBody8856333619102624909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_44_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/27/5b8cf3999b1e710a4b0ed36ac3ed1a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8533318756105091821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_48_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/27/d1233188559f6e6c64eb5fefc6b2fc8f.jpg","text":"TemporaryFile(/tmp/multipartBody6930250688578856521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_43_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/27/bbf957bee5441da7f317e6e4b6a33979.jpg","text":"TemporaryFile(/tmp/multipartBody689934329347153675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_46_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/27/bb3b94af7fe0301a317275d97fe2e35b.jpg","text":"TemporaryFile(/tmp/multipartBody5392531116773883135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200593694,"filename":"image_21112025_18_33_38_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325835","file1":"1396325833","file0":"1396325831","file4":"1396325837","file5":"1396325839","file3":"1396325836"},"map_files_photo_id_array":[{"photo_id":"1396325839","filename":"file5"},{"photo_id":"1396325835","filename":"file2"},{"photo_id":"1396325837","filename":"file4"},{"photo_id":"1396325833","filename":"file1"},{"photo_id":"1396325831","filename":"file0"},{"photo_id":"1396325836","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325833":["hashtag1","hashtag2"]},{"1396325836":["hashtag1","hashtag2"]},{"1396325839":["hashtag1","hashtag2"]},{"1396325835":["hashtag1","hashtag2"]},{"1396325837":["hashtag1","hashtag2"]},{"1396325831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325833, 1396325836, 1396325839, 1396325835, 1396325837, 1396325831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.671095848083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:43:09.809393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/40/image_27112025_00_40_34_9761.jpg', '/home/pi/Desktop/images/27112025/00/41/image_27112025_00_41_14_9683.jpg', '/home/pi/Desktop/images/27112025/00/41/image_27112025_00_41_45_10709.jpg', '/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_25_10862.jpg', '/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_34_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/40/image_27112025_00_40_34_9761.jpg
/home/pi/Desktop/images/27112025/00/41/image_27112025_00_41_14_9683.jpg
/home/pi/Desktop/images/27112025/00/41/image_27112025_00_41_45_10709.jpg
/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_25_10862.jpg
/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_34_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325872","1396325854","1396325850","1396325885","1396325852"],"photo_ids_order":["1396325850","1396325852","1396325854","1396325872","1396325885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a29e23f7b3bf5ad605f96a5510dc02c8.jpg","text":"TemporaryFile(/tmp/multipartBody5738279019776289213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200652570,"filename":"image_27112025_00_42_25_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e28b459939fa1ed0f0b86384800f1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8645813327411830681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200652570,"filename":"image_27112025_00_41_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1ad94e1e8c05ca974f82454fabd9c12.jpg","text":"TemporaryFile(/tmp/multipartBody7587969781554416508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200652570,"filename":"image_27112025_00_40_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cd8b9c406b1560b8ce7956c2a7fb8d5.jpg","text":"TemporaryFile(/tmp/multipartBody6040136781336636226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200652570,"filename":"image_27112025_00_42_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1e8d5f10526dc862fd999e5fa05e55f.jpg","text":"TemporaryFile(/tmp/multipartBody3673467380689298782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200652570,"filename":"image_27112025_00_41_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325854","file1":"1396325852","file0":"1396325850","file4":"1396325885","file3":"1396325872"},"map_files_photo_id_array":[{"photo_id":"1396325854","filename":"file2"},{"photo_id":"1396325885","filename":"file4"},{"photo_id":"1396325852","filename":"file1"},{"photo_id":"1396325850","filename":"file0"},{"photo_id":"1396325872","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396325872":["hashtag1","hashtag2"]},{"1396325854":["hashtag1","hashtag2"]},{"1396325850":["hashtag1","hashtag2"]},{"1396325885":["hashtag1","hashtag2"]},{"1396325852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396325872, 1396325854, 1396325850, 1396325885, 1396325852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.496686697006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:43:49.382362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/03/image_30102025_21_03_25_6118.jpg', '/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_49_2689.jpg', '/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_55_2604.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_02_3730.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_04_2539.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_07_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_25_6118.jpg
/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_49_2689.jpg
/home/pi/Desktop/images/30102025/21/03/image_30102025_21_03_55_2604.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_02_3730.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_04_2539.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_07_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325896","1396325890","1396325892","1396325889","1396325891","1396325894"],"photo_ids_order":["1396325889","1396325890","1396325891","1396325892","1396325894","1396325896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/173a412a0f7f52389c1fcb2a2f4ceadd.jpg","text":"TemporaryFile(/tmp/multipartBody220337615404947575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_04_07_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/27/43e0f9fdf3f73635c2884daca144ee52.jpg","text":"TemporaryFile(/tmp/multipartBody6699902692978129812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_03_49_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/27/3e30568f6c2e61e807a2c45af29e91fb.jpg","text":"TemporaryFile(/tmp/multipartBody337943757852039276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_04_02_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/27/88bcf76957ec0882c2db7e5a65fd0abf.jpg","text":"TemporaryFile(/tmp/multipartBody4737350779359862421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_03_25_6118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be1070ad5e7da0e394d7ef21d63337a5.jpg","text":"TemporaryFile(/tmp/multipartBody8568237516875194232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_03_55_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/27/f2f3bb45a357887a45ea43dc9eaa6261.jpg","text":"TemporaryFile(/tmp/multipartBody4154730516510713558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200690572,"filename":"image_30102025_21_04_04_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325891","file1":"1396325890","file0":"1396325889","file4":"1396325894","file5":"1396325896","file3":"1396325892"},"map_files_photo_id_array":[{"photo_id":"1396325896","filename":"file5"},{"photo_id":"1396325891","filename":"file2"},{"photo_id":"1396325894","filename":"file4"},{"photo_id":"1396325890","filename":"file1"},{"photo_id":"1396325889","filename":"file0"},{"photo_id":"1396325892","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396325896":["hashtag1","hashtag2"]},{"1396325890":["hashtag1","hashtag2"]},{"1396325892":["hashtag1","hashtag2"]},{"1396325889":["hashtag1","hashtag2"]},{"1396325891":["hashtag1","hashtag2"]},{"1396325894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396325896, 1396325890, 1396325892, 1396325889, 1396325891, 1396325894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7064688205719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:44:32.603944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_49_1595.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_51_1645.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_53_1599.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_54_1563.jpg', '/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_58_3637.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_01_3052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_49_1595.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_51_1645.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_53_1599.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_54_1563.jpg
/home/pi/Desktop/images/21112025/18/33/image_21112025_18_33_58_3637.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_01_3052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325912","1396325909","1396325905","1396325910","1396325907","1396325903"],"photo_ids_order":["1396325903","1396325905","1396325907","1396325909","1396325910","1396325912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f8a5cf230317b7f69e5e5fce47264c6.jpg","text":"TemporaryFile(/tmp/multipartBody4239313042496256602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_34_01_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/27/541da7ab79f7c7fed0a12d2a0a81d043.jpg","text":"TemporaryFile(/tmp/multipartBody3523449774053859795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_33_54_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/27/3e06769c6cc9853ef5c1cda84e5650f2.jpg","text":"TemporaryFile(/tmp/multipartBody6620706365941331898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_33_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/27/0099310fd947d348fe0435fb0c4a667f.jpg","text":"TemporaryFile(/tmp/multipartBody6319205162499122975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_33_58_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/27/8d402f7201c28a812d2d446d7fff91a3.jpg","text":"TemporaryFile(/tmp/multipartBody4584806506315562616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_33_53_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/27/0d2d06973a87821042985ebabe063e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8132742413040261775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200734434,"filename":"image_21112025_18_33_49_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325907","file1":"1396325905","file0":"1396325903","file4":"1396325910","file5":"1396325912","file3":"1396325909"},"map_files_photo_id_array":[{"photo_id":"1396325912","filename":"file5"},{"photo_id":"1396325907","filename":"file2"},{"photo_id":"1396325910","filename":"file4"},{"photo_id":"1396325905","filename":"file1"},{"photo_id":"1396325903","filename":"file0"},{"photo_id":"1396325909","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325912":["hashtag1","hashtag2"]},{"1396325909":["hashtag1","hashtag2"]},{"1396325905":["hashtag1","hashtag2"]},{"1396325910":["hashtag1","hashtag2"]},{"1396325907":["hashtag1","hashtag2"]},{"1396325903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325912, 1396325909, 1396325905, 1396325910, 1396325907, 1396325903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.467514753341675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:45:12.726775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_06_5216.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_08_1608.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_09_1698.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_12_2538.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_35_22678.jpg', '/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_47_12381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_06_5216.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_08_1608.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_09_1698.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_12_2538.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_35_22678.jpg
/home/pi/Desktop/images/21112025/18/34/image_21112025_18_34_47_12381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325944","1396325938","1396325940","1396325948","1396325942","1396325945"],"photo_ids_order":["1396325938","1396325940","1396325942","1396325944","1396325945","1396325948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2476ac78d82f76392776850d17f1bb47.jpg","text":"TemporaryFile(/tmp/multipartBody4430500014263454602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_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/27/e13ca0dcd1fa4c7e8f79fff09cdfca8b.jpg","text":"TemporaryFile(/tmp/multipartBody3452747134690906196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_06_5216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c4a2f90ad8386547e2e870504edf1e5.jpg","text":"TemporaryFile(/tmp/multipartBody8188632642679726963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_08_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24b16ba934f2210d5d888505929136f5.jpg","text":"TemporaryFile(/tmp/multipartBody4031351828629678622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_47_12381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b051e23481e32c234ed72ad33b7a4167.jpg","text":"TemporaryFile(/tmp/multipartBody8922242851827158041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_09_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/27/688fe047065b250f8f6504ef9355e482.jpg","text":"TemporaryFile(/tmp/multipartBody6963058464576077096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200774490,"filename":"image_21112025_18_34_35_22678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325942","file1":"1396325940","file0":"1396325938","file4":"1396325945","file5":"1396325948","file3":"1396325944"},"map_files_photo_id_array":[{"photo_id":"1396325948","filename":"file5"},{"photo_id":"1396325942","filename":"file2"},{"photo_id":"1396325945","filename":"file4"},{"photo_id":"1396325940","filename":"file1"},{"photo_id":"1396325938","filename":"file0"},{"photo_id":"1396325944","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325944":["hashtag1","hashtag2"]},{"1396325938":["hashtag1","hashtag2"]},{"1396325940":["hashtag1","hashtag2"]},{"1396325948":["hashtag1","hashtag2"]},{"1396325942":["hashtag1","hashtag2"]},{"1396325945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325944, 1396325938, 1396325940, 1396325948, 1396325942, 1396325945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75592088699341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:46:02.677501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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 10
2025-11-27 00:46:22.144980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_55_10486.jpg', '/home/pi/Desktop/images/27112025/00/44/image_27112025_00_44_44_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/42/image_27112025_00_42_55_10486.jpg
/home/pi/Desktop/images/27112025/00/44/image_27112025_00_44_44_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325973","1396325976"],"photo_ids_order":["1396325973","1396325976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1df512ead5068ddd0c8322ae1334323b.jpg","text":"TemporaryFile(/tmp/multipartBody4759332262609870213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200842719,"filename":"image_27112025_00_42_55_10486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9adcaf8874f9abb4c09c47dfa587e80.jpg","text":"TemporaryFile(/tmp/multipartBody8007127988786963304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200842719,"filename":"image_27112025_00_44_44_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396325976","file0":"1396325973"},"map_files_photo_id_array":[{"photo_id":"1396325976","filename":"file1"},{"photo_id":"1396325973","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396325973":["hashtag1","hashtag2"]},{"1396325976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396325973, 1396325976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.288259029388428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:46:42.164181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/04/image_30102025_21_04_11_3591.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_13_2601.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_16_2802.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_20_3542.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_25_2807.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_29_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_11_3591.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_13_2601.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_16_2802.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_20_3542.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_25_2807.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_29_3539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325983","1396325986","1396325985","1396325982","1396325984","1396325981"],"photo_ids_order":["1396325981","1396325982","1396325983","1396325984","1396325985","1396325986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6abb2bb2002c2de91694f96c71df240.jpg","text":"TemporaryFile(/tmp/multipartBody8855321649933603588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_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/27/f90b5745d4c3fc62b002874640a14933.jpg","text":"TemporaryFile(/tmp/multipartBody5265070783723831875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_29_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/27/0eab5744ec53b79569bcfd7d91b43e08.jpg","text":"TemporaryFile(/tmp/multipartBody3128759743130973545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_25_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/27/8f21222b129193c3349267e5adf39727.jpg","text":"TemporaryFile(/tmp/multipartBody4387672585025927062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_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/27/cb0b4f0f6fb001e3a0f7c26532dcad29.jpg","text":"TemporaryFile(/tmp/multipartBody4686812227858947800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_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/27/759d3da251cb88998a5bbbe2c095e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody6238428086109442887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200863457,"filename":"image_30102025_21_04_11_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325983","file1":"1396325982","file0":"1396325981","file4":"1396325985","file5":"1396325986","file3":"1396325984"},"map_files_photo_id_array":[{"photo_id":"1396325986","filename":"file5"},{"photo_id":"1396325983","filename":"file2"},{"photo_id":"1396325985","filename":"file4"},{"photo_id":"1396325982","filename":"file1"},{"photo_id":"1396325981","filename":"file0"},{"photo_id":"1396325984","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396325983":["hashtag1","hashtag2"]},{"1396325986":["hashtag1","hashtag2"]},{"1396325985":["hashtag1","hashtag2"]},{"1396325982":["hashtag1","hashtag2"]},{"1396325984":["hashtag1","hashtag2"]},{"1396325981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396325983, 1396325986, 1396325985, 1396325982, 1396325984, 1396325981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98560929298401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:47:22.317198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_18_30661.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_19_1603.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_30_10333.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_35_1765.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_40_5747.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_46_5682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_18_30661.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_19_1603.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_30_10333.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_35_1765.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_40_5747.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_46_5682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396325998","1396326004","1396326000","1396325996","1396325993","1396326002"],"photo_ids_order":["1396325993","1396325996","1396325998","1396326000","1396326002","1396326004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/211b9ed4326760fc66f94a6c77497ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7129094793556672729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_30_10333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b150185322ba5431836dc1766a4215e4.jpg","text":"TemporaryFile(/tmp/multipartBody8694943572637007051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_46_5682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8345e5b4297f75312df14f3772aef992.jpg","text":"TemporaryFile(/tmp/multipartBody7912860800510266122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_35_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7b25cb330c4acc3c009030e707233a4.jpg","text":"TemporaryFile(/tmp/multipartBody3551642956086219281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_19_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/27/0b3940118817132547f69b1a0ddc681f.jpg","text":"TemporaryFile(/tmp/multipartBody8449671047647269159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_18_30661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6302bd69c3ec2382b35d4fe45d6c2688.jpg","text":"TemporaryFile(/tmp/multipartBody874545709025561456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200905897,"filename":"image_21112025_18_35_40_5747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396325998","file1":"1396325996","file0":"1396325993","file4":"1396326002","file5":"1396326004","file3":"1396326000"},"map_files_photo_id_array":[{"photo_id":"1396326004","filename":"file5"},{"photo_id":"1396325998","filename":"file2"},{"photo_id":"1396326002","filename":"file4"},{"photo_id":"1396325996","filename":"file1"},{"photo_id":"1396325993","filename":"file0"},{"photo_id":"1396326000","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396325998":["hashtag1","hashtag2"]},{"1396326004":["hashtag1","hashtag2"]},{"1396326000":["hashtag1","hashtag2"]},{"1396325996":["hashtag1","hashtag2"]},{"1396325993":["hashtag1","hashtag2"]},{"1396326002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396325998, 1396326004, 1396326000, 1396325996, 1396325993, 1396326002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03608822822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:48:02.928845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_52_6016.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_54_1619.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_55_1675.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_57_1695.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_59_1661.jpg', '/home/pi/Desktop/images/21112025/18/35/image_21112025_18_36_00_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_52_6016.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_54_1619.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_55_1675.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_57_1695.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_35_59_1661.jpg
/home/pi/Desktop/images/21112025/18/35/image_21112025_18_36_00_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326007","1396326016","1396326019","1396326018","1396326012","1396326006"],"photo_ids_order":["1396326006","1396326007","1396326012","1396326016","1396326018","1396326019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b190210e98c31e7e1d01cd26256e0502.jpg","text":"TemporaryFile(/tmp/multipartBody3434667224684244865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_35_54_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/27/7c98d9524a85979300bc6bf65440ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody6697319061793303343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_35_57_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/27/701191627628fe9b25559cc8230ce38a.jpg","text":"TemporaryFile(/tmp/multipartBody4539185407384690013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_36_00_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/27/4736bc9af1a60e0621961c31f0aca425.jpg","text":"TemporaryFile(/tmp/multipartBody3225723218479393651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_35_59_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/27/7ce341db3a5d580b3568ef770c32e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1166144796678369475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_35_55_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/27/22351cea3b0de4dbf8bb5dc75d0286d6.jpg","text":"TemporaryFile(/tmp/multipartBody1456071962980108972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764200944168,"filename":"image_21112025_18_35_52_6016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326012","file1":"1396326007","file0":"1396326006","file4":"1396326018","file5":"1396326019","file3":"1396326016"},"map_files_photo_id_array":[{"photo_id":"1396326019","filename":"file5"},{"photo_id":"1396326012","filename":"file2"},{"photo_id":"1396326018","filename":"file4"},{"photo_id":"1396326007","filename":"file1"},{"photo_id":"1396326006","filename":"file0"},{"photo_id":"1396326016","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396326007":["hashtag1","hashtag2"]},{"1396326016":["hashtag1","hashtag2"]},{"1396326019":["hashtag1","hashtag2"]},{"1396326018":["hashtag1","hashtag2"]},{"1396326012":["hashtag1","hashtag2"]},{"1396326006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396326007, 1396326016, 1396326019, 1396326018, 1396326012, 1396326006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.20452570915222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:49:03.857522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/44/image_27112025_00_44_54_9852.jpg', '/home/pi/Desktop/images/27112025/00/47/image_27112025_00_47_14_9824.jpg', '/home/pi/Desktop/images/27112025/00/48/image_27112025_00_48_25_10556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/44/image_27112025_00_44_54_9852.jpg
/home/pi/Desktop/images/27112025/00/47/image_27112025_00_47_14_9824.jpg
/home/pi/Desktop/images/27112025/00/48/image_27112025_00_48_25_10556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326024","1396326023","1396326026"],"photo_ids_order":["1396326023","1396326024","1396326026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/470c46ecb7437b1a51ebe341554242f6.jpg","text":"TemporaryFile(/tmp/multipartBody934820524606004379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201004583,"filename":"image_27112025_00_47_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b24d7bc4f8821ea43b76c37d67c8a314.jpg","text":"TemporaryFile(/tmp/multipartBody7945564281169025998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201004583,"filename":"image_27112025_00_44_54_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9b6b57598f2c89f039b567ef0d60a82.jpg","text":"TemporaryFile(/tmp/multipartBody8952695143268938807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201004583,"filename":"image_27112025_00_48_25_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326026","file1":"1396326024","file0":"1396326023"},"map_files_photo_id_array":[{"photo_id":"1396326026","filename":"file2"},{"photo_id":"1396326024","filename":"file1"},{"photo_id":"1396326023","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396326024":["hashtag1","hashtag2"]},{"1396326023":["hashtag1","hashtag2"]},{"1396326026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396326024, 1396326023, 1396326026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.204575061798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:49:32.832598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_02_1802.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_04_1503.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_05_1700.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_10_2096.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_13_1541.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_15_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_02_1802.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_04_1503.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_05_1700.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_10_2096.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_13_1541.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_15_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326031","1396326037","1396326036","1396326033","1396326035","1396326038"],"photo_ids_order":["1396326031","1396326033","1396326035","1396326036","1396326037","1396326038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c338dc0a630e3d90324ac74954855e32.jpg","text":"TemporaryFile(/tmp/multipartBody8354192839949450852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_02_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/27/6aa2aec78a53ec16aa2b357257bb2250.jpg","text":"TemporaryFile(/tmp/multipartBody6642216979371437912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_13_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/27/22087db99ee1ddb7e4216df17eb38285.jpg","text":"TemporaryFile(/tmp/multipartBody8803952981339540972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_10_2096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9c60074989804c1a1205274c41f31e3.jpg","text":"TemporaryFile(/tmp/multipartBody355177233643247006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_04_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e1b4c8c9b8a5c455264243ad2ebf804.jpg","text":"TemporaryFile(/tmp/multipartBody4635775209256129689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_05_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/27/f1778af7c384ac7c35af22e141fa7a57.jpg","text":"TemporaryFile(/tmp/multipartBody1119082829842969453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201034674,"filename":"image_21112025_18_36_15_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326035","file1":"1396326033","file0":"1396326031","file4":"1396326037","file5":"1396326038","file3":"1396326036"},"map_files_photo_id_array":[{"photo_id":"1396326038","filename":"file5"},{"photo_id":"1396326035","filename":"file2"},{"photo_id":"1396326037","filename":"file4"},{"photo_id":"1396326033","filename":"file1"},{"photo_id":"1396326031","filename":"file0"},{"photo_id":"1396326036","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396326031":["hashtag1","hashtag2"]},{"1396326037":["hashtag1","hashtag2"]},{"1396326036":["hashtag1","hashtag2"]},{"1396326033":["hashtag1","hashtag2"]},{"1396326035":["hashtag1","hashtag2"]},{"1396326038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396326031, 1396326037, 1396326036, 1396326033, 1396326035, 1396326038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26852321624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:50:11.941349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_17_2519.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_19_1680.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_22_1538.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_24_1646.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_26_1742.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_27_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_17_2519.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_19_1680.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_22_1538.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_24_1646.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_26_1742.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_27_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326124","1396326069","1396326083","1396326134","1396326062","1396326061"],"photo_ids_order":["1396326061","1396326062","1396326069","1396326083","1396326124","1396326134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e7c28cb2f73c286f715ba3462219d66.jpg","text":"TemporaryFile(/tmp/multipartBody8601714479868700138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_26_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/27/8bc49f990abc84c46710c27c2d9cb83b.jpg","text":"TemporaryFile(/tmp/multipartBody764228803278081253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_22_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/488dc3dc3f9cdb587929a6439ca4c6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2570158746933828539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_24_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/27/df42df5e967de8b58cd4eded33538044.jpg","text":"TemporaryFile(/tmp/multipartBody1632245305904327229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_27_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/27/6f8ed4dc61b6e8ba74ff6840252727fb.jpg","text":"TemporaryFile(/tmp/multipartBody5691538251131076349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_19_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/27/69d2b73314695696f4daf1f934e38194.jpg","text":"TemporaryFile(/tmp/multipartBody4614870841511912763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201073713,"filename":"image_21112025_18_36_17_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326069","file1":"1396326062","file0":"1396326061","file4":"1396326124","file5":"1396326134","file3":"1396326083"},"map_files_photo_id_array":[{"photo_id":"1396326134","filename":"file5"},{"photo_id":"1396326069","filename":"file2"},{"photo_id":"1396326124","filename":"file4"},{"photo_id":"1396326062","filename":"file1"},{"photo_id":"1396326061","filename":"file0"},{"photo_id":"1396326083","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396326124":["hashtag1","hashtag2"]},{"1396326069":["hashtag1","hashtag2"]},{"1396326083":["hashtag1","hashtag2"]},{"1396326134":["hashtag1","hashtag2"]},{"1396326062":["hashtag1","hashtag2"]},{"1396326061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396326124, 1396326069, 1396326083, 1396326134, 1396326062, 1396326061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.299264669418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:51:02.882257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/48/image_27112025_00_48_44_9727.jpg', '/home/pi/Desktop/images/27112025/00/49/image_27112025_00_49_14_9731.jpg', '/home/pi/Desktop/images/27112025/00/49/image_27112025_00_49_55_10812.jpg', '/home/pi/Desktop/images/27112025/00/50/image_27112025_00_50_34_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/48/image_27112025_00_48_44_9727.jpg
/home/pi/Desktop/images/27112025/00/49/image_27112025_00_49_14_9731.jpg
/home/pi/Desktop/images/27112025/00/49/image_27112025_00_49_55_10812.jpg
/home/pi/Desktop/images/27112025/00/50/image_27112025_00_50_34_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326184","1396326163","1396326151","1396326159"],"photo_ids_order":["1396326151","1396326159","1396326163","1396326184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99c637fc9bb694204443059f70e65ac0.jpg","text":"TemporaryFile(/tmp/multipartBody8604058109067038790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201123614,"filename":"image_27112025_00_50_34_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea1d4c1301d0816647fb131b08d5def8.jpg","text":"TemporaryFile(/tmp/multipartBody3179983740727391823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201123614,"filename":"image_27112025_00_49_55_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efb0ee82553d3ef8331dc1bad03fe621.jpg","text":"TemporaryFile(/tmp/multipartBody8053548588962973845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201123614,"filename":"image_27112025_00_48_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49fde63c4df7bba91f114b49f563806e.jpg","text":"TemporaryFile(/tmp/multipartBody126263132878323272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201123614,"filename":"image_27112025_00_49_14_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326163","file1":"1396326159","file0":"1396326151","file3":"1396326184"},"map_files_photo_id_array":[{"photo_id":"1396326163","filename":"file2"},{"photo_id":"1396326159","filename":"file1"},{"photo_id":"1396326151","filename":"file0"},{"photo_id":"1396326184","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396326184":["hashtag1","hashtag2"]},{"1396326163":["hashtag1","hashtag2"]},{"1396326151":["hashtag1","hashtag2"]},{"1396326159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396326184, 1396326163, 1396326151, 1396326159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.704339027404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:51:32.005381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_29_1696.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_31_1686.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_51_3193.jpg', '/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_52_1678.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_02_7828.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_05_1521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_29_1696.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_31_1686.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_51_3193.jpg
/home/pi/Desktop/images/21112025/18/36/image_21112025_18_36_52_1678.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_02_7828.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_05_1521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326514","1396326439","1396326477","1396326400","1396326363","1396326321"],"photo_ids_order":["1396326321","1396326363","1396326400","1396326439","1396326477","1396326514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2325527d8deaeaef7579dbc18b55807.jpg","text":"TemporaryFile(/tmp/multipartBody3322399967394707312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_37_05_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b696cb5e080be8ad05bfbe92d67476ad.jpg","text":"TemporaryFile(/tmp/multipartBody565986938075173516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_36_52_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/27/b991a256c1cde141c686b4860f8ddb8f.jpg","text":"TemporaryFile(/tmp/multipartBody574375957941578127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_37_02_7828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8cab697c708e2f9aebe54e480ee95c1.jpg","text":"TemporaryFile(/tmp/multipartBody3907959312358030943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_36_51_3193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47053e6e0a3c8e377160dc40a8796c72.jpg","text":"TemporaryFile(/tmp/multipartBody7588540660082222681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_36_31_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/27/2d43d904aaabdb8cec884416faf3b421.jpg","text":"TemporaryFile(/tmp/multipartBody3138841190162040897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201153842,"filename":"image_21112025_18_36_29_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326400","file1":"1396326363","file0":"1396326321","file4":"1396326477","file5":"1396326514","file3":"1396326439"},"map_files_photo_id_array":[{"photo_id":"1396326514","filename":"file5"},{"photo_id":"1396326400","filename":"file2"},{"photo_id":"1396326477","filename":"file4"},{"photo_id":"1396326363","filename":"file1"},{"photo_id":"1396326321","filename":"file0"},{"photo_id":"1396326439","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396326514":["hashtag1","hashtag2"]},{"1396326439":["hashtag1","hashtag2"]},{"1396326477":["hashtag1","hashtag2"]},{"1396326400":["hashtag1","hashtag2"]},{"1396326363":["hashtag1","hashtag2"]},{"1396326321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396326514, 1396326439, 1396326477, 1396326400, 1396326363, 1396326321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72193384170532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:52:12.305380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_07_1730.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_14_6858.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_15_1655.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_17_1596.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_18_1624.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_20_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_07_1730.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_14_6858.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_15_1655.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_17_1596.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_18_1624.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_20_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326891","1396326855","1396326819","1396326747","1396326701","1396326784"],"photo_ids_order":["1396326701","1396326747","1396326784","1396326819","1396326855","1396326891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5301affd702f6405831a7584c30bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4536822157042052022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_20_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/27/1f32bae84b6cd945d7f0befd70e9ed52.jpg","text":"TemporaryFile(/tmp/multipartBody8184461933232904038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_18_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/27/16b1fd5faf207eb1036216466b2f921c.jpg","text":"TemporaryFile(/tmp/multipartBody3631981180083074000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_17_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/27/c9b8df39e6afc092d78d2a8722e3a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody1160688796602393317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_14_6858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cbee2192419e511deb2ff4c71b65981.jpg","text":"TemporaryFile(/tmp/multipartBody2001636585809926997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_07_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/27/eedc8388ecdc97b7a9dc3f4c54244f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5423736248853733568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201194064,"filename":"image_21112025_18_37_15_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326784","file1":"1396326747","file0":"1396326701","file4":"1396326855","file5":"1396326891","file3":"1396326819"},"map_files_photo_id_array":[{"photo_id":"1396326891","filename":"file5"},{"photo_id":"1396326784","filename":"file2"},{"photo_id":"1396326855","filename":"file4"},{"photo_id":"1396326747","filename":"file1"},{"photo_id":"1396326701","filename":"file0"},{"photo_id":"1396326819","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396326891":["hashtag1","hashtag2"]},{"1396326855":["hashtag1","hashtag2"]},{"1396326819":["hashtag1","hashtag2"]},{"1396326747":["hashtag1","hashtag2"]},{"1396326701":["hashtag1","hashtag2"]},{"1396326784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396326891, 1396326855, 1396326819, 1396326747, 1396326701, 1396326784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.2380268573761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:53:03.109343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/50/image_27112025_00_50_44_9632.jpg', '/home/pi/Desktop/images/27112025/00/51/image_27112025_00_52_04_9770.jpg', '/home/pi/Desktop/images/27112025/00/52/image_27112025_00_52_25_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/50/image_27112025_00_50_44_9632.jpg
/home/pi/Desktop/images/27112025/00/51/image_27112025_00_52_04_9770.jpg
/home/pi/Desktop/images/27112025/00/52/image_27112025_00_52_25_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396326987","1396326989","1396326991"],"photo_ids_order":["1396326987","1396326989","1396326991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d4a8b2ccf0096c146e5bd8cbf7c0bca5.jpg","text":"TemporaryFile(/tmp/multipartBody8951374219291088264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201243858,"filename":"image_27112025_00_50_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6db3f0e6a5438665a4cc3542090e393b.jpg","text":"TemporaryFile(/tmp/multipartBody4579602531262997458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201243858,"filename":"image_27112025_00_52_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c278210e719f0ed8f53f0977c28cb7e5.jpg","text":"TemporaryFile(/tmp/multipartBody268476101833853453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201243858,"filename":"image_27112025_00_52_25_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396326991","file1":"1396326989","file0":"1396326987"},"map_files_photo_id_array":[{"photo_id":"1396326991","filename":"file2"},{"photo_id":"1396326989","filename":"file1"},{"photo_id":"1396326987","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396326987":["hashtag1","hashtag2"]},{"1396326989":["hashtag1","hashtag2"]},{"1396326991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396326987, 1396326989, 1396326991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.1427264213562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:53:32.395192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_22_1768.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_23_1536.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_25_1869.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_27_1771.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_29_1656.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_30_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_22_1768.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_23_1536.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_25_1869.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_27_1771.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_29_1656.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_30_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327194","1396327188","1396327116","1396327193","1396327151","1396327081"],"photo_ids_order":["1396327081","1396327116","1396327151","1396327188","1396327193","1396327194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c8200a264f5246b4ba148ab32650df2.jpg","text":"TemporaryFile(/tmp/multipartBody3136378259144018193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_30_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/27/b0382b6192c80f0d16664b412d7cd9a8.jpg","text":"TemporaryFile(/tmp/multipartBody4694005983779263757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_27_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be25f0026f7bbf8b0180d5950038fd03.jpg","text":"TemporaryFile(/tmp/multipartBody5341422237299515389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_23_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/27/d8a52b9c7c259127936bd71492f26dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2233939882049589260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_29_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/27/73a04f23578581f4a2effe10f2754033.jpg","text":"TemporaryFile(/tmp/multipartBody493461421616817780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_25_1869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65353b60ba3166dd8a2893c1e317b7db.jpg","text":"TemporaryFile(/tmp/multipartBody8337529909741291884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201274130,"filename":"image_21112025_18_37_22_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327151","file1":"1396327116","file0":"1396327081","file4":"1396327193","file5":"1396327194","file3":"1396327188"},"map_files_photo_id_array":[{"photo_id":"1396327194","filename":"file5"},{"photo_id":"1396327151","filename":"file2"},{"photo_id":"1396327193","filename":"file4"},{"photo_id":"1396327116","filename":"file1"},{"photo_id":"1396327081","filename":"file0"},{"photo_id":"1396327188","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396327194":["hashtag1","hashtag2"]},{"1396327188":["hashtag1","hashtag2"]},{"1396327116":["hashtag1","hashtag2"]},{"1396327193":["hashtag1","hashtag2"]},{"1396327151":["hashtag1","hashtag2"]},{"1396327081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396327194, 1396327188, 1396327116, 1396327193, 1396327151, 1396327081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08519101142883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:54:12.731917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_32_1626.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_34_1709.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_35_1667.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_37_1606.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_39_1585.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_40_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_32_1626.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_34_1709.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_35_1667.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_37_1606.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_39_1585.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_40_1752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327293","1396327287","1396327290","1396327284","1396327266","1396327292"],"photo_ids_order":["1396327266","1396327284","1396327287","1396327290","1396327292","1396327293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77d19cc81a090939a8be3f9dd0f9a4b0.jpg","text":"TemporaryFile(/tmp/multipartBody1944737383380598736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_40_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/27/0ed6e37619905e3c415b3d4a8613c174.jpg","text":"TemporaryFile(/tmp/multipartBody3780843863690840785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_35_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/27/698a222411e9cde1daea73c5bb7187f9.jpg","text":"TemporaryFile(/tmp/multipartBody839875982496165974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_37_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/27/46f1dc940aec36caf1cc2f75f89a25ba.jpg","text":"TemporaryFile(/tmp/multipartBody528390826663531387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_34_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b68e10fa59c3ae7bbb56c20c1247cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody2936056966288493883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_32_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/27/b5bcb263eee6b6b4ce0c447b18e9e0aa.jpg","text":"TemporaryFile(/tmp/multipartBody5637262431691382326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201314478,"filename":"image_21112025_18_37_39_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327287","file1":"1396327284","file0":"1396327266","file4":"1396327292","file5":"1396327293","file3":"1396327290"},"map_files_photo_id_array":[{"photo_id":"1396327293","filename":"file5"},{"photo_id":"1396327287","filename":"file2"},{"photo_id":"1396327292","filename":"file4"},{"photo_id":"1396327284","filename":"file1"},{"photo_id":"1396327266","filename":"file0"},{"photo_id":"1396327290","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396327293":["hashtag1","hashtag2"]},{"1396327287":["hashtag1","hashtag2"]},{"1396327290":["hashtag1","hashtag2"]},{"1396327284":["hashtag1","hashtag2"]},{"1396327266":["hashtag1","hashtag2"]},{"1396327292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396327293, 1396327287, 1396327290, 1396327284, 1396327266, 1396327292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5177960395813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:55:02.634369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/52/image_27112025_00_52_44_9715.jpg', '/home/pi/Desktop/images/27112025/00/53/image_27112025_00_54_05_10673.jpg', '/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_14_9587.jpg', '/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_24_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/52/image_27112025_00_52_44_9715.jpg
/home/pi/Desktop/images/27112025/00/53/image_27112025_00_54_05_10673.jpg
/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_14_9587.jpg
/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_24_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327303","1396327298","1396327297","1396327301"],"photo_ids_order":["1396327297","1396327298","1396327301","1396327303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06337cf8f8d9dcedb015a7be85409651.jpg","text":"TemporaryFile(/tmp/multipartBody1478327477489902747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201363414,"filename":"image_27112025_00_54_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39af60bad0a7c184b5f24402b462a783.jpg","text":"TemporaryFile(/tmp/multipartBody208887178578111633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201363414,"filename":"image_27112025_00_54_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e1ab411f53ff066a6b1d1b8e5d8ebb7.jpg","text":"TemporaryFile(/tmp/multipartBody5668680558994220555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201363414,"filename":"image_27112025_00_52_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6de23c5d59beaa8134260e31a2a43a8.jpg","text":"TemporaryFile(/tmp/multipartBody2422266707832776240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201363414,"filename":"image_27112025_00_54_14_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327301","file1":"1396327298","file0":"1396327297","file3":"1396327303"},"map_files_photo_id_array":[{"photo_id":"1396327301","filename":"file2"},{"photo_id":"1396327298","filename":"file1"},{"photo_id":"1396327297","filename":"file0"},{"photo_id":"1396327303","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396327303":["hashtag1","hashtag2"]},{"1396327298":["hashtag1","hashtag2"]},{"1396327297":["hashtag1","hashtag2"]},{"1396327301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396327303, 1396327298, 1396327297, 1396327301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.586787223815918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:55:31.984075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_42_1678.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_44_1841.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_46_1645.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_47_1590.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_49_1838.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_51_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_42_1678.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_44_1841.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_46_1645.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_47_1590.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_49_1838.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_51_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327326","1396327323","1396327325","1396327319","1396327327","1396327321"],"photo_ids_order":["1396327319","1396327321","1396327323","1396327325","1396327326","1396327327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00c546496438522e1293d7e0b84411ae.jpg","text":"TemporaryFile(/tmp/multipartBody1324072336556621399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_49_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/27/7db503d7cfbabd18f3d7a5d9089a5d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8221673285523977368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_46_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/27/81a31859e8c27755c89ded5587407137.jpg","text":"TemporaryFile(/tmp/multipartBody6558779784509770269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_47_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/27/bd33eb548f298c3d2ee92fc3fc0f853c.jpg","text":"TemporaryFile(/tmp/multipartBody2303010268166418132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_42_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/27/fe55e531f04187f1785134b7b119cfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7292952067037984298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_51_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/27/bae85590c1fa1842b206108f82c2d564.jpg","text":"TemporaryFile(/tmp/multipartBody4047415927251781265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201393848,"filename":"image_21112025_18_37_44_1841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327323","file1":"1396327321","file0":"1396327319","file4":"1396327326","file5":"1396327327","file3":"1396327325"},"map_files_photo_id_array":[{"photo_id":"1396327327","filename":"file5"},{"photo_id":"1396327323","filename":"file2"},{"photo_id":"1396327326","filename":"file4"},{"photo_id":"1396327321","filename":"file1"},{"photo_id":"1396327319","filename":"file0"},{"photo_id":"1396327325","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396327326":["hashtag1","hashtag2"]},{"1396327323":["hashtag1","hashtag2"]},{"1396327325":["hashtag1","hashtag2"]},{"1396327319":["hashtag1","hashtag2"]},{"1396327327":["hashtag1","hashtag2"]},{"1396327321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396327326, 1396327323, 1396327325, 1396327319, 1396327327, 1396327321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41465997695923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 00:56:12.623330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_52_1605.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_54_1906.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_56_1609.jpg', '/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_59_3512.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_01_1508.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_02_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_52_1605.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_54_1906.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_56_1609.jpg
/home/pi/Desktop/images/21112025/18/37/image_21112025_18_37_59_3512.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_01_1508.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_02_1689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327330","1396327338","1396327332","1396327335","1396327379","1396327340"],"photo_ids_order":["1396327330","1396327332","1396327335","1396327338","1396327340","1396327379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/643cf190814a73d750ced40be0120d37.jpg","text":"TemporaryFile(/tmp/multipartBody3796075949681296363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_37_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/27/1425046e63d2ec86cdf50d34bae5ba62.jpg","text":"TemporaryFile(/tmp/multipartBody4815304094490058861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_37_59_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/27/373798fd1a8b9d422c5146ed648a687c.jpg","text":"TemporaryFile(/tmp/multipartBody5176859197238550304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_37_54_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/464302c5238c09ad6338d5af0ecb87aa.jpg","text":"TemporaryFile(/tmp/multipartBody7159052084615869157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_37_56_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/27/865fa17a395c9a02ca1b427a6d118459.jpg","text":"TemporaryFile(/tmp/multipartBody3827866975497658747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_38_02_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/27/c299eb98379a82ae2fd7214e40b8be3b.jpg","text":"TemporaryFile(/tmp/multipartBody525090135804980092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201434393,"filename":"image_21112025_18_38_01_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327335","file1":"1396327332","file0":"1396327330","file4":"1396327340","file5":"1396327379","file3":"1396327338"},"map_files_photo_id_array":[{"photo_id":"1396327379","filename":"file5"},{"photo_id":"1396327335","filename":"file2"},{"photo_id":"1396327340","filename":"file4"},{"photo_id":"1396327332","filename":"file1"},{"photo_id":"1396327330","filename":"file0"},{"photo_id":"1396327338","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396327330":["hashtag1","hashtag2"]},{"1396327338":["hashtag1","hashtag2"]},{"1396327332":["hashtag1","hashtag2"]},{"1396327335":["hashtag1","hashtag2"]},{"1396327379":["hashtag1","hashtag2"]},{"1396327340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396327330, 1396327338, 1396327332, 1396327335, 1396327379, 1396327340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04487442970276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:57:02.499943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_45_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/54/image_27112025_00_54_45_9896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327629"],"photo_id":"1396327629","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c245bce66a2358d3f7a8193139f979f.jpg","text":"TemporaryFile(/tmp/multipartBody7474399368802479767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201483083,"filename":"image_27112025_00_54_45_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396327629"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396327629"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.777796506881714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:57:21.874063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/56/image_27112025_00_56_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/56/image_27112025_00_56_24_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327781"],"photo_id":"1396327781","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d6d87b540e5655f6b91553a3a6a9fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3729427714419183839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201502427,"filename":"image_27112025_00_56_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396327781"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396327781"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.014499187469482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 00:57:55.020319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/04/image_30102025_21_04_31_2710.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_35_4230.jpg', '/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_40_2739.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_07_2494.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_19_12499.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_24_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_31_2710.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_35_4230.jpg
/home/pi/Desktop/images/30102025/21/04/image_30102025_21_04_40_2739.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_07_2494.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_19_12499.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_24_1529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396327881","1396327887","1396327958","1396327922","1396328029","1396327993"],"photo_ids_order":["1396327881","1396327887","1396327922","1396327958","1396327993","1396328029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce7ef43e34cfd34ae7ce670c4164422e.jpg","text":"TemporaryFile(/tmp/multipartBody2025471941627711745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_04_31_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/27/d924de7fd27885bd3d8154b50c05f06c.jpg","text":"TemporaryFile(/tmp/multipartBody3453845412035194426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_04_35_4230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c03ce1b2baece2046bffe10991178c49.jpg","text":"TemporaryFile(/tmp/multipartBody55997974616869214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_05_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/27/4a7f7de00e1c108edfcf79ac0e28c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody2838740379671220742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_04_40_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/27/55d3184c053369e93e478c5500738a78.jpg","text":"TemporaryFile(/tmp/multipartBody6108474046213301869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_05_24_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/27/762435eb053707a1c921b362d4c3532d.jpg","text":"TemporaryFile(/tmp/multipartBody9000779103395003465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201540873,"filename":"image_30102025_21_05_19_12499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396327922","file1":"1396327887","file0":"1396327881","file4":"1396327993","file5":"1396328029","file3":"1396327958"},"map_files_photo_id_array":[{"photo_id":"1396328029","filename":"file5"},{"photo_id":"1396327922","filename":"file2"},{"photo_id":"1396327993","filename":"file4"},{"photo_id":"1396327887","filename":"file1"},{"photo_id":"1396327881","filename":"file0"},{"photo_id":"1396327958","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396327881":["hashtag1","hashtag2"]},{"1396327887":["hashtag1","hashtag2"]},{"1396327958":["hashtag1","hashtag2"]},{"1396327922":["hashtag1","hashtag2"]},{"1396328029":["hashtag1","hashtag2"]},{"1396327993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396327881, 1396327887, 1396327958, 1396327922, 1396328029, 1396327993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52228593826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 00:59:03.348397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/56/image_27112025_00_57_05_10824.jpg', '/home/pi/Desktop/images/27112025/00/58/image_27112025_00_58_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/56/image_27112025_00_57_05_10824.jpg
/home/pi/Desktop/images/27112025/00/58/image_27112025_00_58_14_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396328165","1396328169"],"photo_ids_order":["1396328165","1396328169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18d8f7995717a3c6c6cf3b1d0e6d3201.jpg","text":"TemporaryFile(/tmp/multipartBody8060553660318975626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201604174,"filename":"image_27112025_00_57_05_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c66bbd47feaf719ecf3bb7f1fe32d985.jpg","text":"TemporaryFile(/tmp/multipartBody3026573390090061807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201604174,"filename":"image_27112025_00_58_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396328169","file0":"1396328165"},"map_files_photo_id_array":[{"photo_id":"1396328169","filename":"file1"},{"photo_id":"1396328165","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396328165":["hashtag1","hashtag2"]},{"1396328169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396328165, 1396328169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.83316397666931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 00:59:22.547367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/58/image_27112025_00_58_34_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/58/image_27112025_00_58_34_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396328244"],"photo_id":"1396328244","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d06588093b4eadaafbc7bcfbd5a1a279.jpg","text":"TemporaryFile(/tmp/multipartBody5551706272284599175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201623085,"filename":"image_27112025_00_58_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396328244"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396328244"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 19.289196729660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:00:03.067053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_04_1539.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_07_3276.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_09_1740.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_16_7286.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_18_1589.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_28_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_04_1539.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_07_3276.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_09_1740.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_16_7286.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_18_1589.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_28_10032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396329038","1396328969","1396328822","1396328747","1396328898","1396328670"],"photo_ids_order":["1396328670","1396328747","1396328822","1396328898","1396328969","1396329038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c5d13e44e228780ea1679edbd421b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3315678164413948855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_28_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76caea0d71f6096a2a5de87914a53e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2641653659452875033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_18_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/27/c44ce81521a6ca7d5ffc9df4fcb17fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8302581206761041986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_09_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/27/ee445fb573f1c0de1a017825fcd5bd07.jpg","text":"TemporaryFile(/tmp/multipartBody3982258092137375320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_07_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96dc100bb578add0e26d487d258e8ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3538694844051843571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_16_7286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44c09cd0cd4cccf68c9421796f131648.jpg","text":"TemporaryFile(/tmp/multipartBody3693775598191197082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201664265,"filename":"image_21112025_18_38_04_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396328822","file1":"1396328747","file0":"1396328670","file4":"1396328969","file5":"1396329038","file3":"1396328898"},"map_files_photo_id_array":[{"photo_id":"1396329038","filename":"file5"},{"photo_id":"1396328822","filename":"file2"},{"photo_id":"1396328969","filename":"file4"},{"photo_id":"1396328747","filename":"file1"},{"photo_id":"1396328670","filename":"file0"},{"photo_id":"1396328898","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396329038":["hashtag1","hashtag2"]},{"1396328969":["hashtag1","hashtag2"]},{"1396328822":["hashtag1","hashtag2"]},{"1396328747":["hashtag1","hashtag2"]},{"1396328898":["hashtag1","hashtag2"]},{"1396328670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396329038, 1396328969, 1396328822, 1396328747, 1396328898, 1396328670)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.76826071739197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:01:09.294519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 01:01:18.725687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_37_9322.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_39_1702.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_49_9943.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_50_1571.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_52_1574.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_54_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_37_9322.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_39_1702.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_49_9943.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_50_1571.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_52_1574.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_54_1752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396329702","1396329479","1396329605","1396329407","1396329646","1396329546"],"photo_ids_order":["1396329407","1396329479","1396329546","1396329605","1396329646","1396329702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c328dabadd625cac2c52ec7d6eb50f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6472148135850058179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_54_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/27/0b046b42d6ddffe9fb5b11e8a70e04a9.jpg","text":"TemporaryFile(/tmp/multipartBody7411026315571587978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_39_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/27/31ed666aac3bb0cee5ff4c0406e68de0.jpg","text":"TemporaryFile(/tmp/multipartBody2795725571781923173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_50_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/27/573d97fbc4cf5659f74c0fbd055841b8.jpg","text":"TemporaryFile(/tmp/multipartBody4960186351136277880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_37_9322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c930cf189c17bf1bcf9b38e6535f6fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8950977095767631361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_52_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36f68ac517c90ee546a3725f9dc361bd.jpg","text":"TemporaryFile(/tmp/multipartBody5585945200037889168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201740527,"filename":"image_21112025_18_38_49_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396329546","file1":"1396329479","file0":"1396329407","file4":"1396329646","file5":"1396329702","file3":"1396329605"},"map_files_photo_id_array":[{"photo_id":"1396329702","filename":"file5"},{"photo_id":"1396329546","filename":"file2"},{"photo_id":"1396329646","filename":"file4"},{"photo_id":"1396329479","filename":"file1"},{"photo_id":"1396329407","filename":"file0"},{"photo_id":"1396329605","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396329702":["hashtag1","hashtag2"]},{"1396329479":["hashtag1","hashtag2"]},{"1396329605":["hashtag1","hashtag2"]},{"1396329407":["hashtag1","hashtag2"]},{"1396329646":["hashtag1","hashtag2"]},{"1396329546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396329702, 1396329479, 1396329605, 1396329407, 1396329646, 1396329546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8894248008728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:02:02.323731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/00/59/image_27112025_00_59_15_10652.jpg', '/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_25_10609.jpg', '/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_48_14112.jpg', '/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_54_5723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/00/59/image_27112025_00_59_15_10652.jpg
/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_25_10609.jpg
/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_48_14112.jpg
/home/pi/Desktop/images/27112025/01/01/image_27112025_01_01_54_5723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396329974","1396329857","1396329908","1396329818"],"photo_ids_order":["1396329818","1396329857","1396329908","1396329974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/960e11e2b89e585dbeea4824a775f622.jpg","text":"TemporaryFile(/tmp/multipartBody2717721710966632903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201783038,"filename":"image_27112025_01_01_54_5723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6c5d84587a5c9d6c686e7f6f4935353.jpg","text":"TemporaryFile(/tmp/multipartBody7587893331771574780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201783038,"filename":"image_27112025_01_01_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f29b2cde459062bbdc88c0a45ae17da2.jpg","text":"TemporaryFile(/tmp/multipartBody9176327212648548614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201783038,"filename":"image_27112025_01_01_48_14112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd7ad7b3527c3cbc8947b8d913369c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4938893855365850986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201783038,"filename":"image_27112025_00_59_15_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396329908","file1":"1396329857","file0":"1396329818","file3":"1396329974"},"map_files_photo_id_array":[{"photo_id":"1396329908","filename":"file2"},{"photo_id":"1396329857","filename":"file1"},{"photo_id":"1396329818","filename":"file0"},{"photo_id":"1396329974","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396329974":["hashtag1","hashtag2"]},{"1396329857":["hashtag1","hashtag2"]},{"1396329908":["hashtag1","hashtag2"]},{"1396329818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396329974, 1396329857, 1396329908, 1396329818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.145270824432373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:02:31.861525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_55_1682.jpg', '/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_57_1698.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_04_3658.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_06_1613.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_09_1622.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_11_1830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_55_1682.jpg
/home/pi/Desktop/images/21112025/18/38/image_21112025_18_38_57_1698.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_04_3658.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_06_1613.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_09_1622.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_11_1830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330155","1396330157","1396330183","1396330121","1396330162","1396330164"],"photo_ids_order":["1396330121","1396330155","1396330157","1396330162","1396330164","1396330183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d470e6b38b60b7de2e77aecbfcc9d915.jpg","text":"TemporaryFile(/tmp/multipartBody5098393037181707146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_38_57_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/27/114751bf11f808c4d881994c74ceadc4.jpg","text":"TemporaryFile(/tmp/multipartBody9065074402337189329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_39_04_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/27/8201f24e65bed0d1bba884e44bbde46e.jpg","text":"TemporaryFile(/tmp/multipartBody599553287160940083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_39_11_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/27/38df0b32d475d96f698667359c863817.jpg","text":"TemporaryFile(/tmp/multipartBody1144676875648975089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_38_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/27/0f0289758bbcd9cfd4b4918929f944df.jpg","text":"TemporaryFile(/tmp/multipartBody7630140450746097876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_39_06_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ae7a6795ea21d6736c92700f8517661.jpg","text":"TemporaryFile(/tmp/multipartBody4820621950194468254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201813655,"filename":"image_21112025_18_39_09_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330157","file1":"1396330155","file0":"1396330121","file4":"1396330164","file5":"1396330183","file3":"1396330162"},"map_files_photo_id_array":[{"photo_id":"1396330183","filename":"file5"},{"photo_id":"1396330157","filename":"file2"},{"photo_id":"1396330164","filename":"file4"},{"photo_id":"1396330155","filename":"file1"},{"photo_id":"1396330121","filename":"file0"},{"photo_id":"1396330162","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330155":["hashtag1","hashtag2"]},{"1396330157":["hashtag1","hashtag2"]},{"1396330183":["hashtag1","hashtag2"]},{"1396330121":["hashtag1","hashtag2"]},{"1396330162":["hashtag1","hashtag2"]},{"1396330164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330155, 1396330157, 1396330183, 1396330121, 1396330162, 1396330164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6908814907074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:03:13.532563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_29_17802.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_32_3048.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_33_1667.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_35_1581.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_37_1611.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_43_6929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_29_17802.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_32_3048.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_33_1667.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_35_1581.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_37_1611.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_43_6929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330298","1396330305","1396330280","1396330301","1396330309","1396330303"],"photo_ids_order":["1396330280","1396330298","1396330301","1396330303","1396330305","1396330309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e628b32ef476ee2efd637996cb4ccae7.jpg","text":"TemporaryFile(/tmp/multipartBody4498223981624162522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_32_3048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27b1560a4850408aafd2fc3099634297.jpg","text":"TemporaryFile(/tmp/multipartBody280312740544919713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_37_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/27/0e936d517d4dea07ce4f3fab6b95f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody3838124709451789287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_29_17802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fd60d7c0fa0c6c9ed0e959a87d0c274.jpg","text":"TemporaryFile(/tmp/multipartBody5372130808707597707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_33_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/27/6a102e019ce1de4f36cacaaf02152cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8048188533508199185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_43_6929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a85a5524a91980f50e4fd206324771d.jpg","text":"TemporaryFile(/tmp/multipartBody5755666122945717577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201855274,"filename":"image_21112025_18_39_35_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330301","file1":"1396330298","file0":"1396330280","file4":"1396330305","file5":"1396330309","file3":"1396330303"},"map_files_photo_id_array":[{"photo_id":"1396330309","filename":"file5"},{"photo_id":"1396330301","filename":"file2"},{"photo_id":"1396330305","filename":"file4"},{"photo_id":"1396330298","filename":"file1"},{"photo_id":"1396330280","filename":"file0"},{"photo_id":"1396330303","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330298":["hashtag1","hashtag2"]},{"1396330305":["hashtag1","hashtag2"]},{"1396330280":["hashtag1","hashtag2"]},{"1396330301":["hashtag1","hashtag2"]},{"1396330309":["hashtag1","hashtag2"]},{"1396330303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330298, 1396330305, 1396330280, 1396330301, 1396330309, 1396330303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8596887588501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:04:03.451900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/01/image_27112025_01_02_05_10677.jpg', '/home/pi/Desktop/images/27112025/01/02/image_27112025_01_02_15_9767.jpg', '/home/pi/Desktop/images/27112025/01/02/image_27112025_01_03_04_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/01/image_27112025_01_02_05_10677.jpg
/home/pi/Desktop/images/27112025/01/02/image_27112025_01_02_15_9767.jpg
/home/pi/Desktop/images/27112025/01/02/image_27112025_01_03_04_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330317","1396330316","1396330315"],"photo_ids_order":["1396330315","1396330316","1396330317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0be92ff6f19aacd960065137736006e3.jpg","text":"TemporaryFile(/tmp/multipartBody1032314857299901321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201904190,"filename":"image_27112025_01_03_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56c51185b0c2f2678fe418d42f96d0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7892645444371604391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201904190,"filename":"image_27112025_01_02_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5feecb3604e7cd780e486b4bb3fc5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2293689696615518163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201904190,"filename":"image_27112025_01_02_05_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330317","file1":"1396330316","file0":"1396330315"},"map_files_photo_id_array":[{"photo_id":"1396330317","filename":"file2"},{"photo_id":"1396330316","filename":"file1"},{"photo_id":"1396330315","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396330317":["hashtag1","hashtag2"]},{"1396330316":["hashtag1","hashtag2"]},{"1396330315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396330317, 1396330316, 1396330315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.670326471328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:04:32.713105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_47_1773.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_49_1728.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_50_1877.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_52_1769.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_54_1665.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_55_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_47_1773.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_49_1728.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_50_1877.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_52_1769.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_54_1665.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_55_1611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330347","1396330349","1396330343","1396330345","1396330348","1396330339"],"photo_ids_order":["1396330339","1396330343","1396330345","1396330347","1396330348","1396330349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/738e07dda5809f1d5b052f5c10beb5db.jpg","text":"TemporaryFile(/tmp/multipartBody6982680356133779551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_52_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/27/a85a97960bf699a175089df230745e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7948260909666542474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_55_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/27/8315a1c5878a791aabaf46b340a0088e.jpg","text":"TemporaryFile(/tmp/multipartBody2432992543550648929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_49_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/27/835fe9b8a7c36a1ef6a422c903ad2b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4795345095425301163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_50_1877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ffe5b6e709bc5a4d8079b30f6ea0607.jpg","text":"TemporaryFile(/tmp/multipartBody245897896359645576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_54_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/27/66bc2791e1a8ba20787ac40b3543662a.jpg","text":"TemporaryFile(/tmp/multipartBody3524761078301727870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201934469,"filename":"image_21112025_18_39_47_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330345","file1":"1396330343","file0":"1396330339","file4":"1396330348","file5":"1396330349","file3":"1396330347"},"map_files_photo_id_array":[{"photo_id":"1396330349","filename":"file5"},{"photo_id":"1396330345","filename":"file2"},{"photo_id":"1396330348","filename":"file4"},{"photo_id":"1396330343","filename":"file1"},{"photo_id":"1396330339","filename":"file0"},{"photo_id":"1396330347","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330347":["hashtag1","hashtag2"]},{"1396330349":["hashtag1","hashtag2"]},{"1396330343":["hashtag1","hashtag2"]},{"1396330345":["hashtag1","hashtag2"]},{"1396330348":["hashtag1","hashtag2"]},{"1396330339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330347, 1396330349, 1396330343, 1396330345, 1396330348, 1396330339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.899587631225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:05:12.031298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_57_1748.jpg', '/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_59_1717.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_01_1630.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_02_1508.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_04_1775.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_06_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_57_1748.jpg
/home/pi/Desktop/images/21112025/18/39/image_21112025_18_39_59_1717.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_01_1630.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_02_1508.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_04_1775.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_06_1694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330365","1396330359","1396330353","1396330361","1396330355","1396330363"],"photo_ids_order":["1396330353","1396330355","1396330359","1396330361","1396330363","1396330365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b372344a3664af4067b21df44480a2c6.jpg","text":"TemporaryFile(/tmp/multipartBody246019528578886337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_40_06_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/27/36e00f98c183be97d191b8e698318069.jpg","text":"TemporaryFile(/tmp/multipartBody4560508454052971846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_40_01_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/27/503d9457eb6d17adb6d81db810ad605f.jpg","text":"TemporaryFile(/tmp/multipartBody5287851650071953508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_39_57_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/27/5486c48a85c6c19fb681a0c4f6224d87.jpg","text":"TemporaryFile(/tmp/multipartBody774419887184660969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_40_02_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/27/fbd066f0609a36f8fb7d16a779756d37.jpg","text":"TemporaryFile(/tmp/multipartBody7835194031147157616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_39_59_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/27/644782a5fb55b297914c8f11e4f13b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6125439673092352629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764201973800,"filename":"image_21112025_18_40_04_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330359","file1":"1396330355","file0":"1396330353","file4":"1396330363","file5":"1396330365","file3":"1396330361"},"map_files_photo_id_array":[{"photo_id":"1396330365","filename":"file5"},{"photo_id":"1396330359","filename":"file2"},{"photo_id":"1396330363","filename":"file4"},{"photo_id":"1396330355","filename":"file1"},{"photo_id":"1396330353","filename":"file0"},{"photo_id":"1396330361","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330365":["hashtag1","hashtag2"]},{"1396330359":["hashtag1","hashtag2"]},{"1396330353":["hashtag1","hashtag2"]},{"1396330361":["hashtag1","hashtag2"]},{"1396330355":["hashtag1","hashtag2"]},{"1396330363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330365, 1396330359, 1396330353, 1396330361, 1396330355, 1396330363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44334697723389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:06:02.812484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/03/image_27112025_01_03_44_9525.jpg', '/home/pi/Desktop/images/27112025/01/05/image_27112025_01_05_14_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/03/image_27112025_01_03_44_9525.jpg
/home/pi/Desktop/images/27112025/01/05/image_27112025_01_05_14_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330379","1396330377"],"photo_ids_order":["1396330377","1396330379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cadc1fc462e54008499671fcbacfa1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5484836600457122395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202023420,"filename":"image_27112025_01_05_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9aa0cb6ea07d1468364bab06afda9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3532424008233523637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202023420,"filename":"image_27112025_01_03_44_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396330379","file0":"1396330377"},"map_files_photo_id_array":[{"photo_id":"1396330379","filename":"file1"},{"photo_id":"1396330377","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396330379":["hashtag1","hashtag2"]},{"1396330377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396330379, 1396330377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.637229681015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:06:22.365381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_07_1657.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_21_13622.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_23_1863.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_24_1651.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_26_1555.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_28_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_07_1657.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_21_13622.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_23_1863.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_24_1651.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_26_1555.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_28_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330382","1396330396","1396330384","1396330393","1396330386","1396330389"],"photo_ids_order":["1396330382","1396330384","1396330386","1396330389","1396330393","1396330396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2d9d0ea03ba096b93b601d59262f375.jpg","text":"TemporaryFile(/tmp/multipartBody6493399923636868423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_07_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/27/493bc0ad54e9c8876f6e83fe1386f017.jpg","text":"TemporaryFile(/tmp/multipartBody6070689074616773318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_28_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/27/4b6372f903e4e5bf898ae64bf454ae34.jpg","text":"TemporaryFile(/tmp/multipartBody7022816811402292156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_21_13622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3518c3f783b292106601430fdfcad5a6.jpg","text":"TemporaryFile(/tmp/multipartBody5674763355973788794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_26_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/27/d69bd49f438acdf589e4ee867c7fa743.jpg","text":"TemporaryFile(/tmp/multipartBody811109071303085404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_23_1863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6b4f87df3426ee971ceaa773be73f93.jpg","text":"TemporaryFile(/tmp/multipartBody9085685914898552307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202044131,"filename":"image_21112025_18_40_24_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330386","file1":"1396330384","file0":"1396330382","file4":"1396330393","file5":"1396330396","file3":"1396330389"},"map_files_photo_id_array":[{"photo_id":"1396330396","filename":"file5"},{"photo_id":"1396330386","filename":"file2"},{"photo_id":"1396330393","filename":"file4"},{"photo_id":"1396330384","filename":"file1"},{"photo_id":"1396330382","filename":"file0"},{"photo_id":"1396330389","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330382":["hashtag1","hashtag2"]},{"1396330396":["hashtag1","hashtag2"]},{"1396330384":["hashtag1","hashtag2"]},{"1396330393":["hashtag1","hashtag2"]},{"1396330386":["hashtag1","hashtag2"]},{"1396330389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330382, 1396330396, 1396330384, 1396330393, 1396330386, 1396330389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09109306335449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:07:02.978356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_29_1807.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_31_1867.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_33_1553.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_34_1552.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_36_1822.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_38_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_29_1807.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_31_1867.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_33_1553.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_34_1552.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_36_1822.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_38_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330401","1396330404","1396330415","1396330409","1396330400","1396330399"],"photo_ids_order":["1396330399","1396330400","1396330401","1396330404","1396330409","1396330415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28b9bf242b77c88f20b069d100e1148c.jpg","text":"TemporaryFile(/tmp/multipartBody3253584319804742447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_33_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/27/14bfc2232e8bb7fb9f9b1a42d3040fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4218373135563184086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_34_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/27/abf84cb48e570cc212ef53ffacda471c.jpg","text":"TemporaryFile(/tmp/multipartBody4894282537380085310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_38_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7011e516b49472f0d8828f1a423072e.jpg","text":"TemporaryFile(/tmp/multipartBody2326207874093457734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_36_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/735d73e5899fe2471f278f62bf2517cc.jpg","text":"TemporaryFile(/tmp/multipartBody7932293558686543625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_31_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fbd9f570bc1a43d5dcf20023c63faaa.jpg","text":"TemporaryFile(/tmp/multipartBody7349130085861728946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202084260,"filename":"image_21112025_18_40_29_1807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330401","file1":"1396330400","file0":"1396330399","file4":"1396330409","file5":"1396330415","file3":"1396330404"},"map_files_photo_id_array":[{"photo_id":"1396330415","filename":"file5"},{"photo_id":"1396330401","filename":"file2"},{"photo_id":"1396330409","filename":"file4"},{"photo_id":"1396330400","filename":"file1"},{"photo_id":"1396330399","filename":"file0"},{"photo_id":"1396330404","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330401":["hashtag1","hashtag2"]},{"1396330404":["hashtag1","hashtag2"]},{"1396330415":["hashtag1","hashtag2"]},{"1396330409":["hashtag1","hashtag2"]},{"1396330400":["hashtag1","hashtag2"]},{"1396330399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330401, 1396330404, 1396330415, 1396330409, 1396330400, 1396330399)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.488242626190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:08:02.704727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/05/image_27112025_01_05_24_9647.jpg', '/home/pi/Desktop/images/27112025/01/07/image_27112025_01_07_45_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/05/image_27112025_01_05_24_9647.jpg
/home/pi/Desktop/images/27112025/01/07/image_27112025_01_07_45_9951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330428","1396330430"],"photo_ids_order":["1396330428","1396330430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3af7f8c8d1ba633f450ce5f4c02e55c.jpg","text":"TemporaryFile(/tmp/multipartBody775976510788727464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202143353,"filename":"image_27112025_01_05_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d37f4d754a2889cd9dc88cf81208b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody6043271508443411208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202143353,"filename":"image_27112025_01_07_45_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396330430","file0":"1396330428"},"map_files_photo_id_array":[{"photo_id":"1396330430","filename":"file1"},{"photo_id":"1396330428","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396330428":["hashtag1","hashtag2"]},{"1396330430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396330428, 1396330430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.34839177131653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:08:22.114265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_39_1625.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_41_1731.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_43_1725.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_46_1579.jpg', '/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_48_1635.jpg', '/home/pi/Desktop/images/21112025/18/41/image_21112025_18_41_10_22281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_39_1625.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_41_1731.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_43_1725.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_46_1579.jpg
/home/pi/Desktop/images/21112025/18/40/image_21112025_18_40_48_1635.jpg
/home/pi/Desktop/images/21112025/18/41/image_21112025_18_41_10_22281.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330458","1396330446","1396330466","1396330442","1396330444","1396330449"],"photo_ids_order":["1396330442","1396330444","1396330446","1396330449","1396330458","1396330466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0d79cf7ef61b8d68b4a63457bdb0c97.jpg","text":"TemporaryFile(/tmp/multipartBody78751993678635005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_40_48_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/27/7c32bc21471f165dd3e228932e094fed.jpg","text":"TemporaryFile(/tmp/multipartBody4936098083809227673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_40_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/27/cb09c2f4d54b840aa73edab05523474b.jpg","text":"TemporaryFile(/tmp/multipartBody5406077178592425817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_41_10_22281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d53ff2f2d3a9945bcebe48033714b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5223614899356501343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_40_39_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/27/396962866f4be4763bd977dae83b76ea.jpg","text":"TemporaryFile(/tmp/multipartBody6762560057907364606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_40_41_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/27/bbcaa88c7b484f6d9af39fae4ee3d786.jpg","text":"TemporaryFile(/tmp/multipartBody4439576707838722875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202163887,"filename":"image_21112025_18_40_46_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330446","file1":"1396330444","file0":"1396330442","file4":"1396330458","file5":"1396330466","file3":"1396330449"},"map_files_photo_id_array":[{"photo_id":"1396330466","filename":"file5"},{"photo_id":"1396330446","filename":"file2"},{"photo_id":"1396330458","filename":"file4"},{"photo_id":"1396330444","filename":"file1"},{"photo_id":"1396330442","filename":"file0"},{"photo_id":"1396330449","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330458":["hashtag1","hashtag2"]},{"1396330446":["hashtag1","hashtag2"]},{"1396330466":["hashtag1","hashtag2"]},{"1396330442":["hashtag1","hashtag2"]},{"1396330444":["hashtag1","hashtag2"]},{"1396330449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330458, 1396330446, 1396330466, 1396330442, 1396330444, 1396330449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64559626579285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:09:03.358311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/41/image_21112025_18_41_12_1533.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_07_3011.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_11_3588.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_30_1616.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_35_4472.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_36_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/41/image_21112025_18_41_12_1533.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_07_3011.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_11_3588.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_30_1616.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_35_4472.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_36_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330644","1396330713","1396330608","1396330679","1396330748","1396330791"],"photo_ids_order":["1396330608","1396330644","1396330679","1396330713","1396330748","1396330791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c201a40769d6f4bca1859aaa7a70701.jpg","text":"TemporaryFile(/tmp/multipartBody6828478844976093504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_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/27/00244478830a72ffa3849869d9b31b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2126260405412246219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_42_30_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/27/8306a8e5a9d5b13aa7df5c136adadac5.jpg","text":"TemporaryFile(/tmp/multipartBody6045702242506781047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_41_12_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/27/fae052108199282e8f362bcbb6c2abbe.jpg","text":"TemporaryFile(/tmp/multipartBody8605193742794241222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_42_11_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/27/5d8f3bf5fbeb1617d42414c881eec743.jpg","text":"TemporaryFile(/tmp/multipartBody5398122496186156667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_42_35_4472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7884f4e2b8aba4aace8cee6dc99eb25f.jpg","text":"TemporaryFile(/tmp/multipartBody4353701871287566495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202204725,"filename":"image_21112025_18_42_36_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396330679","file1":"1396330644","file0":"1396330608","file4":"1396330748","file5":"1396330791","file3":"1396330713"},"map_files_photo_id_array":[{"photo_id":"1396330791","filename":"file5"},{"photo_id":"1396330679","filename":"file2"},{"photo_id":"1396330748","filename":"file4"},{"photo_id":"1396330644","filename":"file1"},{"photo_id":"1396330608","filename":"file0"},{"photo_id":"1396330713","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396330644":["hashtag1","hashtag2"]},{"1396330713":["hashtag1","hashtag2"]},{"1396330608":["hashtag1","hashtag2"]},{"1396330679":["hashtag1","hashtag2"]},{"1396330748":["hashtag1","hashtag2"]},{"1396330791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396330644, 1396330713, 1396330608, 1396330679, 1396330748, 1396330791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67143988609314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:09:42.426605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/05/image_30102025_21_05_26_1585.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_27_1821.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_34_1498.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_37_2775.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_40_3613.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_43_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_26_1585.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_27_1821.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_34_1498.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_37_2775.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_40_3613.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_43_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396330968","1396331018","1396331015","1396331017","1396330924","1396331013"],"photo_ids_order":["1396330924","1396330968","1396331013","1396331015","1396331017","1396331018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8f4d8471fa008f47edf2e774fa0a364.jpg","text":"TemporaryFile(/tmp/multipartBody5790910561230065645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_27_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/27/4f92a216962d612318f7feeb7b66ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody1084536798746267725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_43_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/27/aa21322325b992f72517008923d10698.jpg","text":"TemporaryFile(/tmp/multipartBody2571266198686558041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_37_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/27/0120a04cee31d6d1308eb63be8f1d047.jpg","text":"TemporaryFile(/tmp/multipartBody3303802956139726863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_40_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/27/3ffda07a7e11d85a0622e1e25a2dc7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3930809800926402766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_26_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/27/e5b2a87966c32b6fcef55dfd67af7b32.jpg","text":"TemporaryFile(/tmp/multipartBody3600331876237225201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202243679,"filename":"image_30102025_21_05_34_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331013","file1":"1396330968","file0":"1396330924","file4":"1396331017","file5":"1396331018","file3":"1396331015"},"map_files_photo_id_array":[{"photo_id":"1396331018","filename":"file5"},{"photo_id":"1396331013","filename":"file2"},{"photo_id":"1396331017","filename":"file4"},{"photo_id":"1396330968","filename":"file1"},{"photo_id":"1396330924","filename":"file0"},{"photo_id":"1396331015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396330968":["hashtag1","hashtag2"]},{"1396331018":["hashtag1","hashtag2"]},{"1396331015":["hashtag1","hashtag2"]},{"1396331017":["hashtag1","hashtag2"]},{"1396330924":["hashtag1","hashtag2"]},{"1396331013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396330968, 1396331018, 1396331015, 1396331017, 1396330924, 1396331013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79068350791931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:10:34.844532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/07/image_27112025_01_07_54_9553.jpg', '/home/pi/Desktop/images/27112025/01/09/image_27112025_01_10_04_9870.jpg', '/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_24_9738.jpg', '/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_37_12631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/07/image_27112025_01_07_54_9553.jpg
/home/pi/Desktop/images/27112025/01/09/image_27112025_01_10_04_9870.jpg
/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_24_9738.jpg
/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_37_12631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331147","1396331196","1396331154","1396331157"],"photo_ids_order":["1396331147","1396331154","1396331157","1396331196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1e75fdf7ae440b3a88b53d9b902d2de.jpg","text":"TemporaryFile(/tmp/multipartBody6239401719530532484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202295527,"filename":"image_27112025_01_07_54_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6afd917a878c8b3cb147ca7e23c2ca8d.jpg","text":"TemporaryFile(/tmp/multipartBody8058591406272669505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202295527,"filename":"image_27112025_01_10_37_12631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9edd9300e2b9dd9e11ff0d7e72a43a30.jpg","text":"TemporaryFile(/tmp/multipartBody2141652107533007015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202295527,"filename":"image_27112025_01_10_04_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9e1f41d8c34d1583b37dc6129a9b5c53.jpg","text":"TemporaryFile(/tmp/multipartBody2614214867471143430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202295527,"filename":"image_27112025_01_10_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331157","file1":"1396331154","file0":"1396331147","file3":"1396331196"},"map_files_photo_id_array":[{"photo_id":"1396331157","filename":"file2"},{"photo_id":"1396331154","filename":"file1"},{"photo_id":"1396331147","filename":"file0"},{"photo_id":"1396331196","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396331147":["hashtag1","hashtag2"]},{"1396331196":["hashtag1","hashtag2"]},{"1396331154":["hashtag1","hashtag2"]},{"1396331157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396331147, 1396331196, 1396331154, 1396331157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.280338764190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:11:02.677670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_38_1600.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_40_1626.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_41_1713.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_45_3562.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_47_1829.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_48_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_38_1600.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_40_1626.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_41_1713.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_45_3562.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_47_1829.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_48_1707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331261","1396331249","1396331260","1396331268","1396331262","1396331265"],"photo_ids_order":["1396331249","1396331260","1396331261","1396331262","1396331265","1396331268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e796c72bd9534b90c01066563c1ad47.jpg","text":"TemporaryFile(/tmp/multipartBody3865250112936518531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_41_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/27/ba19d533d1487b30acc910bc7c72a372.jpg","text":"TemporaryFile(/tmp/multipartBody5469558531585870967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_38_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/27/021be70c53ef2063ad4827efc78bacf2.jpg","text":"TemporaryFile(/tmp/multipartBody6773665607100923245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_40_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/27/2da95e33603aa890f014480426006b68.jpg","text":"TemporaryFile(/tmp/multipartBody5418422498362877062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_48_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/27/2f60e36612fa55f992d8c9537dd5eed7.jpg","text":"TemporaryFile(/tmp/multipartBody2866994913975653630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_45_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/27/2851b80c0f0f0383e009cd09c66874c3.jpg","text":"TemporaryFile(/tmp/multipartBody870816080916260752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202323967,"filename":"image_21112025_18_42_47_1829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331261","file1":"1396331260","file0":"1396331249","file4":"1396331265","file5":"1396331268","file3":"1396331262"},"map_files_photo_id_array":[{"photo_id":"1396331268","filename":"file5"},{"photo_id":"1396331261","filename":"file2"},{"photo_id":"1396331265","filename":"file4"},{"photo_id":"1396331260","filename":"file1"},{"photo_id":"1396331249","filename":"file0"},{"photo_id":"1396331262","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331261":["hashtag1","hashtag2"]},{"1396331249":["hashtag1","hashtag2"]},{"1396331260":["hashtag1","hashtag2"]},{"1396331268":["hashtag1","hashtag2"]},{"1396331262":["hashtag1","hashtag2"]},{"1396331265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331261, 1396331249, 1396331260, 1396331268, 1396331262, 1396331265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51338768005371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:11:42.072867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/05/image_30102025_21_05_46_2899.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_52_3535.jpg', '/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_55_2606.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_01_2647.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_04_2693.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_19_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/21/05/image_30102025_21_05_46_2899.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_52_3535.jpg
/home/pi/Desktop/images/30102025/21/05/image_30102025_21_05_55_2606.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_01_2647.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_04_2693.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_19_3604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331285","1396331288","1396331276","1396331287","1396331290","1396331286"],"photo_ids_order":["1396331276","1396331285","1396331286","1396331287","1396331288","1396331290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9821622e6b253e2568bea252c9cfa5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7611168253011961266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_05_52_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/27/df557f274d1b671ae4833d681d3f2726.jpg","text":"TemporaryFile(/tmp/multipartBody7097803636506451429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_06_04_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/27/8ed7d17311a579241b5e22e99e25aab4.jpg","text":"TemporaryFile(/tmp/multipartBody3799565397673548505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_05_46_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/27/37fb0f08d5efdf5851073730daa09e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2210043469350433192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_06_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/27/2ec55c9b427f732e9d8fb937883816d5.jpg","text":"TemporaryFile(/tmp/multipartBody7126394816356148866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_06_19_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/27/9971c2c6fbfbb64f3ea2757f730bb5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5209128872060328956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202363296,"filename":"image_30102025_21_05_55_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331286","file1":"1396331285","file0":"1396331276","file4":"1396331288","file5":"1396331290","file3":"1396331287"},"map_files_photo_id_array":[{"photo_id":"1396331290","filename":"file5"},{"photo_id":"1396331286","filename":"file2"},{"photo_id":"1396331288","filename":"file4"},{"photo_id":"1396331285","filename":"file1"},{"photo_id":"1396331276","filename":"file0"},{"photo_id":"1396331287","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331285":["hashtag1","hashtag2"]},{"1396331288":["hashtag1","hashtag2"]},{"1396331276":["hashtag1","hashtag2"]},{"1396331287":["hashtag1","hashtag2"]},{"1396331290":["hashtag1","hashtag2"]},{"1396331286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331285, 1396331288, 1396331276, 1396331287, 1396331290, 1396331286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881351470947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:12:22.282698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_50_1655.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_53_2768.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_55_2620.jpg', '/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_58_2863.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_01_2861.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_05_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_50_1655.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_53_2768.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_55_2620.jpg
/home/pi/Desktop/images/21112025/18/42/image_21112025_18_42_58_2863.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_01_2861.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_05_3770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331297","1396331301","1396331333","1396331303","1396331299","1396331305"],"photo_ids_order":["1396331297","1396331299","1396331301","1396331303","1396331305","1396331333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87cef9066913483bed4b927b68c50904.jpg","text":"TemporaryFile(/tmp/multipartBody4590186784206492099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_42_50_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/27/c5c0609ec0415dedd56d3dc3e1486044.jpg","text":"TemporaryFile(/tmp/multipartBody4431400860723829253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_42_55_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/27/89492e4a8cc68dd5078a20dd49026206.jpg","text":"TemporaryFile(/tmp/multipartBody6085956146895333386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_43_05_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/27/adc96ac682138de593261ae151440b18.jpg","text":"TemporaryFile(/tmp/multipartBody4194496424428722161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_42_58_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/27/61972d1c8e63acaf3f874d03b2e161cb.jpg","text":"TemporaryFile(/tmp/multipartBody1607819597190178824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_42_53_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/27/87d2d7b9c32b630dc90d256dd79858fd.jpg","text":"TemporaryFile(/tmp/multipartBody5146747451327634423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202404152,"filename":"image_21112025_18_43_01_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331301","file1":"1396331299","file0":"1396331297","file4":"1396331305","file5":"1396331333","file3":"1396331303"},"map_files_photo_id_array":[{"photo_id":"1396331333","filename":"file5"},{"photo_id":"1396331301","filename":"file2"},{"photo_id":"1396331305","filename":"file4"},{"photo_id":"1396331299","filename":"file1"},{"photo_id":"1396331297","filename":"file0"},{"photo_id":"1396331303","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331297":["hashtag1","hashtag2"]},{"1396331301":["hashtag1","hashtag2"]},{"1396331333":["hashtag1","hashtag2"]},{"1396331303":["hashtag1","hashtag2"]},{"1396331299":["hashtag1","hashtag2"]},{"1396331305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331297, 1396331301, 1396331333, 1396331303, 1396331299, 1396331305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.12712812423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:13:12.476381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_08_2917.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_10_2626.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_14_3549.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_24_10408.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_26_1537.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_37_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_08_2917.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_10_2626.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_14_3549.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_24_10408.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_26_1537.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_37_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331345","1396331339","1396331341","1396331338","1396331367","1396331343"],"photo_ids_order":["1396331338","1396331339","1396331341","1396331343","1396331345","1396331367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00dcc322ec3fd72fcf35f45aa6690052.jpg","text":"TemporaryFile(/tmp/multipartBody7384805576183060435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_26_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/27/065d42b1bf06eab5fe16b3af4eda8509.jpg","text":"TemporaryFile(/tmp/multipartBody7347478818558161388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_10_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/27/2396ebda00339e8b5a01bfc202757ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4917209815627566908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_14_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/27/300ac973fb0249e999f06adc642df096.jpg","text":"TemporaryFile(/tmp/multipartBody893497923575596782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_08_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/27/91a9fcde6d38905405cda358caa92a5a.jpg","text":"TemporaryFile(/tmp/multipartBody8696520802426035357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_37_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b670017ce347b3a1b0a456a729f4aa97.jpg","text":"TemporaryFile(/tmp/multipartBody4275176906057706795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202454230,"filename":"image_21112025_18_43_24_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331341","file1":"1396331339","file0":"1396331338","file4":"1396331345","file5":"1396331367","file3":"1396331343"},"map_files_photo_id_array":[{"photo_id":"1396331367","filename":"file5"},{"photo_id":"1396331341","filename":"file2"},{"photo_id":"1396331345","filename":"file4"},{"photo_id":"1396331339","filename":"file1"},{"photo_id":"1396331338","filename":"file0"},{"photo_id":"1396331343","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331345":["hashtag1","hashtag2"]},{"1396331339":["hashtag1","hashtag2"]},{"1396331341":["hashtag1","hashtag2"]},{"1396331338":["hashtag1","hashtag2"]},{"1396331367":["hashtag1","hashtag2"]},{"1396331343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331345, 1396331339, 1396331341, 1396331338, 1396331367, 1396331343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.808141231536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:14:03.370791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_38_1520.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_40_1550.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_41_1626.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_44_2919.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_46_1521.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_49_3352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_38_1520.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_40_1550.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_41_1626.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_44_2919.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_46_1521.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_49_3352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331495","1396331489","1396331486","1396331490","1396331487","1396331492"],"photo_ids_order":["1396331486","1396331487","1396331489","1396331490","1396331492","1396331495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba3229736f9b5417d256faee4401f789.jpg","text":"TemporaryFile(/tmp/multipartBody7936471562092029063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_49_3352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/391fed493b89f7f14e12bc524d3fae89.jpg","text":"TemporaryFile(/tmp/multipartBody4512138852155539418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_41_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/27/28f401c2ca1b39518345eba5f643c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody4841672264641501268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_38_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/27/61e6b8915d1f2ab6a19db9ac32523056.jpg","text":"TemporaryFile(/tmp/multipartBody647872875489429338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_44_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/27/f578e044bf1d8176d3278fe87ecb43c8.jpg","text":"TemporaryFile(/tmp/multipartBody2034879337397600252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_40_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/27/aa2d0c770bc91da9bf1a9ca1865abfe2.jpg","text":"TemporaryFile(/tmp/multipartBody5867145771107046979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202504640,"filename":"image_21112025_18_43_46_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331489","file1":"1396331487","file0":"1396331486","file4":"1396331492","file5":"1396331495","file3":"1396331490"},"map_files_photo_id_array":[{"photo_id":"1396331495","filename":"file5"},{"photo_id":"1396331489","filename":"file2"},{"photo_id":"1396331492","filename":"file4"},{"photo_id":"1396331487","filename":"file1"},{"photo_id":"1396331486","filename":"file0"},{"photo_id":"1396331490","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331495":["hashtag1","hashtag2"]},{"1396331489":["hashtag1","hashtag2"]},{"1396331486":["hashtag1","hashtag2"]},{"1396331490":["hashtag1","hashtag2"]},{"1396331487":["hashtag1","hashtag2"]},{"1396331492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331495, 1396331489, 1396331486, 1396331490, 1396331487, 1396331492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62799835205078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:14:42.668663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/06/image_30102025_21_06_22_2644.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_25_2599.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_28_3601.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_40_2796.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_43_2632.jpg', '/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_46_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_22_2644.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_25_2599.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_28_3601.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_40_2796.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_43_2632.jpg
/home/pi/Desktop/images/30102025/21/06/image_30102025_21_06_46_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331526","1396331525","1396331522","1396331527","1396331512","1396331529"],"photo_ids_order":["1396331512","1396331522","1396331525","1396331526","1396331527","1396331529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad83d58e14c2be30a886de612f7d1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody9049689872004867013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_06_40_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/27/7b37f544cbc02ebdfe03ec1e5cdb004d.jpg","text":"TemporaryFile(/tmp/multipartBody2461445672691774074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_06_28_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/27/5325006f343882232fd71eaf90336c77.jpg","text":"TemporaryFile(/tmp/multipartBody5933955220266530049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_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/27/5490509ef2d80bde98c3675781c32aa1.jpg","text":"TemporaryFile(/tmp/multipartBody2392773258831524196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_06_43_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/27/20291620041a61b37085daedc74121d8.jpg","text":"TemporaryFile(/tmp/multipartBody8423642998160254847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_06_22_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/27/0daeea1ce1511d8d4028d7491f87c3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4437154339881736613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202543907,"filename":"image_30102025_21_06_46_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331525","file1":"1396331522","file0":"1396331512","file4":"1396331527","file5":"1396331529","file3":"1396331526"},"map_files_photo_id_array":[{"photo_id":"1396331529","filename":"file5"},{"photo_id":"1396331525","filename":"file2"},{"photo_id":"1396331527","filename":"file4"},{"photo_id":"1396331522","filename":"file1"},{"photo_id":"1396331512","filename":"file0"},{"photo_id":"1396331526","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331526":["hashtag1","hashtag2"]},{"1396331525":["hashtag1","hashtag2"]},{"1396331522":["hashtag1","hashtag2"]},{"1396331527":["hashtag1","hashtag2"]},{"1396331512":["hashtag1","hashtag2"]},{"1396331529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331526, 1396331525, 1396331522, 1396331527, 1396331512, 1396331529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04477834701538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:15:21.892299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_51_1582.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_54_1489.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_56_1838.jpg', '/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_57_1662.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_03_5417.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_04_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_51_1582.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_54_1489.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_56_1838.jpg
/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_57_1662.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_03_5417.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_04_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":["1396331546","1396331540","1396331542","1396331535","1396331544","1396331538"],"photo_ids_order":["1396331535","1396331538","1396331540","1396331542","1396331544","1396331546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39c3327ef9d913201d2ea093d8548385.jpg","text":"TemporaryFile(/tmp/multipartBody849892877682679362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_44_04_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/27/d61fd23e53deb94831a8c3edc610f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2578137452412049706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_43_56_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/27/388d0026884fde25b1ba57c1a05d5a40.jpg","text":"TemporaryFile(/tmp/multipartBody3641672135016538001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_43_57_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/27/ed855b242c2fcb49ca6c01bfe0eb0665.jpg","text":"TemporaryFile(/tmp/multipartBody2308828733950834281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_43_51_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/27/adc3b25dcaaf991dbdbfbcd15ae25969.jpg","text":"TemporaryFile(/tmp/multipartBody2673028186292898557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_44_03_5417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab2e23366a15cb34041a348c20452703.jpg","text":"TemporaryFile(/tmp/multipartBody123743441029538186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202583716,"filename":"image_21112025_18_43_54_1489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331540","file1":"1396331538","file0":"1396331535","file4":"1396331544","file5":"1396331546","file3":"1396331542"},"map_files_photo_id_array":[{"photo_id":"1396331546","filename":"file5"},{"photo_id":"1396331540","filename":"file2"},{"photo_id":"1396331544","filename":"file4"},{"photo_id":"1396331538","filename":"file1"},{"photo_id":"1396331535","filename":"file0"},{"photo_id":"1396331542","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331546":["hashtag1","hashtag2"]},{"1396331540":["hashtag1","hashtag2"]},{"1396331542":["hashtag1","hashtag2"]},{"1396331535":["hashtag1","hashtag2"]},{"1396331544":["hashtag1","hashtag2"]},{"1396331538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331546, 1396331540, 1396331542, 1396331535, 1396331544, 1396331538)","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 = 1396331540 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21112025/18/43/image_21112025_18_43_56_1838.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.38622808456421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:16:26.089602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_06_1629.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_08_1596.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_14_3562.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_16_2634.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_20_3524.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_23_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_06_1629.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_08_1596.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_14_3562.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_16_2634.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_20_3524.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_23_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331570","1396331566","1396331554","1396331559","1396331562","1396331556"],"photo_ids_order":["1396331554","1396331556","1396331559","1396331562","1396331566","1396331570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55eae2e3add2aba127cea73e7e8782aa.jpg","text":"TemporaryFile(/tmp/multipartBody1277442231536114710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_23_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/27/e94a6077fb675b33bf5f75c79f5b8ec5.jpg","text":"TemporaryFile(/tmp/multipartBody9131128950686420547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_20_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/27/8fe6b83bc59059d8b70873df76f4f829.jpg","text":"TemporaryFile(/tmp/multipartBody4462992110602355891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_06_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/27/8eeedc2aee2c276aec283759fba8fb92.jpg","text":"TemporaryFile(/tmp/multipartBody6290743795832304215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_14_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/27/4923a8b9f3f0c1309b6583fa4fca7c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7139188443364792153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_16_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/27/4c2519b3792910e9854ecf4ec518a65f.jpg","text":"TemporaryFile(/tmp/multipartBody1669214864190215590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202647841,"filename":"image_21112025_18_44_08_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331559","file1":"1396331556","file0":"1396331554","file4":"1396331566","file5":"1396331570","file3":"1396331562"},"map_files_photo_id_array":[{"photo_id":"1396331570","filename":"file5"},{"photo_id":"1396331559","filename":"file2"},{"photo_id":"1396331566","filename":"file4"},{"photo_id":"1396331556","filename":"file1"},{"photo_id":"1396331554","filename":"file0"},{"photo_id":"1396331562","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331570":["hashtag1","hashtag2"]},{"1396331566":["hashtag1","hashtag2"]},{"1396331554":["hashtag1","hashtag2"]},{"1396331559":["hashtag1","hashtag2"]},{"1396331562":["hashtag1","hashtag2"]},{"1396331556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331570, 1396331566, 1396331554, 1396331559, 1396331562, 1396331556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.61071729660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:17:12.247422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_25_2569.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_29_3620.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_32_2807.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_39_7529.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_41_1585.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_53_11009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_25_2569.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_29_3620.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_32_2807.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_39_7529.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_41_1585.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_53_11009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331576","1396331585","1396331579","1396331581","1396331575","1396331583"],"photo_ids_order":["1396331575","1396331576","1396331579","1396331581","1396331583","1396331585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/560a52da4c98f12e7c19e0910e3dd3f6.jpg","text":"TemporaryFile(/tmp/multipartBody992026757337660340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_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/27/78224776656077c9956e0b8181cd0453.jpg","text":"TemporaryFile(/tmp/multipartBody6995379878466686589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_53_11009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/caea5ef076bb3872e0f91cd0547b9757.jpg","text":"TemporaryFile(/tmp/multipartBody2538816092925506845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_32_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/27/d1615749918bd4e7744d5b953af178f4.jpg","text":"TemporaryFile(/tmp/multipartBody3292019326753669473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_39_7529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b19b314753d4a00156d6bbc87e6eb8d5.jpg","text":"TemporaryFile(/tmp/multipartBody7698931932461463740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_25_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/27/7ced399e94cefd56dcea122970986761.jpg","text":"TemporaryFile(/tmp/multipartBody7804373352616383365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202693985,"filename":"image_21112025_18_44_41_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331579","file1":"1396331576","file0":"1396331575","file4":"1396331583","file5":"1396331585","file3":"1396331581"},"map_files_photo_id_array":[{"photo_id":"1396331585","filename":"file5"},{"photo_id":"1396331579","filename":"file2"},{"photo_id":"1396331583","filename":"file4"},{"photo_id":"1396331576","filename":"file1"},{"photo_id":"1396331575","filename":"file0"},{"photo_id":"1396331581","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331576":["hashtag1","hashtag2"]},{"1396331585":["hashtag1","hashtag2"]},{"1396331579":["hashtag1","hashtag2"]},{"1396331581":["hashtag1","hashtag2"]},{"1396331575":["hashtag1","hashtag2"]},{"1396331583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331576, 1396331585, 1396331579, 1396331581, 1396331575, 1396331583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74399518966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:18:08.585356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_45_7593.jpg', '/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_14_9670.jpg', '/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_25_10701.jpg', '/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_34_9571.jpg', '/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_45_10279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/10/image_27112025_01_10_45_7593.jpg
/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_14_9670.jpg
/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_25_10701.jpg
/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_34_9571.jpg
/home/pi/Desktop/images/27112025/01/16/image_27112025_01_16_45_10279.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396331604","1396331606","1396331611","1396331608","1396331613"],"photo_ids_order":["1396331604","1396331606","1396331608","1396331611","1396331613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8eaebef992c02c56c565ba02cb376ab.jpg","text":"TemporaryFile(/tmp/multipartBody4372060111834446152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202751715,"filename":"image_27112025_01_10_45_7593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02a19d6d090690f87f480e2a9bbad8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7209811931026027881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202751715,"filename":"image_27112025_01_16_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/598e06ca0073748b2017a73e960292e4.jpg","text":"TemporaryFile(/tmp/multipartBody4247907083786618998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202751715,"filename":"image_27112025_01_16_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a22248e536cd79cc3d555012b9e8836.jpg","text":"TemporaryFile(/tmp/multipartBody6642263492426945205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202751715,"filename":"image_27112025_01_16_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af350c8bac0673276de5f52862498de4.jpg","text":"TemporaryFile(/tmp/multipartBody1980070987142927718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202751715,"filename":"image_27112025_01_16_45_10279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331608","file1":"1396331606","file0":"1396331604","file4":"1396331613","file3":"1396331611"},"map_files_photo_id_array":[{"photo_id":"1396331608","filename":"file2"},{"photo_id":"1396331613","filename":"file4"},{"photo_id":"1396331606","filename":"file1"},{"photo_id":"1396331604","filename":"file0"},{"photo_id":"1396331611","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396331604":["hashtag1","hashtag2"]},{"1396331606":["hashtag1","hashtag2"]},{"1396331611":["hashtag1","hashtag2"]},{"1396331608":["hashtag1","hashtag2"]},{"1396331613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396331604, 1396331606, 1396331611, 1396331608, 1396331613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.96279191970825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:19:03.141844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_56_2990.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_58_1755.jpg', '/home/pi/Desktop/images/21112025/18/44/image_21112025_18_45_00_1691.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_02_1995.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_04_1835.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_06_1836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_56_2990.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_44_58_1755.jpg
/home/pi/Desktop/images/21112025/18/44/image_21112025_18_45_00_1691.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_02_1995.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_04_1835.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_06_1836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331636","1396331635","1396331638","1396331631","1396331640","1396331634"],"photo_ids_order":["1396331631","1396331634","1396331635","1396331636","1396331638","1396331640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ca62d2b54e06eae92673527a50b2230.jpg","text":"TemporaryFile(/tmp/multipartBody2178088124249779551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_45_02_1995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/201d0aa0fe0b54cb1e423ac29306c295.jpg","text":"TemporaryFile(/tmp/multipartBody72029768299387512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_45_00_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/27/2adf1eae85f2e361375856d07f5754c9.jpg","text":"TemporaryFile(/tmp/multipartBody8525908697984299734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_45_04_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2158fde2107a889c9ca22af036b5654.jpg","text":"TemporaryFile(/tmp/multipartBody6955395685588584657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_44_56_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba5e5690a01544f75847512f5ae8ebbf.jpg","text":"TemporaryFile(/tmp/multipartBody2979396210340511129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_45_06_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b82ef988cecc5fb07277ecf7ab1d46bb.jpg","text":"TemporaryFile(/tmp/multipartBody759121974059718782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202804497,"filename":"image_21112025_18_44_58_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331635","file1":"1396331634","file0":"1396331631","file4":"1396331638","file5":"1396331640","file3":"1396331636"},"map_files_photo_id_array":[{"photo_id":"1396331640","filename":"file5"},{"photo_id":"1396331635","filename":"file2"},{"photo_id":"1396331638","filename":"file4"},{"photo_id":"1396331634","filename":"file1"},{"photo_id":"1396331631","filename":"file0"},{"photo_id":"1396331636","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331636":["hashtag1","hashtag2"]},{"1396331635":["hashtag1","hashtag2"]},{"1396331638":["hashtag1","hashtag2"]},{"1396331631":["hashtag1","hashtag2"]},{"1396331640":["hashtag1","hashtag2"]},{"1396331634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331636, 1396331635, 1396331638, 1396331631, 1396331640, 1396331634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55401039123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:19:42.260550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/06/image_30102025_21_06_49_2604.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_04_3784.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_07_2555.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_10_2800.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_16_2724.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_21_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/21/06/image_30102025_21_06_49_2604.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_04_3784.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_07_2555.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_10_2800.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_16_2724.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_21_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":["1396331669","1396331660","1396331668","1396331662","1396331664","1396331667"],"photo_ids_order":["1396331660","1396331662","1396331664","1396331667","1396331668","1396331669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fe3ec0ecb56df5b627a18b40f2364d3.jpg","text":"TemporaryFile(/tmp/multipartBody2398119488440611914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_07_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/27/01d8f5cd7574f6d48a79b8cae9408633.jpg","text":"TemporaryFile(/tmp/multipartBody6865038020138238168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_06_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/27/fe3fa9cdd1bf9b14d9a190719f57057c.jpg","text":"TemporaryFile(/tmp/multipartBody6233488874663870673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_07_16_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/27/cb9886ee027bf616ba37f9d150cb9bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5370489396340011733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_07_04_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/27/fb776281b8da4cca09151fcc27b6dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody6061544554452834495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_07_07_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/27/94c4ae16eafeae0d9137364ff4cd3e64.jpg","text":"TemporaryFile(/tmp/multipartBody1305236924262108120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202843513,"filename":"image_30102025_21_07_10_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331664","file1":"1396331662","file0":"1396331660","file4":"1396331668","file5":"1396331669","file3":"1396331667"},"map_files_photo_id_array":[{"photo_id":"1396331669","filename":"file5"},{"photo_id":"1396331664","filename":"file2"},{"photo_id":"1396331668","filename":"file4"},{"photo_id":"1396331662","filename":"file1"},{"photo_id":"1396331660","filename":"file0"},{"photo_id":"1396331667","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331669":["hashtag1","hashtag2"]},{"1396331660":["hashtag1","hashtag2"]},{"1396331668":["hashtag1","hashtag2"]},{"1396331662":["hashtag1","hashtag2"]},{"1396331664":["hashtag1","hashtag2"]},{"1396331667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331669, 1396331660, 1396331668, 1396331662, 1396331664, 1396331667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.593196630477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:20:28.369726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/17/image_27112025_01_17_15_9786.jpg', '/home/pi/Desktop/images/27112025/01/18/image_27112025_01_18_44_9568.jpg', '/home/pi/Desktop/images/27112025/01/18/image_27112025_01_18_54_10093.jpg', '/home/pi/Desktop/images/27112025/01/19/image_27112025_01_19_54_9746.jpg', '/home/pi/Desktop/images/27112025/01/19/image_27112025_01_20_05_10824.jpg', '/home/pi/Desktop/images/27112025/01/20/image_27112025_01_20_15_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/17/image_27112025_01_17_15_9786.jpg
/home/pi/Desktop/images/27112025/01/18/image_27112025_01_18_44_9568.jpg
/home/pi/Desktop/images/27112025/01/18/image_27112025_01_18_54_10093.jpg
/home/pi/Desktop/images/27112025/01/19/image_27112025_01_19_54_9746.jpg
/home/pi/Desktop/images/27112025/01/19/image_27112025_01_20_05_10824.jpg
/home/pi/Desktop/images/27112025/01/20/image_27112025_01_20_15_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331693","1396331692","1396331682","1396331676","1396331685","1396331679"],"photo_ids_order":["1396331676","1396331679","1396331682","1396331685","1396331692","1396331693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/823792e9a6a1db1ac69ac82401637131.jpg","text":"TemporaryFile(/tmp/multipartBody3896397148064005308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_20_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f47482859f0a885e32d7320af5dccb9.jpg","text":"TemporaryFile(/tmp/multipartBody1644373445679732533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_20_05_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b9a980142e8a3ec1e6d600ae433c715.jpg","text":"TemporaryFile(/tmp/multipartBody5983898186585594626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_18_54_10093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa63b32349c236754e0c803b43a1e052.jpg","text":"TemporaryFile(/tmp/multipartBody2589387443386300903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_17_15_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32cecd9a9261445c76efe16b4e0aa4c8.jpg","text":"TemporaryFile(/tmp/multipartBody7612730440720033571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_19_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec92fc04d6d7a39a8b2b8681b3c64280.jpg","text":"TemporaryFile(/tmp/multipartBody2136608072458372637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202889101,"filename":"image_27112025_01_18_44_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331682","file1":"1396331679","file0":"1396331676","file4":"1396331692","file5":"1396331693","file3":"1396331685"},"map_files_photo_id_array":[{"photo_id":"1396331693","filename":"file5"},{"photo_id":"1396331682","filename":"file2"},{"photo_id":"1396331692","filename":"file4"},{"photo_id":"1396331679","filename":"file1"},{"photo_id":"1396331676","filename":"file0"},{"photo_id":"1396331685","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396331693":["hashtag1","hashtag2"]},{"1396331692":["hashtag1","hashtag2"]},{"1396331682":["hashtag1","hashtag2"]},{"1396331676":["hashtag1","hashtag2"]},{"1396331685":["hashtag1","hashtag2"]},{"1396331679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396331693, 1396331692, 1396331682, 1396331676, 1396331685, 1396331679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35018849372864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:21:12.644076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_07_1852.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_09_1720.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_11_1555.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_23_12569.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_25_1563.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_26_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_07_1852.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_09_1720.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_11_1555.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_23_12569.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_25_1563.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_26_1560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331795","1396331705","1396331714","1396331767","1396331739","1396331709"],"photo_ids_order":["1396331705","1396331709","1396331714","1396331739","1396331767","1396331795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1956a16eaf36dfada90f9ca54899ed1.jpg","text":"TemporaryFile(/tmp/multipartBody136727820935415956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_26_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/27/34dee0591dc18945b47473c5af894838.jpg","text":"TemporaryFile(/tmp/multipartBody8689164375471567439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_07_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3a5b7b9b6c709a16571e0d1c5daddf4.jpg","text":"TemporaryFile(/tmp/multipartBody706314764111714789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_11_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/27/75ac6292fba371d63960e6cab5296435.jpg","text":"TemporaryFile(/tmp/multipartBody5496876338250007268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_25_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/27/816d6df8254c3c860656e05dbc79e12d.jpg","text":"TemporaryFile(/tmp/multipartBody9101070029645413260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_23_12569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0e24aea78092c8b0a59b4bd828aa898.jpg","text":"TemporaryFile(/tmp/multipartBody8569904433948217395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202934423,"filename":"image_21112025_18_45_09_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331714","file1":"1396331709","file0":"1396331705","file4":"1396331767","file5":"1396331795","file3":"1396331739"},"map_files_photo_id_array":[{"photo_id":"1396331795","filename":"file5"},{"photo_id":"1396331714","filename":"file2"},{"photo_id":"1396331767","filename":"file4"},{"photo_id":"1396331709","filename":"file1"},{"photo_id":"1396331705","filename":"file0"},{"photo_id":"1396331739","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331795":["hashtag1","hashtag2"]},{"1396331705":["hashtag1","hashtag2"]},{"1396331714":["hashtag1","hashtag2"]},{"1396331767":["hashtag1","hashtag2"]},{"1396331739":["hashtag1","hashtag2"]},{"1396331709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331795, 1396331705, 1396331714, 1396331767, 1396331739, 1396331709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.523457765579224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:22:02.374802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_28_1522.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_30_1596.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_31_1778.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_38_6369.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_47_1577.jpg', '/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_55_8242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_28_1522.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_30_1596.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_31_1778.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_38_6369.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_47_1577.jpg
/home/pi/Desktop/images/21112025/18/45/image_21112025_18_45_55_8242.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331802","1396331834","1396331804","1396331842","1396331812","1396331826"],"photo_ids_order":["1396331802","1396331804","1396331812","1396331826","1396331834","1396331842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/943fead3f714939cdd219112bc6b1591.jpg","text":"TemporaryFile(/tmp/multipartBody7830922249496694429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_28_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd9cbe7ede27fd7ffe56b6915007fb11.jpg","text":"TemporaryFile(/tmp/multipartBody707202205069117987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_47_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/27/616447c1240a386a9d57f781e65cd687.jpg","text":"TemporaryFile(/tmp/multipartBody4021308256216035906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_30_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/27/951b32d44b8000f0b87ac7fc515e86f8.jpg","text":"TemporaryFile(/tmp/multipartBody4743406229409135892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_55_8242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f0f2ecc23d7393d5825fade181cf8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6142636540508316527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_31_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/27/15f03dcdef78247d56ba7334d2b35810.jpg","text":"TemporaryFile(/tmp/multipartBody6838480326688850914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764202983596,"filename":"image_21112025_18_45_38_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331812","file1":"1396331804","file0":"1396331802","file4":"1396331834","file5":"1396331842","file3":"1396331826"},"map_files_photo_id_array":[{"photo_id":"1396331842","filename":"file5"},{"photo_id":"1396331812","filename":"file2"},{"photo_id":"1396331834","filename":"file4"},{"photo_id":"1396331804","filename":"file1"},{"photo_id":"1396331802","filename":"file0"},{"photo_id":"1396331826","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331802":["hashtag1","hashtag2"]},{"1396331834":["hashtag1","hashtag2"]},{"1396331804":["hashtag1","hashtag2"]},{"1396331842":["hashtag1","hashtag2"]},{"1396331812":["hashtag1","hashtag2"]},{"1396331826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331802, 1396331834, 1396331804, 1396331842, 1396331812, 1396331826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19913601875305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:22:41.924492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/07/image_30102025_21_07_28_2604.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_31_3574.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_34_2599.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_36_2630.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_40_3624.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_43_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_28_2604.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_31_3574.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_34_2599.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_36_2630.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_40_3624.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_43_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331855","1396331858","1396331857","1396331851","1396331859","1396331853"],"photo_ids_order":["1396331851","1396331853","1396331855","1396331857","1396331858","1396331859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08a6ae57598d450bd6efc611c9289b61.jpg","text":"TemporaryFile(/tmp/multipartBody8190317879921804322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_34_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/27/5111f23659f95ea44db06fd176c5c481.jpg","text":"TemporaryFile(/tmp/multipartBody1931393011609337827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_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/27/2b14024065796194539459ace2bd5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6466386780804283804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_36_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/27/a8383686c34bf2e3c7808e1a6079d38c.jpg","text":"TemporaryFile(/tmp/multipartBody1949308421213978587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_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/27/ec15b36fd6d24888171b38050b5a176c.jpg","text":"TemporaryFile(/tmp/multipartBody6503251886281853514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_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/27/190ffd6490541b47c2c07ab02be69c58.jpg","text":"TemporaryFile(/tmp/multipartBody7246337964988559797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203023176,"filename":"image_30102025_21_07_31_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331855","file1":"1396331853","file0":"1396331851","file4":"1396331858","file5":"1396331859","file3":"1396331857"},"map_files_photo_id_array":[{"photo_id":"1396331859","filename":"file5"},{"photo_id":"1396331855","filename":"file2"},{"photo_id":"1396331858","filename":"file4"},{"photo_id":"1396331853","filename":"file1"},{"photo_id":"1396331851","filename":"file0"},{"photo_id":"1396331857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331855":["hashtag1","hashtag2"]},{"1396331858":["hashtag1","hashtag2"]},{"1396331857":["hashtag1","hashtag2"]},{"1396331851":["hashtag1","hashtag2"]},{"1396331859":["hashtag1","hashtag2"]},{"1396331853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331855, 1396331858, 1396331857, 1396331851, 1396331859, 1396331853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327181816101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:23:22.806879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/20/image_27112025_01_20_24_9692.jpg', '/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_25_10568.jpg', '/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_35_9670.jpg', '/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_54_9775.jpg', '/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_15_9694.jpg', '/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_34_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/20/image_27112025_01_20_24_9692.jpg
/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_25_10568.jpg
/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_35_9670.jpg
/home/pi/Desktop/images/27112025/01/21/image_27112025_01_21_54_9775.jpg
/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_15_9694.jpg
/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_34_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331875","1396331863","1396331872","1396331866","1396331869","1396331883"],"photo_ids_order":["1396331863","1396331866","1396331869","1396331872","1396331875","1396331883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/799ad780458533447f3438099959096e.jpg","text":"TemporaryFile(/tmp/multipartBody7725767275152145564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_22_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54cb8679c65523888e63a75b0c8cccad.jpg","text":"TemporaryFile(/tmp/multipartBody7922380768256150711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_20_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c91d32fef961e5f8c4e7a1438aa96b6.jpg","text":"TemporaryFile(/tmp/multipartBody4508752221254546295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_21_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e0d9295f32d70974f9f10fbd51aea79.jpg","text":"TemporaryFile(/tmp/multipartBody281428510619594337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_21_25_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5055ee5b6e0de65231d9a81a23a015d9.jpg","text":"TemporaryFile(/tmp/multipartBody8157162773990444269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_21_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c57f14d42fd37ecba3b67be90d81c03.jpg","text":"TemporaryFile(/tmp/multipartBody532542867460370423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203063589,"filename":"image_27112025_01_22_34_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331869","file1":"1396331866","file0":"1396331863","file4":"1396331875","file5":"1396331883","file3":"1396331872"},"map_files_photo_id_array":[{"photo_id":"1396331883","filename":"file5"},{"photo_id":"1396331869","filename":"file2"},{"photo_id":"1396331875","filename":"file4"},{"photo_id":"1396331866","filename":"file1"},{"photo_id":"1396331863","filename":"file0"},{"photo_id":"1396331872","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396331875":["hashtag1","hashtag2"]},{"1396331863":["hashtag1","hashtag2"]},{"1396331872":["hashtag1","hashtag2"]},{"1396331866":["hashtag1","hashtag2"]},{"1396331869":["hashtag1","hashtag2"]},{"1396331883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396331875, 1396331863, 1396331872, 1396331866, 1396331869, 1396331883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954068183898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:24:02.999748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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 10
2025-11-27 01:24:22.378384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_45_10749.jpg', '/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_45_10749.jpg
/home/pi/Desktop/images/27112025/01/22/image_27112025_01_22_54_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331892","1396331889"],"photo_ids_order":["1396331889","1396331892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67088bead65af0a4617adf7f1984d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8821602910950752244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203122962,"filename":"image_27112025_01_22_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dad4814e8694a9c68be172e16a01504b.jpg","text":"TemporaryFile(/tmp/multipartBody344663792213040641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203122962,"filename":"image_27112025_01_22_45_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396331892","file0":"1396331889"},"map_files_photo_id_array":[{"photo_id":"1396331892","filename":"file1"},{"photo_id":"1396331889","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396331892":["hashtag1","hashtag2"]},{"1396331889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396331892, 1396331889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.111844062805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:24:42.347357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/07/image_30102025_21_07_46_3598.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_49_2770.jpg', '/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_52_2660.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_04_2749.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_10_2699.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_13_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_46_3598.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_49_2770.jpg
/home/pi/Desktop/images/30102025/21/07/image_30102025_21_07_52_2660.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_04_2749.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_10_2699.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_13_2888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396331906","1396331909","1396331902","1396331911","1396331904","1396331897"],"photo_ids_order":["1396331897","1396331902","1396331904","1396331906","1396331909","1396331911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a48eaf3de5beac8a546e4fd3c0ad46aa.jpg","text":"TemporaryFile(/tmp/multipartBody4261951796881757385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_08_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/27/f8aee6b2f63262ee3f975cd12e754e28.jpg","text":"TemporaryFile(/tmp/multipartBody2454635284523758829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_08_10_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/27/742a0f7e3badb303f1c2b51064e3cfc5.jpg","text":"TemporaryFile(/tmp/multipartBody6536977530436639439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_07_49_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/27/cf09ed71a94834d983ebd01660bb9219.jpg","text":"TemporaryFile(/tmp/multipartBody324483009797884613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_08_13_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/27/e28d938b75c55272ee0e4e7258b9531b.jpg","text":"TemporaryFile(/tmp/multipartBody2444388994173442658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_07_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/27/35febd2d9c8d6928c29c539b672b85de.jpg","text":"TemporaryFile(/tmp/multipartBody7782300049541770597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203143530,"filename":"image_30102025_21_07_46_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331904","file1":"1396331902","file0":"1396331897","file4":"1396331909","file5":"1396331911","file3":"1396331906"},"map_files_photo_id_array":[{"photo_id":"1396331911","filename":"file5"},{"photo_id":"1396331904","filename":"file2"},{"photo_id":"1396331909","filename":"file4"},{"photo_id":"1396331902","filename":"file1"},{"photo_id":"1396331897","filename":"file0"},{"photo_id":"1396331906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331906":["hashtag1","hashtag2"]},{"1396331909":["hashtag1","hashtag2"]},{"1396331902":["hashtag1","hashtag2"]},{"1396331911":["hashtag1","hashtag2"]},{"1396331904":["hashtag1","hashtag2"]},{"1396331897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331906, 1396331909, 1396331902, 1396331911, 1396331904, 1396331897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.31552267074585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:25:42.665100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/08/image_30102025_21_08_19_3098.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_25_2565.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_31_3681.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_34_2584.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_43_3740.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_49_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_19_3098.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_25_2565.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_31_3681.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_34_2584.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_43_3740.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_49_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331930","1396331927","1396331929","1396331922","1396331925","1396331919"],"photo_ids_order":["1396331919","1396331922","1396331925","1396331927","1396331929","1396331930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0b4630119ac38408da00f0f7823e74f.jpg","text":"TemporaryFile(/tmp/multipartBody3786422061619847368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_49_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/27/552c092e443720395efacf5416077619.jpg","text":"TemporaryFile(/tmp/multipartBody8905497141155731044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_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/27/4c53dbdc562beda7f678f19db27fd1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7464229526269506298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_43_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/27/c267ef8388fe4d0b75fd9acfa0fbf7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1940701692100888868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_25_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/27/668a885289e059902016b746cd4aa49b.jpg","text":"TemporaryFile(/tmp/multipartBody3421401810271414347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_31_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/27/6b03ea7423156e8c9f961f1dd5cd6bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5547764147161872771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203203905,"filename":"image_30102025_21_08_19_3098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331925","file1":"1396331922","file0":"1396331919","file4":"1396331929","file5":"1396331930","file3":"1396331927"},"map_files_photo_id_array":[{"photo_id":"1396331930","filename":"file5"},{"photo_id":"1396331925","filename":"file2"},{"photo_id":"1396331929","filename":"file4"},{"photo_id":"1396331922","filename":"file1"},{"photo_id":"1396331919","filename":"file0"},{"photo_id":"1396331927","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396331930":["hashtag1","hashtag2"]},{"1396331927":["hashtag1","hashtag2"]},{"1396331929":["hashtag1","hashtag2"]},{"1396331922":["hashtag1","hashtag2"]},{"1396331925":["hashtag1","hashtag2"]},{"1396331919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396331930, 1396331927, 1396331929, 1396331922, 1396331925, 1396331919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3353796005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:26:31.827665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_01_5793.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_03_1735.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_05_1869.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_13_8007.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_16_3016.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_18_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_01_5793.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_03_1735.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_05_1869.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_13_8007.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_16_3016.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_18_1775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331954","1396331945","1396331950","1396331944","1396331941","1396331952"],"photo_ids_order":["1396331941","1396331944","1396331945","1396331950","1396331952","1396331954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a8841c2db3c112f4517a6f9a5cefd61.jpg","text":"TemporaryFile(/tmp/multipartBody1920924278140994254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_18_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/27/6c8efaac4767de531656a8895a3da65d.jpg","text":"TemporaryFile(/tmp/multipartBody5933250380713994863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_05_1869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4528cdcd281591e9f44d5f84aa7ed6a7.jpg","text":"TemporaryFile(/tmp/multipartBody360913918963034686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_13_8007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a58aab408e6f34716480102e542c58c0.jpg","text":"TemporaryFile(/tmp/multipartBody6059318374967566589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_03_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/27/f693a0632cafe840c8624c570cf9c346.jpg","text":"TemporaryFile(/tmp/multipartBody2165996778560167178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_01_5793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca629f4871b454ce01626ea2e4ed2c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4302512683258448890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203253584,"filename":"image_21112025_18_46_16_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331945","file1":"1396331944","file0":"1396331941","file4":"1396331952","file5":"1396331954","file3":"1396331950"},"map_files_photo_id_array":[{"photo_id":"1396331954","filename":"file5"},{"photo_id":"1396331945","filename":"file2"},{"photo_id":"1396331952","filename":"file4"},{"photo_id":"1396331944","filename":"file1"},{"photo_id":"1396331941","filename":"file0"},{"photo_id":"1396331950","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331954":["hashtag1","hashtag2"]},{"1396331945":["hashtag1","hashtag2"]},{"1396331950":["hashtag1","hashtag2"]},{"1396331944":["hashtag1","hashtag2"]},{"1396331941":["hashtag1","hashtag2"]},{"1396331952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331954, 1396331945, 1396331950, 1396331944, 1396331941, 1396331952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.204341888427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:27:12.035459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_28_9944.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_29_1593.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_31_1608.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_32_1619.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_39_7098.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_42_2042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_28_9944.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_29_1593.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_31_1608.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_32_1619.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_39_7098.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_42_2042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331972","1396331969","1396331963","1396331974","1396331965","1396331961"],"photo_ids_order":["1396331961","1396331963","1396331965","1396331969","1396331972","1396331974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f59131e60f644c32ebc9e81a69a87aa.jpg","text":"TemporaryFile(/tmp/multipartBody2685407637931222177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_39_7098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce1143812f2ec671b9af550fe8c94ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4662925917857172115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_32_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/27/9926d4da0ed207530fd8dfd35ec7a0df.jpg","text":"TemporaryFile(/tmp/multipartBody6707022587412460736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_29_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/27/68275003a2b53c8dfe37e4fb2e8fcc0a.jpg","text":"TemporaryFile(/tmp/multipartBody784140376263974949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_42_2042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae1a1aabbbd46b5c6d92b6f17b4ba0d1.jpg","text":"TemporaryFile(/tmp/multipartBody7229954960450492087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_31_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da6c156c65c32c09fd387faeadf6848c.jpg","text":"TemporaryFile(/tmp/multipartBody153779053258394001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203293777,"filename":"image_21112025_18_46_28_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331965","file1":"1396331963","file0":"1396331961","file4":"1396331972","file5":"1396331974","file3":"1396331969"},"map_files_photo_id_array":[{"photo_id":"1396331974","filename":"file5"},{"photo_id":"1396331965","filename":"file2"},{"photo_id":"1396331972","filename":"file4"},{"photo_id":"1396331963","filename":"file1"},{"photo_id":"1396331961","filename":"file0"},{"photo_id":"1396331969","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331972":["hashtag1","hashtag2"]},{"1396331969":["hashtag1","hashtag2"]},{"1396331963":["hashtag1","hashtag2"]},{"1396331974":["hashtag1","hashtag2"]},{"1396331965":["hashtag1","hashtag2"]},{"1396331961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331972, 1396331969, 1396331963, 1396331974, 1396331965, 1396331961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65702676773071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:28:02.679121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/23/image_27112025_01_23_55_10563.jpg', '/home/pi/Desktop/images/27112025/01/25/image_27112025_01_25_24_8911.jpg', '/home/pi/Desktop/images/27112025/01/26/image_27112025_01_26_36_12309.jpg', '/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_14_9653.jpg', '/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_34_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/23/image_27112025_01_23_55_10563.jpg
/home/pi/Desktop/images/27112025/01/25/image_27112025_01_25_24_8911.jpg
/home/pi/Desktop/images/27112025/01/26/image_27112025_01_26_36_12309.jpg
/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_14_9653.jpg
/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_34_9668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6458826065063477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:28:12.189685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_43_1712.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_45_1686.jpg', '/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_47_1657.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_02_15010.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_08_4745.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_10_1852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_43_1712.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_45_1686.jpg
/home/pi/Desktop/images/21112025/18/46/image_21112025_18_46_47_1657.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_02_15010.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_08_4745.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_10_1852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396331990","1396331987","1396331989","1396331985","1396331994","1396331997"],"photo_ids_order":["1396331985","1396331987","1396331989","1396331990","1396331994","1396331997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cd7b636e8c0185a43d04c5cca10a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3749986078357222525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_47_02_15010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83e2b76dddba0db1f9098aa38ed7b6d2.jpg","text":"TemporaryFile(/tmp/multipartBody6073153716718687399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_46_45_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/27/77e511f0a17de3ac2de511bd5ea9b38b.jpg","text":"TemporaryFile(/tmp/multipartBody8406896120455506515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_46_47_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/27/c4597608bf24fb3d32d423ab868a720e.jpg","text":"TemporaryFile(/tmp/multipartBody4347321235133489847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_46_43_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/27/a47f93db88df8f3242ac90b6b28c14b0.jpg","text":"TemporaryFile(/tmp/multipartBody3769527529146301633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_47_08_4745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3d114401643308da2e16e307fe3cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody6879112692394382436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203353948,"filename":"image_21112025_18_47_10_1852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396331989","file1":"1396331987","file0":"1396331985","file4":"1396331994","file5":"1396331997","file3":"1396331990"},"map_files_photo_id_array":[{"photo_id":"1396331997","filename":"file5"},{"photo_id":"1396331989","filename":"file2"},{"photo_id":"1396331994","filename":"file4"},{"photo_id":"1396331987","filename":"file1"},{"photo_id":"1396331985","filename":"file0"},{"photo_id":"1396331990","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396331990":["hashtag1","hashtag2"]},{"1396331987":["hashtag1","hashtag2"]},{"1396331989":["hashtag1","hashtag2"]},{"1396331985":["hashtag1","hashtag2"]},{"1396331994":["hashtag1","hashtag2"]},{"1396331997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396331990, 1396331987, 1396331989, 1396331985, 1396331994, 1396331997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77815341949463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:29:03.525412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/23/image_27112025_01_23_55_10563.jpg', '/home/pi/Desktop/images/27112025/01/25/image_27112025_01_25_24_8911.jpg', '/home/pi/Desktop/images/27112025/01/26/image_27112025_01_26_36_12309.jpg', '/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_14_9653.jpg', '/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_34_9668.jpg', '/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/23/image_27112025_01_23_55_10563.jpg
/home/pi/Desktop/images/27112025/01/25/image_27112025_01_25_24_8911.jpg
/home/pi/Desktop/images/27112025/01/26/image_27112025_01_26_36_12309.jpg
/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_14_9653.jpg
/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_34_9668.jpg
/home/pi/Desktop/images/27112025/01/27/image_27112025_01_27_55_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332014","1396332011","1396332007","1396332018","1396332006","1396332009"],"photo_ids_order":["1396332006","1396332007","1396332009","1396332011","1396332014","1396332018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c27d9b79e83dbf56e0f371db70ff0d86.jpg","text":"TemporaryFile(/tmp/multipartBody7057926577043021916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_27_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8c5302b1192177cc1e003ade21f8112.jpg","text":"TemporaryFile(/tmp/multipartBody1230708623703349283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_27_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7084a50720ebca35cfc3d942f65e5dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2355089051186189204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_25_24_8911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57ecff4b2d17437896708ff2c91b8d07.jpg","text":"TemporaryFile(/tmp/multipartBody4046695558060446651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_27_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cb64effb5b35b35c715c47715e3fcac.jpg","text":"TemporaryFile(/tmp/multipartBody1702894193398712842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_23_55_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab4a3877d393d91278a07030f8f5072f.jpg","text":"TemporaryFile(/tmp/multipartBody1745109294810742996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203404494,"filename":"image_27112025_01_26_36_12309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332009","file1":"1396332007","file0":"1396332006","file4":"1396332014","file5":"1396332018","file3":"1396332011"},"map_files_photo_id_array":[{"photo_id":"1396332018","filename":"file5"},{"photo_id":"1396332009","filename":"file2"},{"photo_id":"1396332014","filename":"file4"},{"photo_id":"1396332007","filename":"file1"},{"photo_id":"1396332006","filename":"file0"},{"photo_id":"1396332011","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396332014":["hashtag1","hashtag2"]},{"1396332011":["hashtag1","hashtag2"]},{"1396332007":["hashtag1","hashtag2"]},{"1396332018":["hashtag1","hashtag2"]},{"1396332006":["hashtag1","hashtag2"]},{"1396332009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396332014, 1396332011, 1396332007, 1396332018, 1396332006, 1396332009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44049000740051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:29:42.443887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/08/image_30102025_21_08_52_2895.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_57_2602.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_09_01_3676.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_04_2698.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_10_3573.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_13_2512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_52_2895.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_57_2602.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_09_01_3676.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_04_2698.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_10_3573.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_13_2512.jpg
 val : 1 : upload photos already in processing! 
 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>8bgok6c36</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>8bgok6c36</strong>.
uploaded 0 photos
time to upload: 44.7369966506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:30:32.604468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_12_2018.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_16_3732.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_17_1613.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_21_1621.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_24_1666.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_25_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_12_2018.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_16_3732.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_17_1613.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_21_1621.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_24_1666.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_25_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332056","1396332052","1396332046","1396332054","1396332048","1396332050"],"photo_ids_order":["1396332046","1396332048","1396332050","1396332052","1396332054","1396332056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fc32514c49c473890b4e237e287c69d.jpg","text":"TemporaryFile(/tmp/multipartBody8584387977078764366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_25_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/27/2121646416757d37beabe488d42f8341.jpg","text":"TemporaryFile(/tmp/multipartBody9105439311197140414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_21_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/27/4bef0d1f53975b5e46751a428e623cc6.jpg","text":"TemporaryFile(/tmp/multipartBody8724592143447097360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_12_2018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b973fd58b178d814f391d883a9a39515.jpg","text":"TemporaryFile(/tmp/multipartBody8924394118425231368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_24_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/27/61b02043e5a3ff29dcf1fe94832fa02c.jpg","text":"TemporaryFile(/tmp/multipartBody8415909513517320407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_16_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/27/4ed5749e5e62dcb6ebaf4960743acd39.jpg","text":"TemporaryFile(/tmp/multipartBody3634304533015132944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203494436,"filename":"image_21112025_18_47_17_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332050","file1":"1396332048","file0":"1396332046","file4":"1396332054","file5":"1396332056","file3":"1396332052"},"map_files_photo_id_array":[{"photo_id":"1396332056","filename":"file5"},{"photo_id":"1396332050","filename":"file2"},{"photo_id":"1396332054","filename":"file4"},{"photo_id":"1396332048","filename":"file1"},{"photo_id":"1396332046","filename":"file0"},{"photo_id":"1396332052","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332056":["hashtag1","hashtag2"]},{"1396332052":["hashtag1","hashtag2"]},{"1396332046":["hashtag1","hashtag2"]},{"1396332054":["hashtag1","hashtag2"]},{"1396332048":["hashtag1","hashtag2"]},{"1396332050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332056, 1396332052, 1396332046, 1396332054, 1396332048, 1396332050)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.31173372268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:31:22.781192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/28/image_27112025_01_28_35_10782.jpg', '/home/pi/Desktop/images/27112025/01/28/image_27112025_01_28_44_9600.jpg', '/home/pi/Desktop/images/27112025/01/29/image_27112025_01_29_14_9649.jpg', '/home/pi/Desktop/images/27112025/01/30/image_27112025_01_30_44_9743.jpg', '/home/pi/Desktop/images/27112025/01/30/image_27112025_01_30_55_10718.jpg', '/home/pi/Desktop/images/27112025/01/30/image_27112025_01_31_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/28/image_27112025_01_28_35_10782.jpg
/home/pi/Desktop/images/27112025/01/28/image_27112025_01_28_44_9600.jpg
/home/pi/Desktop/images/27112025/01/29/image_27112025_01_29_14_9649.jpg
/home/pi/Desktop/images/27112025/01/30/image_27112025_01_30_44_9743.jpg
/home/pi/Desktop/images/27112025/01/30/image_27112025_01_30_55_10718.jpg
/home/pi/Desktop/images/27112025/01/30/image_27112025_01_31_04_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332074","1396332084","1396332087","1396332072","1396332081","1396332078"],"photo_ids_order":["1396332072","1396332074","1396332078","1396332081","1396332084","1396332087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/156ee169b54b9dd0ffe9432ea21aee32.jpg","text":"TemporaryFile(/tmp/multipartBody2113939209751888935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_28_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db3c8b5c406c4e39fec272da912184d6.jpg","text":"TemporaryFile(/tmp/multipartBody296784388813166594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_30_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5884324a0f16d2f59892cf9a26ccb9dd.jpg","text":"TemporaryFile(/tmp/multipartBody1070384928006778063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_31_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4660740d1ccba5a4a153b4729e915c9.jpg","text":"TemporaryFile(/tmp/multipartBody9201811811764095602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_28_35_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a56b5e7c632d6046a1630a2f63e93534.jpg","text":"TemporaryFile(/tmp/multipartBody800356191984543700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_30_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a23b2c936aea36cc516f478edce4e63.jpg","text":"TemporaryFile(/tmp/multipartBody496520064932633984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203544468,"filename":"image_27112025_01_29_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332078","file1":"1396332074","file0":"1396332072","file4":"1396332084","file5":"1396332087","file3":"1396332081"},"map_files_photo_id_array":[{"photo_id":"1396332087","filename":"file5"},{"photo_id":"1396332078","filename":"file2"},{"photo_id":"1396332084","filename":"file4"},{"photo_id":"1396332074","filename":"file1"},{"photo_id":"1396332072","filename":"file0"},{"photo_id":"1396332081","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396332074":["hashtag1","hashtag2"]},{"1396332084":["hashtag1","hashtag2"]},{"1396332087":["hashtag1","hashtag2"]},{"1396332072":["hashtag1","hashtag2"]},{"1396332081":["hashtag1","hashtag2"]},{"1396332078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396332074, 1396332084, 1396332087, 1396332072, 1396332081, 1396332078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96084713935852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:32:12.038302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
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 291, 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 10
2025-11-27 01:32:21.958006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_27_1602.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_29_1691.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_30_1548.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_32_1534.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_33_1586.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_35_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_27_1602.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_29_1691.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_30_1548.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_32_1534.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_33_1586.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_35_1805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332106","1396332109","1396332099","1396332103","1396332096","1396332114"],"photo_ids_order":["1396332096","1396332099","1396332103","1396332106","1396332109","1396332114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/358fa30c3e42fd5a678bea8256a3a193.jpg","text":"TemporaryFile(/tmp/multipartBody4385247843151741301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_32_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/033018f66e80ce9b466607d8f77f0210.jpg","text":"TemporaryFile(/tmp/multipartBody8966499237769772362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_33_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dacdf1872c4e8f2f1a658b5d624cb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody9204755317802524530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_29_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/27/d500a8cb549e7dc0cc3e319755b6b1da.jpg","text":"TemporaryFile(/tmp/multipartBody3472204105004024213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_30_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/27/9f4db2859851ac520e36832bd644929b.jpg","text":"TemporaryFile(/tmp/multipartBody8014273063152537086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_27_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/27/500146da485349da2257d06445a8c69d.jpg","text":"TemporaryFile(/tmp/multipartBody7080948224138410010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203604849,"filename":"image_21112025_18_47_35_1805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332103","file1":"1396332099","file0":"1396332096","file4":"1396332109","file5":"1396332114","file3":"1396332106"},"map_files_photo_id_array":[{"photo_id":"1396332114","filename":"file5"},{"photo_id":"1396332103","filename":"file2"},{"photo_id":"1396332109","filename":"file4"},{"photo_id":"1396332099","filename":"file1"},{"photo_id":"1396332096","filename":"file0"},{"photo_id":"1396332106","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332106":["hashtag1","hashtag2"]},{"1396332109":["hashtag1","hashtag2"]},{"1396332099":["hashtag1","hashtag2"]},{"1396332103":["hashtag1","hashtag2"]},{"1396332096":["hashtag1","hashtag2"]},{"1396332114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332106, 1396332109, 1396332099, 1396332103, 1396332096, 1396332114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.717185497283936 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 10 --only_old 1
2025-11-27 01:33:16.369434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_37_1678.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_38_1582.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_40_1827.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_42_1788.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_44_1900.jpg', '/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_52_6077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_37_1678.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_38_1582.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_40_1827.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_42_1788.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_44_1900.jpg
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_52_6077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332137","1396332130","1396332133","1396332135","1396332123","1396332126"],"photo_ids_order":["1396332123","1396332126","1396332130","1396332133","1396332135","1396332137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9dff5af86b1233a7c321e7079129ffd.jpg","text":"TemporaryFile(/tmp/multipartBody7881887270209362279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_52_6077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53d87f0864296548bd593af21012619d.jpg","text":"TemporaryFile(/tmp/multipartBody3128867455363096001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_40_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/27/3bca73732ba9c47f259a5d4e506e041a.jpg","text":"TemporaryFile(/tmp/multipartBody8933376290264571051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_42_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/27/ddab2a3e8527d1dece1865f63873e030.jpg","text":"TemporaryFile(/tmp/multipartBody8110378895491241757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_44_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57df9d06d5d7b9d21652a7a64ba93c41.jpg","text":"TemporaryFile(/tmp/multipartBody1901251081324437115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_37_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/27/f5f8c9b882691f5225f8c8664d6b8837.jpg","text":"TemporaryFile(/tmp/multipartBody4875625589604620130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203658181,"filename":"image_21112025_18_47_38_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332130","file1":"1396332126","file0":"1396332123","file4":"1396332135","file5":"1396332137","file3":"1396332133"},"map_files_photo_id_array":[{"photo_id":"1396332137","filename":"file5"},{"photo_id":"1396332130","filename":"file2"},{"photo_id":"1396332135","filename":"file4"},{"photo_id":"1396332126","filename":"file1"},{"photo_id":"1396332123","filename":"file0"},{"photo_id":"1396332133","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332137":["hashtag1","hashtag2"]},{"1396332130":["hashtag1","hashtag2"]},{"1396332133":["hashtag1","hashtag2"]},{"1396332135":["hashtag1","hashtag2"]},{"1396332123":["hashtag1","hashtag2"]},{"1396332126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332137, 1396332130, 1396332133, 1396332135, 1396332123, 1396332126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.820244789123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:34:03.080016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/31/image_27112025_01_31_14_9671.jpg', '/home/pi/Desktop/images/27112025/01/31/image_27112025_01_32_05_9669.jpg', '/home/pi/Desktop/images/27112025/01/32/image_27112025_01_32_44_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/31/image_27112025_01_31_14_9671.jpg
/home/pi/Desktop/images/27112025/01/31/image_27112025_01_32_05_9669.jpg
/home/pi/Desktop/images/27112025/01/32/image_27112025_01_32_44_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332149","1396332145","1396332147"],"photo_ids_order":["1396332145","1396332147","1396332149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ce064e76790a094a090f632d3ba39cd.jpg","text":"TemporaryFile(/tmp/multipartBody6595500250302566631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203703971,"filename":"image_27112025_01_32_44_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed62bdcb6a165bca5245025bfd03091e.jpg","text":"TemporaryFile(/tmp/multipartBody4467289672836370353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203703971,"filename":"image_27112025_01_31_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56f47f2fbab427788b9b5b788e7d785c.jpg","text":"TemporaryFile(/tmp/multipartBody4030611405671837572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203703971,"filename":"image_27112025_01_32_05_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332149","file1":"1396332147","file0":"1396332145"},"map_files_photo_id_array":[{"photo_id":"1396332149","filename":"file2"},{"photo_id":"1396332147","filename":"file1"},{"photo_id":"1396332145","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396332149":["hashtag1","hashtag2"]},{"1396332145":["hashtag1","hashtag2"]},{"1396332147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396332149, 1396332145, 1396332147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.96995735168457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:34:32.418987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_58_6031.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_04_6042.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_05_1617.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_07_1572.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_09_1755.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_11_1980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/47/image_21112025_18_47_58_6031.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_04_6042.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_05_1617.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_07_1572.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_09_1755.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_11_1980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332172","1396332175","1396332169","1396332163","1396332165","1396332177"],"photo_ids_order":["1396332163","1396332165","1396332169","1396332172","1396332175","1396332177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd548c7c28eab60a6b035bf249cf3594.jpg","text":"TemporaryFile(/tmp/multipartBody4092155595342980682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_48_07_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/27/8be6d559c3d1d651bacf48f6e61b08b4.jpg","text":"TemporaryFile(/tmp/multipartBody1303430662119237469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_48_09_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76b2d3b6510df57dceb08bf091f6aa2d.jpg","text":"TemporaryFile(/tmp/multipartBody1749041526396043674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_48_05_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/27/11cab96126a71647ea7cd5a8d9ec6400.jpg","text":"TemporaryFile(/tmp/multipartBody4072241198840933174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_47_58_6031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20c0aef1ff23815ba78e050015af7b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6815605813809249262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_48_04_6042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8ddef5ecdf2e5c43e66a19f284e4550.jpg","text":"TemporaryFile(/tmp/multipartBody5821885810642873049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203734173,"filename":"image_21112025_18_48_11_1980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332169","file1":"1396332165","file0":"1396332163","file4":"1396332175","file5":"1396332177","file3":"1396332172"},"map_files_photo_id_array":[{"photo_id":"1396332177","filename":"file5"},{"photo_id":"1396332169","filename":"file2"},{"photo_id":"1396332175","filename":"file4"},{"photo_id":"1396332165","filename":"file1"},{"photo_id":"1396332163","filename":"file0"},{"photo_id":"1396332172","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332172":["hashtag1","hashtag2"]},{"1396332175":["hashtag1","hashtag2"]},{"1396332169":["hashtag1","hashtag2"]},{"1396332163":["hashtag1","hashtag2"]},{"1396332165":["hashtag1","hashtag2"]},{"1396332177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332172, 1396332175, 1396332169, 1396332163, 1396332165, 1396332177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.690229177474976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:35:12.662408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_20_9596.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_40_19731.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_42_1839.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_44_1745.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_46_2054.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_47_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_20_9596.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_40_19731.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_42_1839.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_44_1745.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_46_2054.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_47_1762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332183","1396332195","1396332180","1396332188","1396332191","1396332185"],"photo_ids_order":["1396332180","1396332183","1396332185","1396332188","1396332191","1396332195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6aa1ef7acbde4cdb4cf58a8dd0bfca0d.jpg","text":"TemporaryFile(/tmp/multipartBody7791684355299469575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_40_19731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58b53c36185a5588c99333c2539d8ba0.jpg","text":"TemporaryFile(/tmp/multipartBody229996192674322403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_47_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/27/b476aa19f1ea644e6119ef868f2513a5.jpg","text":"TemporaryFile(/tmp/multipartBody5695133771547195516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_20_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/178fc2af47cffc4ea1ef010a88b8c367.jpg","text":"TemporaryFile(/tmp/multipartBody3271019862513995354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_44_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/27/93cb2a6a6f98b94ed160db3ef43def09.jpg","text":"TemporaryFile(/tmp/multipartBody1739907678970625772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_46_2054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c35d4b4cd992dffc1d56707cf6300976.jpg","text":"TemporaryFile(/tmp/multipartBody375595486253498658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203774413,"filename":"image_21112025_18_48_42_1839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332185","file1":"1396332183","file0":"1396332180","file4":"1396332191","file5":"1396332195","file3":"1396332188"},"map_files_photo_id_array":[{"photo_id":"1396332195","filename":"file5"},{"photo_id":"1396332185","filename":"file2"},{"photo_id":"1396332191","filename":"file4"},{"photo_id":"1396332183","filename":"file1"},{"photo_id":"1396332180","filename":"file0"},{"photo_id":"1396332188","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332183":["hashtag1","hashtag2"]},{"1396332195":["hashtag1","hashtag2"]},{"1396332180":["hashtag1","hashtag2"]},{"1396332188":["hashtag1","hashtag2"]},{"1396332191":["hashtag1","hashtag2"]},{"1396332185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332183, 1396332195, 1396332180, 1396332188, 1396332191, 1396332185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.100346326828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:36:02.209470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/32/image_27112025_01_33_05_10709.jpg', '/home/pi/Desktop/images/27112025/01/34/image_27112025_01_34_55_10633.jpg', '/home/pi/Desktop/images/27112025/01/34/image_27112025_01_35_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/32/image_27112025_01_33_05_10709.jpg
/home/pi/Desktop/images/27112025/01/34/image_27112025_01_34_55_10633.jpg
/home/pi/Desktop/images/27112025/01/34/image_27112025_01_35_04_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332209","1396332204","1396332213"],"photo_ids_order":["1396332204","1396332209","1396332213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef270812d1ec5e7958c6a380dad592da.jpg","text":"TemporaryFile(/tmp/multipartBody8183153983287063869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203822889,"filename":"image_27112025_01_34_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02fd7c8c6e3a70421e1d343f47e3936e.jpg","text":"TemporaryFile(/tmp/multipartBody6776995144315362194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203822889,"filename":"image_27112025_01_33_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd0aef63e61664565751b9377a48b827.jpg","text":"TemporaryFile(/tmp/multipartBody2112551875461302849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203822889,"filename":"image_27112025_01_35_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332213","file1":"1396332209","file0":"1396332204"},"map_files_photo_id_array":[{"photo_id":"1396332213","filename":"file2"},{"photo_id":"1396332209","filename":"file1"},{"photo_id":"1396332204","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396332209":["hashtag1","hashtag2"]},{"1396332204":["hashtag1","hashtag2"]},{"1396332213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396332209, 1396332204, 1396332213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.65242838859558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:36:31.927982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_49_1663.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_51_1650.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_52_1766.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_54_1680.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_56_1653.jpg', '/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_57_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_49_1663.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_51_1650.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_52_1766.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_54_1680.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_56_1653.jpg
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_57_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332371","1396332227","1396332298","1396332261","1396332336","1396332219"],"photo_ids_order":["1396332219","1396332227","1396332261","1396332298","1396332336","1396332371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/366c35ae88d5bdbf85df68b3ec8abc2d.jpg","text":"TemporaryFile(/tmp/multipartBody5359987840331269912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_57_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/27/8cb7c56487d18f9323f61653c1092bf9.jpg","text":"TemporaryFile(/tmp/multipartBody3633225322765514717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_51_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/27/5d812f8029ecf8b408ae2147fa0cbcb1.jpg","text":"TemporaryFile(/tmp/multipartBody8519989893605334248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_54_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/27/3fc024fdf58552e4b7212c0929e2ae24.jpg","text":"TemporaryFile(/tmp/multipartBody524564969760352041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_52_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/27/f5319d96574241cd37fffb744f5408b9.jpg","text":"TemporaryFile(/tmp/multipartBody7450162848936985035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_56_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/27/25742a45eb67d85839e56831fd86482c.jpg","text":"TemporaryFile(/tmp/multipartBody8684965360823614315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203853831,"filename":"image_21112025_18_48_49_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332261","file1":"1396332227","file0":"1396332219","file4":"1396332336","file5":"1396332371","file3":"1396332298"},"map_files_photo_id_array":[{"photo_id":"1396332371","filename":"file5"},{"photo_id":"1396332261","filename":"file2"},{"photo_id":"1396332336","filename":"file4"},{"photo_id":"1396332227","filename":"file1"},{"photo_id":"1396332219","filename":"file0"},{"photo_id":"1396332298","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332371":["hashtag1","hashtag2"]},{"1396332227":["hashtag1","hashtag2"]},{"1396332298":["hashtag1","hashtag2"]},{"1396332261":["hashtag1","hashtag2"]},{"1396332336":["hashtag1","hashtag2"]},{"1396332219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332371, 1396332227, 1396332298, 1396332261, 1396332336, 1396332219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47507977485657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:37:12.139315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_59_1640.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_02_1599.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_04_1773.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_06_1682.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_07_1645.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_09_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/48/image_21112025_18_48_59_1640.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_02_1599.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_04_1773.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_06_1682.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_07_1645.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_09_1541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332527","1396332707","1396332673","1396332601","1396332636","1396332566"],"photo_ids_order":["1396332527","1396332566","1396332601","1396332636","1396332673","1396332707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0c5d262990655ce2a266f5e8f020efe.jpg","text":"TemporaryFile(/tmp/multipartBody5268977231359108899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_48_59_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/27/b05540d3ea38df2d05cb1e9a332b6921.jpg","text":"TemporaryFile(/tmp/multipartBody3830778887493802979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_49_09_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/27/787365a464776f0dd07ed65e00ea3627.jpg","text":"TemporaryFile(/tmp/multipartBody4776630064312004010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_49_07_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/27/5c8423da76e0395a5a8a527aaf6c8d39.jpg","text":"TemporaryFile(/tmp/multipartBody1575985806457807797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_49_04_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/27/3a5d6b67e5aa991750c2824c6ca3972b.jpg","text":"TemporaryFile(/tmp/multipartBody6617278682097527524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_49_06_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/27/25ee512a33ae4cfcbf04db157eedc371.jpg","text":"TemporaryFile(/tmp/multipartBody1214802119086912990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203893968,"filename":"image_21112025_18_49_02_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396332601","file1":"1396332566","file0":"1396332527","file4":"1396332673","file5":"1396332707","file3":"1396332636"},"map_files_photo_id_array":[{"photo_id":"1396332707","filename":"file5"},{"photo_id":"1396332601","filename":"file2"},{"photo_id":"1396332673","filename":"file4"},{"photo_id":"1396332566","filename":"file1"},{"photo_id":"1396332527","filename":"file0"},{"photo_id":"1396332636","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396332527":["hashtag1","hashtag2"]},{"1396332707":["hashtag1","hashtag2"]},{"1396332673":["hashtag1","hashtag2"]},{"1396332601":["hashtag1","hashtag2"]},{"1396332636":["hashtag1","hashtag2"]},{"1396332566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396332527, 1396332707, 1396332673, 1396332601, 1396332636, 1396332566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13150191307068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:38:02.850999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/35/image_27112025_01_35_24_9979.jpg', '/home/pi/Desktop/images/27112025/01/36/image_27112025_01_36_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/35/image_27112025_01_35_24_9979.jpg
/home/pi/Desktop/images/27112025/01/36/image_27112025_01_36_24_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396332925","1396332956"],"photo_ids_order":["1396332925","1396332956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd37c2d2ebc76c5aaf0583954dd50237.jpg","text":"TemporaryFile(/tmp/multipartBody1551423683490472392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203943465,"filename":"image_27112025_01_35_24_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f840858cffd3990fb177cf6f00b44d6.jpg","text":"TemporaryFile(/tmp/multipartBody6142115289683677855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203943465,"filename":"image_27112025_01_36_24_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396332956","file0":"1396332925"},"map_files_photo_id_array":[{"photo_id":"1396332956","filename":"file1"},{"photo_id":"1396332925","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396332925":["hashtag1","hashtag2"]},{"1396332956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396332925, 1396332956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.13693594932556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:38:22.405383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_11_1558.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_25_14610.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_31_6259.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_33_1654.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_35_1568.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_36_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_11_1558.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_25_14610.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_31_6259.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_33_1654.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_35_1568.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_36_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396333363","1396333168","1396333056","1396333481","1396333268","1396333064"],"photo_ids_order":["1396333056","1396333064","1396333168","1396333268","1396333363","1396333481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81a6051ac8a1e927650a94eacf8e0b4b.jpg","text":"TemporaryFile(/tmp/multipartBody961451053326632772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_35_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/27/1ed986e8e51909c78c73e8e492dc1bd2.jpg","text":"TemporaryFile(/tmp/multipartBody694827212048313922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_31_6259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52f412ada852cb4c83cf8c9d92c8db40.jpg","text":"TemporaryFile(/tmp/multipartBody3998626068954527200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_11_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/27/f770067c7c4d4e43f4bf6bd5a5cde976.jpg","text":"TemporaryFile(/tmp/multipartBody5214325893806946129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_36_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/27/379780e0774af1502ab7bd74b9510be7.jpg","text":"TemporaryFile(/tmp/multipartBody928992357494474629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_33_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/27/89719c95564e1abba79b7beed6076bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5505422903258097363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764203964236,"filename":"image_21112025_18_49_25_14610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396333168","file1":"1396333064","file0":"1396333056","file4":"1396333363","file5":"1396333481","file3":"1396333268"},"map_files_photo_id_array":[{"photo_id":"1396333481","filename":"file5"},{"photo_id":"1396333168","filename":"file2"},{"photo_id":"1396333363","filename":"file4"},{"photo_id":"1396333064","filename":"file1"},{"photo_id":"1396333056","filename":"file0"},{"photo_id":"1396333268","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396333363":["hashtag1","hashtag2"]},{"1396333168":["hashtag1","hashtag2"]},{"1396333056":["hashtag1","hashtag2"]},{"1396333481":["hashtag1","hashtag2"]},{"1396333268":["hashtag1","hashtag2"]},{"1396333064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396333363, 1396333168, 1396333056, 1396333481, 1396333268, 1396333064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75374674797058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:39:02.985904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_38_1766.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_40_1584.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_41_1575.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_43_1618.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_45_1825.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_46_1930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_38_1766.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_40_1584.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_41_1575.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_43_1618.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_45_1825.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_46_1930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396334262","1396334331","1396334127","1396333985","1396334057","1396334191"],"photo_ids_order":["1396333985","1396334057","1396334127","1396334191","1396334262","1396334331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34e8ef35aee9f09727eaff2c053f4b89.jpg","text":"TemporaryFile(/tmp/multipartBody3372920639809169079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_45_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac9727f0860c3bb6c68646746de316a7.jpg","text":"TemporaryFile(/tmp/multipartBody7067539453010815268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_46_1930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4cf012d20ac5f2a254b7e085e657e24.jpg","text":"TemporaryFile(/tmp/multipartBody4399231172535660833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_41_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/27/81233b9daa6c360d78c208f41b29cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody1313849739615736313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_38_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/27/a4f0dd3ae83e8fdf8231abd2f3fc282a.jpg","text":"TemporaryFile(/tmp/multipartBody6798485936773268224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_40_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/27/d60122497b59a8f57e1a4edcde4b0a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6993078065319791898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204004398,"filename":"image_21112025_18_49_43_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396334127","file1":"1396334057","file0":"1396333985","file4":"1396334262","file5":"1396334331","file3":"1396334191"},"map_files_photo_id_array":[{"photo_id":"1396334331","filename":"file5"},{"photo_id":"1396334127","filename":"file2"},{"photo_id":"1396334262","filename":"file4"},{"photo_id":"1396334057","filename":"file1"},{"photo_id":"1396333985","filename":"file0"},{"photo_id":"1396334191","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396334262":["hashtag1","hashtag2"]},{"1396334331":["hashtag1","hashtag2"]},{"1396334127":["hashtag1","hashtag2"]},{"1396333985":["hashtag1","hashtag2"]},{"1396334057":["hashtag1","hashtag2"]},{"1396334191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396334262, 1396334331, 1396334127, 1396333985, 1396334057, 1396334191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78485894203186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:39:42.084900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/08/image_30102025_21_08_52_2895.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_57_2602.jpg', '/home/pi/Desktop/images/30102025/21/08/image_30102025_21_09_01_3676.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_04_2698.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_10_3573.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_13_2512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_52_2895.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_08_57_2602.jpg
/home/pi/Desktop/images/30102025/21/08/image_30102025_21_09_01_3676.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_04_2698.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_10_3573.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_13_2512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396334662","1396334902","1396334905","1396334707","1396334891","1396334816"],"photo_ids_order":["1396334662","1396334707","1396334816","1396334891","1396334902","1396334905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b08c2daa7f5a0e54142b50dfa71fdd8.jpg","text":"TemporaryFile(/tmp/multipartBody2302777901743777968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_08_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/27/1682c98285afb6b5fa5118dae9e86599.jpg","text":"TemporaryFile(/tmp/multipartBody8306763932584418009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_09_10_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/27/0cdcf89a0037736cfda548b6520d7cd4.jpg","text":"TemporaryFile(/tmp/multipartBody41793835709073404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_09_13_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/27/140cd94cb3e8082684259a2724563924.jpg","text":"TemporaryFile(/tmp/multipartBody333550867939811737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_08_57_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/27/414f0c7fe0c5b389a10cd029ffb1cc73.jpg","text":"TemporaryFile(/tmp/multipartBody3096315096772694955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_09_04_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/27/6ac2d1a727f8317712ac11fb387ef397.jpg","text":"TemporaryFile(/tmp/multipartBody3906314219086668749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204043223,"filename":"image_30102025_21_09_01_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396334816","file1":"1396334707","file0":"1396334662","file4":"1396334902","file5":"1396334905","file3":"1396334891"},"map_files_photo_id_array":[{"photo_id":"1396334905","filename":"file5"},{"photo_id":"1396334816","filename":"file2"},{"photo_id":"1396334902","filename":"file4"},{"photo_id":"1396334707","filename":"file1"},{"photo_id":"1396334662","filename":"file0"},{"photo_id":"1396334891","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396334662":["hashtag1","hashtag2"]},{"1396334902":["hashtag1","hashtag2"]},{"1396334905":["hashtag1","hashtag2"]},{"1396334707":["hashtag1","hashtag2"]},{"1396334891":["hashtag1","hashtag2"]},{"1396334816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396334662, 1396334902, 1396334905, 1396334707, 1396334891, 1396334816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.83305025100708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:40:32.178207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_48_1844.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_50_1894.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_52_1544.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_54_1784.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_55_1570.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_57_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_48_1844.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_50_1894.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_52_1544.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_54_1784.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_55_1570.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_57_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396335102","1396335044","1396335239","1396335305","1396335142","1396335202"],"photo_ids_order":["1396335044","1396335102","1396335142","1396335202","1396335239","1396335305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54a07eb4f8ef25c56478f9fdc9021f56.jpg","text":"TemporaryFile(/tmp/multipartBody5469036469619438463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_50_1894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/571d3d6d5915bb1632f30a81300cb759.jpg","text":"TemporaryFile(/tmp/multipartBody8278529528601728892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_48_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/27/2a8114052f3bb5bfa3f04ff661b9b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody6178665732905779618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_55_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/27/d8494d7dfecbf4c8d0dfa7bc7ab2751f.jpg","text":"TemporaryFile(/tmp/multipartBody2785782402242927567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_57_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09acf2b79e5d86649644030363aea8fb.jpg","text":"TemporaryFile(/tmp/multipartBody615539184097479714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_52_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/27/f4aa3846583cbd636334159aa2772ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1653979607274072622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204098389,"filename":"image_21112025_18_49_54_1784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396335142","file1":"1396335102","file0":"1396335044","file4":"1396335239","file5":"1396335305","file3":"1396335202"},"map_files_photo_id_array":[{"photo_id":"1396335305","filename":"file5"},{"photo_id":"1396335142","filename":"file2"},{"photo_id":"1396335239","filename":"file4"},{"photo_id":"1396335102","filename":"file1"},{"photo_id":"1396335044","filename":"file0"},{"photo_id":"1396335202","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396335102":["hashtag1","hashtag2"]},{"1396335044":["hashtag1","hashtag2"]},{"1396335239":["hashtag1","hashtag2"]},{"1396335305":["hashtag1","hashtag2"]},{"1396335142":["hashtag1","hashtag2"]},{"1396335202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396335102, 1396335044, 1396335239, 1396335305, 1396335142, 1396335202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71201801300049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:41:23.463949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/36/image_27112025_01_36_34_9577.jpg', '/home/pi/Desktop/images/27112025/01/40/image_27112025_01_40_45_9674.jpg', '/home/pi/Desktop/images/27112025/01/40/image_27112025_01_40_54_9726.jpg', '/home/pi/Desktop/images/27112025/01/41/image_27112025_01_41_14_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/36/image_27112025_01_36_34_9577.jpg
/home/pi/Desktop/images/27112025/01/40/image_27112025_01_40_45_9674.jpg
/home/pi/Desktop/images/27112025/01/40/image_27112025_01_40_54_9726.jpg
/home/pi/Desktop/images/27112025/01/41/image_27112025_01_41_14_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396335390","1396335401","1396335436","1396335393"],"photo_ids_order":["1396335390","1396335393","1396335401","1396335436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5ddfb783d336adee862fb006d3d65f3.jpg","text":"TemporaryFile(/tmp/multipartBody8670995720121164743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204144120,"filename":"image_27112025_01_36_34_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d69c799abf83aeb2dd51bb793e0f7cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5690869340881896749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204144120,"filename":"image_27112025_01_40_54_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/27/77f21a8c8208cfe78847af9370290acc.jpg","text":"TemporaryFile(/tmp/multipartBody6536538751815792987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204144120,"filename":"image_27112025_01_41_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c586b9f8518f7ed654e64e8ba5feddd4.jpg","text":"TemporaryFile(/tmp/multipartBody7787214813493991659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204144120,"filename":"image_27112025_01_40_45_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396335401","file1":"1396335393","file0":"1396335390","file3":"1396335436"},"map_files_photo_id_array":[{"photo_id":"1396335401","filename":"file2"},{"photo_id":"1396335393","filename":"file1"},{"photo_id":"1396335390","filename":"file0"},{"photo_id":"1396335436","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396335390":["hashtag1","hashtag2"]},{"1396335401":["hashtag1","hashtag2"]},{"1396335436":["hashtag1","hashtag2"]},{"1396335393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396335390, 1396335401, 1396335436, 1396335393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.422499656677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:42:02.247535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_58_1632.jpg', '/home/pi/Desktop/images/21112025/18/49/image_21112025_18_50_00_1588.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_02_1582.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_04_2689.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_07_2717.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_10_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_49_58_1632.jpg
/home/pi/Desktop/images/21112025/18/49/image_21112025_18_50_00_1588.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_02_1582.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_04_2689.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_07_2717.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_10_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396335999","1396335696","1396335794","1396336001","1396335996","1396335897"],"photo_ids_order":["1396335696","1396335794","1396335897","1396335996","1396335999","1396336001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4053310a7dba7902d430483d0b8c3962.jpg","text":"TemporaryFile(/tmp/multipartBody2372486283811071621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_50_07_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/27/e287ea714deca8049e93990b88e6688f.jpg","text":"TemporaryFile(/tmp/multipartBody6183902045556358005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_49_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/27/40806af1addd634b2db794403f2353ba.jpg","text":"TemporaryFile(/tmp/multipartBody7928191130206716190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_50_00_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/27/0cfa8c06f53343d169699d529b87abae.jpg","text":"TemporaryFile(/tmp/multipartBody6679298678638985025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_50_10_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/27/9236fded46de7eb0d430bbaa30b0ba8c.jpg","text":"TemporaryFile(/tmp/multipartBody750722417677467868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_50_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/27/d0c875276e2bbcb7ed4b1502091bd6a9.jpg","text":"TemporaryFile(/tmp/multipartBody4529662784597528214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204188394,"filename":"image_21112025_18_50_02_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396335897","file1":"1396335794","file0":"1396335696","file4":"1396335999","file5":"1396336001","file3":"1396335996"},"map_files_photo_id_array":[{"photo_id":"1396336001","filename":"file5"},{"photo_id":"1396335897","filename":"file2"},{"photo_id":"1396335999","filename":"file4"},{"photo_id":"1396335794","filename":"file1"},{"photo_id":"1396335696","filename":"file0"},{"photo_id":"1396335996","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396335999":["hashtag1","hashtag2"]},{"1396335696":["hashtag1","hashtag2"]},{"1396335794":["hashtag1","hashtag2"]},{"1396336001":["hashtag1","hashtag2"]},{"1396335996":["hashtag1","hashtag2"]},{"1396335897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396335999, 1396335696, 1396335794, 1396336001, 1396335996, 1396335897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.745843172073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:43:02.564183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_17_7875.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_32_14214.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_33_1573.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_35_1622.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_36_1637.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_38_1585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_17_7875.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_32_14214.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_33_1573.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_35_1622.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_36_1637.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_38_1585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336167","1396336181","1396336163","1396336168","1396336173","1396336170"],"photo_ids_order":["1396336163","1396336167","1396336168","1396336170","1396336173","1396336181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af854c8a5bb7087e73ab18413af49216.jpg","text":"TemporaryFile(/tmp/multipartBody6224549521395541465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_32_14214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efcf14aaccc45baac3c0b33cea63ba43.jpg","text":"TemporaryFile(/tmp/multipartBody2935608342067423173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_38_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/27/afa3fdc78c4304272a829323daab8015.jpg","text":"TemporaryFile(/tmp/multipartBody4564382764009198951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_17_7875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88424ac4be1ab4263093a9dcccf4ac11.jpg","text":"TemporaryFile(/tmp/multipartBody3351314867183270385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_33_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/27/d9dcae11020835f93bf6d38a87441062.jpg","text":"TemporaryFile(/tmp/multipartBody4916817937759162532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_36_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/27/933f3925b5fca0de2439b174d282cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody2160458775979686132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204246327,"filename":"image_21112025_18_50_35_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336168","file1":"1396336167","file0":"1396336163","file4":"1396336173","file5":"1396336181","file3":"1396336170"},"map_files_photo_id_array":[{"photo_id":"1396336181","filename":"file5"},{"photo_id":"1396336168","filename":"file2"},{"photo_id":"1396336173","filename":"file4"},{"photo_id":"1396336167","filename":"file1"},{"photo_id":"1396336163","filename":"file0"},{"photo_id":"1396336170","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336167":["hashtag1","hashtag2"]},{"1396336181":["hashtag1","hashtag2"]},{"1396336163":["hashtag1","hashtag2"]},{"1396336168":["hashtag1","hashtag2"]},{"1396336173":["hashtag1","hashtag2"]},{"1396336170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336167, 1396336181, 1396336163, 1396336168, 1396336173, 1396336170)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.52113342285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:44:02.815585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/41/image_27112025_01_41_25_10585.jpg', '/home/pi/Desktop/images/27112025/01/42/image_27112025_01_42_14_9714.jpg', '/home/pi/Desktop/images/27112025/01/42/image_27112025_01_42_24_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/41/image_27112025_01_41_25_10585.jpg
/home/pi/Desktop/images/27112025/01/42/image_27112025_01_42_14_9714.jpg
/home/pi/Desktop/images/27112025/01/42/image_27112025_01_42_24_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336199","1396336203","1396336201"],"photo_ids_order":["1396336199","1396336201","1396336203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a736007523c52eb8fcd9612764abbcf2.jpg","text":"TemporaryFile(/tmp/multipartBody2770524859498769625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204303517,"filename":"image_27112025_01_41_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9756dbf43179496e226571d0f99600e.jpg","text":"TemporaryFile(/tmp/multipartBody6273153955765292771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204303517,"filename":"image_27112025_01_42_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ad550202e81f7e04e61713546647e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7113247028938959547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204303517,"filename":"image_27112025_01_42_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336203","file1":"1396336201","file0":"1396336199"},"map_files_photo_id_array":[{"photo_id":"1396336203","filename":"file2"},{"photo_id":"1396336201","filename":"file1"},{"photo_id":"1396336199","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396336199":["hashtag1","hashtag2"]},{"1396336203":["hashtag1","hashtag2"]},{"1396336201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396336199, 1396336203, 1396336201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.498287439346313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:44:32.194519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 val : 1 : upload photos already in processing! 
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_40_1639.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_41_1687.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_43_1488.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_45_1867.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_47_1751.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_48_1979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_40_1639.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_41_1687.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_43_1488.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_45_1867.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_47_1751.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_48_1979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336245","1396336227","1396336241","1396336231","1396336222","1396336225"],"photo_ids_order":["1396336222","1396336225","1396336227","1396336231","1396336241","1396336245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d899b5ee0e31dc4fdc8aad5e275a82d.jpg","text":"TemporaryFile(/tmp/multipartBody412032539040218814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_48_1979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f61c26333166ed7a5f8c7b93f0118fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8306124533003916250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_43_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd13da9e31b5d5f51c9d83d71b221d6c.jpg","text":"TemporaryFile(/tmp/multipartBody5844229554846907852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_47_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/27/a78bf8ca4cab6e923e576a7d7e013c3d.jpg","text":"TemporaryFile(/tmp/multipartBody5545123851080864582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_45_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/341ae79ce46e04bce56d6645ca2611be.jpg","text":"TemporaryFile(/tmp/multipartBody1786438979253385631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_40_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/27/4f7861a63b8412bd6cf13ad8d022f90f.jpg","text":"TemporaryFile(/tmp/multipartBody6864822849875101399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204346466,"filename":"image_21112025_18_50_41_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336227","file1":"1396336225","file0":"1396336222","file4":"1396336241","file5":"1396336245","file3":"1396336231"},"map_files_photo_id_array":[{"photo_id":"1396336245","filename":"file5"},{"photo_id":"1396336227","filename":"file2"},{"photo_id":"1396336241","filename":"file4"},{"photo_id":"1396336225","filename":"file1"},{"photo_id":"1396336222","filename":"file0"},{"photo_id":"1396336231","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336245":["hashtag1","hashtag2"]},{"1396336227":["hashtag1","hashtag2"]},{"1396336241":["hashtag1","hashtag2"]},{"1396336231":["hashtag1","hashtag2"]},{"1396336222":["hashtag1","hashtag2"]},{"1396336225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336245, 1396336227, 1396336241, 1396336231, 1396336222, 1396336225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.808722734451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:45:32.608030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_50_1612.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_52_2215.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_54_2023.jpg', '/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_58_3640.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_01_2531.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_05_4352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_50_1612.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_52_2215.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_54_2023.jpg
/home/pi/Desktop/images/21112025/18/50/image_21112025_18_50_58_3640.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_01_2531.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_05_4352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336265","1396336256","1396336258","1396336260","1396336254","1396336263"],"photo_ids_order":["1396336254","1396336256","1396336258","1396336260","1396336263","1396336265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a89f001c1fe3b98721aa5427ececad67.jpg","text":"TemporaryFile(/tmp/multipartBody507618139690392238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_51_05_4352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe8d31e11cf26b22b2cc40b34930fe58.jpg","text":"TemporaryFile(/tmp/multipartBody6495557124534661580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_50_52_2215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6a520680e7bbc6872cb78f80aeaaddf.jpg","text":"TemporaryFile(/tmp/multipartBody6235552267059707195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_50_54_2023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bbd833ae0caa359ca0d12aec720c652.jpg","text":"TemporaryFile(/tmp/multipartBody7051825123648029186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_50_58_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/27/9309049513777d5d3280197dbc479a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6817666063683388490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_50_50_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/27/c5290cdd059c7aaa41da7d8cddadbb8d.jpg","text":"TemporaryFile(/tmp/multipartBody698973985116185145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204394495,"filename":"image_21112025_18_51_01_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336258","file1":"1396336256","file0":"1396336254","file4":"1396336263","file5":"1396336265","file3":"1396336260"},"map_files_photo_id_array":[{"photo_id":"1396336265","filename":"file5"},{"photo_id":"1396336258","filename":"file2"},{"photo_id":"1396336263","filename":"file4"},{"photo_id":"1396336256","filename":"file1"},{"photo_id":"1396336254","filename":"file0"},{"photo_id":"1396336260","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336265":["hashtag1","hashtag2"]},{"1396336256":["hashtag1","hashtag2"]},{"1396336258":["hashtag1","hashtag2"]},{"1396336260":["hashtag1","hashtag2"]},{"1396336254":["hashtag1","hashtag2"]},{"1396336263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336265, 1396336256, 1396336258, 1396336260, 1396336254, 1396336263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71936559677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:46:12.748617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_07_1676.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_09_2749.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_13_3502.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_15_2620.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_25_9225.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_30_5615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_07_1676.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_09_2749.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_13_3502.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_15_2620.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_25_9225.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_30_5615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336286","1396336280","1396336274","1396336277","1396336282","1396336272"],"photo_ids_order":["1396336272","1396336274","1396336277","1396336280","1396336282","1396336286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79540af9c7cf289bbf6c3f4279aa26ab.jpg","text":"TemporaryFile(/tmp/multipartBody4664415058140544832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_30_5615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e1154863ef57b50faa3a357d65a3422.jpg","text":"TemporaryFile(/tmp/multipartBody7178232646642265167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_15_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/27/dad2f365b7ef17fb7f855512c4a25c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7479884560042919276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_09_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/27/507728514e0534bfccf3826b24aff77d.jpg","text":"TemporaryFile(/tmp/multipartBody1969369130075971062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_13_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/27/22a1e5864fb63f4ee6f4c34c914acfd0.jpg","text":"TemporaryFile(/tmp/multipartBody8488515151705897949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_25_9225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4520fdbfabcbdca9b313b61eaf7ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody1517927284836156507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204434504,"filename":"image_21112025_18_51_07_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336277","file1":"1396336274","file0":"1396336272","file4":"1396336282","file5":"1396336286","file3":"1396336280"},"map_files_photo_id_array":[{"photo_id":"1396336286","filename":"file5"},{"photo_id":"1396336277","filename":"file2"},{"photo_id":"1396336282","filename":"file4"},{"photo_id":"1396336274","filename":"file1"},{"photo_id":"1396336272","filename":"file0"},{"photo_id":"1396336280","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336286":["hashtag1","hashtag2"]},{"1396336280":["hashtag1","hashtag2"]},{"1396336274":["hashtag1","hashtag2"]},{"1396336277":["hashtag1","hashtag2"]},{"1396336282":["hashtag1","hashtag2"]},{"1396336272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336286, 1396336280, 1396336274, 1396336277, 1396336282, 1396336272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15751123428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:47:02.425665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/43/image_27112025_01_43_15_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/43/image_27112025_01_43_15_10735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336297"],"photo_id":"1396336297","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23b3d73e37f190631e32b48a91578d84.jpg","text":"TemporaryFile(/tmp/multipartBody9038434769617907979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204483047,"filename":"image_27112025_01_43_15_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396336297"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396336297"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.810083866119385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:47:21.928770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/46/image_27112025_01_46_54_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/46/image_27112025_01_46_54_9527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336303"],"photo_id":"1396336303","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fc03cd33f339e92f702d14fd7334bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8164336218191176065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204502447,"filename":"image_27112025_01_46_54_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396336303"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396336303"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.164002895355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:47:41.979901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/09/image_30102025_21_09_15_2778.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_19_3712.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_22_2584.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_24_2779.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_33_2654.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_37_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_15_2778.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_19_3712.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_22_2584.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_24_2779.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_33_2654.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_37_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336317","1396336320","1396336322","1396336319","1396336315","1396336318"],"photo_ids_order":["1396336315","1396336317","1396336318","1396336319","1396336320","1396336322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5facc6481ab29a346d0b094eb2905b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7866966514650727182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_19_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/27/957d0ee2371e4615c2c8c1c6dd66d548.jpg","text":"TemporaryFile(/tmp/multipartBody2505060555048719343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_33_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/27/f22e84aa473200e60a084d0b46c9130c.jpg","text":"TemporaryFile(/tmp/multipartBody1183370833584599675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_37_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/27/1ff2c548ebdb56121b399da8aebafab8.jpg","text":"TemporaryFile(/tmp/multipartBody6216818076685410319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_24_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/27/3ed3e895cca5e6bd34e9392540415793.jpg","text":"TemporaryFile(/tmp/multipartBody7467933956293805570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_15_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/27/448a3f3f5f8777f8ecc15f8ac191582b.jpg","text":"TemporaryFile(/tmp/multipartBody3536764884127158905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204523236,"filename":"image_30102025_21_09_22_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336318","file1":"1396336317","file0":"1396336315","file4":"1396336320","file5":"1396336322","file3":"1396336319"},"map_files_photo_id_array":[{"photo_id":"1396336322","filename":"file5"},{"photo_id":"1396336318","filename":"file2"},{"photo_id":"1396336320","filename":"file4"},{"photo_id":"1396336317","filename":"file1"},{"photo_id":"1396336315","filename":"file0"},{"photo_id":"1396336319","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396336317":["hashtag1","hashtag2"]},{"1396336320":["hashtag1","hashtag2"]},{"1396336322":["hashtag1","hashtag2"]},{"1396336319":["hashtag1","hashtag2"]},{"1396336315":["hashtag1","hashtag2"]},{"1396336318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396336317, 1396336320, 1396336322, 1396336319, 1396336315, 1396336318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.329588174819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:48:22.149099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_32_1507.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_33_1650.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_35_1602.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_48_12674.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_49_1701.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_52_2306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_32_1507.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_33_1650.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_35_1602.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_48_12674.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_49_1701.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_52_2306.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336347","1396336346","1396336340","1396336334","1396336343","1396336337"],"photo_ids_order":["1396336334","1396336337","1396336340","1396336343","1396336346","1396336347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a70a4dedcb5d35adfce6ae8fe36d9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7414636864394738922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_52_2306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a9cc4c996114eba42079d5e5fe6eff1.jpg","text":"TemporaryFile(/tmp/multipartBody1757625615477249423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_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/27/67096d7f5db9c7062980b53aa8010b44.jpg","text":"TemporaryFile(/tmp/multipartBody3907107583459360616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_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/27/278376f7dd0102dd3fa21695beeaeb33.jpg","text":"TemporaryFile(/tmp/multipartBody8752824038389332524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_32_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/27/b389fb621cb94cf1198e7ff2ad0d7e0c.jpg","text":"TemporaryFile(/tmp/multipartBody7868091029588936971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_48_12674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4047969d51b798296da21f5519800fe.jpg","text":"TemporaryFile(/tmp/multipartBody4235520860029677776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204563969,"filename":"image_21112025_18_51_33_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336340","file1":"1396336337","file0":"1396336334","file4":"1396336346","file5":"1396336347","file3":"1396336343"},"map_files_photo_id_array":[{"photo_id":"1396336347","filename":"file5"},{"photo_id":"1396336340","filename":"file2"},{"photo_id":"1396336346","filename":"file4"},{"photo_id":"1396336337","filename":"file1"},{"photo_id":"1396336334","filename":"file0"},{"photo_id":"1396336343","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336347":["hashtag1","hashtag2"]},{"1396336346":["hashtag1","hashtag2"]},{"1396336340":["hashtag1","hashtag2"]},{"1396336334":["hashtag1","hashtag2"]},{"1396336343":["hashtag1","hashtag2"]},{"1396336337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336347, 1396336346, 1396336340, 1396336334, 1396336343, 1396336337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72287631034851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:49:03.083536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_54_1948.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_56_1865.jpg', '/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_59_3906.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_01_1625.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_03_1576.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_04_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_54_1948.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_56_1865.jpg
/home/pi/Desktop/images/21112025/18/51/image_21112025_18_51_59_3906.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_01_1625.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_03_1576.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_04_1675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396336394","1396336628","1396336717","1396336912","1396336813","1396337046"],"photo_ids_order":["1396336394","1396336628","1396336717","1396336813","1396336912","1396337046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc671305fa8d208fecd5b0e5336c1d41.jpg","text":"TemporaryFile(/tmp/multipartBody2806276605272557422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_51_54_1948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccfa59e79f7eb979651901c88e4adf31.jpg","text":"TemporaryFile(/tmp/multipartBody5416432853878973841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_51_56_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb4b63b29637711eb393686de25c70e5.jpg","text":"TemporaryFile(/tmp/multipartBody8360619092998856669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_51_59_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/27/f3559814116690e5195f0a0519aae11c.jpg","text":"TemporaryFile(/tmp/multipartBody4302637018081023712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_52_03_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/27/4efe19a0e1e5194593a0f9255da5f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody1858926158602830691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_52_01_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/27/6aa60f7082b52e6d0b7ac6826fe5eb76.jpg","text":"TemporaryFile(/tmp/multipartBody1429371279461300601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204604571,"filename":"image_21112025_18_52_04_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396336717","file1":"1396336628","file0":"1396336394","file4":"1396336912","file5":"1396337046","file3":"1396336813"},"map_files_photo_id_array":[{"photo_id":"1396337046","filename":"file5"},{"photo_id":"1396336717","filename":"file2"},{"photo_id":"1396336912","filename":"file4"},{"photo_id":"1396336628","filename":"file1"},{"photo_id":"1396336394","filename":"file0"},{"photo_id":"1396336813","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396336394":["hashtag1","hashtag2"]},{"1396336628":["hashtag1","hashtag2"]},{"1396336717":["hashtag1","hashtag2"]},{"1396336912":["hashtag1","hashtag2"]},{"1396336813":["hashtag1","hashtag2"]},{"1396337046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396336394, 1396336628, 1396336717, 1396336912, 1396336813, 1396337046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.63115096092224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:50:02.556633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/46/image_27112025_01_47_05_10794.jpg', '/home/pi/Desktop/images/27112025/01/47/image_27112025_01_48_04_9720.jpg', '/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_24_10603.jpg', '/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_35_10040.jpg', '/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/46/image_27112025_01_47_05_10794.jpg
/home/pi/Desktop/images/27112025/01/47/image_27112025_01_48_04_9720.jpg
/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_24_10603.jpg
/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_35_10040.jpg
/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_44_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337207","1396337197","1396337200","1396337203","1396337205"],"photo_ids_order":["1396337197","1396337200","1396337203","1396337205","1396337207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77a395ba9b63f32fbaf1c17c95ce04bc.jpg","text":"TemporaryFile(/tmp/multipartBody2484886628515695069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204663326,"filename":"image_27112025_01_49_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed0bf59b6200536ff359a5903943ecdb.jpg","text":"TemporaryFile(/tmp/multipartBody7612073117054695185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204663326,"filename":"image_27112025_01_47_05_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c4cc71792ec1a46ad986a2c4800be9c.jpg","text":"TemporaryFile(/tmp/multipartBody4768215597992879428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204663326,"filename":"image_27112025_01_48_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d097a760559d4d35713313360329f48.jpg","text":"TemporaryFile(/tmp/multipartBody947039464371268013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204663326,"filename":"image_27112025_01_49_24_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/504dcf2b1385387aed9787ca5b961203.jpg","text":"TemporaryFile(/tmp/multipartBody3363995761831605687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204663326,"filename":"image_27112025_01_49_35_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396337203","file1":"1396337200","file0":"1396337197","file4":"1396337207","file3":"1396337205"},"map_files_photo_id_array":[{"photo_id":"1396337203","filename":"file2"},{"photo_id":"1396337207","filename":"file4"},{"photo_id":"1396337200","filename":"file1"},{"photo_id":"1396337197","filename":"file0"},{"photo_id":"1396337205","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396337207":["hashtag1","hashtag2"]},{"1396337197":["hashtag1","hashtag2"]},{"1396337200":["hashtag1","hashtag2"]},{"1396337203":["hashtag1","hashtag2"]},{"1396337205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396337207, 1396337197, 1396337200, 1396337203, 1396337205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.524869441986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:50:42.120952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/09/image_30102025_21_09_40_2691.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_42_2679.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_46_3647.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_51_2587.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_58_2762.jpg', '/home/pi/Desktop/images/30102025/21/09/image_30102025_21_10_00_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_40_2691.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_42_2679.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_46_3647.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_51_2587.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_09_58_2762.jpg
/home/pi/Desktop/images/30102025/21/09/image_30102025_21_10_00_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396337479","1396337452","1396337524","1396337481","1396337427","1396337523"],"photo_ids_order":["1396337427","1396337452","1396337479","1396337481","1396337523","1396337524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/298e2c157b78c058f137914d90df2456.jpg","text":"TemporaryFile(/tmp/multipartBody3591318114400640363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_09_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/27/53b5363795c4b53e41400b37873cfa0a.jpg","text":"TemporaryFile(/tmp/multipartBody6952352198360945582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_09_42_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/27/798b5d852f4f9939cca2911a6afc026f.jpg","text":"TemporaryFile(/tmp/multipartBody976515741981611253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_10_00_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/27/b0607f89c59606af5b0491a0ac78b403.jpg","text":"TemporaryFile(/tmp/multipartBody8935959685804267741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_09_51_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/27/b28cfab122957395895df9b5a964e36f.jpg","text":"TemporaryFile(/tmp/multipartBody937590528778417791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_09_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/27/f0fb7e90dbc7142109398c7f0ebcd618.jpg","text":"TemporaryFile(/tmp/multipartBody7824566373396059321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204703441,"filename":"image_30102025_21_09_58_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396337479","file1":"1396337452","file0":"1396337427","file4":"1396337523","file5":"1396337524","file3":"1396337481"},"map_files_photo_id_array":[{"photo_id":"1396337524","filename":"file5"},{"photo_id":"1396337479","filename":"file2"},{"photo_id":"1396337523","filename":"file4"},{"photo_id":"1396337452","filename":"file1"},{"photo_id":"1396337427","filename":"file0"},{"photo_id":"1396337481","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396337479":["hashtag1","hashtag2"]},{"1396337452":["hashtag1","hashtag2"]},{"1396337524":["hashtag1","hashtag2"]},{"1396337481":["hashtag1","hashtag2"]},{"1396337427":["hashtag1","hashtag2"]},{"1396337523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396337479, 1396337452, 1396337524, 1396337481, 1396337427, 1396337523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.18584132194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:51:32.439868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_08_2393.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_20_11706.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_22_1779.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_28_1661.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_29_1619.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_32_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_08_2393.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_20_11706.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_22_1779.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_28_1661.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_29_1619.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_32_2948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337546","1396337542","1396337536","1396337545","1396337539","1396337544"],"photo_ids_order":["1396337536","1396337539","1396337542","1396337544","1396337545","1396337546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18918bc946ce042a1e60e5849e61343f.jpg","text":"TemporaryFile(/tmp/multipartBody1206492295297847260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_32_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60725925210894600e02e0102232c614.jpg","text":"TemporaryFile(/tmp/multipartBody1002978446246766875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_22_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/27/157bd84503ea95f197d2908975271d24.jpg","text":"TemporaryFile(/tmp/multipartBody8784893098188936354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_08_2393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d4f128e4f898e64e7ae161772094aec.jpg","text":"TemporaryFile(/tmp/multipartBody3711814829530397460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_29_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/27/f4fe5dd1722d41f0b79de5b902993245.jpg","text":"TemporaryFile(/tmp/multipartBody3854371755943626467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_20_11706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7722fb64103d25abc62bb723dd75d773.jpg","text":"TemporaryFile(/tmp/multipartBody1409559264992763954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204754359,"filename":"image_21112025_18_52_28_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396337542","file1":"1396337539","file0":"1396337536","file4":"1396337545","file5":"1396337546","file3":"1396337544"},"map_files_photo_id_array":[{"photo_id":"1396337546","filename":"file5"},{"photo_id":"1396337542","filename":"file2"},{"photo_id":"1396337545","filename":"file4"},{"photo_id":"1396337539","filename":"file1"},{"photo_id":"1396337536","filename":"file0"},{"photo_id":"1396337544","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396337546":["hashtag1","hashtag2"]},{"1396337542":["hashtag1","hashtag2"]},{"1396337536":["hashtag1","hashtag2"]},{"1396337545":["hashtag1","hashtag2"]},{"1396337539":["hashtag1","hashtag2"]},{"1396337544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396337546, 1396337542, 1396337536, 1396337545, 1396337539, 1396337544)","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 = 1396337542 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_22_1779.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.793869733810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 01:52:32.681236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_34_1496.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_49_15086.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_58_9005.jpg', '/home/pi/Desktop/images/21112025/18/52/image_21112025_18_53_00_1683.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_01_1637.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_04_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_34_1496.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_49_15086.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_52_58_9005.jpg
/home/pi/Desktop/images/21112025/18/52/image_21112025_18_53_00_1683.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_01_1637.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_04_2940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337621","1396337615","1396337617","1396337611","1396337619","1396337613"],"photo_ids_order":["1396337611","1396337613","1396337615","1396337617","1396337619","1396337621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96d98448e066e3a0e89c73d66d79c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2448455887421679274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_53_04_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/27/ed1b06f8415261e4db1bc4e0c1ecac33.jpg","text":"TemporaryFile(/tmp/multipartBody9123383241523136489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_52_58_9005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92c4a524f30e24fffdbae884010532ea.jpg","text":"TemporaryFile(/tmp/multipartBody1023209806098809144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_53_00_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0017f2209d7e0da624df336632e144c.jpg","text":"TemporaryFile(/tmp/multipartBody5703355750292000257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_52_34_1496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7b5135c7fc101e673f6bc918a238e58.jpg","text":"TemporaryFile(/tmp/multipartBody3773817456944363526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_53_01_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/27/b6a1413d56895518df78e31a6d48865f.jpg","text":"TemporaryFile(/tmp/multipartBody3674046894842287691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204820489,"filename":"image_21112025_18_52_49_15086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396337615","file1":"1396337613","file0":"1396337611","file4":"1396337619","file5":"1396337621","file3":"1396337617"},"map_files_photo_id_array":[{"photo_id":"1396337621","filename":"file5"},{"photo_id":"1396337615","filename":"file2"},{"photo_id":"1396337619","filename":"file4"},{"photo_id":"1396337613","filename":"file1"},{"photo_id":"1396337611","filename":"file0"},{"photo_id":"1396337617","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396337621":["hashtag1","hashtag2"]},{"1396337615":["hashtag1","hashtag2"]},{"1396337617":["hashtag1","hashtag2"]},{"1396337611":["hashtag1","hashtag2"]},{"1396337619":["hashtag1","hashtag2"]},{"1396337613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396337621, 1396337615, 1396337617, 1396337611, 1396337619, 1396337613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60470223426819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:53:21.928761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_54_9717.jpg', '/home/pi/Desktop/images/27112025/01/49/image_27112025_01_50_05_10827.jpg', '/home/pi/Desktop/images/27112025/01/50/image_27112025_01_50_54_6998.jpg', '/home/pi/Desktop/images/27112025/01/50/image_27112025_01_51_05_10652.jpg', '/home/pi/Desktop/images/27112025/01/51/image_27112025_01_51_14_9774.jpg', '/home/pi/Desktop/images/27112025/01/51/image_27112025_01_51_44_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/49/image_27112025_01_49_54_9717.jpg
/home/pi/Desktop/images/27112025/01/49/image_27112025_01_50_05_10827.jpg
/home/pi/Desktop/images/27112025/01/50/image_27112025_01_50_54_6998.jpg
/home/pi/Desktop/images/27112025/01/50/image_27112025_01_51_05_10652.jpg
/home/pi/Desktop/images/27112025/01/51/image_27112025_01_51_14_9774.jpg
/home/pi/Desktop/images/27112025/01/51/image_27112025_01_51_44_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337643","1396337637","1396337631","1396337640","1396337634","1396337628"],"photo_ids_order":["1396337628","1396337631","1396337634","1396337637","1396337640","1396337643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2eef14729d102ff64761500473eb1e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6720776241050829995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_51_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48a508487b0e194d8cef95816db28f92.jpg","text":"TemporaryFile(/tmp/multipartBody9094392559970215659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_51_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9d10009b68592093ec43a2b5dad4a12.jpg","text":"TemporaryFile(/tmp/multipartBody4296222831400806293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_50_05_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9994305a49788c53f3348a4c563f3fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1291570969000105925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_51_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/978627a11259d9c67d354b49674f5236.jpg","text":"TemporaryFile(/tmp/multipartBody6567018198010934667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_50_54_6998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b40a17cf7a1aaa6ef3d06c47161e34df.jpg","text":"TemporaryFile(/tmp/multipartBody5205645331160272556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204862667,"filename":"image_27112025_01_49_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396337634","file1":"1396337631","file0":"1396337628","file4":"1396337640","file5":"1396337643","file3":"1396337637"},"map_files_photo_id_array":[{"photo_id":"1396337643","filename":"file5"},{"photo_id":"1396337634","filename":"file2"},{"photo_id":"1396337640","filename":"file4"},{"photo_id":"1396337631","filename":"file1"},{"photo_id":"1396337628","filename":"file0"},{"photo_id":"1396337637","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396337643":["hashtag1","hashtag2"]},{"1396337637":["hashtag1","hashtag2"]},{"1396337631":["hashtag1","hashtag2"]},{"1396337640":["hashtag1","hashtag2"]},{"1396337634":["hashtag1","hashtag2"]},{"1396337628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396337643, 1396337637, 1396337631, 1396337640, 1396337634, 1396337628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51022148132324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:54:02.756637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/52/image_27112025_01_52_24_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/52/image_27112025_01_52_24_9908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337657"],"photo_id":"1396337657","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b1b88a2eb8fdf54155c080df4f959ee.jpg","text":"TemporaryFile(/tmp/multipartBody9067043007031547352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204903360,"filename":"image_27112025_01_52_24_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396337657"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396337657"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.549232482910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:54:22.165218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/52/image_27112025_01_52_34_9973.jpg', '/home/pi/Desktop/images/27112025/01/52/image_27112025_01_53_04_8812.jpg', '/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_24_9731.jpg', '/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_35_10734.jpg', '/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_54_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/52/image_27112025_01_52_34_9973.jpg
/home/pi/Desktop/images/27112025/01/52/image_27112025_01_53_04_8812.jpg
/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_24_9731.jpg
/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_35_10734.jpg
/home/pi/Desktop/images/27112025/01/53/image_27112025_01_53_54_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396337810","1396338211","1396338013","1396338109","1396337916"],"photo_ids_order":["1396337810","1396337916","1396338013","1396338109","1396338211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77f0cce88541e738ebbbe636db6f8e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3819034870631542017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204922896,"filename":"image_27112025_01_52_34_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9907269e9aef2dc8c1df31f7710b97a6.jpg","text":"TemporaryFile(/tmp/multipartBody1088142239276334636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204922896,"filename":"image_27112025_01_53_54_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02aa36c542ae52eb1a0c6557ad96aa44.jpg","text":"TemporaryFile(/tmp/multipartBody5230127999743928759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204922896,"filename":"image_27112025_01_53_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e945ff1b6e534425c0f501fb5d5167b1.jpg","text":"TemporaryFile(/tmp/multipartBody7685950185579619933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204922896,"filename":"image_27112025_01_53_35_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/238ba135965d3608fdaae961643860e7.jpg","text":"TemporaryFile(/tmp/multipartBody793215046415033329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204922896,"filename":"image_27112025_01_53_04_8812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396338013","file1":"1396337916","file0":"1396337810","file4":"1396338211","file3":"1396338109"},"map_files_photo_id_array":[{"photo_id":"1396338013","filename":"file2"},{"photo_id":"1396338211","filename":"file4"},{"photo_id":"1396337916","filename":"file1"},{"photo_id":"1396337810","filename":"file0"},{"photo_id":"1396338109","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396337810":["hashtag1","hashtag2"]},{"1396338211":["hashtag1","hashtag2"]},{"1396338013":["hashtag1","hashtag2"]},{"1396338109":["hashtag1","hashtag2"]},{"1396337916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396337810, 1396338211, 1396338013, 1396338109, 1396337916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.9379780292511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:55:03.006157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_06_1732.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_13_7086.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_19_5793.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_21_1710.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_22_1629.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_27_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_06_1732.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_13_7086.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_19_5793.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_21_1710.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_22_1629.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_27_4466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396338532","1396338541","1396338529","1396338537","1396338545","1396338527"],"photo_ids_order":["1396338527","1396338529","1396338532","1396338537","1396338541","1396338545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db5334f3dd1ce2b763b9987a0bb319a9.jpg","text":"TemporaryFile(/tmp/multipartBody414150689672269353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_19_5793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b2470c85c24c72182cfaec3ddf2df1f.jpg","text":"TemporaryFile(/tmp/multipartBody7513173997551577006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_22_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/27/a0935e2808bf8172444793e726d84381.jpg","text":"TemporaryFile(/tmp/multipartBody1289590309687042326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_13_7086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/895bedff78467fd3afabe47778525600.jpg","text":"TemporaryFile(/tmp/multipartBody6663369035802526014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_21_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/27/cf6d2df8af25374efd204035b39e5d85.jpg","text":"TemporaryFile(/tmp/multipartBody9037832773341659666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_27_4466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aeef79573f6402416e40af710f2d6c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2417429181656593592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764204964308,"filename":"image_21112025_18_53_06_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396338532","file1":"1396338529","file0":"1396338527","file4":"1396338541","file5":"1396338545","file3":"1396338537"},"map_files_photo_id_array":[{"photo_id":"1396338545","filename":"file5"},{"photo_id":"1396338532","filename":"file2"},{"photo_id":"1396338541","filename":"file4"},{"photo_id":"1396338529","filename":"file1"},{"photo_id":"1396338527","filename":"file0"},{"photo_id":"1396338537","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396338532":["hashtag1","hashtag2"]},{"1396338541":["hashtag1","hashtag2"]},{"1396338529":["hashtag1","hashtag2"]},{"1396338537":["hashtag1","hashtag2"]},{"1396338545":["hashtag1","hashtag2"]},{"1396338527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396338532, 1396338541, 1396338529, 1396338537, 1396338545, 1396338527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.63672423362732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:56:02.939585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/54/image_27112025_01_54_15_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/54/image_27112025_01_54_15_10754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396338820"],"photo_id":"1396338820","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b54be5fdcb37f95d8031c077c9172e6.jpg","text":"TemporaryFile(/tmp/multipartBody7091846903207834170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205023509,"filename":"image_27112025_01_54_15_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396338820"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396338820"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.455695152282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:56:22.486761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/54/image_27112025_01_55_04_9679.jpg', '/home/pi/Desktop/images/27112025/01/56/image_27112025_01_56_24_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/54/image_27112025_01_55_04_9679.jpg
/home/pi/Desktop/images/27112025/01/56/image_27112025_01_56_24_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396338877","1396338882"],"photo_ids_order":["1396338877","1396338882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d476ca45373d3cf30dca68f714387d7.jpg","text":"TemporaryFile(/tmp/multipartBody2882144784970409380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205043076,"filename":"image_27112025_01_55_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc2398c3fdc8dd62e4c798fced1f87c8.jpg","text":"TemporaryFile(/tmp/multipartBody7676328221905238269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205043076,"filename":"image_27112025_01_56_24_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396338882","file0":"1396338877"},"map_files_photo_id_array":[{"photo_id":"1396338882","filename":"file1"},{"photo_id":"1396338877","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396338877":["hashtag1","hashtag2"]},{"1396338882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396338877, 1396338882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.288336277008057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:56:42.467700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/10/image_30102025_21_10_16_2747.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_22_2539.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_28_3597.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_30_2589.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_34_3566.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_37_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_16_2747.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_22_2539.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_28_3597.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_30_2589.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_34_3566.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_37_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396338905","1396338908","1396338892","1396338904","1396338907","1396338906"],"photo_ids_order":["1396338892","1396338904","1396338905","1396338906","1396338907","1396338908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51ab25d8b67b18960847b19657c97079.jpg","text":"TemporaryFile(/tmp/multipartBody82030670321067006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_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/27/7ff9b4ff595f26bb4109e46418005014.jpg","text":"TemporaryFile(/tmp/multipartBody1655103477518286166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_37_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/27/31e1b3eb2950a444789c8c51e9578c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6780474731416303376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_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/27/59c72162623eea97f8931a7b38e501a8.jpg","text":"TemporaryFile(/tmp/multipartBody6404630891759752771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_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/27/b05929c5a9502f71cc3bd817cbf6f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5013898858869491530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_34_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/27/b552262f5bd6ac60f243a585144bd444.jpg","text":"TemporaryFile(/tmp/multipartBody7739634803630131359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205063711,"filename":"image_30102025_21_10_30_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396338905","file1":"1396338904","file0":"1396338892","file4":"1396338907","file5":"1396338908","file3":"1396338906"},"map_files_photo_id_array":[{"photo_id":"1396338908","filename":"file5"},{"photo_id":"1396338905","filename":"file2"},{"photo_id":"1396338907","filename":"file4"},{"photo_id":"1396338904","filename":"file1"},{"photo_id":"1396338892","filename":"file0"},{"photo_id":"1396338906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396338905":["hashtag1","hashtag2"]},{"1396338908":["hashtag1","hashtag2"]},{"1396338892":["hashtag1","hashtag2"]},{"1396338904":["hashtag1","hashtag2"]},{"1396338907":["hashtag1","hashtag2"]},{"1396338906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396338905, 1396338908, 1396338892, 1396338904, 1396338907, 1396338906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.394394636154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 01:57:22.739016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/56/image_27112025_01_56_45_10702.jpg', '/home/pi/Desktop/images/27112025/01/57/image_27112025_01_57_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/56/image_27112025_01_56_45_10702.jpg
/home/pi/Desktop/images/27112025/01/57/image_27112025_01_57_34_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396338915","1396338918"],"photo_ids_order":["1396338915","1396338918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed7c07cdac7af06f44776b035589ab57.jpg","text":"TemporaryFile(/tmp/multipartBody4094370483743882724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205103328,"filename":"image_27112025_01_56_45_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/27/d8217390342b4aaa184fd67a30cff3cd.jpg","text":"TemporaryFile(/tmp/multipartBody9113524164616663149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205103328,"filename":"image_27112025_01_57_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396338918","file0":"1396338915"},"map_files_photo_id_array":[{"photo_id":"1396338918","filename":"file1"},{"photo_id":"1396338915","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396338915":["hashtag1","hashtag2"]},{"1396338918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396338915, 1396338918)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 20.440993785858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 01:59:02.825024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_28_1872.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_30_1821.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_46_15742.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_48_1724.jpg', '/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_58_10097.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_01_2931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_28_1872.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_30_1821.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_46_15742.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_48_1724.jpg
/home/pi/Desktop/images/21112025/18/53/image_21112025_18_53_58_10097.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_01_2931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396340120","1396340144","1396340117","1396340182","1396340242","1396340316"],"photo_ids_order":["1396340117","1396340120","1396340144","1396340182","1396340242","1396340316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48b4f27cef54ee142e72c44699183a93.jpg","text":"TemporaryFile(/tmp/multipartBody7626896444273931826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_53_30_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/27/1771a8aee344e8150b1ef855618bf50c.jpg","text":"TemporaryFile(/tmp/multipartBody4895837460763929038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_53_46_15742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ca26bdfe08107207ab2bef6faac4c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4233144484691647839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_53_28_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72b8144ac9f01df4d881da693fcd8091.jpg","text":"TemporaryFile(/tmp/multipartBody1188965874196319713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_53_48_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/27/6cb58652ada970e4e49ddb2bd4816cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7506092427946358712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_53_58_10097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4023aeeeea320c79f0f9f4ed7d57ea74.jpg","text":"TemporaryFile(/tmp/multipartBody3999528091210254963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205204234,"filename":"image_21112025_18_54_01_2931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396340144","file1":"1396340120","file0":"1396340117","file4":"1396340242","file5":"1396340316","file3":"1396340182"},"map_files_photo_id_array":[{"photo_id":"1396340316","filename":"file5"},{"photo_id":"1396340144","filename":"file2"},{"photo_id":"1396340242","filename":"file4"},{"photo_id":"1396340120","filename":"file1"},{"photo_id":"1396340117","filename":"file0"},{"photo_id":"1396340182","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396340120":["hashtag1","hashtag2"]},{"1396340144":["hashtag1","hashtag2"]},{"1396340117":["hashtag1","hashtag2"]},{"1396340182":["hashtag1","hashtag2"]},{"1396340242":["hashtag1","hashtag2"]},{"1396340316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396340120, 1396340144, 1396340117, 1396340182, 1396340242, 1396340316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91162848472595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 01:59:41.931378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/10/image_30102025_21_10_43_3534.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_45_2549.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_52_2831.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_54_2680.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_57_2760.jpg', '/home/pi/Desktop/images/30102025/21/10/image_30102025_21_11_01_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_43_3534.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_45_2549.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_52_2831.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_54_2680.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_10_57_2760.jpg
/home/pi/Desktop/images/30102025/21/10/image_30102025_21_11_01_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396340806","1396340701","1396340592","1396340658","1396340748","1396340541"],"photo_ids_order":["1396340541","1396340592","1396340658","1396340701","1396340748","1396340806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7a1293ad47e11b9b0dae92eba99e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody1383915512921377849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_11_01_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/27/c1c8c4923b2e401edccfe4c36d1b2414.jpg","text":"TemporaryFile(/tmp/multipartBody6396682420462857810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_10_54_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/27/a5050e29c7033c1ac7c3c46edb2ed6ef.jpg","text":"TemporaryFile(/tmp/multipartBody948547760329042893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_10_45_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/27/bbaf592b3f277ad5ba0cf3ebcecedb71.jpg","text":"TemporaryFile(/tmp/multipartBody6750358851945453737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_10_52_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/27/3c1fd4fbaf1ac2e39dfe3333fa2ed4d0.jpg","text":"TemporaryFile(/tmp/multipartBody7540888615945368314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_10_57_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/27/29a2378a931f8e419f4f23eeb6eabdeb.jpg","text":"TemporaryFile(/tmp/multipartBody8514446272506611381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205243223,"filename":"image_30102025_21_10_43_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396340658","file1":"1396340592","file0":"1396340541","file4":"1396340748","file5":"1396340806","file3":"1396340701"},"map_files_photo_id_array":[{"photo_id":"1396340806","filename":"file5"},{"photo_id":"1396340658","filename":"file2"},{"photo_id":"1396340748","filename":"file4"},{"photo_id":"1396340592","filename":"file1"},{"photo_id":"1396340541","filename":"file0"},{"photo_id":"1396340701","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396340806":["hashtag1","hashtag2"]},{"1396340701":["hashtag1","hashtag2"]},{"1396340592":["hashtag1","hashtag2"]},{"1396340658":["hashtag1","hashtag2"]},{"1396340748":["hashtag1","hashtag2"]},{"1396340541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396340806, 1396340701, 1396340592, 1396340658, 1396340748, 1396340541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55692005157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:00:22.088373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/01/57/image_27112025_01_57_55_10734.jpg', '/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_15_10647.jpg', '/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_24_9728.jpg', '/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_34_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/01/57/image_27112025_01_57_55_10734.jpg
/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_15_10647.jpg
/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_24_9728.jpg
/home/pi/Desktop/images/27112025/01/59/image_27112025_01_59_34_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396340941","1396340985","1396340982","1396340987"],"photo_ids_order":["1396340941","1396340982","1396340985","1396340987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/030aaa8c295ad513d213a86ce1b98018.jpg","text":"TemporaryFile(/tmp/multipartBody5486804014347881495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205282784,"filename":"image_27112025_01_57_55_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c91e49078e466bcbfbcb3f4fcc9bd4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5084551642610328188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205282784,"filename":"image_27112025_01_59_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2942672e5c4ba85355e4cf6548c3a1db.jpg","text":"TemporaryFile(/tmp/multipartBody1884843409733655080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205282784,"filename":"image_27112025_01_59_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f90a8cbef8ce9f457c8e034b0b24c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1310715925689874192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205282784,"filename":"image_27112025_01_59_34_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396340985","file1":"1396340982","file0":"1396340941","file3":"1396340987"},"map_files_photo_id_array":[{"photo_id":"1396340985","filename":"file2"},{"photo_id":"1396340982","filename":"file1"},{"photo_id":"1396340941","filename":"file0"},{"photo_id":"1396340987","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396340941":["hashtag1","hashtag2"]},{"1396340985":["hashtag1","hashtag2"]},{"1396340982":["hashtag1","hashtag2"]},{"1396340987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396340941, 1396340985, 1396340982, 1396340987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.075424909591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:01:03.016233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_02_1613.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_15_12227.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_16_1768.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_18_1697.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_20_1685.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_22_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_02_1613.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_15_12227.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_16_1768.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_18_1697.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_20_1685.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_22_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341103","1396341180","1396341016","1396341185","1396341143","1396341065"],"photo_ids_order":["1396341016","1396341065","1396341103","1396341143","1396341180","1396341185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6950a4a8b365c0bd1f88e8e68d45c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2832780680486483856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_16_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/27/415691c4828cc962bf5d738259ed1b26.jpg","text":"TemporaryFile(/tmp/multipartBody2884297858437046823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_20_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/27/d9d1ac01f4b35b1ea8e0563221ebee58.jpg","text":"TemporaryFile(/tmp/multipartBody1170014630508747807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_02_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/675fb4a273fd4a019eaaa39da589332c.jpg","text":"TemporaryFile(/tmp/multipartBody6177957382545377783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_22_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/27/59a629138efd654777bb140329acad20.jpg","text":"TemporaryFile(/tmp/multipartBody663104920041096575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_18_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ac4cf372d0c9d38f72bd88c739f1f59.jpg","text":"TemporaryFile(/tmp/multipartBody1871665031410251948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205324346,"filename":"image_21112025_18_54_15_12227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396341103","file1":"1396341065","file0":"1396341016","file4":"1396341180","file5":"1396341185","file3":"1396341143"},"map_files_photo_id_array":[{"photo_id":"1396341185","filename":"file5"},{"photo_id":"1396341103","filename":"file2"},{"photo_id":"1396341180","filename":"file4"},{"photo_id":"1396341065","filename":"file1"},{"photo_id":"1396341016","filename":"file0"},{"photo_id":"1396341143","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396341103":["hashtag1","hashtag2"]},{"1396341180":["hashtag1","hashtag2"]},{"1396341016":["hashtag1","hashtag2"]},{"1396341185":["hashtag1","hashtag2"]},{"1396341143":["hashtag1","hashtag2"]},{"1396341065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396341103, 1396341180, 1396341016, 1396341185, 1396341143, 1396341065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09812307357788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:01:42.255605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/11/image_30102025_21_11_03_2659.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_06_2811.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_13_2716.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_18_2743.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_24_2492.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_31_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_03_2659.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_06_2811.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_13_2716.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_18_2743.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_24_2492.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_31_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341286","1396341288","1396341261","1396341234","1396341284","1396341236"],"photo_ids_order":["1396341234","1396341236","1396341261","1396341284","1396341286","1396341288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c3d2d5b6af49b05ef5a327df1000f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1013345876679677789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_24_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/27/fab8052683fcbbd6fb17029cca32c70c.jpg","text":"TemporaryFile(/tmp/multipartBody2630916243730433072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_31_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/27/76fc267e4f2b2d35ce8e830074aed8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2012622926335686550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_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/27/b85baef4f9df4cda4606f835e7c65924.jpg","text":"TemporaryFile(/tmp/multipartBody5984601978585467301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_03_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/27/fa31a244467472e51cb8bbc4cfa61fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6774664911645730995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_18_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/27/159f0c7485e9703ad2bc7ad4165afa58.jpg","text":"TemporaryFile(/tmp/multipartBody3655490873522225182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205363566,"filename":"image_30102025_21_11_06_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396341261","file1":"1396341236","file0":"1396341234","file4":"1396341286","file5":"1396341288","file3":"1396341284"},"map_files_photo_id_array":[{"photo_id":"1396341288","filename":"file5"},{"photo_id":"1396341261","filename":"file2"},{"photo_id":"1396341286","filename":"file4"},{"photo_id":"1396341236","filename":"file1"},{"photo_id":"1396341234","filename":"file0"},{"photo_id":"1396341284","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396341286":["hashtag1","hashtag2"]},{"1396341288":["hashtag1","hashtag2"]},{"1396341261":["hashtag1","hashtag2"]},{"1396341234":["hashtag1","hashtag2"]},{"1396341284":["hashtag1","hashtag2"]},{"1396341236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396341286, 1396341288, 1396341261, 1396341234, 1396341284, 1396341236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45926022529602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:02:22.430068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/00/image_27112025_02_00_54_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/00/image_27112025_02_00_54_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341295"],"photo_id":"1396341295","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f6789c5ad72fc462cf717dd7b823174.jpg","text":"TemporaryFile(/tmp/multipartBody9593260249404958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205402988,"filename":"image_27112025_02_00_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396341295"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396341295"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.914494514465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:02:42.414661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/11/image_30102025_21_11_34_3354.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_37_2750.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_39_2501.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_43_3548.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_45_2738.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_48_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_34_3354.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_37_2750.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_39_2501.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_43_3548.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_45_2738.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_48_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341310","1396341313","1396341312","1396341309","1396341311","1396341314"],"photo_ids_order":["1396341309","1396341310","1396341311","1396341312","1396341313","1396341314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea1acb06d72ff8c8dacda664ffa56c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3747584381028843123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_37_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/27/83a3839580b0d2fa813be82e314c19d8.jpg","text":"TemporaryFile(/tmp/multipartBody4569553623210963737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_45_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/27/c663d3f1cb3f82d666068b454607fc48.jpg","text":"TemporaryFile(/tmp/multipartBody7805590791783099987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_43_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/27/3b13a686eb77d07296affaebdcabca6e.jpg","text":"TemporaryFile(/tmp/multipartBody5573176346388860527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_34_3354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b4085dcc9de43a5e3ed4c43c00c0bca.jpg","text":"TemporaryFile(/tmp/multipartBody2834066884766280545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_39_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/27/8e7e99dda3f31cedf21532d5a4113d84.jpg","text":"TemporaryFile(/tmp/multipartBody4820021187587165860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205423662,"filename":"image_30102025_21_11_48_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396341311","file1":"1396341310","file0":"1396341309","file4":"1396341313","file5":"1396341314","file3":"1396341312"},"map_files_photo_id_array":[{"photo_id":"1396341314","filename":"file5"},{"photo_id":"1396341311","filename":"file2"},{"photo_id":"1396341313","filename":"file4"},{"photo_id":"1396341310","filename":"file1"},{"photo_id":"1396341309","filename":"file0"},{"photo_id":"1396341312","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396341310":["hashtag1","hashtag2"]},{"1396341313":["hashtag1","hashtag2"]},{"1396341312":["hashtag1","hashtag2"]},{"1396341309":["hashtag1","hashtag2"]},{"1396341311":["hashtag1","hashtag2"]},{"1396341314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396341310, 1396341313, 1396341312, 1396341309, 1396341311, 1396341314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.335426568984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:03:22.575325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/01/image_27112025_02_01_45_10846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/01/image_27112025_02_01_45_10846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341322"],"photo_id":"1396341322","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7adabb6d6830201e970522b2556b5ae2.jpg","text":"TemporaryFile(/tmp/multipartBody9135468783586649336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205463116,"filename":"image_27112025_02_01_45_10846.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396341322"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396341322"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.082369327545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:03:42.610881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/11/image_30102025_21_11_54_2593.jpg', '/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_58_3571.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_01_2818.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_04_2802.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_06_2560.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_12_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_54_2593.jpg
/home/pi/Desktop/images/30102025/21/11/image_30102025_21_11_58_3571.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_01_2818.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_04_2802.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_06_2560.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_12_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341334","1396341354","1396341333","1396341336","1396341335","1396341332"],"photo_ids_order":["1396341332","1396341333","1396341334","1396341335","1396341336","1396341354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c3235d8ce4313d937ad06b0af564446.jpg","text":"TemporaryFile(/tmp/multipartBody8304889760554617769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_12_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/27/14e00b4bbebed2e5c361b100c90b8b66.jpg","text":"TemporaryFile(/tmp/multipartBody5937215401200707822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_12_12_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/27/2e165353571aa28d741b9bd9cf05c40e.jpg","text":"TemporaryFile(/tmp/multipartBody4710858469002642033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_11_58_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/27/343f0c034b5fef151ac6427b2926a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5434964492134231337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_12_06_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/27/690a1101f2f7b49d7657ee10a5c06cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3374682499195239694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_12_04_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/27/221ddb270c0443c105efacfee79ac2cd.jpg","text":"TemporaryFile(/tmp/multipartBody8540909244172365645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205483868,"filename":"image_30102025_21_11_54_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396341334","file1":"1396341333","file0":"1396341332","file4":"1396341336","file5":"1396341354","file3":"1396341335"},"map_files_photo_id_array":[{"photo_id":"1396341354","filename":"file5"},{"photo_id":"1396341334","filename":"file2"},{"photo_id":"1396341336","filename":"file4"},{"photo_id":"1396341333","filename":"file1"},{"photo_id":"1396341332","filename":"file0"},{"photo_id":"1396341335","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396341334":["hashtag1","hashtag2"]},{"1396341354":["hashtag1","hashtag2"]},{"1396341333":["hashtag1","hashtag2"]},{"1396341336":["hashtag1","hashtag2"]},{"1396341335":["hashtag1","hashtag2"]},{"1396341332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396341334, 1396341354, 1396341333, 1396341336, 1396341335, 1396341332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76448678970337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:04:22.781075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/03/image_27112025_02_03_24_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/03/image_27112025_02_03_24_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396341756"],"photo_id":"1396341756","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b18c2cbb4a46cf02a2f4e7dc0e87d68f.jpg","text":"TemporaryFile(/tmp/multipartBody1734689045850415630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205523328,"filename":"image_27112025_02_03_24_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396341756"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396341756"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.400875806808472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:04:42.756582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/12/image_30102025_21_12_24_2719.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_28_3523.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_33_2797.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_40_3684.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_45_2663.jpg', '/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_49_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_24_2719.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_28_3523.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_33_2797.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_40_3684.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_45_2663.jpg
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_49_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342364","1396342292","1396342328","1396342400","1396342258","1396342444"],"photo_ids_order":["1396342258","1396342292","1396342328","1396342364","1396342400","1396342444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d838a760bad647c3732a8b0b4609ad5.jpg","text":"TemporaryFile(/tmp/multipartBody4649017127337341128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_40_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/27/8f59e1671415ee4e168f39bdcec814b2.jpg","text":"TemporaryFile(/tmp/multipartBody7013220322531998413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_28_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/27/10a00eb13b2d290fa4d0e015a990b6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6447316987005937813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_33_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/27/fe16adb49ff68420ec7a923e91be834f.jpg","text":"TemporaryFile(/tmp/multipartBody4242098411005725273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_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/27/c0fb753b9aacd3dbcff551af9be331ff.jpg","text":"TemporaryFile(/tmp/multipartBody2477104385327846930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_24_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/27/20195c767824e2951526ebd2340d6629.jpg","text":"TemporaryFile(/tmp/multipartBody559628344173425455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205543997,"filename":"image_30102025_21_12_49_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396342328","file1":"1396342292","file0":"1396342258","file4":"1396342400","file5":"1396342444","file3":"1396342364"},"map_files_photo_id_array":[{"photo_id":"1396342444","filename":"file5"},{"photo_id":"1396342328","filename":"file2"},{"photo_id":"1396342400","filename":"file4"},{"photo_id":"1396342292","filename":"file1"},{"photo_id":"1396342258","filename":"file0"},{"photo_id":"1396342364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396342364":["hashtag1","hashtag2"]},{"1396342292":["hashtag1","hashtag2"]},{"1396342328":["hashtag1","hashtag2"]},{"1396342400":["hashtag1","hashtag2"]},{"1396342258":["hashtag1","hashtag2"]},{"1396342444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396342364, 1396342292, 1396342328, 1396342400, 1396342258, 1396342444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27065944671631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:05:21.911726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/04/image_27112025_02_04_35_10667.jpg', '/home/pi/Desktop/images/27112025/02/05/image_27112025_02_05_24_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/04/image_27112025_02_04_35_10667.jpg
/home/pi/Desktop/images/27112025/02/05/image_27112025_02_05_24_10015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342644","1396342502"],"photo_ids_order":["1396342502","1396342644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/406e46c9a1ebf30ed50ce525a5c2d047.jpg","text":"TemporaryFile(/tmp/multipartBody5407304044851228562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205582509,"filename":"image_27112025_02_05_24_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f6cab33223da9d90d05f6aa5c4959c4.jpg","text":"TemporaryFile(/tmp/multipartBody6683224212575614235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205582509,"filename":"image_27112025_02_04_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396342644","file0":"1396342502"},"map_files_photo_id_array":[{"photo_id":"1396342644","filename":"file1"},{"photo_id":"1396342502","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396342644":["hashtag1","hashtag2"]},{"1396342502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396342644, 1396342502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.566381216049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:05:41.935692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/12/image_30102025_21_12_51_2607.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_01_3296.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_06_2588.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_12_2747.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_15_2619.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_24_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/12/image_30102025_21_12_51_2607.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_01_3296.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_06_2588.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_12_2747.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_15_2619.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_24_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342822","1396342881","1396342827","1396342880","1396342882","1396342834"],"photo_ids_order":["1396342822","1396342827","1396342834","1396342880","1396342881","1396342882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2858f8a9d928347841e72467011782a.jpg","text":"TemporaryFile(/tmp/multipartBody865662504692743106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_12_51_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/27/9523ab2431e9eea56410c6788b5c9ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2111177455315301571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_13_15_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/27/3894f3eb41c74df95adf96b458ab3ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1644668385677166885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_13_01_3296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b503c46c7cac14b6249fc9d25bfb0480.jpg","text":"TemporaryFile(/tmp/multipartBody8483225637505898722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_13_12_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/27/c9e17a50cd874e3824176609690c645c.jpg","text":"TemporaryFile(/tmp/multipartBody2736855512816359102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_13_24_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/27/8af38441b26d6a583c456a598b6edab4.jpg","text":"TemporaryFile(/tmp/multipartBody8067449088270269309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205603231,"filename":"image_30102025_21_13_06_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396342834","file1":"1396342827","file0":"1396342822","file4":"1396342881","file5":"1396342882","file3":"1396342880"},"map_files_photo_id_array":[{"photo_id":"1396342882","filename":"file5"},{"photo_id":"1396342834","filename":"file2"},{"photo_id":"1396342881","filename":"file4"},{"photo_id":"1396342827","filename":"file1"},{"photo_id":"1396342822","filename":"file0"},{"photo_id":"1396342880","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396342822":["hashtag1","hashtag2"]},{"1396342881":["hashtag1","hashtag2"]},{"1396342827":["hashtag1","hashtag2"]},{"1396342880":["hashtag1","hashtag2"]},{"1396342882":["hashtag1","hashtag2"]},{"1396342834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396342822, 1396342881, 1396342827, 1396342880, 1396342882, 1396342834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10883808135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:06:22.110138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/05/image_27112025_02_05_34_9694.jpg', '/home/pi/Desktop/images/27112025/02/05/image_27112025_02_06_05_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/05/image_27112025_02_05_34_9694.jpg
/home/pi/Desktop/images/27112025/02/05/image_27112025_02_06_05_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342896","1396342920"],"photo_ids_order":["1396342896","1396342920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d7423736b264bee93ae6944dd54a777.jpg","text":"TemporaryFile(/tmp/multipartBody7145772906694805215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205642701,"filename":"image_27112025_02_05_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cb10162dd72535e86d5ebb7e21fff40.jpg","text":"TemporaryFile(/tmp/multipartBody2006254339207160617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205642701,"filename":"image_27112025_02_06_05_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396342920","file0":"1396342896"},"map_files_photo_id_array":[{"photo_id":"1396342920","filename":"file1"},{"photo_id":"1396342896","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396342896":["hashtag1","hashtag2"]},{"1396342920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396342896, 1396342920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.49699568748474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:07:03.107908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_23_1558.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_25_1665.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_26_1580.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_29_2381.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_43_14628.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_47_3222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_23_1558.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_25_1665.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_26_1580.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_29_2381.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_43_14628.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_47_3222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342944","1396342938","1396342932","1396342940","1396342934","1396342948"],"photo_ids_order":["1396342932","1396342934","1396342938","1396342940","1396342944","1396342948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80eb2cef9d837f2b332e0e575b704292.jpg","text":"TemporaryFile(/tmp/multipartBody6317310176167860087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_43_14628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7235387336580ba4a0a264a820fb9f53.jpg","text":"TemporaryFile(/tmp/multipartBody7756410466450397867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_26_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/27/65568e8d83c39d57eb791968c79fa66f.jpg","text":"TemporaryFile(/tmp/multipartBody8986953881772920761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_23_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/27/8cdbaa76acc120ca921db728c5d7ce99.jpg","text":"TemporaryFile(/tmp/multipartBody8670383963155986430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_29_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/27/b4d2b593d0078b757dcd04c3e81d62d6.jpg","text":"TemporaryFile(/tmp/multipartBody9042935131991765321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_25_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/27/1040f4e3cb295ae86d32b135d5ea6e15.jpg","text":"TemporaryFile(/tmp/multipartBody3290498709578172872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205684391,"filename":"image_21112025_18_54_47_3222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396342938","file1":"1396342934","file0":"1396342932","file4":"1396342944","file5":"1396342948","file3":"1396342940"},"map_files_photo_id_array":[{"photo_id":"1396342948","filename":"file5"},{"photo_id":"1396342938","filename":"file2"},{"photo_id":"1396342944","filename":"file4"},{"photo_id":"1396342934","filename":"file1"},{"photo_id":"1396342932","filename":"file0"},{"photo_id":"1396342940","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396342944":["hashtag1","hashtag2"]},{"1396342938":["hashtag1","hashtag2"]},{"1396342932":["hashtag1","hashtag2"]},{"1396342940":["hashtag1","hashtag2"]},{"1396342934":["hashtag1","hashtag2"]},{"1396342948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396342944, 1396342938, 1396342932, 1396342940, 1396342934, 1396342948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85336947441101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:07:42.422880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/13/image_30102025_21_13_28_3583.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_30_2617.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_33_2693.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_36_3610.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_46_3779.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_48_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_28_3583.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_30_2617.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_33_2693.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_36_3610.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_46_3779.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_48_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":["1396342959","1396342961","1396342955","1396342958","1396342957","1396342960"],"photo_ids_order":["1396342955","1396342957","1396342958","1396342959","1396342960","1396342961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b926462b68d0ba6a1850b944494437be.jpg","text":"TemporaryFile(/tmp/multipartBody3503942968942465549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_36_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/27/64e3286b0cfc4c999c8dbcdfa5a48d15.jpg","text":"TemporaryFile(/tmp/multipartBody2185180323461646266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_48_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/27/4d9c32862b33eecd0febb419258588cc.jpg","text":"TemporaryFile(/tmp/multipartBody3245723374870083643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_28_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/27/29a96dc40da7115d2e29dae174ee8976.jpg","text":"TemporaryFile(/tmp/multipartBody7960942458052813555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_33_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/27/9827f568f7c5783dfced9489424f84be.jpg","text":"TemporaryFile(/tmp/multipartBody4155701601305645796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_30_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/27/dcaaa4a7b7e8b3c596ba92ac02770b28.jpg","text":"TemporaryFile(/tmp/multipartBody259917588296666058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205723672,"filename":"image_30102025_21_13_46_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396342958","file1":"1396342957","file0":"1396342955","file4":"1396342960","file5":"1396342961","file3":"1396342959"},"map_files_photo_id_array":[{"photo_id":"1396342961","filename":"file5"},{"photo_id":"1396342958","filename":"file2"},{"photo_id":"1396342960","filename":"file4"},{"photo_id":"1396342957","filename":"file1"},{"photo_id":"1396342955","filename":"file0"},{"photo_id":"1396342959","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396342959":["hashtag1","hashtag2"]},{"1396342961":["hashtag1","hashtag2"]},{"1396342955":["hashtag1","hashtag2"]},{"1396342958":["hashtag1","hashtag2"]},{"1396342957":["hashtag1","hashtag2"]},{"1396342960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396342959, 1396342961, 1396342955, 1396342958, 1396342957, 1396342960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26831245422363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:08:22.585658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/06/image_27112025_02_06_14_9696.jpg', '/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_24_9756.jpg', '/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_35_10645.jpg', '/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_44_9661.jpg', '/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_54_9664.jpg', '/home/pi/Desktop/images/27112025/02/08/image_27112025_02_08_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/06/image_27112025_02_06_14_9696.jpg
/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_24_9756.jpg
/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_35_10645.jpg
/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_44_9661.jpg
/home/pi/Desktop/images/27112025/02/07/image_27112025_02_07_54_9664.jpg
/home/pi/Desktop/images/27112025/02/08/image_27112025_02_08_34_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396342977","1396342979","1396342981","1396342975","1396342972","1396342969"],"photo_ids_order":["1396342969","1396342972","1396342975","1396342977","1396342979","1396342981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c61b3dcc2d8e22db2c11e11b9d52d992.jpg","text":"TemporaryFile(/tmp/multipartBody468476995296258220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_07_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2aa905f2b29e31c9b6fb327d58b24255.jpg","text":"TemporaryFile(/tmp/multipartBody5417029683477306442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_07_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b4673e7bee6780abf42837247a31d64.jpg","text":"TemporaryFile(/tmp/multipartBody3921451967764567270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_08_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71642363eaa4c18ed20108ca390ad710.jpg","text":"TemporaryFile(/tmp/multipartBody3629022988420993707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_07_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f7eb0764b7c70415486260eeda15153.jpg","text":"TemporaryFile(/tmp/multipartBody29323031211488718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_07_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5078b3dd5d545c98469bf9123bd29c28.jpg","text":"TemporaryFile(/tmp/multipartBody8603637268500466567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205763361,"filename":"image_27112025_02_06_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396342975","file1":"1396342972","file0":"1396342969","file4":"1396342979","file5":"1396342981","file3":"1396342977"},"map_files_photo_id_array":[{"photo_id":"1396342981","filename":"file5"},{"photo_id":"1396342975","filename":"file2"},{"photo_id":"1396342979","filename":"file4"},{"photo_id":"1396342972","filename":"file1"},{"photo_id":"1396342969","filename":"file0"},{"photo_id":"1396342977","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396342977":["hashtag1","hashtag2"]},{"1396342979":["hashtag1","hashtag2"]},{"1396342981":["hashtag1","hashtag2"]},{"1396342975":["hashtag1","hashtag2"]},{"1396342972":["hashtag1","hashtag2"]},{"1396342969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396342977, 1396342979, 1396342981, 1396342975, 1396342972, 1396342969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.683186054229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:09:03.593618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_48_1670.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_54_6217.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_56_1654.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_58_1509.jpg', '/home/pi/Desktop/images/21112025/18/54/image_21112025_18_55_00_2398.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_03_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_48_1670.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_54_6217.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_56_1654.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_54_58_1509.jpg
/home/pi/Desktop/images/21112025/18/54/image_21112025_18_55_00_2398.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_03_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343004","1396343009","1396343000","1396343006","1396343011","1396343002"],"photo_ids_order":["1396343000","1396343002","1396343004","1396343006","1396343009","1396343011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b97abf34d9216cffb33b54140a84681.jpg","text":"TemporaryFile(/tmp/multipartBody3387739322300110591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_54_56_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/27/34023bb460cf0c357aed7616618360a7.jpg","text":"TemporaryFile(/tmp/multipartBody6675108837914876236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_55_00_2398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d8d89ac98e10195dfa5451867a3b0af.jpg","text":"TemporaryFile(/tmp/multipartBody6474317367632347394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_54_48_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/27/fffb25becf43eeae5fe9f1fa34d8a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody706761057389931254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_54_58_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/27/fb409ce31cf186a90beaa0af89124ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2351232314719923018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_55_03_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/27/eb1d6317650bc358c701f4d96a7f50c9.jpg","text":"TemporaryFile(/tmp/multipartBody1420784556203754309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205805001,"filename":"image_21112025_18_54_54_6217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343004","file1":"1396343002","file0":"1396343000","file4":"1396343009","file5":"1396343011","file3":"1396343006"},"map_files_photo_id_array":[{"photo_id":"1396343011","filename":"file5"},{"photo_id":"1396343004","filename":"file2"},{"photo_id":"1396343009","filename":"file4"},{"photo_id":"1396343002","filename":"file1"},{"photo_id":"1396343000","filename":"file0"},{"photo_id":"1396343006","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343004":["hashtag1","hashtag2"]},{"1396343009":["hashtag1","hashtag2"]},{"1396343000":["hashtag1","hashtag2"]},{"1396343006":["hashtag1","hashtag2"]},{"1396343011":["hashtag1","hashtag2"]},{"1396343002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343004, 1396343009, 1396343000, 1396343006, 1396343011, 1396343002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83819651603699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:09:42.844541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/13/image_30102025_21_13_51_2705.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_55_3676.jpg', '/home/pi/Desktop/images/30102025/21/13/image_30102025_21_14_00_2656.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_07_3699.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_23_3048.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_24_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_51_2705.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_13_55_3676.jpg
/home/pi/Desktop/images/30102025/21/13/image_30102025_21_14_00_2656.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_07_3699.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_23_3048.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_24_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343031","1396343025","1396343027","1396343029","1396343020","1396343023"],"photo_ids_order":["1396343020","1396343023","1396343025","1396343027","1396343029","1396343031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1810457876924da563026b3e8b3309dc.jpg","text":"TemporaryFile(/tmp/multipartBody4566021149447114256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_14_24_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/27/dede73b38d8629822b743ff626e69c13.jpg","text":"TemporaryFile(/tmp/multipartBody3299287014218032644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_14_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/27/a6283ef20ba9669f65aa4a516641e38d.jpg","text":"TemporaryFile(/tmp/multipartBody3029354856745545118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_14_07_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/27/7c7df41cd25e6ff6e063e1dd2334588d.jpg","text":"TemporaryFile(/tmp/multipartBody6369735707074882610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_14_23_3048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33679243cd41d1a84c92e87dfc1e7c91.jpg","text":"TemporaryFile(/tmp/multipartBody5218680720497897631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_13_51_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/27/c23ad1fd7eb82c3a6943a409d63e2643.jpg","text":"TemporaryFile(/tmp/multipartBody4935106971811984901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205844129,"filename":"image_30102025_21_13_55_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343025","file1":"1396343023","file0":"1396343020","file4":"1396343029","file5":"1396343031","file3":"1396343027"},"map_files_photo_id_array":[{"photo_id":"1396343031","filename":"file5"},{"photo_id":"1396343025","filename":"file2"},{"photo_id":"1396343029","filename":"file4"},{"photo_id":"1396343023","filename":"file1"},{"photo_id":"1396343020","filename":"file0"},{"photo_id":"1396343027","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343031":["hashtag1","hashtag2"]},{"1396343025":["hashtag1","hashtag2"]},{"1396343027":["hashtag1","hashtag2"]},{"1396343029":["hashtag1","hashtag2"]},{"1396343020":["hashtag1","hashtag2"]},{"1396343023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343031, 1396343025, 1396343027, 1396343029, 1396343020, 1396343023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.23282313346863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:10:31.988557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_05_1952.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_06_1576.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_08_1506.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_09_1633.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_11_1804.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_15_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_05_1952.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_06_1576.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_08_1506.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_09_1633.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_11_1804.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_15_1646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7782678604125977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:10:42.000003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/14/image_30102025_21_14_26_2096.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_30_1712.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_32_1856.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_33_1528.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_36_2603.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_39_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_26_2096.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_30_1712.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_32_1856.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_33_1528.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_36_2603.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_39_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343061","1396343064","1396343063","1396343057","1396343062","1396343059"],"photo_ids_order":["1396343057","1396343059","1396343061","1396343062","1396343063","1396343064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b200cd01c58dae8e0f888c07335d6ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4071104501451756107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_32_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f77f8a3281b0d96378195dae17aea523.jpg","text":"TemporaryFile(/tmp/multipartBody1720524126070809409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_39_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/27/55c0f09e13ae3eb072287b3bb9737959.jpg","text":"TemporaryFile(/tmp/multipartBody1683763366310118793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_36_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/27/8e0280d450159ec0260f27423c5c5a61.jpg","text":"TemporaryFile(/tmp/multipartBody3136619122331473912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_26_2096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4701b1780c548a4f3c336fc49621adae.jpg","text":"TemporaryFile(/tmp/multipartBody4973910317573329156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_33_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ebb5ed962028052dd9c37734611696a.jpg","text":"TemporaryFile(/tmp/multipartBody7290960844234412606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205903266,"filename":"image_30102025_21_14_30_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343061","file1":"1396343059","file0":"1396343057","file4":"1396343063","file5":"1396343064","file3":"1396343062"},"map_files_photo_id_array":[{"photo_id":"1396343064","filename":"file5"},{"photo_id":"1396343061","filename":"file2"},{"photo_id":"1396343063","filename":"file4"},{"photo_id":"1396343059","filename":"file1"},{"photo_id":"1396343057","filename":"file0"},{"photo_id":"1396343062","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343061":["hashtag1","hashtag2"]},{"1396343064":["hashtag1","hashtag2"]},{"1396343063":["hashtag1","hashtag2"]},{"1396343057":["hashtag1","hashtag2"]},{"1396343062":["hashtag1","hashtag2"]},{"1396343059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343061, 1396343064, 1396343063, 1396343057, 1396343062, 1396343059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60074496269226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:11:22.157727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/08/image_27112025_02_08_55_10653.jpg', '/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_24_9785.jpg', '/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_35_10591.jpg', '/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_54_10003.jpg', '/home/pi/Desktop/images/27112025/02/09/image_27112025_02_10_04_9729.jpg', '/home/pi/Desktop/images/27112025/02/10/image_27112025_02_10_15_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/08/image_27112025_02_08_55_10653.jpg
/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_24_9785.jpg
/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_35_10591.jpg
/home/pi/Desktop/images/27112025/02/09/image_27112025_02_09_54_10003.jpg
/home/pi/Desktop/images/27112025/02/09/image_27112025_02_10_04_9729.jpg
/home/pi/Desktop/images/27112025/02/10/image_27112025_02_10_15_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343081","1396343078","1396343075","1396343083","1396343071","1396343085"],"photo_ids_order":["1396343071","1396343075","1396343078","1396343081","1396343083","1396343085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35f6a6c6476b6ad208f5651b65b544f4.jpg","text":"TemporaryFile(/tmp/multipartBody1905007723253936170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_09_54_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbe75b04d8cbbaf0cfd1862961c3b63b.jpg","text":"TemporaryFile(/tmp/multipartBody5793196538045196327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_09_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0866064058a286dfc81d4f5de1ec78a7.jpg","text":"TemporaryFile(/tmp/multipartBody8136361235906832083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_09_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/822d108030ef8706fc4351bd412d5677.jpg","text":"TemporaryFile(/tmp/multipartBody7533732584733230557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_10_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80cc3cc56448afe16da72156482399c3.jpg","text":"TemporaryFile(/tmp/multipartBody1404927915376275360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_08_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/401ea0c26fcd4924c0f24e0f40d14de8.jpg","text":"TemporaryFile(/tmp/multipartBody711367791752282357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205942948,"filename":"image_27112025_02_10_15_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343078","file1":"1396343075","file0":"1396343071","file4":"1396343083","file5":"1396343085","file3":"1396343081"},"map_files_photo_id_array":[{"photo_id":"1396343085","filename":"file5"},{"photo_id":"1396343078","filename":"file2"},{"photo_id":"1396343083","filename":"file4"},{"photo_id":"1396343075","filename":"file1"},{"photo_id":"1396343071","filename":"file0"},{"photo_id":"1396343081","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343081":["hashtag1","hashtag2"]},{"1396343078":["hashtag1","hashtag2"]},{"1396343075":["hashtag1","hashtag2"]},{"1396343083":["hashtag1","hashtag2"]},{"1396343071":["hashtag1","hashtag2"]},{"1396343085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343081, 1396343078, 1396343075, 1396343083, 1396343071, 1396343085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60415291786194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:12:02.804161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/10/image_27112025_02_10_24_9635.jpg', '/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_15_10667.jpg', '/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_25_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/10/image_27112025_02_10_24_9635.jpg
/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_15_10667.jpg
/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_25_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343087","1396343089","1396343086"],"photo_ids_order":["1396343086","1396343087","1396343089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7e4e99e49b1a00c117441f61471fa22.jpg","text":"TemporaryFile(/tmp/multipartBody6283526064327439261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205983452,"filename":"image_27112025_02_11_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/707d9b75dad0aae5b8d56d3a7ce9a895.jpg","text":"TemporaryFile(/tmp/multipartBody2254186389052868271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205983452,"filename":"image_27112025_02_11_25_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/019b9563483a1f20943b16b75160486b.jpg","text":"TemporaryFile(/tmp/multipartBody3985440453701852863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764205983452,"filename":"image_27112025_02_10_24_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343089","file1":"1396343087","file0":"1396343086"},"map_files_photo_id_array":[{"photo_id":"1396343089","filename":"file2"},{"photo_id":"1396343087","filename":"file1"},{"photo_id":"1396343086","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343087":["hashtag1","hashtag2"]},{"1396343089":["hashtag1","hashtag2"]},{"1396343086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343087, 1396343089, 1396343086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.46975350379944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:12:32.311557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_05_1952.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_06_1576.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_08_1506.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_09_1633.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_11_1804.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_15_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_05_1952.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_06_1576.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_08_1506.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_09_1633.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_11_1804.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_15_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343115","1396343127","1396343126","1396343120","1396343125","1396343101"],"photo_ids_order":["1396343101","1396343115","1396343120","1396343125","1396343126","1396343127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/317bbf2cfd5bcc8ed63d8931df18920d.jpg","text":"TemporaryFile(/tmp/multipartBody3074852471241545431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_06_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/27/316a25bd99cc772576333a5cb8b7beb4.jpg","text":"TemporaryFile(/tmp/multipartBody4165114678697990111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_15_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/27/930d55a14948dd908848b8df43681e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2486269489138654704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_11_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/27/b899d72f97a2f22c0b7ff575ae93c13a.jpg","text":"TemporaryFile(/tmp/multipartBody2120539976243546232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_08_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/27/133eb1db1a7a9905b79b309abf2d9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7356439696815742735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_09_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/27/d697c523c68a4912a62f6e198e30fb8d.jpg","text":"TemporaryFile(/tmp/multipartBody2243123021825326994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206014036,"filename":"image_21112025_18_55_05_1952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343120","file1":"1396343115","file0":"1396343101","file4":"1396343126","file5":"1396343127","file3":"1396343125"},"map_files_photo_id_array":[{"photo_id":"1396343127","filename":"file5"},{"photo_id":"1396343120","filename":"file2"},{"photo_id":"1396343126","filename":"file4"},{"photo_id":"1396343115","filename":"file1"},{"photo_id":"1396343101","filename":"file0"},{"photo_id":"1396343125","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343115":["hashtag1","hashtag2"]},{"1396343127":["hashtag1","hashtag2"]},{"1396343126":["hashtag1","hashtag2"]},{"1396343120":["hashtag1","hashtag2"]},{"1396343125":["hashtag1","hashtag2"]},{"1396343101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343115, 1396343127, 1396343126, 1396343120, 1396343125, 1396343101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.911646604537964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:13:12.464791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_16_1611.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_18_1601.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_19_1597.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_21_1479.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_51_1679.jpg', '/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_52_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_16_1611.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_18_1601.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_19_1597.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_21_1479.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_51_1679.jpg
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_52_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343166","1396343160","1396343154","1396343157","1396343155","1396343164"],"photo_ids_order":["1396343154","1396343155","1396343157","1396343160","1396343164","1396343166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffdfaabcd8a10bfbfdb8786d77b1fd16.jpg","text":"TemporaryFile(/tmp/multipartBody1797521342852326547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_52_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/27/168c7ea1cdc1fa0208a67126d1289eea.jpg","text":"TemporaryFile(/tmp/multipartBody8495642465904469622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_21_1479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c720465a2add0a7dcbc42f91255a7bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5527842307176037542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_16_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/27/dd4c2a14a81b1a95d7ff28b43170829a.jpg","text":"TemporaryFile(/tmp/multipartBody3472958408285330541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_19_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/27/f1fe21c462f7d8361542ffd8c2e769d9.jpg","text":"TemporaryFile(/tmp/multipartBody5617414144074302868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_18_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/27/7a0a7ea5a5d04f482fd04628b1a741af.jpg","text":"TemporaryFile(/tmp/multipartBody5408683382503278181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206054228,"filename":"image_21112025_18_55_51_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343157","file1":"1396343155","file0":"1396343154","file4":"1396343164","file5":"1396343166","file3":"1396343160"},"map_files_photo_id_array":[{"photo_id":"1396343166","filename":"file5"},{"photo_id":"1396343157","filename":"file2"},{"photo_id":"1396343164","filename":"file4"},{"photo_id":"1396343155","filename":"file1"},{"photo_id":"1396343154","filename":"file0"},{"photo_id":"1396343160","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343166":["hashtag1","hashtag2"]},{"1396343160":["hashtag1","hashtag2"]},{"1396343154":["hashtag1","hashtag2"]},{"1396343157":["hashtag1","hashtag2"]},{"1396343155":["hashtag1","hashtag2"]},{"1396343164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343166, 1396343160, 1396343154, 1396343157, 1396343155, 1396343164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83524703979492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:14:03.325898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_34_9632.jpg', '/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_34_9632.jpg
/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_14_9687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6302223205566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:14:12.630053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_54_1493.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_05_11702.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_08_2340.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_09_1653.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_11_1569.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_16_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/55/image_21112025_18_55_54_1493.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_05_11702.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_08_2340.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_09_1653.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_11_1569.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_16_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343193","1396343187","1396343175","1396343180","1396343183","1396343190"],"photo_ids_order":["1396343175","1396343180","1396343183","1396343187","1396343190","1396343193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a74a15ff1afe736782109f42fd4c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody2457040449083879046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_56_16_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/27/4d3fc82aa77d641e833f97a37bae2dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2336644778652407048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_56_09_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/27/a514cd3aa336d2fcf9bf75bbf151d111.jpg","text":"TemporaryFile(/tmp/multipartBody3599755907839783165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_55_54_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/27/08f80c7a683db3830ff2570989a8c847.jpg","text":"TemporaryFile(/tmp/multipartBody839052263482164129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_56_05_11702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd583983c98e1e7c8e236526812d900e.jpg","text":"TemporaryFile(/tmp/multipartBody9092594661480799953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_56_08_2340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d80f11fbe24013dc2021c6e2e201ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4357619773071884873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206114373,"filename":"image_21112025_18_56_11_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343183","file1":"1396343180","file0":"1396343175","file4":"1396343190","file5":"1396343193","file3":"1396343187"},"map_files_photo_id_array":[{"photo_id":"1396343193","filename":"file5"},{"photo_id":"1396343183","filename":"file2"},{"photo_id":"1396343190","filename":"file4"},{"photo_id":"1396343180","filename":"file1"},{"photo_id":"1396343175","filename":"file0"},{"photo_id":"1396343187","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343193":["hashtag1","hashtag2"]},{"1396343187":["hashtag1","hashtag2"]},{"1396343175":["hashtag1","hashtag2"]},{"1396343180":["hashtag1","hashtag2"]},{"1396343183":["hashtag1","hashtag2"]},{"1396343190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343193, 1396343187, 1396343175, 1396343180, 1396343183, 1396343190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05514717102051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:15:03.489364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_34_9632.jpg', '/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_14_9687.jpg', '/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_24_9760.jpg', '/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_34_9559.jpg', '/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_44_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/11/image_27112025_02_11_34_9632.jpg
/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_14_9687.jpg
/home/pi/Desktop/images/27112025/02/12/image_27112025_02_12_24_9760.jpg
/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_34_9559.jpg
/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_44_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343203","1396343211","1396343205","1396343207","1396343209"],"photo_ids_order":["1396343203","1396343205","1396343207","1396343209","1396343211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8771b4a5f09fe622d6b97cf8bef581a8.jpg","text":"TemporaryFile(/tmp/multipartBody4233212662889982915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206164291,"filename":"image_27112025_02_11_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbb676c859f1a8402c83aa2e00226a59.jpg","text":"TemporaryFile(/tmp/multipartBody3903504360897240558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206164291,"filename":"image_27112025_02_14_44_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23882e280edefc886134743c4df5c46a.jpg","text":"TemporaryFile(/tmp/multipartBody2928174566983479289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206164291,"filename":"image_27112025_02_12_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/235c5b38c741170a0bc5e04e36a348ac.jpg","text":"TemporaryFile(/tmp/multipartBody6425508853734468940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206164291,"filename":"image_27112025_02_12_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d059d68c0a63c30fd04ac4bb54572bf.jpg","text":"TemporaryFile(/tmp/multipartBody6591990443857861197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206164291,"filename":"image_27112025_02_14_34_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343207","file1":"1396343205","file0":"1396343203","file4":"1396343211","file3":"1396343209"},"map_files_photo_id_array":[{"photo_id":"1396343207","filename":"file2"},{"photo_id":"1396343211","filename":"file4"},{"photo_id":"1396343205","filename":"file1"},{"photo_id":"1396343203","filename":"file0"},{"photo_id":"1396343209","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343203":["hashtag1","hashtag2"]},{"1396343211":["hashtag1","hashtag2"]},{"1396343205":["hashtag1","hashtag2"]},{"1396343207":["hashtag1","hashtag2"]},{"1396343209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343203, 1396343211, 1396343205, 1396343207, 1396343209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.163299083709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:15:42.856749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/14/image_30102025_21_14_46_3653.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_54_3653.jpg', '/home/pi/Desktop/images/30102025/21/14/image_30102025_21_15_00_2535.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_04_3882.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_06_2668.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_15_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_46_3653.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_14_54_3653.jpg
/home/pi/Desktop/images/30102025/21/14/image_30102025_21_15_00_2535.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_04_3882.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_06_2668.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_15_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343223","1396343226","1396343225","1396343224","1396343227","1396343221"],"photo_ids_order":["1396343221","1396343223","1396343224","1396343225","1396343226","1396343227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7684689ec71e97274bc01078ad6aa46e.jpg","text":"TemporaryFile(/tmp/multipartBody5683081816321099014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_14_54_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/27/a7c0a40ce7c2b521d21a2114d6d3a35b.jpg","text":"TemporaryFile(/tmp/multipartBody8558548333562449075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_15_06_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/27/f417f7a6b07eb080c172a315571630e4.jpg","text":"TemporaryFile(/tmp/multipartBody8166148815576569737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_15_04_3882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44b381319c3eab29bca80af285c832e5.jpg","text":"TemporaryFile(/tmp/multipartBody5346045961418969062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_15_00_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/27/dd886fe80c4ee93954898e0b81f8640d.jpg","text":"TemporaryFile(/tmp/multipartBody9135925511783470626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_15_15_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/27/eaec97b8c518a38d04f123f8eb6cdcc8.jpg","text":"TemporaryFile(/tmp/multipartBody537533322964489770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206204108,"filename":"image_30102025_21_14_46_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343224","file1":"1396343223","file0":"1396343221","file4":"1396343226","file5":"1396343227","file3":"1396343225"},"map_files_photo_id_array":[{"photo_id":"1396343227","filename":"file5"},{"photo_id":"1396343224","filename":"file2"},{"photo_id":"1396343226","filename":"file4"},{"photo_id":"1396343223","filename":"file1"},{"photo_id":"1396343221","filename":"file0"},{"photo_id":"1396343225","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343223":["hashtag1","hashtag2"]},{"1396343226":["hashtag1","hashtag2"]},{"1396343225":["hashtag1","hashtag2"]},{"1396343224":["hashtag1","hashtag2"]},{"1396343227":["hashtag1","hashtag2"]},{"1396343221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343223, 1396343226, 1396343225, 1396343224, 1396343227, 1396343221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.416974782943726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:16:22.082087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_55_10815.jpg', '/home/pi/Desktop/images/27112025/02/14/image_27112025_02_15_04_9683.jpg', '/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_25_10757.jpg', '/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_34_9556.jpg', '/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/14/image_27112025_02_14_55_10815.jpg
/home/pi/Desktop/images/27112025/02/14/image_27112025_02_15_04_9683.jpg
/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_25_10757.jpg
/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_34_9556.jpg
/home/pi/Desktop/images/27112025/02/15/image_27112025_02_15_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343241","1396343235","1396343246","1396343248","1396343245"],"photo_ids_order":["1396343235","1396343241","1396343245","1396343246","1396343248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e95abcac791d17d17541c4111acc994c.jpg","text":"TemporaryFile(/tmp/multipartBody2119747223811542752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206242809,"filename":"image_27112025_02_15_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2829dd247a37492efa7389dbc625c39.jpg","text":"TemporaryFile(/tmp/multipartBody8802238344253966304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206242809,"filename":"image_27112025_02_14_55_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ecef483ad676943516d624163ae2a23.jpg","text":"TemporaryFile(/tmp/multipartBody6704951053584040172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206242809,"filename":"image_27112025_02_15_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb220f9fdaf12ce1acc1eea15391f226.jpg","text":"TemporaryFile(/tmp/multipartBody5505085638892593078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206242809,"filename":"image_27112025_02_15_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77f6c0a00018e66b73144457d2fa51e8.jpg","text":"TemporaryFile(/tmp/multipartBody2573896305438722356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206242809,"filename":"image_27112025_02_15_25_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343245","file1":"1396343241","file0":"1396343235","file4":"1396343248","file3":"1396343246"},"map_files_photo_id_array":[{"photo_id":"1396343245","filename":"file2"},{"photo_id":"1396343248","filename":"file4"},{"photo_id":"1396343241","filename":"file1"},{"photo_id":"1396343235","filename":"file0"},{"photo_id":"1396343246","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343241":["hashtag1","hashtag2"]},{"1396343235":["hashtag1","hashtag2"]},{"1396343246":["hashtag1","hashtag2"]},{"1396343248":["hashtag1","hashtag2"]},{"1396343245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343241, 1396343235, 1396343246, 1396343248, 1396343245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.31684923171997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:17:02.897229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_17_1607.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_19_1627.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_22_1719.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_24_1626.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_26_1680.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_27_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_17_1607.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_19_1627.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_22_1719.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_24_1626.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_26_1680.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_27_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343265","1396343253","1396343261","1396343255","1396343257","1396343251"],"photo_ids_order":["1396343251","1396343253","1396343255","1396343257","1396343261","1396343265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0f88a6c0e2407450d53e02f7c5d6569.jpg","text":"TemporaryFile(/tmp/multipartBody3576475082110395839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_27_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/27/85ef0647dbd9dbdbea4e14dca20bd91b.jpg","text":"TemporaryFile(/tmp/multipartBody8825860903738574927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_19_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/27/cacc74ba4e9dfc7d7b897f2f76074664.jpg","text":"TemporaryFile(/tmp/multipartBody6390751155704863786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_26_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/27/4a779a02fd1a4e322dc1886b88c27aad.jpg","text":"TemporaryFile(/tmp/multipartBody2058775837626253592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_22_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/27/17eb721ea3e334f9db5cdf7470b65f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4895171259031684868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_24_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/27/a9d918251270b74c82a273354342b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody7268105847992324724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206284210,"filename":"image_21112025_18_56_17_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343255","file1":"1396343253","file0":"1396343251","file4":"1396343261","file5":"1396343265","file3":"1396343257"},"map_files_photo_id_array":[{"photo_id":"1396343265","filename":"file5"},{"photo_id":"1396343255","filename":"file2"},{"photo_id":"1396343261","filename":"file4"},{"photo_id":"1396343253","filename":"file1"},{"photo_id":"1396343251","filename":"file0"},{"photo_id":"1396343257","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343265":["hashtag1","hashtag2"]},{"1396343253":["hashtag1","hashtag2"]},{"1396343261":["hashtag1","hashtag2"]},{"1396343255":["hashtag1","hashtag2"]},{"1396343257":["hashtag1","hashtag2"]},{"1396343251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343265, 1396343253, 1396343261, 1396343255, 1396343257, 1396343251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.666114807128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:17:42.221246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/15/image_30102025_21_15_18_2701.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_22_3724.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_24_2746.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_27_2770.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_31_3522.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_45_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/21/15/image_30102025_21_15_18_2701.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_22_3724.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_24_2746.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_27_2770.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_31_3522.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_45_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":["1396343276","1396343279","1396343273","1396343275","1396343278","1396343277"],"photo_ids_order":["1396343273","1396343275","1396343276","1396343277","1396343278","1396343279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85ab71a31052f0804bf982eb349738b9.jpg","text":"TemporaryFile(/tmp/multipartBody870266444412512566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_24_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/27/2f2f4d37b348a8eb4a1fc1452bcd7495.jpg","text":"TemporaryFile(/tmp/multipartBody7707200116196697552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_45_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/27/7d88f7458b5b129ef6eaf304b8e5b744.jpg","text":"TemporaryFile(/tmp/multipartBody4873505132506825818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_18_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/27/5ed4c49444f1924c6aa0cd8d0ab2d1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3828076159581353839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_22_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/27/186a67212ea19c9122daa0e92e3d1e04.jpg","text":"TemporaryFile(/tmp/multipartBody2972697485966735082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_31_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/27/a938cf634f45745d53b95328bb8a1e67.jpg","text":"TemporaryFile(/tmp/multipartBody8854283267077795541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206323504,"filename":"image_30102025_21_15_27_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343276","file1":"1396343275","file0":"1396343273","file4":"1396343278","file5":"1396343279","file3":"1396343277"},"map_files_photo_id_array":[{"photo_id":"1396343279","filename":"file5"},{"photo_id":"1396343276","filename":"file2"},{"photo_id":"1396343278","filename":"file4"},{"photo_id":"1396343275","filename":"file1"},{"photo_id":"1396343273","filename":"file0"},{"photo_id":"1396343277","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343276":["hashtag1","hashtag2"]},{"1396343279":["hashtag1","hashtag2"]},{"1396343273":["hashtag1","hashtag2"]},{"1396343275":["hashtag1","hashtag2"]},{"1396343278":["hashtag1","hashtag2"]},{"1396343277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343276, 1396343279, 1396343273, 1396343275, 1396343278, 1396343277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21243691444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:18:22.373202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/16/image_27112025_02_16_14_9833.jpg', '/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_15_10642.jpg', '/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_24_9742.jpg', '/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_34_9755.jpg', '/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_55_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/16/image_27112025_02_16_14_9833.jpg
/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_15_10642.jpg
/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_24_9742.jpg
/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_34_9755.jpg
/home/pi/Desktop/images/27112025/02/17/image_27112025_02_17_55_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343292","1396343286","1396343289","1396343294","1396343296"],"photo_ids_order":["1396343286","1396343289","1396343292","1396343294","1396343296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccb26e09d42388822677eb3e8fa455b5.jpg","text":"TemporaryFile(/tmp/multipartBody3904473615157456839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206363099,"filename":"image_27112025_02_17_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06ccc022fb6170653d4995df3e0287c0.jpg","text":"TemporaryFile(/tmp/multipartBody8584950226507428918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206363099,"filename":"image_27112025_02_16_14_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1fad4826b8650292f914b92f89337050.jpg","text":"TemporaryFile(/tmp/multipartBody9145852711804886062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206363099,"filename":"image_27112025_02_17_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/583c92dd472af46c1d0778cd587b101b.jpg","text":"TemporaryFile(/tmp/multipartBody2151419457504224419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206363099,"filename":"image_27112025_02_17_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fb738c159798da022cf6b9b7322e192.jpg","text":"TemporaryFile(/tmp/multipartBody341246457071632498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206363099,"filename":"image_27112025_02_17_55_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343292","file1":"1396343289","file0":"1396343286","file4":"1396343296","file3":"1396343294"},"map_files_photo_id_array":[{"photo_id":"1396343292","filename":"file2"},{"photo_id":"1396343296","filename":"file4"},{"photo_id":"1396343289","filename":"file1"},{"photo_id":"1396343286","filename":"file0"},{"photo_id":"1396343294","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343292":["hashtag1","hashtag2"]},{"1396343286":["hashtag1","hashtag2"]},{"1396343289":["hashtag1","hashtag2"]},{"1396343294":["hashtag1","hashtag2"]},{"1396343296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343292, 1396343286, 1396343289, 1396343294, 1396343296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.746158361434937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:19:03.590700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_30_2592.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_32_1701.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_34_2276.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_36_1885.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_38_1897.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_39_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_30_2592.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_32_1701.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_34_2276.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_36_1885.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_38_1897.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_39_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343313","1396343316","1396343324","1396343309","1396343311","1396343320"],"photo_ids_order":["1396343309","1396343311","1396343313","1396343316","1396343320","1396343324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc6ce2335a83b2e7bb0b38d1c1b6eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4114857839876450764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_34_2276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f17988543effc1d65e6b188e7acf219.jpg","text":"TemporaryFile(/tmp/multipartBody464929069321765307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_36_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/27/6a84eebb9b2b57d851c10f51bc363f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4420472875044720471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_39_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/27/04d5fc4b9437c2c13b9bc9738551227f.jpg","text":"TemporaryFile(/tmp/multipartBody2913580964397257090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_30_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/27/6d5771f08c4cca0c77c8695da76cd97d.jpg","text":"TemporaryFile(/tmp/multipartBody5351182462516806247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_32_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/27/f94f1b13500c3705a8348203f149d7a2.jpg","text":"TemporaryFile(/tmp/multipartBody6904918700801904320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206408148,"filename":"image_21112025_18_56_38_1897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343313","file1":"1396343311","file0":"1396343309","file4":"1396343320","file5":"1396343324","file3":"1396343316"},"map_files_photo_id_array":[{"photo_id":"1396343324","filename":"file5"},{"photo_id":"1396343313","filename":"file2"},{"photo_id":"1396343320","filename":"file4"},{"photo_id":"1396343311","filename":"file1"},{"photo_id":"1396343309","filename":"file0"},{"photo_id":"1396343316","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343313":["hashtag1","hashtag2"]},{"1396343316":["hashtag1","hashtag2"]},{"1396343324":["hashtag1","hashtag2"]},{"1396343309":["hashtag1","hashtag2"]},{"1396343311":["hashtag1","hashtag2"]},{"1396343320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343313, 1396343316, 1396343324, 1396343309, 1396343311, 1396343320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68336868286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:20:03.180558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/18/image_27112025_02_18_54_9738.jpg', '/home/pi/Desktop/images/27112025/02/18/image_27112025_02_19_05_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/18/image_27112025_02_18_54_9738.jpg
/home/pi/Desktop/images/27112025/02/18/image_27112025_02_19_05_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343331","1396343332"],"photo_ids_order":["1396343331","1396343332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f9f02664df27ac2272b54ed94f2b8b6.jpg","text":"TemporaryFile(/tmp/multipartBody1636493636899594130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206463782,"filename":"image_27112025_02_18_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d5758ba59d80bb7c698af66b98a379d.jpg","text":"TemporaryFile(/tmp/multipartBody803510227176864810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206463782,"filename":"image_27112025_02_19_05_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396343332","file0":"1396343331"},"map_files_photo_id_array":[{"photo_id":"1396343332","filename":"file1"},{"photo_id":"1396343331","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343331":["hashtag1","hashtag2"]},{"1396343332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343331, 1396343332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.307772397994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:20:22.729522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/19/image_27112025_02_19_24_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/19/image_27112025_02_19_24_9767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343345"],"photo_id":"1396343345","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50a889dc42008f71735bfc10a0059517.jpg","text":"TemporaryFile(/tmp/multipartBody625193692186768564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206488214,"filename":"image_27112025_02_19_24_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396343345"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396343345"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 21.013990879058838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:21:02.791951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_41_1515.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_43_1586.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_44_1676.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_46_1704.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_48_1598.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_51_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_41_1515.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_43_1586.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_44_1676.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_46_1704.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_48_1598.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_51_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343379","1396343370","1396343358","1396343381","1396343384","1396343389"],"photo_ids_order":["1396343358","1396343370","1396343379","1396343381","1396343384","1396343389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7c7a788a7a525ee509e8dd925885ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2029767882517949722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_44_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/27/e9852c03f397317e705f5f919548c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody4418310743499374933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_43_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/356ff2d57a7fb44351b6aa8446c85d03.jpg","text":"TemporaryFile(/tmp/multipartBody6243377014475850505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_41_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81edc72b793af4eee79673af73d62d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5109454631676883399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_46_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/125fde45900a3cbf9fa43f406874421e.jpg","text":"TemporaryFile(/tmp/multipartBody6467703911035391091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_48_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/27/164167688b3311920f630526f64cea63.jpg","text":"TemporaryFile(/tmp/multipartBody4475013148734995727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206524118,"filename":"image_21112025_18_56_51_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343379","file1":"1396343370","file0":"1396343358","file4":"1396343384","file5":"1396343389","file3":"1396343381"},"map_files_photo_id_array":[{"photo_id":"1396343389","filename":"file5"},{"photo_id":"1396343379","filename":"file2"},{"photo_id":"1396343384","filename":"file4"},{"photo_id":"1396343370","filename":"file1"},{"photo_id":"1396343358","filename":"file0"},{"photo_id":"1396343381","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343379":["hashtag1","hashtag2"]},{"1396343370":["hashtag1","hashtag2"]},{"1396343358":["hashtag1","hashtag2"]},{"1396343381":["hashtag1","hashtag2"]},{"1396343384":["hashtag1","hashtag2"]},{"1396343389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343379, 1396343370, 1396343358, 1396343381, 1396343384, 1396343389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18122100830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:21:42.123963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/15/image_30102025_21_15_48_3125.jpg', '/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_51_2523.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_25_9791.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_29_1730.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_30_1652.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_33_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_48_3125.jpg
/home/pi/Desktop/images/30102025/21/15/image_30102025_21_15_51_2523.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_25_9791.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_29_1730.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_30_1652.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_33_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343400","1396343399","1396343398","1396343395","1396343401","1396343397"],"photo_ids_order":["1396343395","1396343397","1396343398","1396343399","1396343400","1396343401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f42996d9431b35bf77ee3194bb3373c.jpg","text":"TemporaryFile(/tmp/multipartBody324229266111601278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_16_30_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/27/5d7deb4abc8085195c71ecb7da5c4b58.jpg","text":"TemporaryFile(/tmp/multipartBody5440674552068917972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_16_29_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/27/e5910275986f3f4645aaa1092a1b3770.jpg","text":"TemporaryFile(/tmp/multipartBody5729105581566951428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_16_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12972de9c917ac4ffe1bbfe318bd924a.jpg","text":"TemporaryFile(/tmp/multipartBody8796434139109969924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_15_48_3125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c24646dec76cf1350c5f35f074b51e6.jpg","text":"TemporaryFile(/tmp/multipartBody3613090001940131987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_16_33_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/27/e7b39fed846b37357cbbe9bfddfddd6f.jpg","text":"TemporaryFile(/tmp/multipartBody9012267809307087160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206563307,"filename":"image_30102025_21_15_51_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343398","file1":"1396343397","file0":"1396343395","file4":"1396343400","file5":"1396343401","file3":"1396343399"},"map_files_photo_id_array":[{"photo_id":"1396343401","filename":"file5"},{"photo_id":"1396343398","filename":"file2"},{"photo_id":"1396343400","filename":"file4"},{"photo_id":"1396343397","filename":"file1"},{"photo_id":"1396343395","filename":"file0"},{"photo_id":"1396343399","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343400":["hashtag1","hashtag2"]},{"1396343399":["hashtag1","hashtag2"]},{"1396343398":["hashtag1","hashtag2"]},{"1396343395":["hashtag1","hashtag2"]},{"1396343401":["hashtag1","hashtag2"]},{"1396343397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343400, 1396343399, 1396343398, 1396343395, 1396343401, 1396343397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41085243225098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:22:24.247111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/20/image_27112025_02_20_25_10608.jpg', '/home/pi/Desktop/images/27112025/02/22/image_27112025_02_22_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/20/image_27112025_02_20_25_10608.jpg
/home/pi/Desktop/images/27112025/02/22/image_27112025_02_22_35_10606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343414","1396343410"],"photo_ids_order":["1396343410","1396343414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64895cea33794866ac2e457b017dc89d.jpg","text":"TemporaryFile(/tmp/multipartBody7051240941345536017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206604809,"filename":"image_27112025_02_22_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3f70b78bab54e0fc74ecadf693cd4f3.jpg","text":"TemporaryFile(/tmp/multipartBody2415916626768715478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206604809,"filename":"image_27112025_02_20_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396343414","file0":"1396343410"},"map_files_photo_id_array":[{"photo_id":"1396343414","filename":"file1"},{"photo_id":"1396343410","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343414":["hashtag1","hashtag2"]},{"1396343410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343414, 1396343410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.064581871032715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:22:44.179076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/16/image_30102025_21_16_36_2618.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_39_2594.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_42_3779.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_51_3615.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_54_2740.jpg', '/home/pi/Desktop/images/30102025/21/16/image_30102025_21_17_00_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_36_2618.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_39_2594.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_42_3779.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_51_3615.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_16_54_2740.jpg
/home/pi/Desktop/images/30102025/21/16/image_30102025_21_17_00_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343427","1396343424","1396343426","1396343428","1396343422","1396343425"],"photo_ids_order":["1396343422","1396343424","1396343425","1396343426","1396343427","1396343428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8b31c170f9d82bc4120f829cf2212b7.jpg","text":"TemporaryFile(/tmp/multipartBody8603134815258799553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_16_54_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/27/0ad2a80c19f5e61b0d4fcdae7f2bdf4a.jpg","text":"TemporaryFile(/tmp/multipartBody1043695872440837717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_16_39_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/27/97de1866ad15e98a507bf25293d27a68.jpg","text":"TemporaryFile(/tmp/multipartBody5771076170997590764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_16_51_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/27/7da594a1eb14f3b32e2df92b911f9e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1171124294812729754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_17_00_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/27/3551017b839824c431489d8d81501162.jpg","text":"TemporaryFile(/tmp/multipartBody2434274881165080628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_16_36_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/27/b6b6dd51698762619edade1585dff57e.jpg","text":"TemporaryFile(/tmp/multipartBody2937002619401208292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206625426,"filename":"image_30102025_21_16_42_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343425","file1":"1396343424","file0":"1396343422","file4":"1396343427","file5":"1396343428","file3":"1396343426"},"map_files_photo_id_array":[{"photo_id":"1396343428","filename":"file5"},{"photo_id":"1396343425","filename":"file2"},{"photo_id":"1396343427","filename":"file4"},{"photo_id":"1396343424","filename":"file1"},{"photo_id":"1396343422","filename":"file0"},{"photo_id":"1396343426","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343427":["hashtag1","hashtag2"]},{"1396343424":["hashtag1","hashtag2"]},{"1396343426":["hashtag1","hashtag2"]},{"1396343428":["hashtag1","hashtag2"]},{"1396343422":["hashtag1","hashtag2"]},{"1396343425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343427, 1396343424, 1396343426, 1396343428, 1396343422, 1396343425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.306601762771606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:23:22.307847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_52_1603.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_54_1808.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_56_1582.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_57_1662.jpg', '/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_59_1629.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_01_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_52_1603.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_54_1808.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_56_1582.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_57_1662.jpg
/home/pi/Desktop/images/21112025/18/56/image_21112025_18_56_59_1629.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_01_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343454","1396343456","1396343452","1396343446","1396343449","1396343443"],"photo_ids_order":["1396343443","1396343446","1396343449","1396343452","1396343454","1396343456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e79c6cb91e6d1e7c4a340448ffdb20f.jpg","text":"TemporaryFile(/tmp/multipartBody8569365237630400721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_56_59_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/27/9c2096b7e5946f7dc13668ab28452c39.jpg","text":"TemporaryFile(/tmp/multipartBody7051955191761083668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_57_01_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/27/ab57a5738ea71d76bb4c7176c84ed510.jpg","text":"TemporaryFile(/tmp/multipartBody7195800754193297352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_56_57_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/27/231f28e7a4b8d6bcd9d26398b7f39678.jpg","text":"TemporaryFile(/tmp/multipartBody7823799097468034599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_56_54_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2f9c485d6c4b27890cde04fa6035191.jpg","text":"TemporaryFile(/tmp/multipartBody3429210575650921215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_56_56_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/27/4c2100a4add9b25fe1bd7c589d310d62.jpg","text":"TemporaryFile(/tmp/multipartBody4973210108535161890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206664569,"filename":"image_21112025_18_56_52_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343449","file1":"1396343446","file0":"1396343443","file4":"1396343454","file5":"1396343456","file3":"1396343452"},"map_files_photo_id_array":[{"photo_id":"1396343456","filename":"file5"},{"photo_id":"1396343449","filename":"file2"},{"photo_id":"1396343454","filename":"file4"},{"photo_id":"1396343446","filename":"file1"},{"photo_id":"1396343443","filename":"file0"},{"photo_id":"1396343452","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343454":["hashtag1","hashtag2"]},{"1396343456":["hashtag1","hashtag2"]},{"1396343452":["hashtag1","hashtag2"]},{"1396343446":["hashtag1","hashtag2"]},{"1396343449":["hashtag1","hashtag2"]},{"1396343443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343454, 1396343456, 1396343452, 1396343446, 1396343449, 1396343443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.508153676986694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:24:03.513732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_02_1614.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_04_1590.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_07_3426.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_09_1713.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_11_1957.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_13_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_02_1614.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_04_1590.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_07_3426.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_09_1713.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_11_1957.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_13_1689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343463","1396343457","1396343466","1396343459","1396343470","1396343461"],"photo_ids_order":["1396343457","1396343459","1396343461","1396343463","1396343466","1396343470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4369bec2bfcad137d623bd1dea2e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody4576650704672815833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_09_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/27/856f309f74fac9336b4046b2144f1541.jpg","text":"TemporaryFile(/tmp/multipartBody7546941654925035374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_02_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/27/48549b06918d5c91254b7eb076d191ab.jpg","text":"TemporaryFile(/tmp/multipartBody6006986056835588512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_11_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bb5d24af8d1e9a5eaa5fea889e4aeb4.jpg","text":"TemporaryFile(/tmp/multipartBody6138639551809791531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_04_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/27/b90b89579b1c5454cb4157d0ce98fa41.jpg","text":"TemporaryFile(/tmp/multipartBody2356708402106356975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_13_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/27/7d540ee68d52e8d4ee2f238c4d20873e.jpg","text":"TemporaryFile(/tmp/multipartBody3959277638298696201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206704734,"filename":"image_21112025_18_57_07_3426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343461","file1":"1396343459","file0":"1396343457","file4":"1396343466","file5":"1396343470","file3":"1396343463"},"map_files_photo_id_array":[{"photo_id":"1396343470","filename":"file5"},{"photo_id":"1396343461","filename":"file2"},{"photo_id":"1396343466","filename":"file4"},{"photo_id":"1396343459","filename":"file1"},{"photo_id":"1396343457","filename":"file0"},{"photo_id":"1396343463","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343463":["hashtag1","hashtag2"]},{"1396343457":["hashtag1","hashtag2"]},{"1396343466":["hashtag1","hashtag2"]},{"1396343459":["hashtag1","hashtag2"]},{"1396343470":["hashtag1","hashtag2"]},{"1396343461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343463, 1396343457, 1396343466, 1396343459, 1396343470, 1396343461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63384819030762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:24:42.755013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/17/image_30102025_21_17_09_3558.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_12_2680.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_15_3614.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_23_2682.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_27_3702.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_30_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/21/17/image_30102025_21_17_09_3558.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_12_2680.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_15_3614.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_23_2682.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_27_3702.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_30_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343478","1396343487","1396343486","1396343480","1396343483","1396343494"],"photo_ids_order":["1396343478","1396343480","1396343483","1396343486","1396343487","1396343494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74d162adc34632eb4137bcb4d26a9078.jpg","text":"TemporaryFile(/tmp/multipartBody7789399713727324818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_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/27/baf13ef5dd09b09501558548cbc39c61.jpg","text":"TemporaryFile(/tmp/multipartBody4369838605698192321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_27_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/27/db9148c561ff3ff37b69379c543edb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4030425706350768752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_23_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/27/f503ba38ffb36a16bbc553690f3e15ab.jpg","text":"TemporaryFile(/tmp/multipartBody5894872442087796502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_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/27/c400557ff2f45f7cd59d3bcf84f7ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody7790426557858852859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_15_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/27/96cfb8a81cf3dc0f7b5c4b93460a91db.jpg","text":"TemporaryFile(/tmp/multipartBody723113028338958657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206744023,"filename":"image_30102025_21_17_30_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343483","file1":"1396343480","file0":"1396343478","file4":"1396343487","file5":"1396343494","file3":"1396343486"},"map_files_photo_id_array":[{"photo_id":"1396343494","filename":"file5"},{"photo_id":"1396343483","filename":"file2"},{"photo_id":"1396343487","filename":"file4"},{"photo_id":"1396343480","filename":"file1"},{"photo_id":"1396343478","filename":"file0"},{"photo_id":"1396343486","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343478":["hashtag1","hashtag2"]},{"1396343487":["hashtag1","hashtag2"]},{"1396343486":["hashtag1","hashtag2"]},{"1396343480":["hashtag1","hashtag2"]},{"1396343483":["hashtag1","hashtag2"]},{"1396343494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343478, 1396343487, 1396343486, 1396343480, 1396343483, 1396343494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.032267570495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:25:21.868685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/22/image_27112025_02_22_54_9588.jpg', '/home/pi/Desktop/images/27112025/02/23/image_27112025_02_23_34_9893.jpg', '/home/pi/Desktop/images/27112025/02/23/image_27112025_02_23_54_9787.jpg', '/home/pi/Desktop/images/27112025/02/23/image_27112025_02_24_04_9787.jpg', '/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_25_8784.jpg', '/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/22/image_27112025_02_22_54_9588.jpg
/home/pi/Desktop/images/27112025/02/23/image_27112025_02_23_34_9893.jpg
/home/pi/Desktop/images/27112025/02/23/image_27112025_02_23_54_9787.jpg
/home/pi/Desktop/images/27112025/02/23/image_27112025_02_24_04_9787.jpg
/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_25_8784.jpg
/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_34_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343517","1396343519","1396343521","1396343515","1396343509","1396343512"],"photo_ids_order":["1396343509","1396343512","1396343515","1396343517","1396343519","1396343521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b1ef29ecd6bc0a155911a80e5f43839.jpg","text":"TemporaryFile(/tmp/multipartBody4498280427939581160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_24_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a30490cd977dbd76debfffca71ba9a5e.jpg","text":"TemporaryFile(/tmp/multipartBody6130346545904062653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_24_25_8784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/372dff2c0b2f0e85e788684ee2a16bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3461485472659582468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_24_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e567c0d90c3cad48bdd5e7fb29988fc1.jpg","text":"TemporaryFile(/tmp/multipartBody9209182008706312828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_23_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47a6fecd45057e5489455429fa78aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody3553949929008551154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_22_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fb086c0e70623f1e283fa59d72dbf44.jpg","text":"TemporaryFile(/tmp/multipartBody1913147951561346417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206782658,"filename":"image_27112025_02_23_34_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343515","file1":"1396343512","file0":"1396343509","file4":"1396343519","file5":"1396343521","file3":"1396343517"},"map_files_photo_id_array":[{"photo_id":"1396343521","filename":"file5"},{"photo_id":"1396343515","filename":"file2"},{"photo_id":"1396343519","filename":"file4"},{"photo_id":"1396343512","filename":"file1"},{"photo_id":"1396343509","filename":"file0"},{"photo_id":"1396343517","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343517":["hashtag1","hashtag2"]},{"1396343519":["hashtag1","hashtag2"]},{"1396343521":["hashtag1","hashtag2"]},{"1396343515":["hashtag1","hashtag2"]},{"1396343509":["hashtag1","hashtag2"]},{"1396343512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343517, 1396343519, 1396343521, 1396343515, 1396343509, 1396343512)","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 = 1396343515 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/27112025/02/23/image_27112025_02_23_54_9787.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.76732063293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:26:23.310734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_44_9724.jpg', '/home/pi/Desktop/images/27112025/02/25/image_27112025_02_25_24_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/24/image_27112025_02_24_44_9724.jpg
/home/pi/Desktop/images/27112025/02/25/image_27112025_02_25_24_9840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343532","1396343528"],"photo_ids_order":["1396343528","1396343532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e585d580cb36e545882270c0179f0667.jpg","text":"TemporaryFile(/tmp/multipartBody3118702157641052121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206843869,"filename":"image_27112025_02_25_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/187c1bfee86027e06c82b4c366666165.jpg","text":"TemporaryFile(/tmp/multipartBody8777006768135876400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206843869,"filename":"image_27112025_02_24_44_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396343532","file0":"1396343528"},"map_files_photo_id_array":[{"photo_id":"1396343532","filename":"file1"},{"photo_id":"1396343528","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343532":["hashtag1","hashtag2"]},{"1396343528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343532, 1396343528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.758174657821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:26:43.394996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/17/image_30102025_21_17_32_2609.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_36_3607.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_39_2641.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_42_3586.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_45_2643.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_51_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_32_2609.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_36_3607.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_39_2641.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_42_3586.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_45_2643.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_51_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343538","1396343541","1396343540","1396343537","1396343542","1396343539"],"photo_ids_order":["1396343537","1396343538","1396343539","1396343540","1396343541","1396343542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1969a0b3cb25c5e9040fea58c418bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody6719147975569454994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_36_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/27/ca068c0738e85f2742124ff559e51f17.jpg","text":"TemporaryFile(/tmp/multipartBody6681465937315345768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_45_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/27/6e86d8c11bead6ec25f29222ad66b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody2857085765207032279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_42_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/27/bd7169a1de16d4086364ec6f7338034d.jpg","text":"TemporaryFile(/tmp/multipartBody2045313527055904489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_32_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/27/d9e2c070230d8a64d44ac02df5a68a99.jpg","text":"TemporaryFile(/tmp/multipartBody232855110530509694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_51_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/27/900449481312b772ceed33c2cb22912b.jpg","text":"TemporaryFile(/tmp/multipartBody6076804120429701675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206865373,"filename":"image_30102025_21_17_39_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343539","file1":"1396343538","file0":"1396343537","file4":"1396343541","file5":"1396343542","file3":"1396343540"},"map_files_photo_id_array":[{"photo_id":"1396343542","filename":"file5"},{"photo_id":"1396343539","filename":"file2"},{"photo_id":"1396343541","filename":"file4"},{"photo_id":"1396343538","filename":"file1"},{"photo_id":"1396343537","filename":"file0"},{"photo_id":"1396343540","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343538":["hashtag1","hashtag2"]},{"1396343541":["hashtag1","hashtag2"]},{"1396343540":["hashtag1","hashtag2"]},{"1396343537":["hashtag1","hashtag2"]},{"1396343542":["hashtag1","hashtag2"]},{"1396343539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343538, 1396343541, 1396343540, 1396343537, 1396343542, 1396343539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20533752441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:27:22.655362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/25/image_27112025_02_25_35_10673.jpg', '/home/pi/Desktop/images/27112025/02/27/image_27112025_02_27_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/25/image_27112025_02_25_35_10673.jpg
/home/pi/Desktop/images/27112025/02/27/image_27112025_02_27_45_10665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343550","1396343554"],"photo_ids_order":["1396343550","1396343554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a78fe6631109bd2785cde9e116eeaec8.jpg","text":"TemporaryFile(/tmp/multipartBody5981744388459740397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206903240,"filename":"image_27112025_02_25_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8d4ad67212799369ab83e35b97ccb71.jpg","text":"TemporaryFile(/tmp/multipartBody1136104771144855182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206903240,"filename":"image_27112025_02_27_45_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396343554","file0":"1396343550"},"map_files_photo_id_array":[{"photo_id":"1396343554","filename":"file1"},{"photo_id":"1396343550","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343550":["hashtag1","hashtag2"]},{"1396343554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343550, 1396343554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.7161545753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:27:42.659248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/17/image_30102025_21_17_54_2851.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_57_2576.jpg', '/home/pi/Desktop/images/30102025/21/17/image_30102025_21_18_00_3635.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_03_2653.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_09_3493.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_12_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_54_2851.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_17_57_2576.jpg
/home/pi/Desktop/images/30102025/21/17/image_30102025_21_18_00_3635.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_03_2653.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_09_3493.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_12_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343562","1396343561","1396343564","1396343558","1396343563","1396343560"],"photo_ids_order":["1396343558","1396343560","1396343561","1396343562","1396343563","1396343564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8db42af5f13e390a93644035b9362a6.jpg","text":"TemporaryFile(/tmp/multipartBody5909758909713783625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_18_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/27/c7865ff46e8178b428493ac7643a7940.jpg","text":"TemporaryFile(/tmp/multipartBody661812558764347709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_18_00_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/27/1fc6517a72adbd47b2ea1310b6f91458.jpg","text":"TemporaryFile(/tmp/multipartBody9139471870762223120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_18_12_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/27/51c060ba78cef361a89a5f3225a6a9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4883639412117113298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_17_54_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/27/adc7c296acfbb8f274cb2098935697a7.jpg","text":"TemporaryFile(/tmp/multipartBody5389378938015918904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_18_09_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f955e2373819db2e268ed71f7d5d329.jpg","text":"TemporaryFile(/tmp/multipartBody8142297939053209191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206923904,"filename":"image_30102025_21_17_57_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343561","file1":"1396343560","file0":"1396343558","file4":"1396343563","file5":"1396343564","file3":"1396343562"},"map_files_photo_id_array":[{"photo_id":"1396343564","filename":"file5"},{"photo_id":"1396343561","filename":"file2"},{"photo_id":"1396343563","filename":"file4"},{"photo_id":"1396343560","filename":"file1"},{"photo_id":"1396343558","filename":"file0"},{"photo_id":"1396343562","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343562":["hashtag1","hashtag2"]},{"1396343561":["hashtag1","hashtag2"]},{"1396343564":["hashtag1","hashtag2"]},{"1396343558":["hashtag1","hashtag2"]},{"1396343563":["hashtag1","hashtag2"]},{"1396343560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343562, 1396343561, 1396343564, 1396343558, 1396343563, 1396343560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02184271812439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:28:21.825291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/27/image_27112025_02_27_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/27/image_27112025_02_27_54_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343570"],"photo_id":"1396343570","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/542262e4fb44421052ea29395931ccda.jpg","text":"TemporaryFile(/tmp/multipartBody2291858080695508539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206962361,"filename":"image_27112025_02_27_54_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396343570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396343570"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.594764709472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:28:41.822885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/18/image_30102025_21_18_30_3551.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_36_3622.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_44_2545.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_51_2647.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_57_3624.jpg', '/home/pi/Desktop/images/30102025/21/18/image_30102025_21_19_00_2934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_30_3551.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_36_3622.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_44_2545.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_51_2647.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_18_57_3624.jpg
/home/pi/Desktop/images/30102025/21/18/image_30102025_21_19_00_2934.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343594","1396343588","1396343599","1396343592","1396343595","1396343589"],"photo_ids_order":["1396343588","1396343589","1396343592","1396343594","1396343595","1396343599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d239d52701fb9e299f3c069cb7c26185.jpg","text":"TemporaryFile(/tmp/multipartBody5007725220326828885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_18_51_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/27/3289598efc47f2ff36760591a4bb3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2151446342802627482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_18_30_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/27/03f33393e3b771a34bb908dea1363493.jpg","text":"TemporaryFile(/tmp/multipartBody778722267536869333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_19_00_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/27/2621600d5af09109ef7b582a64ce18de.jpg","text":"TemporaryFile(/tmp/multipartBody8466709435033906779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_18_44_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/27/0aeae36103b8cfaadc36d03525d98ec8.jpg","text":"TemporaryFile(/tmp/multipartBody718861072151322846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_18_57_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/27/1fb875129dcaa66b0debf55886e8f577.jpg","text":"TemporaryFile(/tmp/multipartBody4079444920419025665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764206983066,"filename":"image_30102025_21_18_36_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343592","file1":"1396343589","file0":"1396343588","file4":"1396343595","file5":"1396343599","file3":"1396343594"},"map_files_photo_id_array":[{"photo_id":"1396343599","filename":"file5"},{"photo_id":"1396343592","filename":"file2"},{"photo_id":"1396343595","filename":"file4"},{"photo_id":"1396343589","filename":"file1"},{"photo_id":"1396343588","filename":"file0"},{"photo_id":"1396343594","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343594":["hashtag1","hashtag2"]},{"1396343588":["hashtag1","hashtag2"]},{"1396343599":["hashtag1","hashtag2"]},{"1396343592":["hashtag1","hashtag2"]},{"1396343595":["hashtag1","hashtag2"]},{"1396343589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343594, 1396343588, 1396343599, 1396343592, 1396343595, 1396343589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68128848075867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:29:22.005671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/28/image_27112025_02_28_25_10685.jpg', '/home/pi/Desktop/images/27112025/02/28/image_27112025_02_29_04_9618.jpg', '/home/pi/Desktop/images/27112025/02/29/image_27112025_02_29_14_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/28/image_27112025_02_28_25_10685.jpg
/home/pi/Desktop/images/27112025/02/28/image_27112025_02_29_04_9618.jpg
/home/pi/Desktop/images/27112025/02/29/image_27112025_02_29_14_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343613","1396343616","1396343620"],"photo_ids_order":["1396343613","1396343616","1396343620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4eacd0ea9fbc8cefa4424b2b6135497.jpg","text":"TemporaryFile(/tmp/multipartBody1604846856355429633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207022640,"filename":"image_27112025_02_28_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92ae74b6e908578fd353aa78e17dede8.jpg","text":"TemporaryFile(/tmp/multipartBody6563288003644545640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207022640,"filename":"image_27112025_02_29_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c40b97a026cd86035e575bc13a31e1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1201427824196352481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207022640,"filename":"image_27112025_02_29_14_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343620","file1":"1396343616","file0":"1396343613"},"map_files_photo_id_array":[{"photo_id":"1396343620","filename":"file2"},{"photo_id":"1396343616","filename":"file1"},{"photo_id":"1396343613","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343613":["hashtag1","hashtag2"]},{"1396343616":["hashtag1","hashtag2"]},{"1396343620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343613, 1396343616, 1396343620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.669541120529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:30:02.770303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_14_1712.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_18_3504.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_19_1554.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_29_9404.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_35_6067.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_37_1727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_14_1712.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_18_3504.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_19_1554.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_29_9404.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_35_6067.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_37_1727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343646","1396343642","1396343636","1396343639","1396343644","1396343647"],"photo_ids_order":["1396343636","1396343639","1396343642","1396343644","1396343646","1396343647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2640c567bef852c5984cafb065283f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1513225583675158146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_35_6067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c21b4ed20d3df5efaacd8f77f92661bd.jpg","text":"TemporaryFile(/tmp/multipartBody2499452608500730528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_19_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/27/6d8e6a9db1970de07958045bbb346163.jpg","text":"TemporaryFile(/tmp/multipartBody623932082846673945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_14_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/27/ded488b1f52f813657a7ebe106e73a52.jpg","text":"TemporaryFile(/tmp/multipartBody8430403906175662504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_18_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/27/43fa4666048e136744da6f68fb5ea181.jpg","text":"TemporaryFile(/tmp/multipartBody6249104280295477891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_29_9404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98bbb5d91f6e08f0209c7c7e91f28924.jpg","text":"TemporaryFile(/tmp/multipartBody7037923135128008524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207088211,"filename":"image_21112025_18_57_37_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343642","file1":"1396343639","file0":"1396343636","file4":"1396343646","file5":"1396343647","file3":"1396343644"},"map_files_photo_id_array":[{"photo_id":"1396343647","filename":"file5"},{"photo_id":"1396343642","filename":"file2"},{"photo_id":"1396343646","filename":"file4"},{"photo_id":"1396343639","filename":"file1"},{"photo_id":"1396343636","filename":"file0"},{"photo_id":"1396343644","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343646":["hashtag1","hashtag2"]},{"1396343642":["hashtag1","hashtag2"]},{"1396343636":["hashtag1","hashtag2"]},{"1396343639":["hashtag1","hashtag2"]},{"1396343644":["hashtag1","hashtag2"]},{"1396343647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343646, 1396343642, 1396343636, 1396343639, 1396343644, 1396343647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41840076446533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:31:12.378034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_42_4898.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_44_2293.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_46_1694.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_47_1596.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_49_1633.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_52_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_42_4898.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_44_2293.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_46_1694.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_47_1596.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_49_1633.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_52_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343670","1396343658","1396343660","1396343663","1396343674","1396343667"],"photo_ids_order":["1396343658","1396343660","1396343663","1396343667","1396343670","1396343674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0375f9872e3849e3e2e51847eb986f9b.jpg","text":"TemporaryFile(/tmp/multipartBody654582788539339539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_49_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/27/4ca03aa052826d7709e37974ed3649ac.jpg","text":"TemporaryFile(/tmp/multipartBody15733499439418132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_42_4898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/041b6497fa2a79d9a5ce954eed1a0afd.jpg","text":"TemporaryFile(/tmp/multipartBody2519667691830679470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_44_2293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ee7ab75ee6b6077e71f5913df5deec1.jpg","text":"TemporaryFile(/tmp/multipartBody1719604973160106196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_46_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/27/35473af2ee1641a647023b55cebd9cc2.jpg","text":"TemporaryFile(/tmp/multipartBody940729416355526213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_52_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/27/6e4c34481a3cea0644b04571861a04c6.jpg","text":"TemporaryFile(/tmp/multipartBody8341751263692301103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207134123,"filename":"image_21112025_18_57_47_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343663","file1":"1396343660","file0":"1396343658","file4":"1396343670","file5":"1396343674","file3":"1396343667"},"map_files_photo_id_array":[{"photo_id":"1396343674","filename":"file5"},{"photo_id":"1396343663","filename":"file2"},{"photo_id":"1396343670","filename":"file4"},{"photo_id":"1396343660","filename":"file1"},{"photo_id":"1396343658","filename":"file0"},{"photo_id":"1396343667","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343670":["hashtag1","hashtag2"]},{"1396343658":["hashtag1","hashtag2"]},{"1396343660":["hashtag1","hashtag2"]},{"1396343663":["hashtag1","hashtag2"]},{"1396343674":["hashtag1","hashtag2"]},{"1396343667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343670, 1396343658, 1396343660, 1396343663, 1396343674, 1396343667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40190577507019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:32:03.188944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/29/image_27112025_02_29_44_9656.jpg', '/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_24_9647.jpg', '/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_44_9670.jpg', '/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_55_10731.jpg', '/home/pi/Desktop/images/27112025/02/30/image_27112025_02_31_04_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/29/image_27112025_02_29_44_9656.jpg
/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_24_9647.jpg
/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_44_9670.jpg
/home/pi/Desktop/images/27112025/02/30/image_27112025_02_30_55_10731.jpg
/home/pi/Desktop/images/27112025/02/30/image_27112025_02_31_04_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343682","1396343684","1396343678","1396343680","1396343686"],"photo_ids_order":["1396343678","1396343680","1396343682","1396343684","1396343686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a370d0214c7f6d455d3070de2b6dc02.jpg","text":"TemporaryFile(/tmp/multipartBody486845885049520691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207183943,"filename":"image_27112025_02_30_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/879cf2eec0a36992961bf979204e6a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3827521416767028387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207183943,"filename":"image_27112025_02_30_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89911141f1d459b7fc0eab2b096aeba3.jpg","text":"TemporaryFile(/tmp/multipartBody1887358147628434550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207183943,"filename":"image_27112025_02_29_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d2e525b7da769afa82795dc13c127d2.jpg","text":"TemporaryFile(/tmp/multipartBody1602007843424394633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207183943,"filename":"image_27112025_02_30_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00d27eab8db0c2ec8c89f78eefa0d03b.jpg","text":"TemporaryFile(/tmp/multipartBody3702681035530002419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207183943,"filename":"image_27112025_02_31_04_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343682","file1":"1396343680","file0":"1396343678","file4":"1396343686","file3":"1396343684"},"map_files_photo_id_array":[{"photo_id":"1396343682","filename":"file2"},{"photo_id":"1396343686","filename":"file4"},{"photo_id":"1396343680","filename":"file1"},{"photo_id":"1396343678","filename":"file0"},{"photo_id":"1396343684","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343682":["hashtag1","hashtag2"]},{"1396343684":["hashtag1","hashtag2"]},{"1396343678":["hashtag1","hashtag2"]},{"1396343680":["hashtag1","hashtag2"]},{"1396343686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343682, 1396343684, 1396343678, 1396343680, 1396343686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.609514713287354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:32:42.616807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/19/image_30102025_21_19_03_2688.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_09_3680.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_12_2599.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_15_3543.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_18_2523.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_21_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_03_2688.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_09_3680.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_12_2599.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_15_3543.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_18_2523.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_21_3617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343703","1396343693","1396343702","1396343705","1396343701","1396343704"],"photo_ids_order":["1396343693","1396343701","1396343702","1396343703","1396343704","1396343705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad67775ff32384e514964dbfbf0feadc.jpg","text":"TemporaryFile(/tmp/multipartBody3195536727955547366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_15_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/27/6376963e76a776066249dd97188854e5.jpg","text":"TemporaryFile(/tmp/multipartBody5482161128174301786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_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/27/c150b1098c964d2fbab21b0ca15a3697.jpg","text":"TemporaryFile(/tmp/multipartBody5905669590421620829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_12_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/27/2981e133a26eeffc4ea52698c9f5b437.jpg","text":"TemporaryFile(/tmp/multipartBody2169923476771377034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_21_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/27/bc1ed1ed701b9eecf6c74de99dc7bc31.jpg","text":"TemporaryFile(/tmp/multipartBody1864678118297168696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_09_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/27/1bcd793a318ec0b050c5bfb741b8ed31.jpg","text":"TemporaryFile(/tmp/multipartBody2801557760679205620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207223892,"filename":"image_30102025_21_19_18_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343702","file1":"1396343701","file0":"1396343693","file4":"1396343704","file5":"1396343705","file3":"1396343703"},"map_files_photo_id_array":[{"photo_id":"1396343705","filename":"file5"},{"photo_id":"1396343702","filename":"file2"},{"photo_id":"1396343704","filename":"file4"},{"photo_id":"1396343701","filename":"file1"},{"photo_id":"1396343693","filename":"file0"},{"photo_id":"1396343703","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343703":["hashtag1","hashtag2"]},{"1396343693":["hashtag1","hashtag2"]},{"1396343702":["hashtag1","hashtag2"]},{"1396343705":["hashtag1","hashtag2"]},{"1396343701":["hashtag1","hashtag2"]},{"1396343704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343703, 1396343693, 1396343702, 1396343705, 1396343701, 1396343704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66813683509827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:33:22.839127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/31/image_27112025_02_31_14_9612.jpg', '/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_34_9798.jpg', '/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_44_9704.jpg', '/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_55_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/31/image_27112025_02_31_14_9612.jpg
/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_34_9798.jpg
/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_44_9704.jpg
/home/pi/Desktop/images/27112025/02/32/image_27112025_02_32_55_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343718","1396343713","1396343716","1396343719"],"photo_ids_order":["1396343713","1396343716","1396343718","1396343719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6f027bfbd426040cefcdf526f3b5179.jpg","text":"TemporaryFile(/tmp/multipartBody590695475345919157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207263548,"filename":"image_27112025_02_32_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae0dfdb290b01444934a690465d35ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1888842767044699189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207263548,"filename":"image_27112025_02_31_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0aa2a65d8e23386bbabd861659bca214.jpg","text":"TemporaryFile(/tmp/multipartBody5824159847491262921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207263548,"filename":"image_27112025_02_32_34_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b92f511c974d36f01eb3c45d37aac68.jpg","text":"TemporaryFile(/tmp/multipartBody3410829231068885447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207263548,"filename":"image_27112025_02_32_55_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343718","file1":"1396343716","file0":"1396343713","file3":"1396343719"},"map_files_photo_id_array":[{"photo_id":"1396343718","filename":"file2"},{"photo_id":"1396343716","filename":"file1"},{"photo_id":"1396343713","filename":"file0"},{"photo_id":"1396343719","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343718":["hashtag1","hashtag2"]},{"1396343713":["hashtag1","hashtag2"]},{"1396343716":["hashtag1","hashtag2"]},{"1396343719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343718, 1396343713, 1396343716, 1396343719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.61122703552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:34:02.556082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_56_1619.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_58_1536.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_59_1604.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_01_1662.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_03_1741.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_05_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_56_1619.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_58_1536.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_59_1604.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_01_1662.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_03_1741.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_05_1645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3000011444091797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:34:11.968582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_56_1619.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_58_1536.jpg', '/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_59_1604.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_01_1662.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_03_1741.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_05_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_56_1619.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_58_1536.jpg
/home/pi/Desktop/images/21112025/18/57/image_21112025_18_57_59_1604.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_01_1662.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_03_1741.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_05_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343742","1396343727","1396343735","1396343723","1396343731","1396343725"],"photo_ids_order":["1396343723","1396343725","1396343727","1396343731","1396343735","1396343742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ab4674b7c7b1077f3ecad1cb87bcce9.jpg","text":"TemporaryFile(/tmp/multipartBody8818442601300341266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_58_05_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/27/00031446941347ccdb2cfef7498ae5cf.jpg","text":"TemporaryFile(/tmp/multipartBody5761406590453474785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_57_59_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/27/60d3c3720b590690adffd05e4bc8dd43.jpg","text":"TemporaryFile(/tmp/multipartBody2077611482034770982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_58_03_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/27/e90d2c6f30afb957e3d85724d6fc1dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2544402368850618663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_57_56_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/27/cd90e4f52212690198f09ba3e3322ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1738519192172537147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_58_01_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/27/d76a2ada410a410491963bed30f5a10e.jpg","text":"TemporaryFile(/tmp/multipartBody7344316996909937855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207313619,"filename":"image_21112025_18_57_58_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343727","file1":"1396343725","file0":"1396343723","file4":"1396343735","file5":"1396343742","file3":"1396343731"},"map_files_photo_id_array":[{"photo_id":"1396343742","filename":"file5"},{"photo_id":"1396343727","filename":"file2"},{"photo_id":"1396343735","filename":"file4"},{"photo_id":"1396343725","filename":"file1"},{"photo_id":"1396343723","filename":"file0"},{"photo_id":"1396343731","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343742":["hashtag1","hashtag2"]},{"1396343727":["hashtag1","hashtag2"]},{"1396343735":["hashtag1","hashtag2"]},{"1396343723":["hashtag1","hashtag2"]},{"1396343731":["hashtag1","hashtag2"]},{"1396343725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343742, 1396343727, 1396343735, 1396343723, 1396343731, 1396343725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26915740966797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:35:03.103006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_06_1642.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_08_1914.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_12_1583.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_13_1791.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_15_1719.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_17_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_06_1642.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_08_1914.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_12_1583.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_13_1791.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_15_1719.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_17_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343754","1396343748","1396343750","1396343758","1396343752","1396343746"],"photo_ids_order":["1396343746","1396343748","1396343750","1396343752","1396343754","1396343758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a9368ba6d1bd57c585d9343b5576f86.jpg","text":"TemporaryFile(/tmp/multipartBody6593894861977330350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_15_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/27/22cb8d5c7c4cf97b11b3cc4471aff58e.jpg","text":"TemporaryFile(/tmp/multipartBody5181186873364585341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_08_1914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e79e2a4571d40ffeff106168b1a6f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2966423339112891633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_12_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/27/f4c07b687974c058cdb2f46a569a2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2236810539086295289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_17_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/27/bec16648506cd093c637524d173742f1.jpg","text":"TemporaryFile(/tmp/multipartBody3443949119095090413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_13_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da0e87095882e56b5bf42fcad2e9d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody4649278920393222807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207364352,"filename":"image_21112025_18_58_06_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343750","file1":"1396343748","file0":"1396343746","file4":"1396343754","file5":"1396343758","file3":"1396343752"},"map_files_photo_id_array":[{"photo_id":"1396343758","filename":"file5"},{"photo_id":"1396343750","filename":"file2"},{"photo_id":"1396343754","filename":"file4"},{"photo_id":"1396343748","filename":"file1"},{"photo_id":"1396343746","filename":"file0"},{"photo_id":"1396343752","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343754":["hashtag1","hashtag2"]},{"1396343748":["hashtag1","hashtag2"]},{"1396343750":["hashtag1","hashtag2"]},{"1396343758":["hashtag1","hashtag2"]},{"1396343752":["hashtag1","hashtag2"]},{"1396343746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343754, 1396343748, 1396343750, 1396343758, 1396343752, 1396343746)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7438850402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:36:03.122130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_19_1813.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_21_2620.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_24_2675.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_27_2862.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_34_7514.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_43_8777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_19_1813.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_21_2620.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_24_2675.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_27_2862.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_34_7514.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_43_8777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343775","1396343777","1396343786","1396343771","1396343797","1396343764"],"photo_ids_order":["1396343764","1396343771","1396343775","1396343777","1396343786","1396343797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc131a79237eb1d49b2464f3c4b6ce34.jpg","text":"TemporaryFile(/tmp/multipartBody5003344690807434184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_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/27/a79a8f1666bce4c365176f78833837ad.jpg","text":"TemporaryFile(/tmp/multipartBody7326690036502146049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_27_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/27/fda1e0593a5a3ddb4ac42384339a08e2.jpg","text":"TemporaryFile(/tmp/multipartBody3755946010182989238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_34_7514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/696ee1198ba7f035268cf3da1a5c2c99.jpg","text":"TemporaryFile(/tmp/multipartBody7443986733778578941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_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/27/1d43083a6685b88e0d3b915ae864f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2471766549725394191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_43_8777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/545940d033e960abf43ee1d1b8b7d38e.jpg","text":"TemporaryFile(/tmp/multipartBody8022607684446062896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207424320,"filename":"image_21112025_18_58_19_1813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343775","file1":"1396343771","file0":"1396343764","file4":"1396343786","file5":"1396343797","file3":"1396343777"},"map_files_photo_id_array":[{"photo_id":"1396343797","filename":"file5"},{"photo_id":"1396343775","filename":"file2"},{"photo_id":"1396343786","filename":"file4"},{"photo_id":"1396343771","filename":"file1"},{"photo_id":"1396343764","filename":"file0"},{"photo_id":"1396343777","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343775":["hashtag1","hashtag2"]},{"1396343777":["hashtag1","hashtag2"]},{"1396343786":["hashtag1","hashtag2"]},{"1396343771":["hashtag1","hashtag2"]},{"1396343797":["hashtag1","hashtag2"]},{"1396343764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343775, 1396343777, 1396343786, 1396343771, 1396343797, 1396343764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90279197692871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:36:42.574492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/19/image_30102025_21_19_24_2541.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_26_2708.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_33_3716.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_36_2865.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_38_2606.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_42_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/21/19/image_30102025_21_19_24_2541.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_26_2708.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_33_3716.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_36_2865.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_38_2606.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_42_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343805","1396343808","1396343804","1396343807","1396343806","1396343803"],"photo_ids_order":["1396343803","1396343804","1396343805","1396343806","1396343807","1396343808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ecc14a9238082c2751a25fdb5724938.jpg","text":"TemporaryFile(/tmp/multipartBody6008612509955607339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_33_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/27/5522b379bdfa979e5577ea7b4030346a.jpg","text":"TemporaryFile(/tmp/multipartBody8251325556773917311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_42_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/27/cdb44c371b6a12e156598f572decb289.jpg","text":"TemporaryFile(/tmp/multipartBody6500740550319159829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_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/27/03922740acdfa5e8d4a8303914e41940.jpg","text":"TemporaryFile(/tmp/multipartBody2939747877840207482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_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/27/22c4930007ba0ab528697880bf519cfa.jpg","text":"TemporaryFile(/tmp/multipartBody8444313456301886592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_36_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/27/432697dee05efe2f5b52de0cb5ab160d.jpg","text":"TemporaryFile(/tmp/multipartBody7067031883943611500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207463818,"filename":"image_30102025_21_19_24_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343805","file1":"1396343804","file0":"1396343803","file4":"1396343807","file5":"1396343808","file3":"1396343806"},"map_files_photo_id_array":[{"photo_id":"1396343808","filename":"file5"},{"photo_id":"1396343805","filename":"file2"},{"photo_id":"1396343807","filename":"file4"},{"photo_id":"1396343804","filename":"file1"},{"photo_id":"1396343803","filename":"file0"},{"photo_id":"1396343806","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343805":["hashtag1","hashtag2"]},{"1396343808":["hashtag1","hashtag2"]},{"1396343804":["hashtag1","hashtag2"]},{"1396343807":["hashtag1","hashtag2"]},{"1396343806":["hashtag1","hashtag2"]},{"1396343803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343805, 1396343808, 1396343804, 1396343807, 1396343806, 1396343803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13358426094055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:37:22.816221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/32/image_27112025_02_33_04_9667.jpg', '/home/pi/Desktop/images/27112025/02/36/image_27112025_02_37_04_9870.jpg', '/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_15_10668.jpg', '/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_45_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/32/image_27112025_02_33_04_9667.jpg
/home/pi/Desktop/images/27112025/02/36/image_27112025_02_37_04_9870.jpg
/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_15_10668.jpg
/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_45_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343817","1396343828","1396343824","1396343821"],"photo_ids_order":["1396343817","1396343821","1396343824","1396343828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e55d464a824d4fef1160d9952390ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6660652167641148853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207503495,"filename":"image_27112025_02_33_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29ee7a20c9c3f4996f3ae45b3c9e722e.jpg","text":"TemporaryFile(/tmp/multipartBody7009507687581594228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207503495,"filename":"image_27112025_02_37_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d11a6d3597b56ec659781ada7bb101d4.jpg","text":"TemporaryFile(/tmp/multipartBody3691695394866049001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207503495,"filename":"image_27112025_02_37_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be78abc0d710fafbb13103e6f953f056.jpg","text":"TemporaryFile(/tmp/multipartBody6733990240039188026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207503495,"filename":"image_27112025_02_37_04_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343824","file1":"1396343821","file0":"1396343817","file3":"1396343828"},"map_files_photo_id_array":[{"photo_id":"1396343824","filename":"file2"},{"photo_id":"1396343821","filename":"file1"},{"photo_id":"1396343817","filename":"file0"},{"photo_id":"1396343828","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343817":["hashtag1","hashtag2"]},{"1396343828":["hashtag1","hashtag2"]},{"1396343824":["hashtag1","hashtag2"]},{"1396343821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343817, 1396343828, 1396343824, 1396343821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.647271394729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:38:02.348159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_45_1655.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_47_1852.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_48_1621.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_55_6719.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_56_1591.jpg', '/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_58_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_45_1655.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_47_1852.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_48_1621.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_55_6719.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_56_1591.jpg
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_58_58_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343841","1396343835","1396343838","1396343837","1396343836","1396343845"],"photo_ids_order":["1396343835","1396343836","1396343837","1396343838","1396343841","1396343845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f6866c304c1f7dce1c29fb3bb1c687a.jpg","text":"TemporaryFile(/tmp/multipartBody310956200545373017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_56_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/27/9a49b0778ad82fb3e011b9fe8049a989.jpg","text":"TemporaryFile(/tmp/multipartBody6140391247563644203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_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/27/11577b99de22e29dbe62a52e6645c92e.jpg","text":"TemporaryFile(/tmp/multipartBody1850052423011406536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_55_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/27/d6b0f563e504efb771159ef044590216.jpg","text":"TemporaryFile(/tmp/multipartBody376419276683790559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_48_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/27/2a81f9634a2ffbfd05525ad9eac46a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6155136902491483278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_47_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efc5d2872eaabbd7fc0909bc927cae58.jpg","text":"TemporaryFile(/tmp/multipartBody3097758399005043758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207543603,"filename":"image_21112025_18_58_58_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343837","file1":"1396343836","file0":"1396343835","file4":"1396343841","file5":"1396343845","file3":"1396343838"},"map_files_photo_id_array":[{"photo_id":"1396343845","filename":"file5"},{"photo_id":"1396343837","filename":"file2"},{"photo_id":"1396343841","filename":"file4"},{"photo_id":"1396343836","filename":"file1"},{"photo_id":"1396343835","filename":"file0"},{"photo_id":"1396343838","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343841":["hashtag1","hashtag2"]},{"1396343835":["hashtag1","hashtag2"]},{"1396343838":["hashtag1","hashtag2"]},{"1396343837":["hashtag1","hashtag2"]},{"1396343836":["hashtag1","hashtag2"]},{"1396343845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343841, 1396343835, 1396343838, 1396343837, 1396343836, 1396343845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8378586769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:38:41.955079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/19/image_30102025_21_19_51_3653.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_54_2600.jpg', '/home/pi/Desktop/images/30102025/21/19/image_30102025_21_20_00_3759.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_03_2630.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_06_3068.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_08_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_51_3653.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_19_54_2600.jpg
/home/pi/Desktop/images/30102025/21/19/image_30102025_21_20_00_3759.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_03_2630.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_06_3068.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_08_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343856","1396343858","1396343867","1396343861","1396343860","1396343866"],"photo_ids_order":["1396343856","1396343858","1396343860","1396343861","1396343866","1396343867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b1e9eddd13f2e8bf8cd5ff789e130d0.jpg","text":"TemporaryFile(/tmp/multipartBody710635116056100289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_19_51_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/27/4ddf1b93d87e95afd56c00acf2995c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3665558559204477926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_19_54_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/27/59f47f512605fb055d7451a72d31aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody4761468258197412868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_20_08_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/27/4e3f2612db1ff22bd8586bc9133cd11f.jpg","text":"TemporaryFile(/tmp/multipartBody2752212502400985277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_20_03_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/27/3fb0f3c118461c53da709837496b4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody7204486246540366058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_20_00_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/27/f5c2d938313c4eccb0002304d9a95e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7404554040344640004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207583207,"filename":"image_30102025_21_20_06_3068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343860","file1":"1396343858","file0":"1396343856","file4":"1396343866","file5":"1396343867","file3":"1396343861"},"map_files_photo_id_array":[{"photo_id":"1396343867","filename":"file5"},{"photo_id":"1396343860","filename":"file2"},{"photo_id":"1396343866","filename":"file4"},{"photo_id":"1396343858","filename":"file1"},{"photo_id":"1396343856","filename":"file0"},{"photo_id":"1396343861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343856":["hashtag1","hashtag2"]},{"1396343858":["hashtag1","hashtag2"]},{"1396343867":["hashtag1","hashtag2"]},{"1396343861":["hashtag1","hashtag2"]},{"1396343860":["hashtag1","hashtag2"]},{"1396343866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343856, 1396343858, 1396343867, 1396343861, 1396343860, 1396343866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.311468839645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:39:22.103086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_54_9685.jpg', '/home/pi/Desktop/images/27112025/02/37/image_27112025_02_38_04_9726.jpg', '/home/pi/Desktop/images/27112025/02/38/image_27112025_02_38_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/37/image_27112025_02_37_54_9685.jpg
/home/pi/Desktop/images/27112025/02/37/image_27112025_02_38_04_9726.jpg
/home/pi/Desktop/images/27112025/02/38/image_27112025_02_38_14_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343879","1396343872","1396343875"],"photo_ids_order":["1396343872","1396343875","1396343879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fa308348e3521385852ba3226f821f6.jpg","text":"TemporaryFile(/tmp/multipartBody1672897721020936470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207622702,"filename":"image_27112025_02_38_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a1da2eb6ed1b21acd81c90a8d9599d1.jpg","text":"TemporaryFile(/tmp/multipartBody7236262482302452794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207622702,"filename":"image_27112025_02_37_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba35ef38c2728a73934dee468899add5.jpg","text":"TemporaryFile(/tmp/multipartBody3740260952031135085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207622702,"filename":"image_27112025_02_38_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343879","file1":"1396343875","file0":"1396343872"},"map_files_photo_id_array":[{"photo_id":"1396343879","filename":"file2"},{"photo_id":"1396343875","filename":"file1"},{"photo_id":"1396343872","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343879":["hashtag1","hashtag2"]},{"1396343872":["hashtag1","hashtag2"]},{"1396343875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343879, 1396343872, 1396343875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.346810817718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:40:02.710504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/58/image_21112025_18_59_00_1605.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_01_1661.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_03_1614.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_05_1598.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_06_1537.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_09_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/58/image_21112025_18_59_00_1605.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_01_1661.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_03_1614.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_05_1598.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_06_1537.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_09_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343901","1396343888","1396343885","1396343896","1396343892","1396343886"],"photo_ids_order":["1396343885","1396343886","1396343888","1396343892","1396343896","1396343901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c65e3f4fac20debdca3b676c4cfc697.jpg","text":"TemporaryFile(/tmp/multipartBody5080831991746991506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_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/27/16658daccc39d2a5036690ee369d2772.jpg","text":"TemporaryFile(/tmp/multipartBody7312200170501207061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_03_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/27/3b9ccaaa03089db9526a110b7d81e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody1979831532452765621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_00_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/27/6c079f4e104d657981a55e8a6f6e3039.jpg","text":"TemporaryFile(/tmp/multipartBody4855590037134483515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_06_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/27/aeb3ca03a69a5aa5164b31ac154c6209.jpg","text":"TemporaryFile(/tmp/multipartBody4207069925617612222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_05_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/27/25f5380141b5a5c042afee6cbb115e45.jpg","text":"TemporaryFile(/tmp/multipartBody4981226301475156197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207663909,"filename":"image_21112025_18_59_01_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343888","file1":"1396343886","file0":"1396343885","file4":"1396343896","file5":"1396343901","file3":"1396343892"},"map_files_photo_id_array":[{"photo_id":"1396343901","filename":"file5"},{"photo_id":"1396343888","filename":"file2"},{"photo_id":"1396343896","filename":"file4"},{"photo_id":"1396343886","filename":"file1"},{"photo_id":"1396343885","filename":"file0"},{"photo_id":"1396343892","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343901":["hashtag1","hashtag2"]},{"1396343888":["hashtag1","hashtag2"]},{"1396343885":["hashtag1","hashtag2"]},{"1396343896":["hashtag1","hashtag2"]},{"1396343892":["hashtag1","hashtag2"]},{"1396343886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343901, 1396343888, 1396343885, 1396343896, 1396343892, 1396343886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.047565937042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:40:42.334663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/20/image_30102025_21_20_12_3543.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_21_2840.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_23_2611.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_27_3630.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_32_2711.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_39_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_12_3543.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_21_2840.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_23_2611.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_27_3630.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_32_2711.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_39_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":["1396343916","1396343919","1396343913","1396343912","1396343917","1396343914"],"photo_ids_order":["1396343912","1396343913","1396343914","1396343916","1396343917","1396343919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eee4da8bc3ae62623f505545fe192410.jpg","text":"TemporaryFile(/tmp/multipartBody2122567234791900966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_27_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/27/f9d62f9596b206fc9ff9a6de32ff5bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2227082196561420733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_39_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/27/49eccf2c618a56527b3c3e3be2a3dc10.jpg","text":"TemporaryFile(/tmp/multipartBody8426255068283110949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_21_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/27/7ead17b2fde62ca87c7ea7ff6a6699d3.jpg","text":"TemporaryFile(/tmp/multipartBody658914257824869697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_12_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/27/d267710d360b79dfb4cdc2a5307b1e85.jpg","text":"TemporaryFile(/tmp/multipartBody8114779369678681131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_32_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/27/a408b783b9e3a48c64ca50390d70acb2.jpg","text":"TemporaryFile(/tmp/multipartBody1451811976857496945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207703572,"filename":"image_30102025_21_20_23_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343914","file1":"1396343913","file0":"1396343912","file4":"1396343917","file5":"1396343919","file3":"1396343916"},"map_files_photo_id_array":[{"photo_id":"1396343919","filename":"file5"},{"photo_id":"1396343914","filename":"file2"},{"photo_id":"1396343917","filename":"file4"},{"photo_id":"1396343913","filename":"file1"},{"photo_id":"1396343912","filename":"file0"},{"photo_id":"1396343916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343916":["hashtag1","hashtag2"]},{"1396343919":["hashtag1","hashtag2"]},{"1396343913":["hashtag1","hashtag2"]},{"1396343912":["hashtag1","hashtag2"]},{"1396343917":["hashtag1","hashtag2"]},{"1396343914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343916, 1396343919, 1396343913, 1396343912, 1396343917, 1396343914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80371904373169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:41:22.446472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/38/image_27112025_02_38_44_9574.jpg', '/home/pi/Desktop/images/27112025/02/40/image_27112025_02_40_45_10726.jpg', '/home/pi/Desktop/images/27112025/02/40/image_27112025_02_40_55_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/38/image_27112025_02_38_44_9574.jpg
/home/pi/Desktop/images/27112025/02/40/image_27112025_02_40_45_10726.jpg
/home/pi/Desktop/images/27112025/02/40/image_27112025_02_40_55_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343952","1396343946","1396343949"],"photo_ids_order":["1396343946","1396343949","1396343952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a23a1d01a853040d63af6d5b805e24b9.jpg","text":"TemporaryFile(/tmp/multipartBody7386669651605153235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207743057,"filename":"image_27112025_02_40_55_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bed13cbaf68aea767ce790f0a67924e3.jpg","text":"TemporaryFile(/tmp/multipartBody4415780401001951525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207743057,"filename":"image_27112025_02_38_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1786a2b8994b833b8cecd101537fbfce.jpg","text":"TemporaryFile(/tmp/multipartBody1925625992423873669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207743057,"filename":"image_27112025_02_40_45_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343952","file1":"1396343949","file0":"1396343946"},"map_files_photo_id_array":[{"photo_id":"1396343952","filename":"file2"},{"photo_id":"1396343949","filename":"file1"},{"photo_id":"1396343946","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343952":["hashtag1","hashtag2"]},{"1396343946":["hashtag1","hashtag2"]},{"1396343949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343952, 1396343946, 1396343949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.535006761550903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:42:03.038812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_12_2826.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_15_3260.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_18_2815.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_21_3607.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_24_2628.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_26_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_12_2826.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_15_3260.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_18_2815.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_21_3607.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_24_2628.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_26_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343958","1396343969","1396343963","1396343957","1396343960","1396343974"],"photo_ids_order":["1396343957","1396343958","1396343960","1396343963","1396343969","1396343974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0dcdf307c1b9324e1c6694908b8f1864.jpg","text":"TemporaryFile(/tmp/multipartBody1029890969852511791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_15_3260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a4400de94f9969694cc68bb16529b21.jpg","text":"TemporaryFile(/tmp/multipartBody6891430442363288694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_24_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/27/f4cb96578edd1ed5644318473aaa4c13.jpg","text":"TemporaryFile(/tmp/multipartBody8450732294433372339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_21_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/27/e8eadb899baf78b8a0aa5503dac94826.jpg","text":"TemporaryFile(/tmp/multipartBody6919440723226838090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_12_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/27/c65b7d588bad4d81ac5189863e301ab4.jpg","text":"TemporaryFile(/tmp/multipartBody967457908710436128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_18_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/27/93ff30c0bc3b560bcbeac824900d1acb.jpg","text":"TemporaryFile(/tmp/multipartBody3795767856460108072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207784256,"filename":"image_21112025_18_59_26_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343960","file1":"1396343958","file0":"1396343957","file4":"1396343969","file5":"1396343974","file3":"1396343963"},"map_files_photo_id_array":[{"photo_id":"1396343974","filename":"file5"},{"photo_id":"1396343960","filename":"file2"},{"photo_id":"1396343969","filename":"file4"},{"photo_id":"1396343958","filename":"file1"},{"photo_id":"1396343957","filename":"file0"},{"photo_id":"1396343963","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396343958":["hashtag1","hashtag2"]},{"1396343969":["hashtag1","hashtag2"]},{"1396343963":["hashtag1","hashtag2"]},{"1396343957":["hashtag1","hashtag2"]},{"1396343960":["hashtag1","hashtag2"]},{"1396343974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396343958, 1396343969, 1396343963, 1396343957, 1396343960, 1396343974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78601598739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:42:42.601423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/20/image_30102025_21_20_45_3607.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_50_2603.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_54_3710.jpg', '/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_57_3582.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_12_3616.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_17_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/21/20/image_30102025_21_20_45_3607.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_50_2603.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_54_3710.jpg
/home/pi/Desktop/images/30102025/21/20/image_30102025_21_20_57_3582.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_12_3616.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_17_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343988","1396343987","1396343984","1396343986","1396343989","1396343985"],"photo_ids_order":["1396343984","1396343985","1396343986","1396343987","1396343988","1396343989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96142bd22a43125c2c1bcfc66b241339.jpg","text":"TemporaryFile(/tmp/multipartBody8807461229232202633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_21_12_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/27/eeee471370d9a1ce9b3e8c1e8cb1cc39.jpg","text":"TemporaryFile(/tmp/multipartBody2578050535514969631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_20_57_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/27/1db311cef785ee0bdcc73b3d5568b22d.jpg","text":"TemporaryFile(/tmp/multipartBody960395686750713616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_20_45_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/27/935d293a44d3c77ea48d921201ad79fa.jpg","text":"TemporaryFile(/tmp/multipartBody3128895427700413182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_20_54_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/27/d0929d59ec5d95902c2f12d283bac9ec.jpg","text":"TemporaryFile(/tmp/multipartBody7504222477403213148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_21_17_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/27/4fae5f2d42642e124f12b8ae786180db.jpg","text":"TemporaryFile(/tmp/multipartBody3575457073425168087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207823781,"filename":"image_30102025_21_20_50_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396343986","file1":"1396343985","file0":"1396343984","file4":"1396343988","file5":"1396343989","file3":"1396343987"},"map_files_photo_id_array":[{"photo_id":"1396343989","filename":"file5"},{"photo_id":"1396343986","filename":"file2"},{"photo_id":"1396343988","filename":"file4"},{"photo_id":"1396343985","filename":"file1"},{"photo_id":"1396343984","filename":"file0"},{"photo_id":"1396343987","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396343988":["hashtag1","hashtag2"]},{"1396343987":["hashtag1","hashtag2"]},{"1396343984":["hashtag1","hashtag2"]},{"1396343986":["hashtag1","hashtag2"]},{"1396343989":["hashtag1","hashtag2"]},{"1396343985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396343988, 1396343987, 1396343984, 1396343986, 1396343989, 1396343985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.740336418151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:43:21.881331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/41/image_27112025_02_41_25_10564.jpg', '/home/pi/Desktop/images/27112025/02/41/image_27112025_02_42_05_10790.jpg', '/home/pi/Desktop/images/27112025/02/42/image_27112025_02_42_44_10075.jpg', '/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_34_9915.jpg', '/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_44_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/41/image_27112025_02_41_25_10564.jpg
/home/pi/Desktop/images/27112025/02/41/image_27112025_02_42_05_10790.jpg
/home/pi/Desktop/images/27112025/02/42/image_27112025_02_42_44_10075.jpg
/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_34_9915.jpg
/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_44_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396343996","1396344011","1396344008","1396344002","1396344004"],"photo_ids_order":["1396343996","1396344002","1396344004","1396344008","1396344011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62980168c2d15ba6e86cedfc35cc165b.jpg","text":"TemporaryFile(/tmp/multipartBody4432096184965612525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207862606,"filename":"image_27112025_02_41_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0efb4b3af7d1ec0fb6090108c27c519.jpg","text":"TemporaryFile(/tmp/multipartBody5372596866629662211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207862606,"filename":"image_27112025_02_43_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44700a81ed4c6b3be824071fd6e4fb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3400019378289828860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207862606,"filename":"image_27112025_02_43_34_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a08cd1a2b3c8a9e2adce6c550dd04c36.jpg","text":"TemporaryFile(/tmp/multipartBody7567640282258521788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207862606,"filename":"image_27112025_02_42_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6176e456a48b28553127b3fe706f7091.jpg","text":"TemporaryFile(/tmp/multipartBody2923670931941771551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207862606,"filename":"image_27112025_02_42_44_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344004","file1":"1396344002","file0":"1396343996","file4":"1396344011","file3":"1396344008"},"map_files_photo_id_array":[{"photo_id":"1396344004","filename":"file2"},{"photo_id":"1396344011","filename":"file4"},{"photo_id":"1396344002","filename":"file1"},{"photo_id":"1396343996","filename":"file0"},{"photo_id":"1396344008","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396343996":["hashtag1","hashtag2"]},{"1396344011":["hashtag1","hashtag2"]},{"1396344008":["hashtag1","hashtag2"]},{"1396344002":["hashtag1","hashtag2"]},{"1396344004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396343996, 1396344011, 1396344008, 1396344002, 1396344004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.622814416885376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:44:02.802715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_33_2623.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_36_2946.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_39_3745.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_42_2742.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_45_2952.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_48_2952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_33_2623.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_36_2946.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_39_3745.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_42_2742.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_45_2952.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_48_2952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344015","1396344018","1396344020","1396344023","1396344028","1396344013"],"photo_ids_order":["1396344013","1396344015","1396344018","1396344020","1396344023","1396344028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7457ae9128bccb065fb61b1353eb8115.jpg","text":"TemporaryFile(/tmp/multipartBody1236758769180598417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_36_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/27/07d2465eeb8a3ef0ec685bf8113a15f0.jpg","text":"TemporaryFile(/tmp/multipartBody1097200589383624309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_39_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/27/e855812c010b6d058e113d0987711a07.jpg","text":"TemporaryFile(/tmp/multipartBody1766362007004251970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_42_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/27/4219ec0675bc161764c97dacac1855d3.jpg","text":"TemporaryFile(/tmp/multipartBody8624288751081315460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_45_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/27/898d1be026a4059fe2001644179fd142.jpg","text":"TemporaryFile(/tmp/multipartBody2482304116871448413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_48_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/27/5f2ba69b5e5a48bbbe8e85f1eb190d18.jpg","text":"TemporaryFile(/tmp/multipartBody6788583743412477362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207904200,"filename":"image_21112025_18_59_33_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344018","file1":"1396344015","file0":"1396344013","file4":"1396344023","file5":"1396344028","file3":"1396344020"},"map_files_photo_id_array":[{"photo_id":"1396344028","filename":"file5"},{"photo_id":"1396344018","filename":"file2"},{"photo_id":"1396344023","filename":"file4"},{"photo_id":"1396344015","filename":"file1"},{"photo_id":"1396344013","filename":"file0"},{"photo_id":"1396344020","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344015":["hashtag1","hashtag2"]},{"1396344018":["hashtag1","hashtag2"]},{"1396344020":["hashtag1","hashtag2"]},{"1396344023":["hashtag1","hashtag2"]},{"1396344028":["hashtag1","hashtag2"]},{"1396344013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344015, 1396344018, 1396344020, 1396344023, 1396344028, 1396344013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30976486206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:44:42.177323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/21/image_30102025_21_21_20_2906.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_24_3580.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_33_3541.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_38_2652.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_41_2913.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_45_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_20_2906.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_24_3580.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_33_3541.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_38_2652.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_41_2913.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_45_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344042","1396344036","1396344035","1396344040","1396344034","1396344043"],"photo_ids_order":["1396344034","1396344035","1396344036","1396344040","1396344042","1396344043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/331deeac6665340511f32f9a77d2480b.jpg","text":"TemporaryFile(/tmp/multipartBody3793805061089332007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_41_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c19caa6e1cd1fb6c8bf057afb10bc10c.jpg","text":"TemporaryFile(/tmp/multipartBody1135574978072612773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_33_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/27/0af378f8c5172e7256ab68697114f06e.jpg","text":"TemporaryFile(/tmp/multipartBody5466171359928673151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_24_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/27/fa6155f621df77957bcb48be68fe519b.jpg","text":"TemporaryFile(/tmp/multipartBody6190410811482179296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_38_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/27/ae335b47a768f4a8388450234279664e.jpg","text":"TemporaryFile(/tmp/multipartBody4514212212817737470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_20_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/27/7437246f21ad1ff6045bf8691607e477.jpg","text":"TemporaryFile(/tmp/multipartBody5880288481842248019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207943416,"filename":"image_30102025_21_21_45_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344036","file1":"1396344035","file0":"1396344034","file4":"1396344042","file5":"1396344043","file3":"1396344040"},"map_files_photo_id_array":[{"photo_id":"1396344043","filename":"file5"},{"photo_id":"1396344036","filename":"file2"},{"photo_id":"1396344042","filename":"file4"},{"photo_id":"1396344035","filename":"file1"},{"photo_id":"1396344034","filename":"file0"},{"photo_id":"1396344040","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344042":["hashtag1","hashtag2"]},{"1396344036":["hashtag1","hashtag2"]},{"1396344035":["hashtag1","hashtag2"]},{"1396344040":["hashtag1","hashtag2"]},{"1396344034":["hashtag1","hashtag2"]},{"1396344043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344042, 1396344036, 1396344035, 1396344040, 1396344034, 1396344043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81866979598999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:45:22.349807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_55_10733.jpg', '/home/pi/Desktop/images/27112025/02/43/image_27112025_02_44_05_9665.jpg', '/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_14_9633.jpg', '/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_24_9753.jpg', '/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_35_10735.jpg', '/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/43/image_27112025_02_43_55_10733.jpg
/home/pi/Desktop/images/27112025/02/43/image_27112025_02_44_05_9665.jpg
/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_14_9633.jpg
/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_24_9753.jpg
/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_35_10735.jpg
/home/pi/Desktop/images/27112025/02/44/image_27112025_02_44_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344062","1396344056","1396344064","1396344058","1396344051","1396344060"],"photo_ids_order":["1396344051","1396344056","1396344058","1396344060","1396344062","1396344064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d76673fb37c47daa34717db110911dcb.jpg","text":"TemporaryFile(/tmp/multipartBody968331896045068106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_44_35_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89261fa522b8f785a104aeb880120e41.jpg","text":"TemporaryFile(/tmp/multipartBody458459256300488331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_44_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c5e5d225bb0146648625b0e3ef97dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4151376411054853866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_44_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed2126d3039d6d092e19d7d754bc2203.jpg","text":"TemporaryFile(/tmp/multipartBody3636498956981764061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_44_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f5ff8fa2c452aba8fe7164902e2fb81.jpg","text":"TemporaryFile(/tmp/multipartBody1366424127596616503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_43_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51aaf017b7b41aeda58922f67118d885.jpg","text":"TemporaryFile(/tmp/multipartBody7263604006307196145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764207983124,"filename":"image_27112025_02_44_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344058","file1":"1396344056","file0":"1396344051","file4":"1396344062","file5":"1396344064","file3":"1396344060"},"map_files_photo_id_array":[{"photo_id":"1396344064","filename":"file5"},{"photo_id":"1396344058","filename":"file2"},{"photo_id":"1396344062","filename":"file4"},{"photo_id":"1396344056","filename":"file1"},{"photo_id":"1396344051","filename":"file0"},{"photo_id":"1396344060","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344062":["hashtag1","hashtag2"]},{"1396344056":["hashtag1","hashtag2"]},{"1396344064":["hashtag1","hashtag2"]},{"1396344058":["hashtag1","hashtag2"]},{"1396344051":["hashtag1","hashtag2"]},{"1396344060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344062, 1396344056, 1396344064, 1396344058, 1396344051, 1396344060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.613746881484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:46:03.084063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/44/image_27112025_02_45_05_10777.jpg', '/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_15_9790.jpg', '/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/44/image_27112025_02_45_05_10777.jpg
/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_15_9790.jpg
/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344068","1396344085","1396344076"],"photo_ids_order":["1396344068","1396344076","1396344085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04858381ce84e68daa323e17a29ebabe.jpg","text":"TemporaryFile(/tmp/multipartBody7231047855724849373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208023740,"filename":"image_27112025_02_45_05_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea6a69f9188723e32274378f9de5462f.jpg","text":"TemporaryFile(/tmp/multipartBody3093443881423087854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208023740,"filename":"image_27112025_02_45_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/419c611ee8d15d24c2b6596fc5d17cea.jpg","text":"TemporaryFile(/tmp/multipartBody1511728995583483192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208023740,"filename":"image_27112025_02_45_15_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344085","file1":"1396344076","file0":"1396344068"},"map_files_photo_id_array":[{"photo_id":"1396344085","filename":"file2"},{"photo_id":"1396344076","filename":"file1"},{"photo_id":"1396344068","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344068":["hashtag1","hashtag2"]},{"1396344085":["hashtag1","hashtag2"]},{"1396344076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344068, 1396344085, 1396344076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.710026025772095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:46:32.633106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_51_2817.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_54_2644.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_57_3649.jpg', '/home/pi/Desktop/images/21112025/18/59/image_21112025_19_00_00_2554.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_07_3016.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_13_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_51_2817.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_54_2644.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_18_59_57_3649.jpg
/home/pi/Desktop/images/21112025/18/59/image_21112025_19_00_00_2554.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_07_3016.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_13_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344105","1396344107","1396344103","1396344096","1396344109","1396344100"],"photo_ids_order":["1396344096","1396344100","1396344103","1396344105","1396344107","1396344109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/242a0819b7c6d8be60bc37f1650add89.jpg","text":"TemporaryFile(/tmp/multipartBody4039049704481900585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_19_00_00_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/27/a8a1974437f9815ade7e07c092606941.jpg","text":"TemporaryFile(/tmp/multipartBody4093385172590806477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_19_01_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/27/e6514a34f1077ffd9c814fb75925248f.jpg","text":"TemporaryFile(/tmp/multipartBody3150397825195070130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_18_59_57_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/27/301eba112d9ebc70acdd355064d29949.jpg","text":"TemporaryFile(/tmp/multipartBody8841038355420550911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_18_59_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/27/9e97de7469db311f3f33205bd96bba7b.jpg","text":"TemporaryFile(/tmp/multipartBody1823175478515701049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_19_01_13_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/27/d53220d2f19b79cc0858e14527df3fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5363516021828435396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208054494,"filename":"image_21112025_18_59_54_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344103","file1":"1396344100","file0":"1396344096","file4":"1396344107","file5":"1396344109","file3":"1396344105"},"map_files_photo_id_array":[{"photo_id":"1396344109","filename":"file5"},{"photo_id":"1396344103","filename":"file2"},{"photo_id":"1396344107","filename":"file4"},{"photo_id":"1396344100","filename":"file1"},{"photo_id":"1396344096","filename":"file0"},{"photo_id":"1396344105","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344105":["hashtag1","hashtag2"]},{"1396344107":["hashtag1","hashtag2"]},{"1396344103":["hashtag1","hashtag2"]},{"1396344096":["hashtag1","hashtag2"]},{"1396344109":["hashtag1","hashtag2"]},{"1396344100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344105, 1396344107, 1396344103, 1396344096, 1396344109, 1396344100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939204454422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:47:11.906253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_16_2655.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_19_2818.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_23_3820.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_25_2696.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_28_2663.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_32_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_16_2655.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_19_2818.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_23_3820.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_25_2696.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_28_2663.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_32_3552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344137","1396344125","1396344134","1396344115","1396344139","1396344118"],"photo_ids_order":["1396344115","1396344118","1396344125","1396344134","1396344137","1396344139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/951440d1931b9fb8b4800f3759103496.jpg","text":"TemporaryFile(/tmp/multipartBody4460141924050358967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_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/27/1a3e75bb3605ee9d9d8bfb63123029e9.jpg","text":"TemporaryFile(/tmp/multipartBody5404284687621904250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_23_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/27/a7432b7a48ee1e2ccc487b7e868aa6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3849293548099468465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_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/27/4a5c1aeff5aca7496b2cfb1623219a67.jpg","text":"TemporaryFile(/tmp/multipartBody4520781705818065141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_16_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/27/7906d6d23662cdf289de3af960e35c40.jpg","text":"TemporaryFile(/tmp/multipartBody8666747058813336946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_32_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/27/0d767fb35bcc640c082541f9f8a0105f.jpg","text":"TemporaryFile(/tmp/multipartBody384534784514467014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208093731,"filename":"image_21112025_19_01_19_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344125","file1":"1396344118","file0":"1396344115","file4":"1396344137","file5":"1396344139","file3":"1396344134"},"map_files_photo_id_array":[{"photo_id":"1396344139","filename":"file5"},{"photo_id":"1396344125","filename":"file2"},{"photo_id":"1396344137","filename":"file4"},{"photo_id":"1396344118","filename":"file1"},{"photo_id":"1396344115","filename":"file0"},{"photo_id":"1396344134","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344137":["hashtag1","hashtag2"]},{"1396344125":["hashtag1","hashtag2"]},{"1396344134":["hashtag1","hashtag2"]},{"1396344115":["hashtag1","hashtag2"]},{"1396344139":["hashtag1","hashtag2"]},{"1396344118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344137, 1396344125, 1396344134, 1396344115, 1396344139, 1396344118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47342276573181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:48:02.483992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_34_9806.jpg', '/home/pi/Desktop/images/27112025/02/46/image_27112025_02_46_24_9057.jpg', '/home/pi/Desktop/images/27112025/02/47/image_27112025_02_47_34_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/45/image_27112025_02_45_34_9806.jpg
/home/pi/Desktop/images/27112025/02/46/image_27112025_02_46_24_9057.jpg
/home/pi/Desktop/images/27112025/02/47/image_27112025_02_47_34_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344143","1396344146","1396344142"],"photo_ids_order":["1396344142","1396344143","1396344146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c50c8e6c6a702102722c37ad9d19be19.jpg","text":"TemporaryFile(/tmp/multipartBody2233752955901092052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208143128,"filename":"image_27112025_02_46_24_9057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22c23317ae1a13b74cfb8265b1336d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5429612446729522045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208143128,"filename":"image_27112025_02_47_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68449ac5521cf6528197d140db7af744.jpg","text":"TemporaryFile(/tmp/multipartBody6791799037082585979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208143128,"filename":"image_27112025_02_45_34_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344146","file1":"1396344143","file0":"1396344142"},"map_files_photo_id_array":[{"photo_id":"1396344146","filename":"file2"},{"photo_id":"1396344143","filename":"file1"},{"photo_id":"1396344142","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344143":["hashtag1","hashtag2"]},{"1396344146":["hashtag1","hashtag2"]},{"1396344142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344143, 1396344146, 1396344142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.96506690979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:48:32.104615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_34_2782.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_37_2680.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_41_4153.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_43_1721.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_47_4152.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_49_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_34_2782.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_37_2680.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_41_4153.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_43_1721.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_47_4152.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_49_1775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344156","1396344170","1396344169","1396344160","1396344171","1396344174"],"photo_ids_order":["1396344156","1396344160","1396344169","1396344170","1396344171","1396344174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b45bc3e3b38584e3fb7cc08a871c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1939408842144421146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_34_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/27/6070a5dca9a1eda6616a4d333cf292f7.jpg","text":"TemporaryFile(/tmp/multipartBody715704468451229032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_43_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/27/5d10484cba1ab2b2d31d243b56702188.jpg","text":"TemporaryFile(/tmp/multipartBody7641413234815034907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_41_4153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f74cbf8f6258184e9f66ba3ea111fd68.jpg","text":"TemporaryFile(/tmp/multipartBody4842432721749551148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_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/27/591554c0806185ac5d79ca16d2f142f7.jpg","text":"TemporaryFile(/tmp/multipartBody8880821787000098069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_47_4152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dacaf457c478e8475438803728165fed.jpg","text":"TemporaryFile(/tmp/multipartBody7361971743949800030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208173956,"filename":"image_21112025_19_01_49_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344169","file1":"1396344160","file0":"1396344156","file4":"1396344171","file5":"1396344174","file3":"1396344170"},"map_files_photo_id_array":[{"photo_id":"1396344174","filename":"file5"},{"photo_id":"1396344169","filename":"file2"},{"photo_id":"1396344171","filename":"file4"},{"photo_id":"1396344160","filename":"file1"},{"photo_id":"1396344156","filename":"file0"},{"photo_id":"1396344170","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344156":["hashtag1","hashtag2"]},{"1396344170":["hashtag1","hashtag2"]},{"1396344169":["hashtag1","hashtag2"]},{"1396344160":["hashtag1","hashtag2"]},{"1396344171":["hashtag1","hashtag2"]},{"1396344174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344156, 1396344170, 1396344169, 1396344160, 1396344171, 1396344174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72377800941467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 02:49:12.146853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_53_3857.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_55_2541.jpg', '/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_59_3503.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_02_2746.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_04_2589.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_08_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_53_3857.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_55_2541.jpg
/home/pi/Desktop/images/21112025/19/01/image_21112025_19_01_59_3503.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_02_2746.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_04_2589.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_08_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344178","1396344189","1396344180","1396344183","1396344177","1396344186"],"photo_ids_order":["1396344177","1396344178","1396344180","1396344183","1396344186","1396344189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07ce0cfc52e99ebccad288f21817b139.jpg","text":"TemporaryFile(/tmp/multipartBody4151987486429360951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_01_55_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/27/263e747d3debfaefac84e679c37c3c61.jpg","text":"TemporaryFile(/tmp/multipartBody7183687869974343589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_02_08_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/27/38bc16b45669efdfcc9e5203eaea4896.jpg","text":"TemporaryFile(/tmp/multipartBody1004562751413207090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_01_59_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/27/8bca62b38aeca2cda21a4ae6b2afebf8.jpg","text":"TemporaryFile(/tmp/multipartBody5477145208250617998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_02_02_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/27/0d5894b49912e01ebcdfd8f8296ec8c8.jpg","text":"TemporaryFile(/tmp/multipartBody4264206468250856870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_01_53_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/27/9a0a815ae28a62fa31580d6e530c9a68.jpg","text":"TemporaryFile(/tmp/multipartBody3529159651726120637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208213914,"filename":"image_21112025_19_02_04_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344180","file1":"1396344178","file0":"1396344177","file4":"1396344186","file5":"1396344189","file3":"1396344183"},"map_files_photo_id_array":[{"photo_id":"1396344189","filename":"file5"},{"photo_id":"1396344180","filename":"file2"},{"photo_id":"1396344186","filename":"file4"},{"photo_id":"1396344178","filename":"file1"},{"photo_id":"1396344177","filename":"file0"},{"photo_id":"1396344183","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344178":["hashtag1","hashtag2"]},{"1396344189":["hashtag1","hashtag2"]},{"1396344180":["hashtag1","hashtag2"]},{"1396344183":["hashtag1","hashtag2"]},{"1396344177":["hashtag1","hashtag2"]},{"1396344186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344178, 1396344189, 1396344180, 1396344183, 1396344177, 1396344186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33842062950134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:50:02.905313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/47/image_27112025_02_47_45_10693.jpg', '/home/pi/Desktop/images/27112025/02/48/image_27112025_02_48_44_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/47/image_27112025_02_47_45_10693.jpg
/home/pi/Desktop/images/27112025/02/48/image_27112025_02_48_44_9763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344194","1396344193"],"photo_ids_order":["1396344193","1396344194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5796fcee05445f1282a366019313c98c.jpg","text":"TemporaryFile(/tmp/multipartBody2112225389778689983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208263524,"filename":"image_27112025_02_48_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4cfce93bbff88065b2f589c181804717.jpg","text":"TemporaryFile(/tmp/multipartBody7620663015262401809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208263524,"filename":"image_27112025_02_47_45_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396344194","file0":"1396344193"},"map_files_photo_id_array":[{"photo_id":"1396344194","filename":"file1"},{"photo_id":"1396344193","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344194":["hashtag1","hashtag2"]},{"1396344193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344194, 1396344193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.723560571670532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:50:22.502385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_12_4475.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_14_1630.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_17_2751.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_23_6301.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_25_2419.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_29_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_12_4475.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_14_1630.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_17_2751.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_23_6301.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_25_2419.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_29_3599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344224","1396344218","1396344206","1396344202","1396344208","1396344225"],"photo_ids_order":["1396344202","1396344206","1396344208","1396344218","1396344224","1396344225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d084d1b59eed4d7fe80f4dea287a47e1.jpg","text":"TemporaryFile(/tmp/multipartBody7588066268154602219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_25_2419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f399b9097096d144dae3c545734ffe0b.jpg","text":"TemporaryFile(/tmp/multipartBody3320236438627781670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_23_6301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b56304a9313e9862d5bc1a2f057fd96e.jpg","text":"TemporaryFile(/tmp/multipartBody5832126687191645503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_14_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/27/6879defe0ed8a8b64b32a0537dabff13.jpg","text":"TemporaryFile(/tmp/multipartBody3823197183122948677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_12_4475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63120a863277c75b1a80f38dbae05296.jpg","text":"TemporaryFile(/tmp/multipartBody5351949587734984815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_17_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/27/891d1ab170ac722ed398d167f9018069.jpg","text":"TemporaryFile(/tmp/multipartBody8616691955018053531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208284367,"filename":"image_21112025_19_02_29_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344208","file1":"1396344206","file0":"1396344202","file4":"1396344224","file5":"1396344225","file3":"1396344218"},"map_files_photo_id_array":[{"photo_id":"1396344225","filename":"file5"},{"photo_id":"1396344208","filename":"file2"},{"photo_id":"1396344224","filename":"file4"},{"photo_id":"1396344206","filename":"file1"},{"photo_id":"1396344202","filename":"file0"},{"photo_id":"1396344218","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344224":["hashtag1","hashtag2"]},{"1396344218":["hashtag1","hashtag2"]},{"1396344206":["hashtag1","hashtag2"]},{"1396344202":["hashtag1","hashtag2"]},{"1396344208":["hashtag1","hashtag2"]},{"1396344225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344224, 1396344218, 1396344206, 1396344202, 1396344208, 1396344225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59742856025696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:51:03.393327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_31_1619.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_34_1696.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_37_3558.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_40_2502.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_44_3701.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_46_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_31_1619.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_34_1696.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_37_3558.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_40_2502.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_44_3701.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_46_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344249","1396344268","1396344229","1396344261","1396344264","1396344258"],"photo_ids_order":["1396344229","1396344249","1396344258","1396344261","1396344264","1396344268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/476ac04878ac16cbcda881a14b2505bd.jpg","text":"TemporaryFile(/tmp/multipartBody3606359146636427206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_34_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/27/2cf2d362b7b5f587aa7e4b167f79315d.jpg","text":"TemporaryFile(/tmp/multipartBody2705019555615611998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_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/27/63b2e6cadd1f5e43bbbb6741818a6142.jpg","text":"TemporaryFile(/tmp/multipartBody6563313106228103451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_31_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/27/fea6794e45b39a6a2ed9f144c3c4cddc.jpg","text":"TemporaryFile(/tmp/multipartBody8402654471037806646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_40_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/27/596393010e79aba70cc9a7177f7f3750.jpg","text":"TemporaryFile(/tmp/multipartBody8153698797389541618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_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/27/04c6f9c626b53662e0cc02a38109c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody8604700538884289439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208324678,"filename":"image_21112025_19_02_37_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344258","file1":"1396344249","file0":"1396344229","file4":"1396344264","file5":"1396344268","file3":"1396344261"},"map_files_photo_id_array":[{"photo_id":"1396344268","filename":"file5"},{"photo_id":"1396344258","filename":"file2"},{"photo_id":"1396344264","filename":"file4"},{"photo_id":"1396344249","filename":"file1"},{"photo_id":"1396344229","filename":"file0"},{"photo_id":"1396344261","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344249":["hashtag1","hashtag2"]},{"1396344268":["hashtag1","hashtag2"]},{"1396344229":["hashtag1","hashtag2"]},{"1396344261":["hashtag1","hashtag2"]},{"1396344264":["hashtag1","hashtag2"]},{"1396344258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344249, 1396344268, 1396344229, 1396344261, 1396344264, 1396344258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22360610961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:51:42.745593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/21/image_30102025_21_21_47_2727.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_52_4184.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_57_3580.jpg', '/home/pi/Desktop/images/30102025/21/21/image_30102025_21_22_00_2666.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_06_3164.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_08_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_47_2727.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_52_4184.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_21_57_3580.jpg
/home/pi/Desktop/images/30102025/21/21/image_30102025_21_22_00_2666.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_06_3164.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_08_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344275","1396344278","1396344277","1396344274","1396344276","1396344279"],"photo_ids_order":["1396344274","1396344275","1396344276","1396344277","1396344278","1396344279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0729c02fcf8a7b112fd6933cea0b839c.jpg","text":"TemporaryFile(/tmp/multipartBody6584332281200361583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_21_52_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/27/f6f4a6d8de944ddbaa6fad3353898f61.jpg","text":"TemporaryFile(/tmp/multipartBody5659853973460370664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_22_06_3164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46ae7e3183c0ecfe931ff89a82056e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4214507134107682568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_22_00_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/27/4261931e90cf8cd70a92313593b4a825.jpg","text":"TemporaryFile(/tmp/multipartBody960015298493828609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_21_47_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/27/6f561a5a27aebe6e59c28459bd6a6420.jpg","text":"TemporaryFile(/tmp/multipartBody6631586737958889200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_21_57_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/27/95d02bedfa4d2da707b29da8baec7420.jpg","text":"TemporaryFile(/tmp/multipartBody5221010587196722916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208364034,"filename":"image_30102025_21_22_08_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344276","file1":"1396344275","file0":"1396344274","file4":"1396344278","file5":"1396344279","file3":"1396344277"},"map_files_photo_id_array":[{"photo_id":"1396344279","filename":"file5"},{"photo_id":"1396344276","filename":"file2"},{"photo_id":"1396344278","filename":"file4"},{"photo_id":"1396344275","filename":"file1"},{"photo_id":"1396344274","filename":"file0"},{"photo_id":"1396344277","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344275":["hashtag1","hashtag2"]},{"1396344278":["hashtag1","hashtag2"]},{"1396344277":["hashtag1","hashtag2"]},{"1396344274":["hashtag1","hashtag2"]},{"1396344276":["hashtag1","hashtag2"]},{"1396344279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344275, 1396344278, 1396344277, 1396344274, 1396344276, 1396344279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.994080543518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:52:21.903746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/49/image_27112025_02_49_24_9794.jpg', '/home/pi/Desktop/images/27112025/02/51/image_27112025_02_52_04_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/49/image_27112025_02_49_24_9794.jpg
/home/pi/Desktop/images/27112025/02/51/image_27112025_02_52_04_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344290","1396344286"],"photo_ids_order":["1396344286","1396344290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfddd47e248d46795f6195da42efc09f.jpg","text":"TemporaryFile(/tmp/multipartBody9113895183065514760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208402497,"filename":"image_27112025_02_52_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2a44ed7578e4e604e0f630bcc3581bf.jpg","text":"TemporaryFile(/tmp/multipartBody7538088781731603828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208402497,"filename":"image_27112025_02_49_24_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396344290","file0":"1396344286"},"map_files_photo_id_array":[{"photo_id":"1396344290","filename":"file1"},{"photo_id":"1396344286","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344290":["hashtag1","hashtag2"]},{"1396344286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344290, 1396344286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.22577738761902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:52:41.899028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/22/image_30102025_21_22_17_2607.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_25_4044.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_29_2546.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_41_2845.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_45_3576.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_47_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_17_2607.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_25_4044.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_29_2546.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_41_2845.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_45_3576.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_47_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344300","1396344299","1396344296","1396344302","1396344298","1396344301"],"photo_ids_order":["1396344296","1396344298","1396344299","1396344300","1396344301","1396344302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/647c3a5e4f0286628ce10acd3e9c8278.jpg","text":"TemporaryFile(/tmp/multipartBody4457224867745605231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_41_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/27/a759ac9ce8b9276cc702799e2d1c23f1.jpg","text":"TemporaryFile(/tmp/multipartBody9074537377208225362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_29_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/27/1f26894a8a59f470f6d5404f0ed83cd4.jpg","text":"TemporaryFile(/tmp/multipartBody5445399139092920683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_17_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/27/0ef0a1f8c529f22bd3c1d5c68aac4752.jpg","text":"TemporaryFile(/tmp/multipartBody8421360013920750903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_47_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/27/6ada37fca4d896910c521d0d993ff23a.jpg","text":"TemporaryFile(/tmp/multipartBody3358942898393274497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_25_4044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb7f51aa22d1a22e76bc234998338ecf.jpg","text":"TemporaryFile(/tmp/multipartBody9110622224562188654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208423143,"filename":"image_30102025_21_22_45_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344299","file1":"1396344298","file0":"1396344296","file4":"1396344301","file5":"1396344302","file3":"1396344300"},"map_files_photo_id_array":[{"photo_id":"1396344302","filename":"file5"},{"photo_id":"1396344299","filename":"file2"},{"photo_id":"1396344301","filename":"file4"},{"photo_id":"1396344298","filename":"file1"},{"photo_id":"1396344296","filename":"file0"},{"photo_id":"1396344300","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344300":["hashtag1","hashtag2"]},{"1396344299":["hashtag1","hashtag2"]},{"1396344296":["hashtag1","hashtag2"]},{"1396344302":["hashtag1","hashtag2"]},{"1396344298":["hashtag1","hashtag2"]},{"1396344301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344300, 1396344299, 1396344296, 1396344302, 1396344298, 1396344301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62670350074768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:53:22.103641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/52/image_27112025_02_52_54_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/52/image_27112025_02_52_54_9973.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344316"],"photo_id":"1396344316","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd6ae55fb8c76ddf72c0c40db575474b.jpg","text":"TemporaryFile(/tmp/multipartBody2023817963433159956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208462644,"filename":"image_27112025_02_52_54_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396344316"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396344316"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.957769870758057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:53:42.120734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/22/image_30102025_21_22_54_2691.jpg', '/home/pi/Desktop/images/30102025/21/22/image_30102025_21_23_00_3639.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_03_2736.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_09_3633.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_14_2866.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_17_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_22_54_2691.jpg
/home/pi/Desktop/images/30102025/21/22/image_30102025_21_23_00_3639.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_03_2736.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_09_3633.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_14_2866.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_17_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344338","1396344340","1396344334","1396344337","1396344336","1396344339"],"photo_ids_order":["1396344334","1396344336","1396344337","1396344338","1396344339","1396344340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43af0da569de33cfb68b81399c64b9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7577358208859261024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_23_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/27/380ce7f98de451b7afe1e6920b92581b.jpg","text":"TemporaryFile(/tmp/multipartBody5987902120685088821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_23_17_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/27/69390fb19e927b47ce709ec34b09b617.jpg","text":"TemporaryFile(/tmp/multipartBody284896215697382220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_22_54_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/27/7af01902873261bab04c4047d81ded85.jpg","text":"TemporaryFile(/tmp/multipartBody5336915023301727826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_23_03_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/27/543cd095fa3164f0601334957fd4f4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2232523379728837928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_23_00_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/27/05f482b5bafe392bc69ecf741fdff86a.jpg","text":"TemporaryFile(/tmp/multipartBody7540268631085910746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208483359,"filename":"image_30102025_21_23_14_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344337","file1":"1396344336","file0":"1396344334","file4":"1396344339","file5":"1396344340","file3":"1396344338"},"map_files_photo_id_array":[{"photo_id":"1396344340","filename":"file5"},{"photo_id":"1396344337","filename":"file2"},{"photo_id":"1396344339","filename":"file4"},{"photo_id":"1396344336","filename":"file1"},{"photo_id":"1396344334","filename":"file0"},{"photo_id":"1396344338","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344338":["hashtag1","hashtag2"]},{"1396344340":["hashtag1","hashtag2"]},{"1396344334":["hashtag1","hashtag2"]},{"1396344337":["hashtag1","hashtag2"]},{"1396344336":["hashtag1","hashtag2"]},{"1396344339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344338, 1396344340, 1396344334, 1396344337, 1396344336, 1396344339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16312026977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:54:22.294972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/53/image_27112025_02_53_34_9773.jpg', '/home/pi/Desktop/images/27112025/02/54/image_27112025_02_54_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/53/image_27112025_02_53_34_9773.jpg
/home/pi/Desktop/images/27112025/02/54/image_27112025_02_54_24_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344347","1396344351"],"photo_ids_order":["1396344347","1396344351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1444be9893ab631ad27e4de89ccc1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3888790411389506303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208522882,"filename":"image_27112025_02_53_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7327abdc083f7e1a1d157b6ee26be393.jpg","text":"TemporaryFile(/tmp/multipartBody2413824623537967104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208522882,"filename":"image_27112025_02_54_24_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396344351","file0":"1396344347"},"map_files_photo_id_array":[{"photo_id":"1396344351","filename":"file1"},{"photo_id":"1396344347","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396344347":["hashtag1","hashtag2"]},{"1396344351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396344347, 1396344351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.609295129776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:54:42.329237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/23/image_30102025_21_23_21_3661.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_23_2662.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_27_3569.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_30_2768.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_32_2787.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_42_7287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_21_3661.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_23_2662.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_27_3569.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_30_2768.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_32_2787.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_42_7287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344371","1396344370","1396344373","1396344367","1396344372","1396344369"],"photo_ids_order":["1396344367","1396344369","1396344370","1396344371","1396344372","1396344373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ad66a3430f9efd6517eec24a52c0f00.jpg","text":"TemporaryFile(/tmp/multipartBody3012800346534184659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_30_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/27/eda3aef5f13b81008a5c9def6688b675.jpg","text":"TemporaryFile(/tmp/multipartBody8782919418641438950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_27_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/27/0bda127142ebe19478ca821d1a1a82aa.jpg","text":"TemporaryFile(/tmp/multipartBody1706339227581927616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_42_7287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb9683ec1f0e5b6fcd76493b0c195159.jpg","text":"TemporaryFile(/tmp/multipartBody1683783588251081225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_21_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/27/8a2767df51a9f4bbfea7a3c900cf51a9.jpg","text":"TemporaryFile(/tmp/multipartBody1483814587052721312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_32_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/27/221908b891b9c1a9d218c6913df84832.jpg","text":"TemporaryFile(/tmp/multipartBody4401720481060929553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208543592,"filename":"image_30102025_21_23_23_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344370","file1":"1396344369","file0":"1396344367","file4":"1396344372","file5":"1396344373","file3":"1396344371"},"map_files_photo_id_array":[{"photo_id":"1396344373","filename":"file5"},{"photo_id":"1396344370","filename":"file2"},{"photo_id":"1396344372","filename":"file4"},{"photo_id":"1396344369","filename":"file1"},{"photo_id":"1396344367","filename":"file0"},{"photo_id":"1396344371","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344371":["hashtag1","hashtag2"]},{"1396344370":["hashtag1","hashtag2"]},{"1396344373":["hashtag1","hashtag2"]},{"1396344367":["hashtag1","hashtag2"]},{"1396344372":["hashtag1","hashtag2"]},{"1396344369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344371, 1396344370, 1396344373, 1396344367, 1396344372, 1396344369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0588161945343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 02:55:22.520855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_49_2637.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_52_3226.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_55_2735.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_58_2921.jpg', '/home/pi/Desktop/images/21112025/19/02/image_21112025_19_03_02_3634.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_04_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_49_2637.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_52_3226.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_55_2735.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_02_58_2921.jpg
/home/pi/Desktop/images/21112025/19/02/image_21112025_19_03_02_3634.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_04_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344392","1396344380","1396344394","1396344385","1396344390","1396344396"],"photo_ids_order":["1396344380","1396344385","1396344390","1396344392","1396344394","1396344396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3a1bb09e0ba0f308056ef729ae19c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8803078754736780342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_02_58_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/27/c9bac73d14ea41754d729672de321881.jpg","text":"TemporaryFile(/tmp/multipartBody8323352146122530095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_02_49_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/27/8c1c3113a8eec597e5a8060e136b12ff.jpg","text":"TemporaryFile(/tmp/multipartBody3644791403221978132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_03_02_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/27/916009840a538216f70cb73ce95baabe.jpg","text":"TemporaryFile(/tmp/multipartBody7353230387326500235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_02_52_3226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70fc7e137b1c7c1ac1da8e07f04544ca.jpg","text":"TemporaryFile(/tmp/multipartBody5526422255492966707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_02_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/27/b897e28dd7f9a12da646224e6f69f2a3.jpg","text":"TemporaryFile(/tmp/multipartBody5430103583341087606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208584355,"filename":"image_21112025_19_03_04_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344390","file1":"1396344385","file0":"1396344380","file4":"1396344394","file5":"1396344396","file3":"1396344392"},"map_files_photo_id_array":[{"photo_id":"1396344396","filename":"file5"},{"photo_id":"1396344390","filename":"file2"},{"photo_id":"1396344394","filename":"file4"},{"photo_id":"1396344385","filename":"file1"},{"photo_id":"1396344380","filename":"file0"},{"photo_id":"1396344392","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344392":["hashtag1","hashtag2"]},{"1396344380":["hashtag1","hashtag2"]},{"1396344394":["hashtag1","hashtag2"]},{"1396344385":["hashtag1","hashtag2"]},{"1396344390":["hashtag1","hashtag2"]},{"1396344396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344392, 1396344380, 1396344394, 1396344385, 1396344390, 1396344396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.910248041152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:56:03.237736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_08_3560.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_10_2666.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_13_2624.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_17_3688.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_19_2597.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_22_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_08_3560.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_10_2666.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_13_2624.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_17_3688.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_19_2597.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_22_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344414","1396344402","1396344404","1396344407","1396344400","1396344399"],"photo_ids_order":["1396344399","1396344400","1396344402","1396344404","1396344407","1396344414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3ff56c994d4ed9eebf84c13102a954f.jpg","text":"TemporaryFile(/tmp/multipartBody1154220237551416099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_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/27/0ba8cc901b6e1e3f40a2a94599e23417.jpg","text":"TemporaryFile(/tmp/multipartBody1025297355424400072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_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/27/46430ad06e1bae55f9a702e9eae797cf.jpg","text":"TemporaryFile(/tmp/multipartBody997118370922479041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_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/27/f31caace18ae5fa0adbbdb191a0fc41a.jpg","text":"TemporaryFile(/tmp/multipartBody5764079035114126751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_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/27/bf5f37cc6394cc809613f6ae815afdc7.jpg","text":"TemporaryFile(/tmp/multipartBody6364550413896010122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_10_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/27/a990060dd422d4d5634ecbde3392277e.jpg","text":"TemporaryFile(/tmp/multipartBody1329287637298309787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208624500,"filename":"image_21112025_19_03_08_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344402","file1":"1396344400","file0":"1396344399","file4":"1396344407","file5":"1396344414","file3":"1396344404"},"map_files_photo_id_array":[{"photo_id":"1396344414","filename":"file5"},{"photo_id":"1396344402","filename":"file2"},{"photo_id":"1396344407","filename":"file4"},{"photo_id":"1396344400","filename":"file1"},{"photo_id":"1396344399","filename":"file0"},{"photo_id":"1396344404","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344414":["hashtag1","hashtag2"]},{"1396344402":["hashtag1","hashtag2"]},{"1396344404":["hashtag1","hashtag2"]},{"1396344407":["hashtag1","hashtag2"]},{"1396344400":["hashtag1","hashtag2"]},{"1396344399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344414, 1396344402, 1396344404, 1396344407, 1396344400, 1396344399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.394002199172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:56:42.667964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/23/image_30102025_21_23_44_1568.jpg', '/home/pi/Desktop/images/30102025/21/23/image_30102025_21_24_00_3580.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_02_2626.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_08_2613.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_12_3755.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_14_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_23_44_1568.jpg
/home/pi/Desktop/images/30102025/21/23/image_30102025_21_24_00_3580.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_02_2626.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_08_2613.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_12_3755.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_14_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344470","1396344469","1396344463","1396344466","1396344471","1396344465"],"photo_ids_order":["1396344463","1396344465","1396344466","1396344469","1396344470","1396344471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e86a1696c3a463f2aa75bc6be9f869e1.jpg","text":"TemporaryFile(/tmp/multipartBody8474965812502284856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_24_12_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/27/1ef2608302c942fb7c52afe75f5410fd.jpg","text":"TemporaryFile(/tmp/multipartBody5722446847893936470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_24_08_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/27/c72de112c2f9a43308da507816590c80.jpg","text":"TemporaryFile(/tmp/multipartBody3489688548006763253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_23_44_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/27/629a80cd891491ab1bbaba0ec605c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody4765956318765131249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_24_02_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/27/14f53a2b656460a87e6b0946b911f221.jpg","text":"TemporaryFile(/tmp/multipartBody5915853194122438495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_24_14_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/27/3dcfc51c9c5f9bba50a051da4fe6901e.jpg","text":"TemporaryFile(/tmp/multipartBody5919294722689060934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208663907,"filename":"image_30102025_21_24_00_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344466","file1":"1396344465","file0":"1396344463","file4":"1396344470","file5":"1396344471","file3":"1396344469"},"map_files_photo_id_array":[{"photo_id":"1396344471","filename":"file5"},{"photo_id":"1396344466","filename":"file2"},{"photo_id":"1396344470","filename":"file4"},{"photo_id":"1396344465","filename":"file1"},{"photo_id":"1396344463","filename":"file0"},{"photo_id":"1396344469","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344470":["hashtag1","hashtag2"]},{"1396344469":["hashtag1","hashtag2"]},{"1396344463":["hashtag1","hashtag2"]},{"1396344466":["hashtag1","hashtag2"]},{"1396344471":["hashtag1","hashtag2"]},{"1396344465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344470, 1396344469, 1396344463, 1396344466, 1396344471, 1396344465)","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: 50.17400145530701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 02:57:41.896859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/24/image_30102025_21_24_18_4048.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_23_2712.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_26_2618.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_33_6768.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_34_1664.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_39_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_18_4048.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_23_2712.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_26_2618.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_33_6768.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_34_1664.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_39_2707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344491","1396344488","1396344493","1396344490","1396344492","1396344486"],"photo_ids_order":["1396344486","1396344488","1396344490","1396344491","1396344492","1396344493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f1b4e395de5835f363716ce8821771f.jpg","text":"TemporaryFile(/tmp/multipartBody8510082871855898721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_33_6768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/942313dc8d8e49fa101ce16c443ef421.jpg","text":"TemporaryFile(/tmp/multipartBody660644702046711008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_23_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/27/ab5e0fdfa2ab588a3993a44aff4f4a19.jpg","text":"TemporaryFile(/tmp/multipartBody7950784841092553186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_39_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/27/a098b2c700b4fecd0b3f938f390f368d.jpg","text":"TemporaryFile(/tmp/multipartBody3921427388733002895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_26_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/27/2d95d802d098f85276267d00782abc39.jpg","text":"TemporaryFile(/tmp/multipartBody5382057182660758726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_34_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/27/dd5da2f78b2d996cd879a07967751d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8274252996057123968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208723169,"filename":"image_30102025_21_24_18_4048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344490","file1":"1396344488","file0":"1396344486","file4":"1396344492","file5":"1396344493","file3":"1396344491"},"map_files_photo_id_array":[{"photo_id":"1396344493","filename":"file5"},{"photo_id":"1396344490","filename":"file2"},{"photo_id":"1396344492","filename":"file4"},{"photo_id":"1396344488","filename":"file1"},{"photo_id":"1396344486","filename":"file0"},{"photo_id":"1396344491","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396344491":["hashtag1","hashtag2"]},{"1396344488":["hashtag1","hashtag2"]},{"1396344493":["hashtag1","hashtag2"]},{"1396344490":["hashtag1","hashtag2"]},{"1396344492":["hashtag1","hashtag2"]},{"1396344486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396344491, 1396344488, 1396344493, 1396344490, 1396344492, 1396344486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45709562301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 02:59:03.257730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_25_3177.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_28_2758.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_31_3478.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_34_2562.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_38_3587.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_40_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_25_3177.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_28_2758.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_31_3478.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_34_2562.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_38_3587.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_40_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396344992","1396344761","1396345031","1396344959","1396344916","1396344840"],"photo_ids_order":["1396344761","1396344840","1396344916","1396344959","1396344992","1396345031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5497364676298e5ff99203fb763fc3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4133261329157960295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_19_03_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/27/cbb1b4902752aed61497c025ec7be0c9.jpg","text":"TemporaryFile(/tmp/multipartBody2834598805577017009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_19_03_25_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/27/5b967c469a6c239bf7ebd9aeb81386d8.jpg","text":"TemporaryFile(/tmp/multipartBody2333837376362331952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_19_03_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/27/7aeecfc95e43ab031da231e8b4365e34.jpg","text":"TemporaryFile(/tmp/multipartBody1410184073098254388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_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/27/c79b0f14444f080ba4bef5be276a06f9.jpg","text":"TemporaryFile(/tmp/multipartBody2673974643863062745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_19_03_31_3478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc6feebcba308509980e5b689ec1259d.jpg","text":"TemporaryFile(/tmp/multipartBody6632050307433478433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208804700,"filename":"image_21112025_19_03_28_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396344916","file1":"1396344840","file0":"1396344761","file4":"1396344992","file5":"1396345031","file3":"1396344959"},"map_files_photo_id_array":[{"photo_id":"1396345031","filename":"file5"},{"photo_id":"1396344916","filename":"file2"},{"photo_id":"1396344992","filename":"file4"},{"photo_id":"1396344840","filename":"file1"},{"photo_id":"1396344761","filename":"file0"},{"photo_id":"1396344959","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396344992":["hashtag1","hashtag2"]},{"1396344761":["hashtag1","hashtag2"]},{"1396345031":["hashtag1","hashtag2"]},{"1396344959":["hashtag1","hashtag2"]},{"1396344916":["hashtag1","hashtag2"]},{"1396344840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396344992, 1396344761, 1396345031, 1396344959, 1396344916, 1396344840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29037857055664 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-27 03:00:02.961566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_46_3758.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_49_2628.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_52_2596.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_55_3663.jpg', '/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_58_2873.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_01_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_46_3758.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_49_2628.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_52_2596.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_55_3663.jpg
/home/pi/Desktop/images/21112025/19/03/image_21112025_19_03_58_2873.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_01_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396345526","1396345603","1396345408","1396345449","1396345487","1396345568"],"photo_ids_order":["1396345408","1396345449","1396345487","1396345526","1396345568","1396345603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c15de09740c5c88d5ca84cbeb5108d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6650975422911494769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_03_55_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/27/892e022d6fb688e4db6c06f3434a17d8.jpg","text":"TemporaryFile(/tmp/multipartBody4803554696685872734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_04_01_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/27/6df3552bfd40e52847a039eaaeba06bf.jpg","text":"TemporaryFile(/tmp/multipartBody2287477323085797643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_03_46_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/27/b4455226984bddc7c024f76450b0bb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1580229690025476806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_03_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/27/7f60ab41f1c365beb36cb34d131ff87c.jpg","text":"TemporaryFile(/tmp/multipartBody2544796767158335136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_03_52_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/27/e3febd4f55fb6ebfb7bc426ab6fea3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7128477184603674379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208864167,"filename":"image_21112025_19_03_58_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396345487","file1":"1396345449","file0":"1396345408","file4":"1396345568","file5":"1396345603","file3":"1396345526"},"map_files_photo_id_array":[{"photo_id":"1396345603","filename":"file5"},{"photo_id":"1396345487","filename":"file2"},{"photo_id":"1396345568","filename":"file4"},{"photo_id":"1396345449","filename":"file1"},{"photo_id":"1396345408","filename":"file0"},{"photo_id":"1396345526","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396345526":["hashtag1","hashtag2"]},{"1396345603":["hashtag1","hashtag2"]},{"1396345408":["hashtag1","hashtag2"]},{"1396345449":["hashtag1","hashtag2"]},{"1396345487":["hashtag1","hashtag2"]},{"1396345568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396345526, 1396345603, 1396345408, 1396345449, 1396345487, 1396345568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11762547492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:00:42.440712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/24/image_30102025_21_24_41_2628.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_44_2831.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_48_3627.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_50_2625.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_56_2609.jpg', '/home/pi/Desktop/images/30102025/21/24/image_30102025_21_25_00_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_41_2628.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_44_2831.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_48_3627.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_50_2625.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_24_56_2609.jpg
/home/pi/Desktop/images/30102025/21/24/image_30102025_21_25_00_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396345712","1396345706","1396345708","1396345719","1396345710","1396345704"],"photo_ids_order":["1396345704","1396345706","1396345708","1396345710","1396345712","1396345719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af2999a18fb3870144394b5c14f6ee08.jpg","text":"TemporaryFile(/tmp/multipartBody8540712767689929448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_24_56_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/27/6c47cec394015fe7e30e9f6a7b1f2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody6018590457284070374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_24_44_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/27/343457a3b1303cdc307f69a14f212fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1643809645214466792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_24_48_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/27/f629e333434b5aa17e63bb17c8509130.jpg","text":"TemporaryFile(/tmp/multipartBody1600702937034465021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_25_00_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/27/18c6d987e4d968e67f82f31c912e3f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7404508173411215042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_24_50_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/27/549e5a6bc62274db5ebc158ea7b105b2.jpg","text":"TemporaryFile(/tmp/multipartBody687007297989424737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208903719,"filename":"image_30102025_21_24_41_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396345708","file1":"1396345706","file0":"1396345704","file4":"1396345712","file5":"1396345719","file3":"1396345710"},"map_files_photo_id_array":[{"photo_id":"1396345719","filename":"file5"},{"photo_id":"1396345708","filename":"file2"},{"photo_id":"1396345712","filename":"file4"},{"photo_id":"1396345706","filename":"file1"},{"photo_id":"1396345704","filename":"file0"},{"photo_id":"1396345710","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396345712":["hashtag1","hashtag2"]},{"1396345706":["hashtag1","hashtag2"]},{"1396345708":["hashtag1","hashtag2"]},{"1396345719":["hashtag1","hashtag2"]},{"1396345710":["hashtag1","hashtag2"]},{"1396345704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396345712, 1396345706, 1396345708, 1396345719, 1396345710, 1396345704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.979565143585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:01:22.622217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_04_2686.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_07_3513.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_10_2509.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_14_3845.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_16_2727.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_19_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_04_2686.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_07_3513.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_10_2509.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_14_3845.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_16_2727.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_19_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396345730","1396345913","1396345768","1396345875","1396345839","1396345803"],"photo_ids_order":["1396345730","1396345768","1396345803","1396345839","1396345875","1396345913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7270bf79506d8713bee65ab918eab63d.jpg","text":"TemporaryFile(/tmp/multipartBody1857021660767325879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_04_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/27/ceeac879361152904f18676ec65eed87.jpg","text":"TemporaryFile(/tmp/multipartBody3172031420659782277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_19_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/27/7bf17b857290ca1573ae20325d6a4cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1659134905077072641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_07_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/27/ef9b1db186a9cb1e7c6d2af0d5f25d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2644916179115170297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_16_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/27/8ed851bd4d19ba9420e69b371b0efcab.jpg","text":"TemporaryFile(/tmp/multipartBody8538913099980089334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_14_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/959db393417cfcf9287218b5ed12edad.jpg","text":"TemporaryFile(/tmp/multipartBody7285002137702599227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208944468,"filename":"image_21112025_19_04_10_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396345803","file1":"1396345768","file0":"1396345730","file4":"1396345875","file5":"1396345913","file3":"1396345839"},"map_files_photo_id_array":[{"photo_id":"1396345913","filename":"file5"},{"photo_id":"1396345803","filename":"file2"},{"photo_id":"1396345875","filename":"file4"},{"photo_id":"1396345768","filename":"file1"},{"photo_id":"1396345730","filename":"file0"},{"photo_id":"1396345839","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396345730":["hashtag1","hashtag2"]},{"1396345913":["hashtag1","hashtag2"]},{"1396345768":["hashtag1","hashtag2"]},{"1396345875":["hashtag1","hashtag2"]},{"1396345839":["hashtag1","hashtag2"]},{"1396345803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396345730, 1396345913, 1396345768, 1396345875, 1396345839, 1396345803)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.332111835479736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:02:12.025795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_23_3640.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_25_2722.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_28_2361.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_31_3627.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_34_2675.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_37_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_23_3640.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_25_2722.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_28_2361.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_31_3627.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_34_2675.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_37_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396346015","1396346079","1396346052","1396346049","1396346046","1396346109"],"photo_ids_order":["1396346015","1396346046","1396346049","1396346052","1396346079","1396346109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a44914f4ddcba42690186a5c22acf7c.jpg","text":"TemporaryFile(/tmp/multipartBody3592257892306397771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_23_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/27/d3032266fe7bb75665c64978ac7662d7.jpg","text":"TemporaryFile(/tmp/multipartBody83942543161361498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_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/27/35da6dd174fc5ab099f0dd565abc31fd.jpg","text":"TemporaryFile(/tmp/multipartBody1648323020522844098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_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/27/8525bf87a6be83bab3e73309347a9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5745116754360721811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_28_2361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6a838e6f9b0b096e0f30fc4722a075e.jpg","text":"TemporaryFile(/tmp/multipartBody3765945611817228270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_25_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/27/81e836f68239b1cbc63d18873c9ddb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7413592204279735668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764208993865,"filename":"image_21112025_19_04_37_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396346049","file1":"1396346046","file0":"1396346015","file4":"1396346079","file5":"1396346109","file3":"1396346052"},"map_files_photo_id_array":[{"photo_id":"1396346109","filename":"file5"},{"photo_id":"1396346049","filename":"file2"},{"photo_id":"1396346079","filename":"file4"},{"photo_id":"1396346046","filename":"file1"},{"photo_id":"1396346015","filename":"file0"},{"photo_id":"1396346052","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396346015":["hashtag1","hashtag2"]},{"1396346079":["hashtag1","hashtag2"]},{"1396346052":["hashtag1","hashtag2"]},{"1396346049":["hashtag1","hashtag2"]},{"1396346046":["hashtag1","hashtag2"]},{"1396346109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396346015, 1396346079, 1396346052, 1396346049, 1396346046, 1396346109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.170122146606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:03:02.781565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_43_2587.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_46_3102.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_49_2561.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_52_3685.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_55_2777.jpg', '/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_58_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_43_2587.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_46_3102.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_49_2561.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_52_3685.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_55_2777.jpg
/home/pi/Desktop/images/21112025/19/04/image_21112025_19_04_58_2904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396346120","1396346114","1396346134","1396346116","1396346172","1396346118"],"photo_ids_order":["1396346114","1396346116","1396346118","1396346120","1396346134","1396346172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/669a241036d6a9257dbae82303010f37.jpg","text":"TemporaryFile(/tmp/multipartBody1184899486472853544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_52_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/27/b3aa9fbd284a55b4902b6408ad6d1ab9.jpg","text":"TemporaryFile(/tmp/multipartBody973874066274916314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_43_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/27/65855cc067206dd52c63bc1c255c41cf.jpg","text":"TemporaryFile(/tmp/multipartBody4097884087417752303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_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/27/ca253cdaee875bb6d4c34a2f07e86636.jpg","text":"TemporaryFile(/tmp/multipartBody4939558057873036812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_46_3102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f87b4620d1676c16fec6377c5cb2b81.jpg","text":"TemporaryFile(/tmp/multipartBody1341076229841202945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_58_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/27/118ae7312a2938c02af419cd6a0972a2.jpg","text":"TemporaryFile(/tmp/multipartBody7644444063040005048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209044087,"filename":"image_21112025_19_04_49_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396346118","file1":"1396346116","file0":"1396346114","file4":"1396346134","file5":"1396346172","file3":"1396346120"},"map_files_photo_id_array":[{"photo_id":"1396346172","filename":"file5"},{"photo_id":"1396346118","filename":"file2"},{"photo_id":"1396346134","filename":"file4"},{"photo_id":"1396346116","filename":"file1"},{"photo_id":"1396346114","filename":"file0"},{"photo_id":"1396346120","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396346120":["hashtag1","hashtag2"]},{"1396346114":["hashtag1","hashtag2"]},{"1396346134":["hashtag1","hashtag2"]},{"1396346116":["hashtag1","hashtag2"]},{"1396346172":["hashtag1","hashtag2"]},{"1396346118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396346120, 1396346114, 1396346134, 1396346116, 1396346172, 1396346118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3878436088562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:03:42.215214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/25/image_30102025_21_25_02_2753.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_05_2602.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_08_3592.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_15_3747.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_20_2578.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_24_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/21/25/image_30102025_21_25_02_2753.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_05_2602.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_08_3592.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_15_3747.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_20_2578.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_24_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396346519","1396346323","1396346382","1396346484","1396346451","1396346418"],"photo_ids_order":["1396346323","1396346382","1396346418","1396346451","1396346484","1396346519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c33bda533a33f04a2f2c1149a8df3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3987395990084606048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_24_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/27/1efd9cb512580bd777f8a6adc47394fa.jpg","text":"TemporaryFile(/tmp/multipartBody3157513457062115513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_02_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/27/823c645305bd68328e7117d407e138dc.jpg","text":"TemporaryFile(/tmp/multipartBody7820544150583220483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_05_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/27/cc0ac1f8f2eb87fa6d93b540495c9026.jpg","text":"TemporaryFile(/tmp/multipartBody572536641533492385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_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/27/a3b1785a9cecdbf9dd1c33c4e2863cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6102757851958930819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_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/27/b81b5136b829d16484c8962435588e37.jpg","text":"TemporaryFile(/tmp/multipartBody1054949592080144776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209083500,"filename":"image_30102025_21_25_08_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396346418","file1":"1396346382","file0":"1396346323","file4":"1396346484","file5":"1396346519","file3":"1396346451"},"map_files_photo_id_array":[{"photo_id":"1396346519","filename":"file5"},{"photo_id":"1396346418","filename":"file2"},{"photo_id":"1396346484","filename":"file4"},{"photo_id":"1396346382","filename":"file1"},{"photo_id":"1396346323","filename":"file0"},{"photo_id":"1396346451","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396346519":["hashtag1","hashtag2"]},{"1396346323":["hashtag1","hashtag2"]},{"1396346382":["hashtag1","hashtag2"]},{"1396346484":["hashtag1","hashtag2"]},{"1396346451":["hashtag1","hashtag2"]},{"1396346418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396346519, 1396346323, 1396346382, 1396346484, 1396346451, 1396346418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04075241088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:04:22.386010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/02/54/image_27112025_02_54_35_10599.jpg', '/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_15_10736.jpg', '/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_34_9668.jpg', '/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_45_10655.jpg', '/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_55_10121.jpg', '/home/pi/Desktop/images/27112025/03/04/image_27112025_03_04_35_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/02/54/image_27112025_02_54_35_10599.jpg
/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_15_10736.jpg
/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_34_9668.jpg
/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_45_10655.jpg
/home/pi/Desktop/images/27112025/03/03/image_27112025_03_03_55_10121.jpg
/home/pi/Desktop/images/27112025/03/04/image_27112025_03_04_35_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396346664","1396346817","1396346703","1396346777","1396346852","1396346741"],"photo_ids_order":["1396346664","1396346703","1396346741","1396346777","1396346817","1396346852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0bd293559122f96853a6e41a55560e5.jpg","text":"TemporaryFile(/tmp/multipartBody6121726400132525807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_02_54_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7febb27e5a9dbcdef2fa0ccfc67aead7.jpg","text":"TemporaryFile(/tmp/multipartBody2341094730466798147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_03_03_55_10121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8ac5fbe4025772de6a7d08911ff14e2.jpg","text":"TemporaryFile(/tmp/multipartBody8613495417554889753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_03_03_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6533207a8d1e23bfe3e7994835a61de7.jpg","text":"TemporaryFile(/tmp/multipartBody1197861234274938088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_03_03_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc57154ef2481d191312adbe67d85880.jpg","text":"TemporaryFile(/tmp/multipartBody3184026868397828427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_03_04_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0e3bedb390d673c09832c8eb9d435a9.jpg","text":"TemporaryFile(/tmp/multipartBody4638360107126449903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209123148,"filename":"image_27112025_03_03_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396346741","file1":"1396346703","file0":"1396346664","file4":"1396346817","file5":"1396346852","file3":"1396346777"},"map_files_photo_id_array":[{"photo_id":"1396346852","filename":"file5"},{"photo_id":"1396346741","filename":"file2"},{"photo_id":"1396346817","filename":"file4"},{"photo_id":"1396346703","filename":"file1"},{"photo_id":"1396346664","filename":"file0"},{"photo_id":"1396346777","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396346664":["hashtag1","hashtag2"]},{"1396346817":["hashtag1","hashtag2"]},{"1396346703":["hashtag1","hashtag2"]},{"1396346777":["hashtag1","hashtag2"]},{"1396346852":["hashtag1","hashtag2"]},{"1396346741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396346664, 1396346817, 1396346703, 1396346777, 1396346852, 1396346741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.435410499572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:05:03.414399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_01_2796.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_04_3234.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_07_2648.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_10_3604.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_13_2690.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_16_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_01_2796.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_04_3234.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_07_2648.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_10_3604.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_13_2690.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_16_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396346947","1396346943","1396346951","1396346945","1396346939","1396346954"],"photo_ids_order":["1396346939","1396346943","1396346945","1396346947","1396346951","1396346954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/595b8f8fac336e848da1f32563bf5d67.jpg","text":"TemporaryFile(/tmp/multipartBody6391624790182291123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_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/27/6b9679ef1311cfb941a855e1a84457c8.jpg","text":"TemporaryFile(/tmp/multipartBody6657526234370615224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_04_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/27/c8df80ede6251d0420665b068ccd447a.jpg","text":"TemporaryFile(/tmp/multipartBody147944514077639647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_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/27/fc73b7f430136813eb9f3b64e3cf8f33.jpg","text":"TemporaryFile(/tmp/multipartBody6938137258921626997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_07_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/27/a2a0e5e35e05eb343b911239473f86ae.jpg","text":"TemporaryFile(/tmp/multipartBody1019106802355934361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_01_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/27/f6ccdb1b009e549a9d7b33af73f83584.jpg","text":"TemporaryFile(/tmp/multipartBody315356125230424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209164684,"filename":"image_21112025_19_05_16_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396346945","file1":"1396346943","file0":"1396346939","file4":"1396346951","file5":"1396346954","file3":"1396346947"},"map_files_photo_id_array":[{"photo_id":"1396346954","filename":"file5"},{"photo_id":"1396346945","filename":"file2"},{"photo_id":"1396346951","filename":"file4"},{"photo_id":"1396346943","filename":"file1"},{"photo_id":"1396346939","filename":"file0"},{"photo_id":"1396346947","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396346947":["hashtag1","hashtag2"]},{"1396346943":["hashtag1","hashtag2"]},{"1396346951":["hashtag1","hashtag2"]},{"1396346945":["hashtag1","hashtag2"]},{"1396346939":["hashtag1","hashtag2"]},{"1396346954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396346947, 1396346943, 1396346951, 1396346945, 1396346939, 1396346954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27123713493347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:05:42.741959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/25/image_30102025_21_25_26_2700.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_29_2614.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_32_2859.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_35_3737.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_38_2601.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_41_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_26_2700.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_29_2614.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_32_2859.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_35_3737.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_38_2601.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_41_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347159","1396347158","1396347137","1396347071","1396347104","1396347035"],"photo_ids_order":["1396347035","1396347071","1396347104","1396347137","1396347158","1396347159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fa147021b86863a76ce791406f95ff8.jpg","text":"TemporaryFile(/tmp/multipartBody5113158126349977469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_41_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/27/6da0af29d4a520894cd4df8038c698e6.jpg","text":"TemporaryFile(/tmp/multipartBody4045525584506185714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_38_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/27/ed37e87bc3b1a21366074d138281eab3.jpg","text":"TemporaryFile(/tmp/multipartBody1817763532086920705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_35_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/27/12ee4e7d20cfd615dae5bdd0eafcafc3.jpg","text":"TemporaryFile(/tmp/multipartBody2040598009499584632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_29_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/27/083f64bd4f7f56c82eb79d68e104cb60.jpg","text":"TemporaryFile(/tmp/multipartBody1247260786337173057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_32_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/27/c3501ce222797eca989ba42b0972d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2819410450889052055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209204000,"filename":"image_30102025_21_25_26_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347104","file1":"1396347071","file0":"1396347035","file4":"1396347158","file5":"1396347159","file3":"1396347137"},"map_files_photo_id_array":[{"photo_id":"1396347159","filename":"file5"},{"photo_id":"1396347104","filename":"file2"},{"photo_id":"1396347158","filename":"file4"},{"photo_id":"1396347071","filename":"file1"},{"photo_id":"1396347035","filename":"file0"},{"photo_id":"1396347137","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347159":["hashtag1","hashtag2"]},{"1396347158":["hashtag1","hashtag2"]},{"1396347137":["hashtag1","hashtag2"]},{"1396347071":["hashtag1","hashtag2"]},{"1396347104":["hashtag1","hashtag2"]},{"1396347035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347159, 1396347158, 1396347137, 1396347071, 1396347104, 1396347035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.576488971710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:06:21.998714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/04/image_27112025_03_04_54_9760.jpg', '/home/pi/Desktop/images/27112025/03/05/image_27112025_03_05_34_9705.jpg', '/home/pi/Desktop/images/27112025/03/05/image_27112025_03_05_55_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/04/image_27112025_03_04_54_9760.jpg
/home/pi/Desktop/images/27112025/03/05/image_27112025_03_05_34_9705.jpg
/home/pi/Desktop/images/27112025/03/05/image_27112025_03_05_55_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347255","1396347222","1396347257"],"photo_ids_order":["1396347222","1396347255","1396347257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/821534ac7d9b2887c332d6226e963673.jpg","text":"TemporaryFile(/tmp/multipartBody2115752804009448437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209242618,"filename":"image_27112025_03_05_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd600ed2dbb0de678c397899fb617a75.jpg","text":"TemporaryFile(/tmp/multipartBody6794682347763494289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209242618,"filename":"image_27112025_03_04_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f514fa2bfb96ec21a960fb4731f989b.jpg","text":"TemporaryFile(/tmp/multipartBody2511743454001059554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209242618,"filename":"image_27112025_03_05_55_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347257","file1":"1396347255","file0":"1396347222"},"map_files_photo_id_array":[{"photo_id":"1396347257","filename":"file2"},{"photo_id":"1396347255","filename":"file1"},{"photo_id":"1396347222","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396347255":["hashtag1","hashtag2"]},{"1396347222":["hashtag1","hashtag2"]},{"1396347257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396347255, 1396347222, 1396347257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.726610898971558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:07:02.821978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_19_3841.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_22_2750.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_25_2746.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_28_2682.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_31_3679.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_34_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_19_3841.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_22_2750.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_25_2746.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_28_2682.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_31_3679.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_34_2971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347265","1396347261","1396347279","1396347270","1396347267","1396347263"],"photo_ids_order":["1396347261","1396347263","1396347265","1396347267","1396347270","1396347279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63912cef35585ab60588edad2d75162c.jpg","text":"TemporaryFile(/tmp/multipartBody8306329698055969155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_05_25_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/27/4b5f4de87a63b4184959342583de056d.jpg","text":"TemporaryFile(/tmp/multipartBody818865562507713878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_05_19_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/27/38b183b9b00cae3ab96521ed49ef5706.jpg","text":"TemporaryFile(/tmp/multipartBody9103455863447013441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_05_34_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/27/70fecd06d0a7e15710c1fd2c13a9223b.jpg","text":"TemporaryFile(/tmp/multipartBody921205645276561101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_05_31_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/27/baf7cacf30674992173c1d7dcf73462e.jpg","text":"TemporaryFile(/tmp/multipartBody1947779294830802128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_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/27/64536e83f484578ad693cc4cb2a1d519.jpg","text":"TemporaryFile(/tmp/multipartBody5749991477434290409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209284119,"filename":"image_21112025_19_05_22_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347265","file1":"1396347263","file0":"1396347261","file4":"1396347270","file5":"1396347279","file3":"1396347267"},"map_files_photo_id_array":[{"photo_id":"1396347279","filename":"file5"},{"photo_id":"1396347265","filename":"file2"},{"photo_id":"1396347270","filename":"file4"},{"photo_id":"1396347263","filename":"file1"},{"photo_id":"1396347261","filename":"file0"},{"photo_id":"1396347267","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347265":["hashtag1","hashtag2"]},{"1396347261":["hashtag1","hashtag2"]},{"1396347279":["hashtag1","hashtag2"]},{"1396347270":["hashtag1","hashtag2"]},{"1396347267":["hashtag1","hashtag2"]},{"1396347263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347265, 1396347261, 1396347279, 1396347270, 1396347267, 1396347263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380393743515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:07:42.189362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/25/image_30102025_21_25_44_3650.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_47_2798.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_51_3969.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_53_1615.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_57_3643.jpg', '/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_59_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_44_3650.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_47_2798.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_51_3969.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_53_1615.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_57_3643.jpg
/home/pi/Desktop/images/30102025/21/25/image_30102025_21_25_59_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347297","1396347296","1396347300","1396347299","1396347295","1396347298"],"photo_ids_order":["1396347295","1396347296","1396347297","1396347298","1396347299","1396347300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2213b18377f4d55d49f3a779aa3f1b23.jpg","text":"TemporaryFile(/tmp/multipartBody3645550677158979461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_51_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/27/811689593c0c25e1176bea8dbcdddd93.jpg","text":"TemporaryFile(/tmp/multipartBody4483151314844404935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_47_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/27/c8f281a4215bb0c83f3ee9b046269ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6534768770274012383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_59_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/27/e1c5f730dedcb862cbb2bce8e474b793.jpg","text":"TemporaryFile(/tmp/multipartBody926111342290108465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_57_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/27/d2fd9d068042ca9314b9978613b34048.jpg","text":"TemporaryFile(/tmp/multipartBody6408184120017879549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_44_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/27/3d3151ff50c53eab0c54e6f625ab1bba.jpg","text":"TemporaryFile(/tmp/multipartBody5265645927957577217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209323447,"filename":"image_30102025_21_25_53_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347297","file1":"1396347296","file0":"1396347295","file4":"1396347299","file5":"1396347300","file3":"1396347298"},"map_files_photo_id_array":[{"photo_id":"1396347300","filename":"file5"},{"photo_id":"1396347297","filename":"file2"},{"photo_id":"1396347299","filename":"file4"},{"photo_id":"1396347296","filename":"file1"},{"photo_id":"1396347295","filename":"file0"},{"photo_id":"1396347298","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347297":["hashtag1","hashtag2"]},{"1396347296":["hashtag1","hashtag2"]},{"1396347300":["hashtag1","hashtag2"]},{"1396347299":["hashtag1","hashtag2"]},{"1396347295":["hashtag1","hashtag2"]},{"1396347298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347297, 1396347296, 1396347300, 1396347299, 1396347295, 1396347298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28749084472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:08:22.429065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_37_2585.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_40_2778.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_43_3611.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_46_2819.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_49_2703.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_52_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_37_2585.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_40_2778.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_43_3611.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_46_2819.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_49_2703.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_52_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347331","1396347307","1396347310","1396347333","1396347315","1396347329"],"photo_ids_order":["1396347307","1396347310","1396347315","1396347329","1396347331","1396347333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6025182071b3ec978af56e36790ce92a.jpg","text":"TemporaryFile(/tmp/multipartBody3111755434061513778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_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/27/444dd293dc97b2ee250570f1e8b9be0f.jpg","text":"TemporaryFile(/tmp/multipartBody4383852301286677294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_37_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/27/e46f5325067b0378e2d40a9068d38856.jpg","text":"TemporaryFile(/tmp/multipartBody3328973003454835977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_40_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/27/3a0edc235b14947455203dd82ca1a10f.jpg","text":"TemporaryFile(/tmp/multipartBody550199803421242724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_52_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/27/61784ff6308c18ec3bae5c5bc4818447.jpg","text":"TemporaryFile(/tmp/multipartBody2629198300944316740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_43_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/27/64c80eb60350494593b225db22ffeef6.jpg","text":"TemporaryFile(/tmp/multipartBody6752998199307053318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209364280,"filename":"image_21112025_19_05_46_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347315","file1":"1396347310","file0":"1396347307","file4":"1396347331","file5":"1396347333","file3":"1396347329"},"map_files_photo_id_array":[{"photo_id":"1396347333","filename":"file5"},{"photo_id":"1396347315","filename":"file2"},{"photo_id":"1396347331","filename":"file4"},{"photo_id":"1396347310","filename":"file1"},{"photo_id":"1396347307","filename":"file0"},{"photo_id":"1396347329","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347331":["hashtag1","hashtag2"]},{"1396347307":["hashtag1","hashtag2"]},{"1396347310":["hashtag1","hashtag2"]},{"1396347333":["hashtag1","hashtag2"]},{"1396347315":["hashtag1","hashtag2"]},{"1396347329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347331, 1396347307, 1396347310, 1396347333, 1396347315, 1396347329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80831956863403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:09:03.611003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_55_2488.jpg', '/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_58_2676.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_04_1687.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_07_3020.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_13_2708.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_16_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_55_2488.jpg
/home/pi/Desktop/images/21112025/19/05/image_21112025_19_05_58_2676.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_04_1687.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_07_3020.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_13_2708.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_16_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347346","1396347337","1396347342","1396347339","1396347335","1396347361"],"photo_ids_order":["1396347335","1396347337","1396347339","1396347342","1396347346","1396347361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ea6027d46a393228aa1dd29d2a7c3a8.jpg","text":"TemporaryFile(/tmp/multipartBody5521515148516731593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_06_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/27/37ae23d6f4740e0555654d8523e7cea9.jpg","text":"TemporaryFile(/tmp/multipartBody1201893014251866039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_05_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/27/cb2467509da30c3b065dbeeb336aee9b.jpg","text":"TemporaryFile(/tmp/multipartBody1165102072088590613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_06_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/27/0e7787ccd12de6c535ded0b506471aab.jpg","text":"TemporaryFile(/tmp/multipartBody957071549790678740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_06_04_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/27/866babf8ddaa93540e156af2443865c4.jpg","text":"TemporaryFile(/tmp/multipartBody8569620630120765744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_05_55_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/27/f80c952e50ea206e21a4c667b71adb05.jpg","text":"TemporaryFile(/tmp/multipartBody2092026984777467335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209405018,"filename":"image_21112025_19_06_16_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347339","file1":"1396347337","file0":"1396347335","file4":"1396347346","file5":"1396347361","file3":"1396347342"},"map_files_photo_id_array":[{"photo_id":"1396347361","filename":"file5"},{"photo_id":"1396347339","filename":"file2"},{"photo_id":"1396347346","filename":"file4"},{"photo_id":"1396347337","filename":"file1"},{"photo_id":"1396347335","filename":"file0"},{"photo_id":"1396347342","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347346":["hashtag1","hashtag2"]},{"1396347337":["hashtag1","hashtag2"]},{"1396347342":["hashtag1","hashtag2"]},{"1396347339":["hashtag1","hashtag2"]},{"1396347335":["hashtag1","hashtag2"]},{"1396347361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347346, 1396347337, 1396347342, 1396347339, 1396347335, 1396347361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09475660324097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:09:42.557082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/26/image_30102025_21_26_05_3637.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_08_2703.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_12_4325.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_14_1570.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_17_3144.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_20_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_05_3637.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_08_2703.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_12_4325.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_14_1570.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_17_3144.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_20_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347373","1396347375","1396347377","1396347371","1396347374","1396347376"],"photo_ids_order":["1396347371","1396347373","1396347374","1396347375","1396347376","1396347377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b6a408b83b9e6e5de913454fd12b57a.jpg","text":"TemporaryFile(/tmp/multipartBody7006221118340236258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_08_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/27/333e4498d654183be81a364ceaf7b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody3230753707177971313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_14_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/27/e605e3ce86e07d6bc9a56d0349a21372.jpg","text":"TemporaryFile(/tmp/multipartBody8319485740885555270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_20_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/27/4ec03c9bad6da992f527207fc8fb522d.jpg","text":"TemporaryFile(/tmp/multipartBody4956499413520509321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_05_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/27/9f15f077481018e9eaf3d7c86a182227.jpg","text":"TemporaryFile(/tmp/multipartBody3999564009062152219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_12_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/27/be4a583063951f01d56c9ca2d7c7b839.jpg","text":"TemporaryFile(/tmp/multipartBody250904573338835222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209443818,"filename":"image_30102025_21_26_17_3144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347374","file1":"1396347373","file0":"1396347371","file4":"1396347376","file5":"1396347377","file3":"1396347375"},"map_files_photo_id_array":[{"photo_id":"1396347377","filename":"file5"},{"photo_id":"1396347374","filename":"file2"},{"photo_id":"1396347376","filename":"file4"},{"photo_id":"1396347373","filename":"file1"},{"photo_id":"1396347371","filename":"file0"},{"photo_id":"1396347375","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347373":["hashtag1","hashtag2"]},{"1396347375":["hashtag1","hashtag2"]},{"1396347377":["hashtag1","hashtag2"]},{"1396347371":["hashtag1","hashtag2"]},{"1396347374":["hashtag1","hashtag2"]},{"1396347376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347373, 1396347375, 1396347377, 1396347371, 1396347374, 1396347376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.464606285095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:10:22.844225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_18_2595.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_22_3726.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_25_2542.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_28_3638.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_31_2558.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_34_2968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_18_2595.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_22_3726.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_25_2542.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_28_3638.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_31_2558.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_34_2968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347400","1396347393","1396347395","1396347408","1396347410","1396347388"],"photo_ids_order":["1396347388","1396347393","1396347395","1396347400","1396347408","1396347410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/738388e35e7dd6d37508289cc9d68747.jpg","text":"TemporaryFile(/tmp/multipartBody1336354154635373309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_06_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/27/5f7cbc746222c0728f6af751f01b5a63.jpg","text":"TemporaryFile(/tmp/multipartBody1938075544220127998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_06_22_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/27/7679f3b7619c2f09680739a207921d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4612515268152909641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_06_25_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/27/6534eb814ad312edff3e431cf8d26c10.jpg","text":"TemporaryFile(/tmp/multipartBody8429191344399313207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_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/27/2e032dd49d70bf8f88388c2d6ce2f09c.jpg","text":"TemporaryFile(/tmp/multipartBody1540770438941961600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_06_34_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/27/8499fcedcedf46dd1b04857e9d387d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2524494202831963781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209484696,"filename":"image_21112025_19_06_18_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347395","file1":"1396347393","file0":"1396347388","file4":"1396347408","file5":"1396347410","file3":"1396347400"},"map_files_photo_id_array":[{"photo_id":"1396347410","filename":"file5"},{"photo_id":"1396347395","filename":"file2"},{"photo_id":"1396347408","filename":"file4"},{"photo_id":"1396347393","filename":"file1"},{"photo_id":"1396347388","filename":"file0"},{"photo_id":"1396347400","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347400":["hashtag1","hashtag2"]},{"1396347393":["hashtag1","hashtag2"]},{"1396347395":["hashtag1","hashtag2"]},{"1396347408":["hashtag1","hashtag2"]},{"1396347410":["hashtag1","hashtag2"]},{"1396347388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347400, 1396347393, 1396347395, 1396347408, 1396347410, 1396347388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.010486125946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:11:02.752698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_40_3655.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_46_2873.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_48_2609.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_55_6278.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_58_3049.jpg', '/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_59_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_40_3655.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_46_2873.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_48_2609.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_55_6278.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_58_3049.jpg
/home/pi/Desktop/images/21112025/19/06/image_21112025_19_06_59_1726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347421","1396347418","1396347417","1396347426","1396347431","1396347416"],"photo_ids_order":["1396347416","1396347417","1396347418","1396347421","1396347426","1396347431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/296e415a252112b752ee8308ec0e47c9.jpg","text":"TemporaryFile(/tmp/multipartBody5217758959827577606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_55_6278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0265bb6b2cf0b128cb4a231c5a8c356.jpg","text":"TemporaryFile(/tmp/multipartBody6512068988909088740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_48_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/27/1c8cce4d661eb7baf85954c24bdc7365.jpg","text":"TemporaryFile(/tmp/multipartBody1671625913825981225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_46_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/27/cac396392801f20b949cfc10de71304c.jpg","text":"TemporaryFile(/tmp/multipartBody3111254135224291284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_58_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/409826bfe16d182c731a53cda3158149.jpg","text":"TemporaryFile(/tmp/multipartBody6001092794197506223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_59_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab969a1f22d315b28a8f13e8e7babc19.jpg","text":"TemporaryFile(/tmp/multipartBody2264990020864419257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209524024,"filename":"image_21112025_19_06_40_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347418","file1":"1396347417","file0":"1396347416","file4":"1396347426","file5":"1396347431","file3":"1396347421"},"map_files_photo_id_array":[{"photo_id":"1396347431","filename":"file5"},{"photo_id":"1396347418","filename":"file2"},{"photo_id":"1396347426","filename":"file4"},{"photo_id":"1396347417","filename":"file1"},{"photo_id":"1396347416","filename":"file0"},{"photo_id":"1396347421","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347421":["hashtag1","hashtag2"]},{"1396347418":["hashtag1","hashtag2"]},{"1396347417":["hashtag1","hashtag2"]},{"1396347426":["hashtag1","hashtag2"]},{"1396347431":["hashtag1","hashtag2"]},{"1396347416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347421, 1396347418, 1396347417, 1396347426, 1396347431, 1396347416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.282806396484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:11:41.993225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/26/image_30102025_21_26_23_2629.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_26_3599.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_29_2605.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_32_3693.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_35_2724.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_38_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_23_2629.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_26_3599.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_29_2605.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_32_3693.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_35_2724.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_38_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":["1396347442","1396347445","1396347441","1396347444","1396347446","1396347443"],"photo_ids_order":["1396347441","1396347442","1396347443","1396347444","1396347445","1396347446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba692faa827ec97ec2fda19ae3e8507f.jpg","text":"TemporaryFile(/tmp/multipartBody6479479946218143051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_26_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/27/3da9f157d4d8878d50dd20290aee826e.jpg","text":"TemporaryFile(/tmp/multipartBody4146594357353217117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_35_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/27/5a07729fb37ce672b9dc7dc859bb0698.jpg","text":"TemporaryFile(/tmp/multipartBody1296413044439800180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_23_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/27/921a6658794f8ef16daef5b98bad967f.jpg","text":"TemporaryFile(/tmp/multipartBody847862760554827635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_32_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/27/a0127ca0bb96b8e3153e3664c84477e2.jpg","text":"TemporaryFile(/tmp/multipartBody4795771861932844528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_38_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/27/606ead9bdff4a0ed898ae4bb7ef39361.jpg","text":"TemporaryFile(/tmp/multipartBody13304647958443164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209563270,"filename":"image_30102025_21_26_29_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347443","file1":"1396347442","file0":"1396347441","file4":"1396347445","file5":"1396347446","file3":"1396347444"},"map_files_photo_id_array":[{"photo_id":"1396347446","filename":"file5"},{"photo_id":"1396347443","filename":"file2"},{"photo_id":"1396347445","filename":"file4"},{"photo_id":"1396347442","filename":"file1"},{"photo_id":"1396347441","filename":"file0"},{"photo_id":"1396347444","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347442":["hashtag1","hashtag2"]},{"1396347445":["hashtag1","hashtag2"]},{"1396347441":["hashtag1","hashtag2"]},{"1396347444":["hashtag1","hashtag2"]},{"1396347446":["hashtag1","hashtag2"]},{"1396347443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347442, 1396347445, 1396347441, 1396347444, 1396347446, 1396347443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64499855041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:12:22.235934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/06/image_27112025_03_06_15_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/06/image_27112025_03_06_15_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347473"],"photo_id":"1396347473","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/881a00268af0aa82995bc86f67f47820.jpg","text":"TemporaryFile(/tmp/multipartBody819855213083839521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209602775,"filename":"image_27112025_03_06_15_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396347473"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396347473"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.979791402816772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:12:42.164420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/26/image_30102025_21_26_41_2790.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_44_3730.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_47_2677.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_50_2658.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_53_2805.jpg', '/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_56_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_41_2790.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_44_3730.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_47_2677.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_50_2658.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_53_2805.jpg
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_56_3842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347492","1396347495","1396347489","1396347494","1396347491","1396347493"],"photo_ids_order":["1396347489","1396347491","1396347492","1396347493","1396347494","1396347495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d71140f966a43874d08bf7891a3ee87a.jpg","text":"TemporaryFile(/tmp/multipartBody4886344127501199115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_47_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/27/ec5016b7df257d2d35a648dfeb14366b.jpg","text":"TemporaryFile(/tmp/multipartBody3694421660602325733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_56_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/27/f6f9bfb3eb7758a3fba05ead378221f5.jpg","text":"TemporaryFile(/tmp/multipartBody1037089795535539945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_41_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/27/2bbaf33e7f5a920950e70f76852c81fb.jpg","text":"TemporaryFile(/tmp/multipartBody4045424823633149192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_53_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/27/cb5e1ed6c2053a82b4ea5435dc6831b4.jpg","text":"TemporaryFile(/tmp/multipartBody5607718175236161549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_44_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/27/42d70fcae0226aa855002e01fec0506c.jpg","text":"TemporaryFile(/tmp/multipartBody1337390568635854457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209623436,"filename":"image_30102025_21_26_50_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347492","file1":"1396347491","file0":"1396347489","file4":"1396347494","file5":"1396347495","file3":"1396347493"},"map_files_photo_id_array":[{"photo_id":"1396347495","filename":"file5"},{"photo_id":"1396347492","filename":"file2"},{"photo_id":"1396347494","filename":"file4"},{"photo_id":"1396347491","filename":"file1"},{"photo_id":"1396347489","filename":"file0"},{"photo_id":"1396347493","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347492":["hashtag1","hashtag2"]},{"1396347495":["hashtag1","hashtag2"]},{"1396347489":["hashtag1","hashtag2"]},{"1396347494":["hashtag1","hashtag2"]},{"1396347491":["hashtag1","hashtag2"]},{"1396347493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347492, 1396347495, 1396347489, 1396347494, 1396347491, 1396347493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17410087585449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:13:22.316505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_01_1554.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_04_3030.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_07_2919.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_10_2809.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_12_2592.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_16_3380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_01_1554.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_04_3030.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_07_2919.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_10_2809.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_12_2592.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_16_3380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347651","1396347648","1396347630","1396347662","1396347656","1396347659"],"photo_ids_order":["1396347630","1396347648","1396347651","1396347656","1396347659","1396347662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/baffcc0075359f42ccd1247d065b7eff.jpg","text":"TemporaryFile(/tmp/multipartBody7289448312684389146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_07_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/27/e5364d02cd2ca07f04049baaf151847e.jpg","text":"TemporaryFile(/tmp/multipartBody823804826210172084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_04_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/27/86b3486476fbe094a5405d3944b660b3.jpg","text":"TemporaryFile(/tmp/multipartBody1374083842495790537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_01_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/27/62c7addb012146abd9d39c8141592aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1992822731855784172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_16_3380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a029489af3795ab7e6c5d83219bcc96.jpg","text":"TemporaryFile(/tmp/multipartBody960662842881426462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_10_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/27/e19d41b4bf0cd35076610956eb43a016.jpg","text":"TemporaryFile(/tmp/multipartBody4348183238324010337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209664157,"filename":"image_21112025_19_07_12_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347651","file1":"1396347648","file0":"1396347630","file4":"1396347659","file5":"1396347662","file3":"1396347656"},"map_files_photo_id_array":[{"photo_id":"1396347662","filename":"file5"},{"photo_id":"1396347651","filename":"file2"},{"photo_id":"1396347659","filename":"file4"},{"photo_id":"1396347648","filename":"file1"},{"photo_id":"1396347630","filename":"file0"},{"photo_id":"1396347656","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347651":["hashtag1","hashtag2"]},{"1396347648":["hashtag1","hashtag2"]},{"1396347630":["hashtag1","hashtag2"]},{"1396347662":["hashtag1","hashtag2"]},{"1396347656":["hashtag1","hashtag2"]},{"1396347659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347651, 1396347648, 1396347630, 1396347662, 1396347656, 1396347659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99198007583618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:14:03.165631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_18_2646.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_22_3675.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_27_2561.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_31_3590.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_34_2772.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_37_3354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_18_2646.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_22_3675.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_27_2561.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_31_3590.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_34_2772.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_37_3354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347666","1396347675","1396347669","1396347671","1396347665","1396347668"],"photo_ids_order":["1396347665","1396347666","1396347668","1396347669","1396347671","1396347675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7afba3917967b6bdfe0d6432f2853c09.jpg","text":"TemporaryFile(/tmp/multipartBody8433990210905379357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_22_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/27/79b8c594ca3bec5c45e537c76060d240.jpg","text":"TemporaryFile(/tmp/multipartBody3737382344315462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_37_3354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8da723ee820bec62e12c4c23788b3668.jpg","text":"TemporaryFile(/tmp/multipartBody1692485950366659458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_31_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/27/427d786d6be4927fe1065adb463772e4.jpg","text":"TemporaryFile(/tmp/multipartBody8454782904161700432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_34_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/27/efa6d1077427731a6485e03b9a1a55d3.jpg","text":"TemporaryFile(/tmp/multipartBody6682783934620989604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_18_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/27/d390138c0b4bdbfdb54e757cd63af9c7.jpg","text":"TemporaryFile(/tmp/multipartBody9193804636633351479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209704494,"filename":"image_21112025_19_07_27_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347668","file1":"1396347666","file0":"1396347665","file4":"1396347671","file5":"1396347675","file3":"1396347669"},"map_files_photo_id_array":[{"photo_id":"1396347675","filename":"file5"},{"photo_id":"1396347668","filename":"file2"},{"photo_id":"1396347671","filename":"file4"},{"photo_id":"1396347666","filename":"file1"},{"photo_id":"1396347665","filename":"file0"},{"photo_id":"1396347669","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347666":["hashtag1","hashtag2"]},{"1396347675":["hashtag1","hashtag2"]},{"1396347669":["hashtag1","hashtag2"]},{"1396347671":["hashtag1","hashtag2"]},{"1396347665":["hashtag1","hashtag2"]},{"1396347668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347666, 1396347675, 1396347669, 1396347671, 1396347665, 1396347668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25914406776428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:14:42.533208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/26/image_30102025_21_26_59_2628.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_02_2750.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_05_3650.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_08_2612.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_11_2787.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_17_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/26/image_30102025_21_26_59_2628.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_02_2750.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_05_3650.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_08_2612.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_11_2787.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_17_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347681","1396347687","1396347689","1396347683","1396347686","1396347685"],"photo_ids_order":["1396347681","1396347683","1396347685","1396347686","1396347687","1396347689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43c9a1e272fcf63b7e6a7400e58d082b.jpg","text":"TemporaryFile(/tmp/multipartBody499163723133515401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_26_59_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/27/c85e7d92359a87c64602efeb23f065b1.jpg","text":"TemporaryFile(/tmp/multipartBody627788668660772220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_27_11_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/27/d255d33790f79d438e53d758eecf89c5.jpg","text":"TemporaryFile(/tmp/multipartBody197490321808102054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_27_17_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/27/db8fe6ca7948637343b244f03291475c.jpg","text":"TemporaryFile(/tmp/multipartBody9032154392763913152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_27_02_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/27/f56d12cf04d858c1d02c17e6184bb96b.jpg","text":"TemporaryFile(/tmp/multipartBody3247640567275821055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_27_08_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/27/ef78651765961a9518d68e4d505017f2.jpg","text":"TemporaryFile(/tmp/multipartBody7469302819174367701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209743803,"filename":"image_30102025_21_27_05_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347685","file1":"1396347683","file0":"1396347681","file4":"1396347687","file5":"1396347689","file3":"1396347686"},"map_files_photo_id_array":[{"photo_id":"1396347689","filename":"file5"},{"photo_id":"1396347685","filename":"file2"},{"photo_id":"1396347687","filename":"file4"},{"photo_id":"1396347683","filename":"file1"},{"photo_id":"1396347681","filename":"file0"},{"photo_id":"1396347686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347681":["hashtag1","hashtag2"]},{"1396347687":["hashtag1","hashtag2"]},{"1396347689":["hashtag1","hashtag2"]},{"1396347683":["hashtag1","hashtag2"]},{"1396347686":["hashtag1","hashtag2"]},{"1396347685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347681, 1396347687, 1396347689, 1396347683, 1396347686, 1396347685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5022759437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:15:22.732436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/11/image_27112025_03_11_15_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/11/image_27112025_03_11_15_10662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347693"],"photo_id":"1396347693","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04dbb3566f280f7563ce07fcb373827b.jpg","text":"TemporaryFile(/tmp/multipartBody3551583928714815860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209783275,"filename":"image_27112025_03_11_15_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396347693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396347693"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 20.196456909179688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:16:02.363771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_40_2741.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_42_2568.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_46_3668.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_49_2582.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_51_2658.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_55_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_40_2741.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_42_2568.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_46_3668.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_49_2582.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_51_2658.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_55_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347703","1396347702","1396347705","1396347710","1396347707","1396347704"],"photo_ids_order":["1396347702","1396347703","1396347704","1396347705","1396347707","1396347710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e0983eabaf56841faeb5f5d3be70205.jpg","text":"TemporaryFile(/tmp/multipartBody2898572554598649832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_42_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/27/a411f59ec204b35d0cabe1c0cc57d4a6.jpg","text":"TemporaryFile(/tmp/multipartBody5114889047801265343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_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/27/b8bbd111089651a9b38fafa2ac0d111a.jpg","text":"TemporaryFile(/tmp/multipartBody8205335108986264203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_49_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/27/7c6509db82a3f7fbbd27827de0cd789d.jpg","text":"TemporaryFile(/tmp/multipartBody476055183313060080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_55_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/27/48431c5808c8693a12ad3f1e8b1ae03b.jpg","text":"TemporaryFile(/tmp/multipartBody6092113343997282822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_51_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/27/529c0de816f1cf5585eb44d2040004ef.jpg","text":"TemporaryFile(/tmp/multipartBody6764431862855640120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209823567,"filename":"image_21112025_19_07_46_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347704","file1":"1396347703","file0":"1396347702","file4":"1396347707","file5":"1396347710","file3":"1396347705"},"map_files_photo_id_array":[{"photo_id":"1396347710","filename":"file5"},{"photo_id":"1396347704","filename":"file2"},{"photo_id":"1396347707","filename":"file4"},{"photo_id":"1396347703","filename":"file1"},{"photo_id":"1396347702","filename":"file0"},{"photo_id":"1396347705","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396347703":["hashtag1","hashtag2"]},{"1396347702":["hashtag1","hashtag2"]},{"1396347705":["hashtag1","hashtag2"]},{"1396347710":["hashtag1","hashtag2"]},{"1396347707":["hashtag1","hashtag2"]},{"1396347704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396347703, 1396347702, 1396347705, 1396347710, 1396347707, 1396347704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62719917297363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:16:41.861942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/27/image_30102025_21_27_20_2709.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_22_2584.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_26_3765.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_31_2609.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_35_3612.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_38_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_20_2709.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_22_2584.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_26_3765.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_31_2609.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_35_3612.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_38_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347721","1396347730","1396347718","1396347720","1396347731","1396347728"],"photo_ids_order":["1396347718","1396347720","1396347721","1396347728","1396347730","1396347731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4683b67280b1fc992f3aabc07b78bba.jpg","text":"TemporaryFile(/tmp/multipartBody4813955377459374468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_26_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/27/0f68916e3a78e70e657c6d9fd06ad096.jpg","text":"TemporaryFile(/tmp/multipartBody7799618630725370204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_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/27/3c3ce0e0996b9773a19965645153eae4.jpg","text":"TemporaryFile(/tmp/multipartBody167302151365760564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_20_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/27/0d7128313eb882747141eb6d166d3edd.jpg","text":"TemporaryFile(/tmp/multipartBody7622887809867892300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_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/27/f6cea54517ae6f0112c5ef182fa1011e.jpg","text":"TemporaryFile(/tmp/multipartBody523078026252060156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_38_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/27/303a9106a6395d119c22ee9599e33d03.jpg","text":"TemporaryFile(/tmp/multipartBody5717092903835523973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209863060,"filename":"image_30102025_21_27_31_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347721","file1":"1396347720","file0":"1396347718","file4":"1396347730","file5":"1396347731","file3":"1396347728"},"map_files_photo_id_array":[{"photo_id":"1396347731","filename":"file5"},{"photo_id":"1396347721","filename":"file2"},{"photo_id":"1396347730","filename":"file4"},{"photo_id":"1396347720","filename":"file1"},{"photo_id":"1396347718","filename":"file0"},{"photo_id":"1396347728","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347721":["hashtag1","hashtag2"]},{"1396347730":["hashtag1","hashtag2"]},{"1396347718":["hashtag1","hashtag2"]},{"1396347720":["hashtag1","hashtag2"]},{"1396347731":["hashtag1","hashtag2"]},{"1396347728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347721, 1396347730, 1396347718, 1396347720, 1396347731, 1396347728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89283466339111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:17:22.147048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/15/image_27112025_03_15_25_10771.jpg', '/home/pi/Desktop/images/27112025/03/16/image_27112025_03_16_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/15/image_27112025_03_15_25_10771.jpg
/home/pi/Desktop/images/27112025/03/16/image_27112025_03_16_54_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347736","1396347738"],"photo_ids_order":["1396347736","1396347738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9565011d73a98e00c60927c35fdd80ea.jpg","text":"TemporaryFile(/tmp/multipartBody5655873676976101308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209902724,"filename":"image_27112025_03_15_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc72569e13555129fd9f7c9d3eb048fe.jpg","text":"TemporaryFile(/tmp/multipartBody2570482640129915151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209902724,"filename":"image_27112025_03_16_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396347738","file0":"1396347736"},"map_files_photo_id_array":[{"photo_id":"1396347738","filename":"file1"},{"photo_id":"1396347736","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396347736":["hashtag1","hashtag2"]},{"1396347738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396347736, 1396347738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.102001190185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:17:42.099290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/27/image_30102025_21_27_41_3611.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_44_2788.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_47_2773.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_49_2547.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_53_3063.jpg', '/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_55_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_41_3611.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_44_2788.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_47_2773.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_49_2547.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_53_3063.jpg
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_55_2971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396347940","1396347975","1396347869","1396347836","1396347905","1396347799"],"photo_ids_order":["1396347799","1396347836","1396347869","1396347905","1396347940","1396347975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60763c373d1d80de40ba7cb788e42aee.jpg","text":"TemporaryFile(/tmp/multipartBody2989230533014176621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_53_3063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d82e0546d514ff7e1281b2ad1485892.jpg","text":"TemporaryFile(/tmp/multipartBody6011137960806290610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_55_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/27/4a69d85c6c1757b84ec034bd68414f3d.jpg","text":"TemporaryFile(/tmp/multipartBody108133611740165366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_47_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/27/6f41ccea8f0d36004edd2f7ee88dafdd.jpg","text":"TemporaryFile(/tmp/multipartBody5699657577262835741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_44_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/27/156a8e251085c25fc524cd900dd159b6.jpg","text":"TemporaryFile(/tmp/multipartBody5058916578969251095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_49_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/27/6ba90c091bba0c3e76ccaeaae2eaffc5.jpg","text":"TemporaryFile(/tmp/multipartBody3952101053494953471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209923369,"filename":"image_30102025_21_27_41_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396347869","file1":"1396347836","file0":"1396347799","file4":"1396347940","file5":"1396347975","file3":"1396347905"},"map_files_photo_id_array":[{"photo_id":"1396347975","filename":"file5"},{"photo_id":"1396347869","filename":"file2"},{"photo_id":"1396347940","filename":"file4"},{"photo_id":"1396347836","filename":"file1"},{"photo_id":"1396347799","filename":"file0"},{"photo_id":"1396347905","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396347940":["hashtag1","hashtag2"]},{"1396347975":["hashtag1","hashtag2"]},{"1396347869":["hashtag1","hashtag2"]},{"1396347836":["hashtag1","hashtag2"]},{"1396347905":["hashtag1","hashtag2"]},{"1396347799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396347940, 1396347975, 1396347869, 1396347836, 1396347905, 1396347799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76889514923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:18:22.295487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/17/image_27112025_03_17_14_9645.jpg', '/home/pi/Desktop/images/27112025/03/18/image_27112025_03_18_34_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/17/image_27112025_03_17_14_9645.jpg
/home/pi/Desktop/images/27112025/03/18/image_27112025_03_18_34_9731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348119","1396348162"],"photo_ids_order":["1396348119","1396348162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c05476cc947a950dfe448444e31f9376.jpg","text":"TemporaryFile(/tmp/multipartBody2854430262683843639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209962890,"filename":"image_27112025_03_17_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb2692e637ba21d4675c54100a360e99.jpg","text":"TemporaryFile(/tmp/multipartBody8213614586934512234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209962890,"filename":"image_27112025_03_18_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396348162","file0":"1396348119"},"map_files_photo_id_array":[{"photo_id":"1396348162","filename":"file1"},{"photo_id":"1396348119","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348119":["hashtag1","hashtag2"]},{"1396348162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348119, 1396348162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.156548738479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:18:42.341603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/27/image_30102025_21_27_59_3628.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_02_2587.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_04_2697.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_13_9007.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_19_5751.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_27_7383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/27/image_30102025_21_27_59_3628.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_02_2587.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_04_2697.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_13_9007.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_19_5751.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_27_7383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348272","1396348275","1396348269","1396348271","1396348274","1396348273"],"photo_ids_order":["1396348269","1396348271","1396348272","1396348273","1396348274","1396348275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d2b8bfc7079b7b9e9021a61dfb24a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2764840561725848251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_28_04_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/27/59079805a456595a727a8085c4d7f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody1212513541455953372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_28_27_7383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43142fabb70fd16a85705e6d53402150.jpg","text":"TemporaryFile(/tmp/multipartBody7665986659794320643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_27_59_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/27/6a1fda8602eebd99045d51f1fdcb900e.jpg","text":"TemporaryFile(/tmp/multipartBody5074057612842752419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_28_02_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/27/6474cfc06e46de05e4ca7bf43d117175.jpg","text":"TemporaryFile(/tmp/multipartBody8050120653837782403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_28_19_5751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0be9edcbfacca62df11782d881a74b97.jpg","text":"TemporaryFile(/tmp/multipartBody8810656228229193104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764209983641,"filename":"image_30102025_21_28_13_9007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348272","file1":"1396348271","file0":"1396348269","file4":"1396348274","file5":"1396348275","file3":"1396348273"},"map_files_photo_id_array":[{"photo_id":"1396348275","filename":"file5"},{"photo_id":"1396348272","filename":"file2"},{"photo_id":"1396348274","filename":"file4"},{"photo_id":"1396348271","filename":"file1"},{"photo_id":"1396348269","filename":"file0"},{"photo_id":"1396348273","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396348272":["hashtag1","hashtag2"]},{"1396348275":["hashtag1","hashtag2"]},{"1396348269":["hashtag1","hashtag2"]},{"1396348271":["hashtag1","hashtag2"]},{"1396348274":["hashtag1","hashtag2"]},{"1396348273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396348272, 1396348275, 1396348269, 1396348271, 1396348274, 1396348273)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.12631821632385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-27 03:19:32.554719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_58_2704.jpg', '/home/pi/Desktop/images/21112025/19/07/image_21112025_19_08_01_3639.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_04_2586.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_06_2466.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_10_3438.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_21_11808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_07_58_2704.jpg
/home/pi/Desktop/images/21112025/19/07/image_21112025_19_08_01_3639.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_04_2586.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_06_2466.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_10_3438.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_21_11808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348497","1396348482","1396348499","1396348466","1396348498","1396348501"],"photo_ids_order":["1396348466","1396348482","1396348497","1396348498","1396348499","1396348501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de50f5a2dae6b617159c2ee28d57dfea.jpg","text":"TemporaryFile(/tmp/multipartBody6420277625578720273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_08_04_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/27/3fe8efe039d68a70ede21f7849c2c8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8729620472409961534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_08_01_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/27/edbe5917b9eff565852fd6aaf3f3c057.jpg","text":"TemporaryFile(/tmp/multipartBody179783062768376925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_08_10_3438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/169734365d8aaa6d0f1f455bf409aa53.jpg","text":"TemporaryFile(/tmp/multipartBody422139463336231074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_07_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/27/a8a0d06132fcb4ad8c6cd6a8f5c751b7.jpg","text":"TemporaryFile(/tmp/multipartBody4950199710865125121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_08_06_2466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb86ef094141f3aab3b025594a22bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3790085640611100005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210045027,"filename":"image_21112025_19_08_21_11808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348497","file1":"1396348482","file0":"1396348466","file4":"1396348499","file5":"1396348501","file3":"1396348498"},"map_files_photo_id_array":[{"photo_id":"1396348501","filename":"file5"},{"photo_id":"1396348497","filename":"file2"},{"photo_id":"1396348499","filename":"file4"},{"photo_id":"1396348482","filename":"file1"},{"photo_id":"1396348466","filename":"file0"},{"photo_id":"1396348498","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348497":["hashtag1","hashtag2"]},{"1396348482":["hashtag1","hashtag2"]},{"1396348499":["hashtag1","hashtag2"]},{"1396348466":["hashtag1","hashtag2"]},{"1396348498":["hashtag1","hashtag2"]},{"1396348501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348497, 1396348482, 1396348499, 1396348466, 1396348498, 1396348501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.255476236343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:20:22.232568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_31_9052.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_32_1629.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_34_1721.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_36_1651.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_37_1585.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_39_1981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_31_9052.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_32_1629.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_34_1721.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_36_1651.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_37_1585.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_39_1981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348527","1396348553","1396348535","1396348523","1396348517","1396348547"],"photo_ids_order":["1396348517","1396348523","1396348527","1396348535","1396348547","1396348553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5561c6fa71b6187d1398e2c4a4f3901d.jpg","text":"TemporaryFile(/tmp/multipartBody9217893271990255915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_34_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/27/c0c2ad5766647bb4bed2a1d48638bb40.jpg","text":"TemporaryFile(/tmp/multipartBody3445868067261229477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_39_1981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e80ece77956fcf6e271d0dc3792a48be.jpg","text":"TemporaryFile(/tmp/multipartBody1110571000582186943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_36_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/27/879719f6e1b3495a22741de7d238c270.jpg","text":"TemporaryFile(/tmp/multipartBody3257580503523161281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_32_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/27/bbceeb4d0c43274523d882813b8e3a67.jpg","text":"TemporaryFile(/tmp/multipartBody6370686635987193615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_31_9052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0e8d3a4c2133c37cb39f60736c7d91b.jpg","text":"TemporaryFile(/tmp/multipartBody7660681908406470526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210083988,"filename":"image_21112025_19_08_37_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348527","file1":"1396348523","file0":"1396348517","file4":"1396348547","file5":"1396348553","file3":"1396348535"},"map_files_photo_id_array":[{"photo_id":"1396348553","filename":"file5"},{"photo_id":"1396348527","filename":"file2"},{"photo_id":"1396348547","filename":"file4"},{"photo_id":"1396348523","filename":"file1"},{"photo_id":"1396348517","filename":"file0"},{"photo_id":"1396348535","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348527":["hashtag1","hashtag2"]},{"1396348553":["hashtag1","hashtag2"]},{"1396348535":["hashtag1","hashtag2"]},{"1396348523":["hashtag1","hashtag2"]},{"1396348517":["hashtag1","hashtag2"]},{"1396348547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348527, 1396348553, 1396348535, 1396348523, 1396348517, 1396348547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50186228752136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:21:02.793777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_41_1631.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_43_1793.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_44_1533.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_49_4482.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_54_1633.jpg', '/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_55_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_41_1631.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_43_1793.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_44_1533.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_49_4482.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_54_1633.jpg
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_55_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348584","1396348563","1396348557","1396348569","1396348559","1396348555"],"photo_ids_order":["1396348555","1396348557","1396348559","1396348563","1396348569","1396348584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49162df967988ce42d2b699012f9d4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5258457061541194587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_55_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/27/eb98513bb7357e4d4d2c4d1c8709c456.jpg","text":"TemporaryFile(/tmp/multipartBody9085082049688195470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_49_4482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6b6ed40bbda7e2c3f59258cf11cbffa.jpg","text":"TemporaryFile(/tmp/multipartBody5691883460696416880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_43_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/27/27b044bd9aaf817fdc218ce22f951460.jpg","text":"TemporaryFile(/tmp/multipartBody7800566482655283830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_54_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/27/b42caf396fbc040864f5400b63fb5f93.jpg","text":"TemporaryFile(/tmp/multipartBody4127303798893487031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_44_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/27/4802f7e5e5e139504aa6f8cd667cc73b.jpg","text":"TemporaryFile(/tmp/multipartBody1570252411454706394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210124118,"filename":"image_21112025_19_08_41_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348559","file1":"1396348557","file0":"1396348555","file4":"1396348569","file5":"1396348584","file3":"1396348563"},"map_files_photo_id_array":[{"photo_id":"1396348584","filename":"file5"},{"photo_id":"1396348559","filename":"file2"},{"photo_id":"1396348569","filename":"file4"},{"photo_id":"1396348557","filename":"file1"},{"photo_id":"1396348555","filename":"file0"},{"photo_id":"1396348563","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348584":["hashtag1","hashtag2"]},{"1396348563":["hashtag1","hashtag2"]},{"1396348557":["hashtag1","hashtag2"]},{"1396348569":["hashtag1","hashtag2"]},{"1396348559":["hashtag1","hashtag2"]},{"1396348555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348584, 1396348563, 1396348557, 1396348569, 1396348559, 1396348555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61606287956238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:21:42.074443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/28/image_30102025_21_28_42_15200.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_45_2950.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_46_1661.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_50_3459.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_51_1601.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_53_1905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_42_15200.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_45_2950.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_46_1661.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_50_3459.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_51_1601.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_53_1905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348612","1396348606","1396348611","1396348608","1396348610","1396348609"],"photo_ids_order":["1396348606","1396348608","1396348609","1396348610","1396348611","1396348612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b1f9a2f9f6989313a3f339a8e382410.jpg","text":"TemporaryFile(/tmp/multipartBody7946741765041854211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_53_1905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9304ed9a5f76515d4a4351493ac11a07.jpg","text":"TemporaryFile(/tmp/multipartBody5799173689691318332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_42_15200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be9b861e4d792b06d5a9fcaf4b68f8ed.jpg","text":"TemporaryFile(/tmp/multipartBody8742942120113224777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_51_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/27/ad901206c09c0755825487bcdb08a191.jpg","text":"TemporaryFile(/tmp/multipartBody6303965885055890117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_45_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/27/27260d25dc9594a7346c23c1a3cc449c.jpg","text":"TemporaryFile(/tmp/multipartBody537510887473116572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_50_3459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d06aabf37120bee17e6fe94d5eaa6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1635563960308456552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210163354,"filename":"image_30102025_21_28_46_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348609","file1":"1396348608","file0":"1396348606","file4":"1396348611","file5":"1396348612","file3":"1396348610"},"map_files_photo_id_array":[{"photo_id":"1396348612","filename":"file5"},{"photo_id":"1396348609","filename":"file2"},{"photo_id":"1396348611","filename":"file4"},{"photo_id":"1396348608","filename":"file1"},{"photo_id":"1396348606","filename":"file0"},{"photo_id":"1396348610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396348612":["hashtag1","hashtag2"]},{"1396348606":["hashtag1","hashtag2"]},{"1396348611":["hashtag1","hashtag2"]},{"1396348608":["hashtag1","hashtag2"]},{"1396348610":["hashtag1","hashtag2"]},{"1396348609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396348612, 1396348606, 1396348611, 1396348608, 1396348610, 1396348609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60842275619507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:22:22.176499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/18/image_27112025_03_18_54_9876.jpg', '/home/pi/Desktop/images/27112025/03/20/image_27112025_03_20_45_10723.jpg', '/home/pi/Desktop/images/27112025/03/21/image_27112025_03_21_24_9662.jpg', '/home/pi/Desktop/images/27112025/03/21/image_27112025_03_22_04_10581.jpg', '/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_14_9706.jpg', '/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_35_10878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/18/image_27112025_03_18_54_9876.jpg
/home/pi/Desktop/images/27112025/03/20/image_27112025_03_20_45_10723.jpg
/home/pi/Desktop/images/27112025/03/21/image_27112025_03_21_24_9662.jpg
/home/pi/Desktop/images/27112025/03/21/image_27112025_03_22_04_10581.jpg
/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_14_9706.jpg
/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_35_10878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348630","1396348624","1396348632","1396348634","1396348619","1396348628"],"photo_ids_order":["1396348619","1396348624","1396348628","1396348630","1396348632","1396348634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23629039ab35697c65284609fd4f6031.jpg","text":"TemporaryFile(/tmp/multipartBody3655531137287434500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_22_04_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4438529ab95a2a3c8971f890947078f1.jpg","text":"TemporaryFile(/tmp/multipartBody6257665088121266444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_20_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/536234ca8e194d1a2fd1e874afb43929.jpg","text":"TemporaryFile(/tmp/multipartBody7619768337560396861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_22_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a36b08d8e8560874119617f5436a78ea.jpg","text":"TemporaryFile(/tmp/multipartBody1922853117900425069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_22_35_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47ae71f1cbb9a367f67661a17b83d408.jpg","text":"TemporaryFile(/tmp/multipartBody6707971424337688693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_18_54_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e46eb72b700a94bf17ad5d1dfe76d658.jpg","text":"TemporaryFile(/tmp/multipartBody3695617197616643942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210202942,"filename":"image_27112025_03_21_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348628","file1":"1396348624","file0":"1396348619","file4":"1396348632","file5":"1396348634","file3":"1396348630"},"map_files_photo_id_array":[{"photo_id":"1396348634","filename":"file5"},{"photo_id":"1396348628","filename":"file2"},{"photo_id":"1396348632","filename":"file4"},{"photo_id":"1396348624","filename":"file1"},{"photo_id":"1396348619","filename":"file0"},{"photo_id":"1396348630","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348630":["hashtag1","hashtag2"]},{"1396348624":["hashtag1","hashtag2"]},{"1396348632":["hashtag1","hashtag2"]},{"1396348634":["hashtag1","hashtag2"]},{"1396348619":["hashtag1","hashtag2"]},{"1396348628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348630, 1396348624, 1396348632, 1396348634, 1396348619, 1396348628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35762596130371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:23:03.058868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_58_2537.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_01_2755.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_04_3133.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_06_2641.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_10_3749.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_13_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/08/image_21112025_19_08_58_2537.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_01_2755.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_04_3133.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_06_2641.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_10_3749.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_13_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348656","1396348659","1396348638","1396348646","1396348663","1396348654"],"photo_ids_order":["1396348638","1396348646","1396348654","1396348656","1396348659","1396348663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1dabd49291d3b894c08098bcb5ead387.jpg","text":"TemporaryFile(/tmp/multipartBody5226192246761348881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_09_06_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/27/f7afb0d26471175dcdb3302f97a7d760.jpg","text":"TemporaryFile(/tmp/multipartBody1412808014958078896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_09_10_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/27/dfba7c326f250f23a2875627fbf98560.jpg","text":"TemporaryFile(/tmp/multipartBody2480293437316308295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_08_58_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/27/8343bca91df669d1482d10b792ff929f.jpg","text":"TemporaryFile(/tmp/multipartBody8143302600113551941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_09_01_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/27/ce4dd43b89f3513886067d434e492da6.jpg","text":"TemporaryFile(/tmp/multipartBody2954332682466041915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_09_13_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/27/95e0ece0c9ba7f66e3de4f907478f4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2274602638075484770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210244381,"filename":"image_21112025_19_09_04_3133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348654","file1":"1396348646","file0":"1396348638","file4":"1396348659","file5":"1396348663","file3":"1396348656"},"map_files_photo_id_array":[{"photo_id":"1396348663","filename":"file5"},{"photo_id":"1396348654","filename":"file2"},{"photo_id":"1396348659","filename":"file4"},{"photo_id":"1396348646","filename":"file1"},{"photo_id":"1396348638","filename":"file0"},{"photo_id":"1396348656","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348656":["hashtag1","hashtag2"]},{"1396348659":["hashtag1","hashtag2"]},{"1396348638":["hashtag1","hashtag2"]},{"1396348646":["hashtag1","hashtag2"]},{"1396348663":["hashtag1","hashtag2"]},{"1396348654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348656, 1396348659, 1396348638, 1396348646, 1396348663, 1396348654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01958346366882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:23:42.440303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/28/image_30102025_21_28_55_1878.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_57_1754.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_59_1779.jpg', '/home/pi/Desktop/images/30102025/21/28/image_30102025_21_29_00_1561.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_02_1637.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_05_3511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_55_1878.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_57_1754.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_28_59_1779.jpg
/home/pi/Desktop/images/30102025/21/28/image_30102025_21_29_00_1561.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_02_1637.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_05_3511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348674","1396348671","1396348673","1396348676","1396348672","1396348669"],"photo_ids_order":["1396348669","1396348671","1396348672","1396348673","1396348674","1396348676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8748b47f46c73ac63bedf14c0f18d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8251379210629299678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_29_02_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/27/b0e918686c2cccd60733355541c1e01a.jpg","text":"TemporaryFile(/tmp/multipartBody1767212751785561233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_28_57_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/27/660ac88998c270bfe70f62567ab74f32.jpg","text":"TemporaryFile(/tmp/multipartBody7198407339610439810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_29_00_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/27/e06d084ef339970c80a17c9f999bed50.jpg","text":"TemporaryFile(/tmp/multipartBody3830751332117635959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_29_05_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/27/950832e6dca34090e7d4995388521afa.jpg","text":"TemporaryFile(/tmp/multipartBody3688741587473618543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_28_59_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/27/ec13ac4f2bf60ab9ab19e9469f77eab0.jpg","text":"TemporaryFile(/tmp/multipartBody301306755998153470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210283717,"filename":"image_30102025_21_28_55_1878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348672","file1":"1396348671","file0":"1396348669","file4":"1396348674","file5":"1396348676","file3":"1396348673"},"map_files_photo_id_array":[{"photo_id":"1396348676","filename":"file5"},{"photo_id":"1396348672","filename":"file2"},{"photo_id":"1396348674","filename":"file4"},{"photo_id":"1396348671","filename":"file1"},{"photo_id":"1396348669","filename":"file0"},{"photo_id":"1396348673","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396348674":["hashtag1","hashtag2"]},{"1396348671":["hashtag1","hashtag2"]},{"1396348673":["hashtag1","hashtag2"]},{"1396348676":["hashtag1","hashtag2"]},{"1396348672":["hashtag1","hashtag2"]},{"1396348669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396348674, 1396348671, 1396348673, 1396348676, 1396348672, 1396348669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55214285850525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:24:22.564615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_45_9719.jpg', '/home/pi/Desktop/images/27112025/03/23/image_27112025_03_23_44_9856.jpg', '/home/pi/Desktop/images/27112025/03/23/image_27112025_03_24_04_9942.jpg', '/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_14_9823.jpg', '/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_25_10740.jpg', '/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/22/image_27112025_03_22_45_9719.jpg
/home/pi/Desktop/images/27112025/03/23/image_27112025_03_23_44_9856.jpg
/home/pi/Desktop/images/27112025/03/23/image_27112025_03_24_04_9942.jpg
/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_14_9823.jpg
/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_25_10740.jpg
/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_44_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348692","1396348689","1396348694","1396348696","1396348681","1396348684"],"photo_ids_order":["1396348681","1396348684","1396348689","1396348692","1396348694","1396348696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6b834ad4a1f5275a79016c13c294f3b.jpg","text":"TemporaryFile(/tmp/multipartBody7176680266850981453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_24_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2d847a8596900cc722818fd2aef20ea.jpg","text":"TemporaryFile(/tmp/multipartBody8435076754553450498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_24_04_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e7f25e677faebac12a2738425943d2f.jpg","text":"TemporaryFile(/tmp/multipartBody4860126462502757279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_24_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2d9a519dad1cb1f741dbfea16abd28d.jpg","text":"TemporaryFile(/tmp/multipartBody9149371943503203179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_24_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1aa5363a1ffa7428a6fa919e0f2a451.jpg","text":"TemporaryFile(/tmp/multipartBody98959893918273556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_22_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57b246ae794b2596e10357a47254c013.jpg","text":"TemporaryFile(/tmp/multipartBody4781791699541515026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210323338,"filename":"image_27112025_03_23_44_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348689","file1":"1396348684","file0":"1396348681","file4":"1396348694","file5":"1396348696","file3":"1396348692"},"map_files_photo_id_array":[{"photo_id":"1396348696","filename":"file5"},{"photo_id":"1396348689","filename":"file2"},{"photo_id":"1396348694","filename":"file4"},{"photo_id":"1396348684","filename":"file1"},{"photo_id":"1396348681","filename":"file0"},{"photo_id":"1396348692","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348692":["hashtag1","hashtag2"]},{"1396348689":["hashtag1","hashtag2"]},{"1396348694":["hashtag1","hashtag2"]},{"1396348696":["hashtag1","hashtag2"]},{"1396348681":["hashtag1","hashtag2"]},{"1396348684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348692, 1396348689, 1396348694, 1396348696, 1396348681, 1396348684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83607006072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:25:03.458279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_16_2727.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_18_2726.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_22_3563.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_24_2476.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_27_2763.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_30_3142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_16_2727.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_18_2726.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_22_3563.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_24_2476.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_27_2763.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_30_3142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348702","1396348698","1396348713","1396348704","1396348700","1396348720"],"photo_ids_order":["1396348698","1396348700","1396348702","1396348704","1396348713","1396348720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3107e37fbf20141e8ed1258e0dc9fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4627724061005833050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_22_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/27/69bd7902f6f45f202eabf126d652a2f4.jpg","text":"TemporaryFile(/tmp/multipartBody3541059440161929746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_16_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/27/fe40585be292f3e6cfbf06995dbeb405.jpg","text":"TemporaryFile(/tmp/multipartBody6571086432166264450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_27_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/27/9ae9ab24b01856f5725660037d5cca9d.jpg","text":"TemporaryFile(/tmp/multipartBody3398202497830734523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_24_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/27/121fcd58e5a99929a82db52bd5d43348.jpg","text":"TemporaryFile(/tmp/multipartBody6341728877946991394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_18_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/27/52dd8287b60590aaf648580a5bc1e426.jpg","text":"TemporaryFile(/tmp/multipartBody2829860393675309918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210364801,"filename":"image_21112025_19_09_30_3142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348702","file1":"1396348700","file0":"1396348698","file4":"1396348713","file5":"1396348720","file3":"1396348704"},"map_files_photo_id_array":[{"photo_id":"1396348720","filename":"file5"},{"photo_id":"1396348702","filename":"file2"},{"photo_id":"1396348713","filename":"file4"},{"photo_id":"1396348700","filename":"file1"},{"photo_id":"1396348698","filename":"file0"},{"photo_id":"1396348704","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348702":["hashtag1","hashtag2"]},{"1396348698":["hashtag1","hashtag2"]},{"1396348713":["hashtag1","hashtag2"]},{"1396348704":["hashtag1","hashtag2"]},{"1396348700":["hashtag1","hashtag2"]},{"1396348720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348702, 1396348698, 1396348713, 1396348704, 1396348700, 1396348720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.688472270965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:25:42.888669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/29/image_30102025_21_29_08_2948.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_10_1690.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_12_1601.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_13_1575.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_15_1769.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_17_1727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_08_2948.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_10_1690.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_12_1601.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_13_1575.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_15_1769.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_17_1727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348731","1396348728","1396348730","1396348727","1396348726","1396348729"],"photo_ids_order":["1396348726","1396348727","1396348728","1396348729","1396348730","1396348731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c064b507b04524aa7cd4b21e4e07ff54.jpg","text":"TemporaryFile(/tmp/multipartBody4922052581933308206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_17_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/27/af0b33b7d3a4a3cfd1d194cca6430ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2723550480368873583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_12_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/27/e60f98a548a8d8d6ae8d5575fa5a3130.jpg","text":"TemporaryFile(/tmp/multipartBody3846490763995365793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_15_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/27/15df8d2a33a2d9e1e0a395196418d081.jpg","text":"TemporaryFile(/tmp/multipartBody4628220997410652638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_10_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e33e3f647ffc924f73b9387156abdda.jpg","text":"TemporaryFile(/tmp/multipartBody4457175554928820149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_08_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e12f0d14dcf6add3ed7f315e9eb4654.jpg","text":"TemporaryFile(/tmp/multipartBody1185796021646510567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210404167,"filename":"image_30102025_21_29_13_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348728","file1":"1396348727","file0":"1396348726","file4":"1396348730","file5":"1396348731","file3":"1396348729"},"map_files_photo_id_array":[{"photo_id":"1396348731","filename":"file5"},{"photo_id":"1396348728","filename":"file2"},{"photo_id":"1396348730","filename":"file4"},{"photo_id":"1396348727","filename":"file1"},{"photo_id":"1396348726","filename":"file0"},{"photo_id":"1396348729","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396348731":["hashtag1","hashtag2"]},{"1396348728":["hashtag1","hashtag2"]},{"1396348730":["hashtag1","hashtag2"]},{"1396348727":["hashtag1","hashtag2"]},{"1396348726":["hashtag1","hashtag2"]},{"1396348729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396348731, 1396348728, 1396348730, 1396348727, 1396348726, 1396348729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67653846740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:26:22.046909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_54_10022.jpg', '/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_14_9880.jpg', '/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_45_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/24/image_27112025_03_24_54_10022.jpg
/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_14_9880.jpg
/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_45_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348743","1396348742","1396348739"],"photo_ids_order":["1396348739","1396348742","1396348743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9692be3ea7d6aa811f93b31734ca4e70.jpg","text":"TemporaryFile(/tmp/multipartBody6147325436196890277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210442656,"filename":"image_27112025_03_25_45_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a159e2afd08adad32266ec54afd39f5.jpg","text":"TemporaryFile(/tmp/multipartBody8515983098729125111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210442656,"filename":"image_27112025_03_25_14_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c3e7f1cd35a01ec36635480a0447b60.jpg","text":"TemporaryFile(/tmp/multipartBody330106932869515820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210442656,"filename":"image_27112025_03_24_54_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348743","file1":"1396348742","file0":"1396348739"},"map_files_photo_id_array":[{"photo_id":"1396348743","filename":"file2"},{"photo_id":"1396348742","filename":"file1"},{"photo_id":"1396348739","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348743":["hashtag1","hashtag2"]},{"1396348742":["hashtag1","hashtag2"]},{"1396348739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348743, 1396348742, 1396348739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.956251859664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:27:02.930030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_34_3599.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_37_3246.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_40_2857.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_43_2741.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_45_2380.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_49_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_34_3599.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_37_3246.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_40_2857.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_43_2741.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_45_2380.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_49_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348752","1396348746","1396348748","1396348759","1396348750","1396348756"],"photo_ids_order":["1396348746","1396348748","1396348750","1396348752","1396348756","1396348759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf41a2b2f85b3d9c0ff7178c3100159f.jpg","text":"TemporaryFile(/tmp/multipartBody8443475591090573935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_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/27/37cff0a92e868b3e6e1ac2fdcb8bb4e1.jpg","text":"TemporaryFile(/tmp/multipartBody2870204706912699432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_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/27/331558ab5d749f9cc816c2a2819a91d7.jpg","text":"TemporaryFile(/tmp/multipartBody699426599250561008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_37_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/27/2fc06031a27e3913f651e3fd71912143.jpg","text":"TemporaryFile(/tmp/multipartBody5574443583989642133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_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/27/f20c109b4fd4ee18d85232ac29f703f3.jpg","text":"TemporaryFile(/tmp/multipartBody1008365912042560762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_40_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/27/4e51213a17220085e293814906fcdf58.jpg","text":"TemporaryFile(/tmp/multipartBody126134630360366455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210484191,"filename":"image_21112025_19_09_45_2380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348750","file1":"1396348748","file0":"1396348746","file4":"1396348756","file5":"1396348759","file3":"1396348752"},"map_files_photo_id_array":[{"photo_id":"1396348759","filename":"file5"},{"photo_id":"1396348750","filename":"file2"},{"photo_id":"1396348756","filename":"file4"},{"photo_id":"1396348748","filename":"file1"},{"photo_id":"1396348746","filename":"file0"},{"photo_id":"1396348752","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348752":["hashtag1","hashtag2"]},{"1396348746":["hashtag1","hashtag2"]},{"1396348748":["hashtag1","hashtag2"]},{"1396348759":["hashtag1","hashtag2"]},{"1396348750":["hashtag1","hashtag2"]},{"1396348756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348752, 1396348746, 1396348748, 1396348759, 1396348750, 1396348756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22060537338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:27:42.442148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/29/image_30102025_21_29_20_1682.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_22_1632.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_23_1506.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_25_1582.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_26_1652.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_29_2518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_20_1682.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_22_1632.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_23_1506.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_25_1582.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_26_1652.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_29_2518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348767","1396348770","1396348769","1396348771","1396348765","1396348768"],"photo_ids_order":["1396348765","1396348767","1396348768","1396348769","1396348770","1396348771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd8dc927256e89b237803834e03cdb62.jpg","text":"TemporaryFile(/tmp/multipartBody4587601702668015490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_22_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/27/05f87f63bc99a003d834c871bf3b2672.jpg","text":"TemporaryFile(/tmp/multipartBody69062208602194931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_26_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/27/27bc84e2607e9fd01926b4bc3b927514.jpg","text":"TemporaryFile(/tmp/multipartBody4406140857867212428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_25_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/27/4a9faa3ce083bbf1c0d20578dbbcad31.jpg","text":"TemporaryFile(/tmp/multipartBody1328702828499122229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_29_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/27/4977c2959ce57a572f8a7ea6c9a4a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody959038861205174037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_20_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/27/1f59496b2f53e195abe743a72e784486.jpg","text":"TemporaryFile(/tmp/multipartBody9095569857634055660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210523722,"filename":"image_30102025_21_29_23_1506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348768","file1":"1396348767","file0":"1396348765","file4":"1396348770","file5":"1396348771","file3":"1396348769"},"map_files_photo_id_array":[{"photo_id":"1396348771","filename":"file5"},{"photo_id":"1396348768","filename":"file2"},{"photo_id":"1396348770","filename":"file4"},{"photo_id":"1396348767","filename":"file1"},{"photo_id":"1396348765","filename":"file0"},{"photo_id":"1396348769","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396348767":["hashtag1","hashtag2"]},{"1396348770":["hashtag1","hashtag2"]},{"1396348769":["hashtag1","hashtag2"]},{"1396348771":["hashtag1","hashtag2"]},{"1396348765":["hashtag1","hashtag2"]},{"1396348768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396348767, 1396348770, 1396348769, 1396348771, 1396348765, 1396348768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74481725692749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:28:22.622179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_54_9660.jpg', '/home/pi/Desktop/images/27112025/03/27/image_27112025_03_27_24_9634.jpg', '/home/pi/Desktop/images/27112025/03/27/image_27112025_03_27_35_10654.jpg', '/home/pi/Desktop/images/27112025/03/28/image_27112025_03_28_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/25/image_27112025_03_25_54_9660.jpg
/home/pi/Desktop/images/27112025/03/27/image_27112025_03_27_24_9634.jpg
/home/pi/Desktop/images/27112025/03/27/image_27112025_03_27_35_10654.jpg
/home/pi/Desktop/images/27112025/03/28/image_27112025_03_28_44_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348791","1396348779","1396348781","1396348783"],"photo_ids_order":["1396348779","1396348781","1396348783","1396348791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/166fed3cd5615a18eb66dfeea9d2f457.jpg","text":"TemporaryFile(/tmp/multipartBody9142805595745907651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210563325,"filename":"image_27112025_03_28_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f4843908968ba4dd8ef1d8ec696958c.jpg","text":"TemporaryFile(/tmp/multipartBody3930608237089749334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210563325,"filename":"image_27112025_03_25_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/feb7e9f35fc1e7a9d3db8b01c782e3be.jpg","text":"TemporaryFile(/tmp/multipartBody2014610352606601993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210563325,"filename":"image_27112025_03_27_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b933ec6f4cc06a2a7a3c32058bfb775.jpg","text":"TemporaryFile(/tmp/multipartBody6842444388321892028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210563325,"filename":"image_27112025_03_27_35_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348783","file1":"1396348781","file0":"1396348779","file3":"1396348791"},"map_files_photo_id_array":[{"photo_id":"1396348783","filename":"file2"},{"photo_id":"1396348781","filename":"file1"},{"photo_id":"1396348779","filename":"file0"},{"photo_id":"1396348791","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348791":["hashtag1","hashtag2"]},{"1396348779":["hashtag1","hashtag2"]},{"1396348781":["hashtag1","hashtag2"]},{"1396348783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348791, 1396348779, 1396348781, 1396348783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.262457370758057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:29:04.023088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_52_2711.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_54_2568.jpg', '/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_58_3660.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_01_2815.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_03_2558.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_07_3759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_52_2711.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_54_2568.jpg
/home/pi/Desktop/images/21112025/19/09/image_21112025_19_09_58_3660.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_01_2815.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_03_2558.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_07_3759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348845","1396348850","1396348841","1396348835","1396348838","1396348831"],"photo_ids_order":["1396348831","1396348835","1396348838","1396348841","1396348845","1396348850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0afc58126971bfb1d396447f861154bd.jpg","text":"TemporaryFile(/tmp/multipartBody5068116960982380861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_10_03_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/27/0998c58de453bef3887a2bcf81e4ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody9216455274140142080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_10_07_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/27/4608621985b972ebcf7d0802c9fde3b8.jpg","text":"TemporaryFile(/tmp/multipartBody1482009048258663968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_10_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/27/c916a34f26487752bb146b0bf450e28f.jpg","text":"TemporaryFile(/tmp/multipartBody1565603001928024933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_09_54_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/27/5602e817856ebcf9854b92bc6e65a2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5248799398346380032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_09_58_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/27/bcc776e18b7b46f6f9b33eff38623510.jpg","text":"TemporaryFile(/tmp/multipartBody3426072436954369056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210605470,"filename":"image_21112025_19_09_52_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348838","file1":"1396348835","file0":"1396348831","file4":"1396348845","file5":"1396348850","file3":"1396348841"},"map_files_photo_id_array":[{"photo_id":"1396348850","filename":"file5"},{"photo_id":"1396348838","filename":"file2"},{"photo_id":"1396348845","filename":"file4"},{"photo_id":"1396348835","filename":"file1"},{"photo_id":"1396348831","filename":"file0"},{"photo_id":"1396348841","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348845":["hashtag1","hashtag2"]},{"1396348850":["hashtag1","hashtag2"]},{"1396348841":["hashtag1","hashtag2"]},{"1396348835":["hashtag1","hashtag2"]},{"1396348838":["hashtag1","hashtag2"]},{"1396348831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348845, 1396348850, 1396348841, 1396348835, 1396348838, 1396348831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.118149518966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:29:42.853814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/29/image_30102025_21_29_32_2970.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_35_2686.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_40_5030.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_30_00_20415.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_12_7599.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_15_3079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_32_2970.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_35_2686.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_40_5030.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_30_00_20415.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_12_7599.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_15_3079.jpg
 val : 1 : upload photos already in processing! 
 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>8bgpa03dj</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>8bgpa03dj</strong>.
uploaded 0 photos
time to upload: 44.6845703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:30:32.136522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_14_6732.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_16_2072.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_18_1906.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_21_3704.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_23_1597.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_28_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_14_6732.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_16_2072.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_18_1906.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_21_3704.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_23_1597.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_28_2813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348887","1396348878","1396348886","1396348871","1396348888","1396348873"],"photo_ids_order":["1396348871","1396348873","1396348878","1396348886","1396348887","1396348888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cfb218c8f6d61cfbfe4b8f26d7fca05.jpg","text":"TemporaryFile(/tmp/multipartBody6058292580303717183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_23_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/27/d08da4f1e6bf7bce0ce54605d6ccda2e.jpg","text":"TemporaryFile(/tmp/multipartBody5753597777913950552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_18_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18d75f3302e8613f04db125ec1c7346b.jpg","text":"TemporaryFile(/tmp/multipartBody8780437400973139792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_21_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/27/b1bf0b0c0a10ffc9066ee8f2789224c4.jpg","text":"TemporaryFile(/tmp/multipartBody2057271348899444342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_14_6732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7d9747a7f07919a99ecaabc3a322239.jpg","text":"TemporaryFile(/tmp/multipartBody5293411586035484623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_28_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/27/4501b49b98321bd2f30f3c98a45f8cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1469805952050856790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210693994,"filename":"image_21112025_19_10_16_2072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348878","file1":"1396348873","file0":"1396348871","file4":"1396348887","file5":"1396348888","file3":"1396348886"},"map_files_photo_id_array":[{"photo_id":"1396348888","filename":"file5"},{"photo_id":"1396348878","filename":"file2"},{"photo_id":"1396348887","filename":"file4"},{"photo_id":"1396348873","filename":"file1"},{"photo_id":"1396348871","filename":"file0"},{"photo_id":"1396348886","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348887":["hashtag1","hashtag2"]},{"1396348878":["hashtag1","hashtag2"]},{"1396348886":["hashtag1","hashtag2"]},{"1396348871":["hashtag1","hashtag2"]},{"1396348888":["hashtag1","hashtag2"]},{"1396348873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348887, 1396348878, 1396348886, 1396348871, 1396348888, 1396348873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29822826385498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:31:12.129782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_30_2609.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_34_3584.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_37_2722.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_39_2673.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_42_2627.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_46_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_30_2609.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_34_3584.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_37_2722.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_39_2673.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_42_2627.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_46_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348915","1396348893","1396348911","1396348931","1396348891","1396348897"],"photo_ids_order":["1396348891","1396348893","1396348897","1396348911","1396348915","1396348931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/604e04d52d2da38f0d1626ee36cb1308.jpg","text":"TemporaryFile(/tmp/multipartBody2927795386287778505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_42_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/27/66704a6cb34ca9d547cd71ff589b544a.jpg","text":"TemporaryFile(/tmp/multipartBody4297131627770389876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_34_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/27/0a87aacc2666599faee80fa70aaf9357.jpg","text":"TemporaryFile(/tmp/multipartBody123676967009945698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_39_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/27/16ccb3a14e2e8339febf1803f4091e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1845766851976358513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_46_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/27/ff8d622be0437a2bec3dc9cd7dd36ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1075198036491044498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_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/27/f2b41b21062373e529c8d55a8caa6e23.jpg","text":"TemporaryFile(/tmp/multipartBody2652327831205266562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210733880,"filename":"image_21112025_19_10_37_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348897","file1":"1396348893","file0":"1396348891","file4":"1396348915","file5":"1396348931","file3":"1396348911"},"map_files_photo_id_array":[{"photo_id":"1396348931","filename":"file5"},{"photo_id":"1396348897","filename":"file2"},{"photo_id":"1396348915","filename":"file4"},{"photo_id":"1396348893","filename":"file1"},{"photo_id":"1396348891","filename":"file0"},{"photo_id":"1396348911","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348915":["hashtag1","hashtag2"]},{"1396348893":["hashtag1","hashtag2"]},{"1396348911":["hashtag1","hashtag2"]},{"1396348931":["hashtag1","hashtag2"]},{"1396348891":["hashtag1","hashtag2"]},{"1396348897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348915, 1396348893, 1396348911, 1396348931, 1396348891, 1396348897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.136049032211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:32:09.374642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/28/image_27112025_03_28_54_9686.jpg', '/home/pi/Desktop/images/27112025/03/29/image_27112025_03_29_24_9815.jpg', '/home/pi/Desktop/images/27112025/03/30/image_27112025_03_30_44_9758.jpg', '/home/pi/Desktop/images/27112025/03/30/image_27112025_03_31_04_9791.jpg', '/home/pi/Desktop/images/27112025/03/31/image_27112025_03_31_25_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/28/image_27112025_03_28_54_9686.jpg
/home/pi/Desktop/images/27112025/03/29/image_27112025_03_29_24_9815.jpg
/home/pi/Desktop/images/27112025/03/30/image_27112025_03_30_44_9758.jpg
/home/pi/Desktop/images/27112025/03/30/image_27112025_03_31_04_9791.jpg
/home/pi/Desktop/images/27112025/03/31/image_27112025_03_31_25_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348964","1396348958","1396348973","1396348955","1396348969"],"photo_ids_order":["1396348955","1396348958","1396348964","1396348969","1396348973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/666d55d6f3f4434166418589efb6a099.jpg","text":"TemporaryFile(/tmp/multipartBody1039609184186049299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210792696,"filename":"image_27112025_03_30_44_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c875d3c7c8bafba36dc7ad1ab74dffde.jpg","text":"TemporaryFile(/tmp/multipartBody2887354041385025323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210792696,"filename":"image_27112025_03_29_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d5944c1224f4a498a60dedc726de8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3183803821025674057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210792696,"filename":"image_27112025_03_31_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e49e61fc109224170b18c71b5b16e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4604711928610204205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210792696,"filename":"image_27112025_03_28_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/deae058f17f0ee01fc13edd6cae5bdd7.jpg","text":"TemporaryFile(/tmp/multipartBody4601563966809374800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210792696,"filename":"image_27112025_03_31_04_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348964","file1":"1396348958","file0":"1396348955","file4":"1396348973","file3":"1396348969"},"map_files_photo_id_array":[{"photo_id":"1396348964","filename":"file2"},{"photo_id":"1396348973","filename":"file4"},{"photo_id":"1396348958","filename":"file1"},{"photo_id":"1396348955","filename":"file0"},{"photo_id":"1396348969","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396348964":["hashtag1","hashtag2"]},{"1396348958":["hashtag1","hashtag2"]},{"1396348973":["hashtag1","hashtag2"]},{"1396348955":["hashtag1","hashtag2"]},{"1396348969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396348964, 1396348958, 1396348973, 1396348955, 1396348969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.96262264251709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:33:02.827207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_48_2687.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_55_3647.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_57_2681.jpg', '/home/pi/Desktop/images/21112025/19/10/image_21112025_19_11_00_2783.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_04_3533.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_07_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_48_2687.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_55_3647.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_10_57_2681.jpg
/home/pi/Desktop/images/21112025/19/10/image_21112025_19_11_00_2783.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_04_3533.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_07_2834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396348983","1396348977","1396348991","1396348979","1396348987","1396348981"],"photo_ids_order":["1396348977","1396348979","1396348981","1396348983","1396348987","1396348991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e5dc5108c7ec5f0cf98d6a5acd91017.jpg","text":"TemporaryFile(/tmp/multipartBody4055937208658945965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_11_00_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/27/e710f8bb2ac56ec0fd4e2b2dc2e593bb.jpg","text":"TemporaryFile(/tmp/multipartBody7595076133584835023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_10_48_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/27/07b911133a4fa3af38f832295fa133d0.jpg","text":"TemporaryFile(/tmp/multipartBody4122858673950392810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_11_07_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/27/5d0d782d950f502636d935b5d32a1515.jpg","text":"TemporaryFile(/tmp/multipartBody1712856996395606684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_10_55_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/27/6e7d31c5d075280f719282cacbceb4db.jpg","text":"TemporaryFile(/tmp/multipartBody7989781171754932489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_11_04_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/27/5c7f16b9c23edd5f478ff72d376c558f.jpg","text":"TemporaryFile(/tmp/multipartBody7036621876260232114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210844159,"filename":"image_21112025_19_10_57_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396348981","file1":"1396348979","file0":"1396348977","file4":"1396348987","file5":"1396348991","file3":"1396348983"},"map_files_photo_id_array":[{"photo_id":"1396348991","filename":"file5"},{"photo_id":"1396348981","filename":"file2"},{"photo_id":"1396348987","filename":"file4"},{"photo_id":"1396348979","filename":"file1"},{"photo_id":"1396348977","filename":"file0"},{"photo_id":"1396348983","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396348983":["hashtag1","hashtag2"]},{"1396348977":["hashtag1","hashtag2"]},{"1396348991":["hashtag1","hashtag2"]},{"1396348979":["hashtag1","hashtag2"]},{"1396348987":["hashtag1","hashtag2"]},{"1396348981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396348983, 1396348977, 1396348991, 1396348979, 1396348987, 1396348981)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.94760346412659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:34:04.140478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 03:34:13.453745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_09_2666.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_13_3596.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_15_2197.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_18_3303.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_21_3018.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_24_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_09_2666.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_13_3596.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_15_2197.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_18_3303.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_21_3018.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_24_2886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349028","1396349016","1396349006","1396349023","1396349026","1396349020"],"photo_ids_order":["1396349006","1396349016","1396349020","1396349023","1396349026","1396349028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7f4aeccec9cad6c60dd90fe29bf1048.jpg","text":"TemporaryFile(/tmp/multipartBody2289735519630453799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_24_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/27/101f400356cd947e87c21a053e1d99c7.jpg","text":"TemporaryFile(/tmp/multipartBody7261755232658100303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_13_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/27/f5fb7ad7f67272975b269a50967545d4.jpg","text":"TemporaryFile(/tmp/multipartBody2714954068084858532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_09_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/27/28b5d98f947b9f0828a03e4cbc7e82cd.jpg","text":"TemporaryFile(/tmp/multipartBody8082091912998073308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_18_3303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcb55fdd16c92a55e36d7e1df8754f48.jpg","text":"TemporaryFile(/tmp/multipartBody3867890115321182829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_21_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/27/13d6eccde6629b2f90788bd5f7195543.jpg","text":"TemporaryFile(/tmp/multipartBody4169990947041522101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210915333,"filename":"image_21112025_19_11_15_2197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349020","file1":"1396349016","file0":"1396349006","file4":"1396349026","file5":"1396349028","file3":"1396349023"},"map_files_photo_id_array":[{"photo_id":"1396349028","filename":"file5"},{"photo_id":"1396349020","filename":"file2"},{"photo_id":"1396349026","filename":"file4"},{"photo_id":"1396349016","filename":"file1"},{"photo_id":"1396349006","filename":"file0"},{"photo_id":"1396349023","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349028":["hashtag1","hashtag2"]},{"1396349016":["hashtag1","hashtag2"]},{"1396349006":["hashtag1","hashtag2"]},{"1396349023":["hashtag1","hashtag2"]},{"1396349026":["hashtag1","hashtag2"]},{"1396349020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349028, 1396349016, 1396349006, 1396349023, 1396349026, 1396349020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29185962677002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:35:03.328511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 03:35:12.542367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_27_2717.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_30_3554.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_33_2611.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_37_3602.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_42_5227.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_44_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_27_2717.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_30_3554.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_33_2611.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_37_3602.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_42_5227.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_44_1624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.828326940536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:35:22.717993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/31/image_27112025_03_31_54_9583.jpg', '/home/pi/Desktop/images/27112025/03/31/image_27112025_03_32_05_10659.jpg', '/home/pi/Desktop/images/27112025/03/32/image_27112025_03_32_24_9545.jpg', '/home/pi/Desktop/images/27112025/03/32/image_27112025_03_32_35_10596.jpg', '/home/pi/Desktop/images/27112025/03/33/image_27112025_03_33_45_10834.jpg', '/home/pi/Desktop/images/27112025/03/33/image_27112025_03_34_04_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/31/image_27112025_03_31_54_9583.jpg
/home/pi/Desktop/images/27112025/03/31/image_27112025_03_32_05_10659.jpg
/home/pi/Desktop/images/27112025/03/32/image_27112025_03_32_24_9545.jpg
/home/pi/Desktop/images/27112025/03/32/image_27112025_03_32_35_10596.jpg
/home/pi/Desktop/images/27112025/03/33/image_27112025_03_33_45_10834.jpg
/home/pi/Desktop/images/27112025/03/33/image_27112025_03_34_04_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349046","1396349049","1396349051","1396349042","1396349053","1396349038"],"photo_ids_order":["1396349038","1396349042","1396349046","1396349049","1396349051","1396349053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c8e9da82c4de7270168b9a3464fce9c.jpg","text":"TemporaryFile(/tmp/multipartBody6598474467779004749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_32_24_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fce9af824bb683d0e5b663621a9784ec.jpg","text":"TemporaryFile(/tmp/multipartBody2331015107567316099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_32_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b98bbd79944f3c37a651e142b7a9ee3.jpg","text":"TemporaryFile(/tmp/multipartBody427121683030060296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_33_45_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b34cc3f7b9a1be960613b59f06020af.jpg","text":"TemporaryFile(/tmp/multipartBody1047179965107888002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_32_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cdbf426cb10a1cb1200c5d2cee5b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6550161264734289279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_34_04_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff3d2c9a675c040e067e98b750812d21.jpg","text":"TemporaryFile(/tmp/multipartBody7682105529960462822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764210983449,"filename":"image_27112025_03_31_54_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349046","file1":"1396349042","file0":"1396349038","file4":"1396349051","file5":"1396349053","file3":"1396349049"},"map_files_photo_id_array":[{"photo_id":"1396349053","filename":"file5"},{"photo_id":"1396349046","filename":"file2"},{"photo_id":"1396349051","filename":"file4"},{"photo_id":"1396349042","filename":"file1"},{"photo_id":"1396349038","filename":"file0"},{"photo_id":"1396349049","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349046":["hashtag1","hashtag2"]},{"1396349049":["hashtag1","hashtag2"]},{"1396349051":["hashtag1","hashtag2"]},{"1396349042":["hashtag1","hashtag2"]},{"1396349053":["hashtag1","hashtag2"]},{"1396349038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349046, 1396349049, 1396349051, 1396349042, 1396349053, 1396349038)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.71027398109436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:36:11.888618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_27_2717.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_30_3554.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_33_2611.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_37_3602.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_42_5227.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_44_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_27_2717.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_30_3554.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_33_2611.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_37_3602.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_42_5227.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_44_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349061","1396349096","1396349099","1396349069","1396349104","1396349091"],"photo_ids_order":["1396349061","1396349069","1396349091","1396349096","1396349099","1396349104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9f009587ae902809dadc03b47f7463b.jpg","text":"TemporaryFile(/tmp/multipartBody4928924492530735292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_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/27/759cdfcd4e0ecb9101bd3c1ef731b08a.jpg","text":"TemporaryFile(/tmp/multipartBody8180159837644863907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_37_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/27/dd7ffcadb0af0c3c7c0ba127475ed0f0.jpg","text":"TemporaryFile(/tmp/multipartBody8815543004925519286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_42_5227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43f500a793f081daf4c4feb3d8b8c6b4.jpg","text":"TemporaryFile(/tmp/multipartBody585156856019465162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_30_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/27/15674c8100ac6b42e3c8f668891420e4.jpg","text":"TemporaryFile(/tmp/multipartBody9010823808246109225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_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/27/16c08f3dc852b78355fd2190ba198098.jpg","text":"TemporaryFile(/tmp/multipartBody5591135581952157734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211033632,"filename":"image_21112025_19_11_33_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349091","file1":"1396349069","file0":"1396349061","file4":"1396349099","file5":"1396349104","file3":"1396349096"},"map_files_photo_id_array":[{"photo_id":"1396349104","filename":"file5"},{"photo_id":"1396349091","filename":"file2"},{"photo_id":"1396349099","filename":"file4"},{"photo_id":"1396349069","filename":"file1"},{"photo_id":"1396349061","filename":"file0"},{"photo_id":"1396349096","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349061":["hashtag1","hashtag2"]},{"1396349096":["hashtag1","hashtag2"]},{"1396349099":["hashtag1","hashtag2"]},{"1396349069":["hashtag1","hashtag2"]},{"1396349104":["hashtag1","hashtag2"]},{"1396349091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349061, 1396349096, 1396349099, 1396349069, 1396349104, 1396349091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23793268203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:37:02.911859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/34/image_27112025_03_34_25_10582.jpg', '/home/pi/Desktop/images/27112025/03/34/image_27112025_03_34_54_10300.jpg', '/home/pi/Desktop/images/27112025/03/34/image_27112025_03_35_04_9699.jpg', '/home/pi/Desktop/images/27112025/03/35/image_27112025_03_35_24_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/34/image_27112025_03_34_25_10582.jpg
/home/pi/Desktop/images/27112025/03/34/image_27112025_03_34_54_10300.jpg
/home/pi/Desktop/images/27112025/03/34/image_27112025_03_35_04_9699.jpg
/home/pi/Desktop/images/27112025/03/35/image_27112025_03_35_24_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349115","1396349112","1396349108","1396349110"],"photo_ids_order":["1396349108","1396349110","1396349112","1396349115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54b2c796000ba2690b9007ecde4a54f8.jpg","text":"TemporaryFile(/tmp/multipartBody4192298549836897810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211085349,"filename":"image_27112025_03_35_24_9465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3ba9ada20fd92064f41c5d196e36e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3785543277567514385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211085349,"filename":"image_27112025_03_35_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64767ddbb06bbe9da2eb744b9d7f7ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2314307896870056308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211085349,"filename":"image_27112025_03_34_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e103bfabb6f9ca81fc33ddaef0a9ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3493412003623206494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211085349,"filename":"image_27112025_03_34_54_10300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349112","file1":"1396349110","file0":"1396349108","file3":"1396349115"},"map_files_photo_id_array":[{"photo_id":"1396349112","filename":"file2"},{"photo_id":"1396349110","filename":"file1"},{"photo_id":"1396349108","filename":"file0"},{"photo_id":"1396349115","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349115":["hashtag1","hashtag2"]},{"1396349112":["hashtag1","hashtag2"]},{"1396349108":["hashtag1","hashtag2"]},{"1396349110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349115, 1396349112, 1396349108, 1396349110)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 29.384602069854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:37:42.245001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/29/image_30102025_21_29_32_2970.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_35_2686.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_40_5030.jpg', '/home/pi/Desktop/images/30102025/21/29/image_30102025_21_30_00_20415.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_12_7599.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_15_3079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_32_2970.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_35_2686.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_29_40_5030.jpg
/home/pi/Desktop/images/30102025/21/29/image_30102025_21_30_00_20415.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_12_7599.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_15_3079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349142","1396349136","1396349139","1396349138","1396349141","1396349140"],"photo_ids_order":["1396349136","1396349138","1396349139","1396349140","1396349141","1396349142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a41339cc2d0602de62c946380aaf4b84.jpg","text":"TemporaryFile(/tmp/multipartBody555596877362459024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_30_15_3079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3f91a50f4f86319633bf523d7d8136d.jpg","text":"TemporaryFile(/tmp/multipartBody8787628912789164265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_29_32_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/27/9880ae6283df80e0f7732eae0c22264c.jpg","text":"TemporaryFile(/tmp/multipartBody3967055248257746936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_29_40_5030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5ff76e84acfd5f4a19e954ac03f065c.jpg","text":"TemporaryFile(/tmp/multipartBody7209130513020432302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_29_35_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/27/a5e10514f2fa3df7cf1fd73d094b6b63.jpg","text":"TemporaryFile(/tmp/multipartBody5561567360938402733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_30_12_7599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24a9fa3f9a18c1498d33b61fb6e036e3.jpg","text":"TemporaryFile(/tmp/multipartBody542336660721157569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211123456,"filename":"image_30102025_21_30_00_20415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349139","file1":"1396349138","file0":"1396349136","file4":"1396349141","file5":"1396349142","file3":"1396349140"},"map_files_photo_id_array":[{"photo_id":"1396349142","filename":"file5"},{"photo_id":"1396349139","filename":"file2"},{"photo_id":"1396349141","filename":"file4"},{"photo_id":"1396349138","filename":"file1"},{"photo_id":"1396349136","filename":"file0"},{"photo_id":"1396349140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396349142":["hashtag1","hashtag2"]},{"1396349136":["hashtag1","hashtag2"]},{"1396349139":["hashtag1","hashtag2"]},{"1396349138":["hashtag1","hashtag2"]},{"1396349141":["hashtag1","hashtag2"]},{"1396349140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396349142, 1396349136, 1396349139, 1396349138, 1396349141, 1396349140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37706756591797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:38:23.185083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/35/image_27112025_03_35_45_10726.jpg', '/home/pi/Desktop/images/27112025/03/37/image_27112025_03_37_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/35/image_27112025_03_35_45_10726.jpg
/home/pi/Desktop/images/27112025/03/37/image_27112025_03_37_44_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349166","1396349163"],"photo_ids_order":["1396349163","1396349166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de8aba599cff6049391c2d236f295195.jpg","text":"TemporaryFile(/tmp/multipartBody3510634681803254130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211163738,"filename":"image_27112025_03_37_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/989b52ae84a3573a66b7cf1fd312c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7802429797515999366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211163738,"filename":"image_27112025_03_35_45_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396349166","file0":"1396349163"},"map_files_photo_id_array":[{"photo_id":"1396349166","filename":"file1"},{"photo_id":"1396349163","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349166":["hashtag1","hashtag2"]},{"1396349163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349166, 1396349163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.1273295879364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:38:43.151043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/30/image_30102025_21_30_18_3058.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_20_1570.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_22_1656.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_23_1548.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_26_3189.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_29_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_18_3058.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_20_1570.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_22_1656.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_23_1548.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_26_3189.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_29_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396349172","1396349175","1396349174","1396349177","1396349176","1396349178"],"photo_ids_order":["1396349172","1396349174","1396349175","1396349176","1396349177","1396349178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbfb4508e2467e4b4543ffb2bfa24007.jpg","text":"TemporaryFile(/tmp/multipartBody3233683497670114055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_18_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/27/f99cea0bff3f5cb3f0b9192a07cc1952.jpg","text":"TemporaryFile(/tmp/multipartBody6389614657143373310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_22_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/27/072a55e38c650dd26f740a88c131f23e.jpg","text":"TemporaryFile(/tmp/multipartBody1680289849256845707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_20_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/27/9df2e4dd56325b050c4380afd259924d.jpg","text":"TemporaryFile(/tmp/multipartBody8680750145595578381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_26_3189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79e8a2e4e376e6864926328bd1126a89.jpg","text":"TemporaryFile(/tmp/multipartBody8709584743259363903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_23_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/27/0e2634c4bf21b416c8f02b5b6c13e699.jpg","text":"TemporaryFile(/tmp/multipartBody8645413683516814312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211184369,"filename":"image_30102025_21_30_29_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349175","file1":"1396349174","file0":"1396349172","file4":"1396349177","file5":"1396349178","file3":"1396349176"},"map_files_photo_id_array":[{"photo_id":"1396349178","filename":"file5"},{"photo_id":"1396349175","filename":"file2"},{"photo_id":"1396349177","filename":"file4"},{"photo_id":"1396349174","filename":"file1"},{"photo_id":"1396349172","filename":"file0"},{"photo_id":"1396349176","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396349172":["hashtag1","hashtag2"]},{"1396349175":["hashtag1","hashtag2"]},{"1396349174":["hashtag1","hashtag2"]},{"1396349177":["hashtag1","hashtag2"]},{"1396349176":["hashtag1","hashtag2"]},{"1396349178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396349172, 1396349175, 1396349174, 1396349177, 1396349176, 1396349178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14850163459778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:39:32.469507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_45_1547.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_49_3694.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_52_3108.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_54_2581.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_57_2784.jpg', '/home/pi/Desktop/images/21112025/19/11/image_21112025_19_12_01_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_45_1547.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_49_3694.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_52_3108.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_54_2581.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_11_57_2784.jpg
/home/pi/Desktop/images/21112025/19/11/image_21112025_19_12_01_3520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349192","1396349195","1396349197","1396349194","1396349196","1396349190"],"photo_ids_order":["1396349190","1396349192","1396349194","1396349195","1396349196","1396349197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46255a72811251e5e635f091b43b88fb.jpg","text":"TemporaryFile(/tmp/multipartBody1373391589867583349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_11_49_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/27/c155c6439f2c40684889506b1dd2e37e.jpg","text":"TemporaryFile(/tmp/multipartBody6309903891737227900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_11_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/27/8115a706bb32e2113c1a9f2cd42a5af3.jpg","text":"TemporaryFile(/tmp/multipartBody1121606493224720995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_12_01_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/27/ba57920cd983d416143249a06c61c0e0.jpg","text":"TemporaryFile(/tmp/multipartBody7170519983248603243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_11_52_3108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c5b6fd5dc4c28b7ed273a333f4f3935.jpg","text":"TemporaryFile(/tmp/multipartBody3371618688928943600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_11_57_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/27/5c20523a467428b593fbc78e487902a6.jpg","text":"TemporaryFile(/tmp/multipartBody5771531533471817318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211234264,"filename":"image_21112025_19_11_45_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349194","file1":"1396349192","file0":"1396349190","file4":"1396349196","file5":"1396349197","file3":"1396349195"},"map_files_photo_id_array":[{"photo_id":"1396349197","filename":"file5"},{"photo_id":"1396349194","filename":"file2"},{"photo_id":"1396349196","filename":"file4"},{"photo_id":"1396349192","filename":"file1"},{"photo_id":"1396349190","filename":"file0"},{"photo_id":"1396349195","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349192":["hashtag1","hashtag2"]},{"1396349195":["hashtag1","hashtag2"]},{"1396349197":["hashtag1","hashtag2"]},{"1396349194":["hashtag1","hashtag2"]},{"1396349196":["hashtag1","hashtag2"]},{"1396349190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349192, 1396349195, 1396349197, 1396349194, 1396349196, 1396349190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.459975719451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:40:12.613901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_04_2741.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_18_14081.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_19_1778.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_21_1961.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_23_1553.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_25_1812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_04_2741.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_18_14081.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_19_1778.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_21_1961.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_23_1553.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_25_1812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349208","1396349211","1396349216","1396349203","1396349206","1396349200"],"photo_ids_order":["1396349200","1396349203","1396349206","1396349208","1396349211","1396349216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d78ee9cde8e398e07390a657040e406.jpg","text":"TemporaryFile(/tmp/multipartBody8442872072683001517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_21_1961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2caca3a20cfcdf0b41dc2a7d305f60d.jpg","text":"TemporaryFile(/tmp/multipartBody8925400224042321410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_23_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/27/22f26824f10bab1499b6062166d5df8e.jpg","text":"TemporaryFile(/tmp/multipartBody7515508387933335466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_25_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b8eb340a175951566c88a1969140dd3.jpg","text":"TemporaryFile(/tmp/multipartBody942131084309174595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_18_14081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36f71a9959c27e9bd051bab1497282bb.jpg","text":"TemporaryFile(/tmp/multipartBody4081099656527002570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_19_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/27/29f3daca91f2ed1513bf0e1bbcfb3dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7469324318791486517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211274357,"filename":"image_21112025_19_12_04_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349206","file1":"1396349203","file0":"1396349200","file4":"1396349211","file5":"1396349216","file3":"1396349208"},"map_files_photo_id_array":[{"photo_id":"1396349216","filename":"file5"},{"photo_id":"1396349206","filename":"file2"},{"photo_id":"1396349211","filename":"file4"},{"photo_id":"1396349203","filename":"file1"},{"photo_id":"1396349200","filename":"file0"},{"photo_id":"1396349208","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349208":["hashtag1","hashtag2"]},{"1396349211":["hashtag1","hashtag2"]},{"1396349216":["hashtag1","hashtag2"]},{"1396349203":["hashtag1","hashtag2"]},{"1396349206":["hashtag1","hashtag2"]},{"1396349200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349208, 1396349211, 1396349216, 1396349203, 1396349206, 1396349200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30637311935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:41:03.048380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/37/image_27112025_03_37_55_10261.jpg', '/home/pi/Desktop/images/27112025/03/37/image_27112025_03_38_04_9643.jpg', '/home/pi/Desktop/images/27112025/03/38/image_27112025_03_38_14_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/37/image_27112025_03_37_55_10261.jpg
/home/pi/Desktop/images/27112025/03/37/image_27112025_03_38_04_9643.jpg
/home/pi/Desktop/images/27112025/03/38/image_27112025_03_38_14_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349234","1396349236","1396349239"],"photo_ids_order":["1396349234","1396349236","1396349239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4238cb1ddde762d34c891e73d930e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2854923412182784753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211323767,"filename":"image_27112025_03_37_55_10261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf03f9b8402ad1facf02856fe66bed5a.jpg","text":"TemporaryFile(/tmp/multipartBody8983770009320858916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211323767,"filename":"image_27112025_03_38_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7603306c6f21dd06513631762d49e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody2355415334906476701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211323767,"filename":"image_27112025_03_38_14_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349239","file1":"1396349236","file0":"1396349234"},"map_files_photo_id_array":[{"photo_id":"1396349239","filename":"file2"},{"photo_id":"1396349236","filename":"file1"},{"photo_id":"1396349234","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349234":["hashtag1","hashtag2"]},{"1396349236":["hashtag1","hashtag2"]},{"1396349239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349234, 1396349236, 1396349239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.995619297027588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:41:32.394198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_26_1630.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_28_1664.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_30_1705.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_44_1713.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_46_1812.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_47_1892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_26_1630.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_28_1664.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_30_1705.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_44_1713.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_46_1812.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_47_1892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349253","1396349256","1396349255","1396349249","1396349251","1396349257"],"photo_ids_order":["1396349249","1396349251","1396349253","1396349255","1396349256","1396349257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dca1c6f808525047db4af85e6e058c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1681187451902437449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_30_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/27/cdae37c98b8aa0ce291cd331e9a95fab.jpg","text":"TemporaryFile(/tmp/multipartBody6947355285577757460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_46_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d76b1a34daf0e13f883c796cd6935b2.jpg","text":"TemporaryFile(/tmp/multipartBody1372653277567240223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_44_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/27/bb21e593e77a1ab9a7a49176be015cf3.jpg","text":"TemporaryFile(/tmp/multipartBody868964431169697875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_26_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/27/974fffc03312da9b4e01b9a05864b51f.jpg","text":"TemporaryFile(/tmp/multipartBody2162154424051218770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_28_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/27/18f2c84d54a73dc60a3eb5fed5bee157.jpg","text":"TemporaryFile(/tmp/multipartBody2590232403068975414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211354275,"filename":"image_21112025_19_12_47_1892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349253","file1":"1396349251","file0":"1396349249","file4":"1396349256","file5":"1396349257","file3":"1396349255"},"map_files_photo_id_array":[{"photo_id":"1396349257","filename":"file5"},{"photo_id":"1396349253","filename":"file2"},{"photo_id":"1396349256","filename":"file4"},{"photo_id":"1396349251","filename":"file1"},{"photo_id":"1396349249","filename":"file0"},{"photo_id":"1396349255","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349253":["hashtag1","hashtag2"]},{"1396349256":["hashtag1","hashtag2"]},{"1396349255":["hashtag1","hashtag2"]},{"1396349249":["hashtag1","hashtag2"]},{"1396349251":["hashtag1","hashtag2"]},{"1396349257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349253, 1396349256, 1396349255, 1396349249, 1396349251, 1396349257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75621676445007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:42:12.563131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_49_1903.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_51_1879.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_53_1659.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_55_2273.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_57_1588.jpg', '/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_58_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_49_1903.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_51_1879.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_53_1659.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_55_2273.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_57_1588.jpg
/home/pi/Desktop/images/21112025/19/12/image_21112025_19_12_58_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349271","1396349278","1396349281","1396349275","1396349260","1396349263"],"photo_ids_order":["1396349260","1396349263","1396349271","1396349275","1396349278","1396349281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cbebf424b13a80c3a8b5ea71c650220.jpg","text":"TemporaryFile(/tmp/multipartBody7286058575411636826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_53_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/27/26900ce697a7aa7f06e4a682ab142221.jpg","text":"TemporaryFile(/tmp/multipartBody5164710774558181173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_57_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/27/e5e42d8b67293e3bf09203a9b565f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody7732326762673007854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_58_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/27/1248f4b91cbfa5c3195d901f6d486fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6553095929279230335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_55_2273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/770305eeb3c5ba02f3b840675987fec5.jpg","text":"TemporaryFile(/tmp/multipartBody5542937813510701338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_49_1903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5343f3214e739c98e9f99e00c9eb75f1.jpg","text":"TemporaryFile(/tmp/multipartBody7041856872634168667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211394380,"filename":"image_21112025_19_12_51_1879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349271","file1":"1396349263","file0":"1396349260","file4":"1396349278","file5":"1396349281","file3":"1396349275"},"map_files_photo_id_array":[{"photo_id":"1396349281","filename":"file5"},{"photo_id":"1396349271","filename":"file2"},{"photo_id":"1396349278","filename":"file4"},{"photo_id":"1396349263","filename":"file1"},{"photo_id":"1396349260","filename":"file0"},{"photo_id":"1396349275","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349271":["hashtag1","hashtag2"]},{"1396349278":["hashtag1","hashtag2"]},{"1396349281":["hashtag1","hashtag2"]},{"1396349275":["hashtag1","hashtag2"]},{"1396349260":["hashtag1","hashtag2"]},{"1396349263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349271, 1396349278, 1396349281, 1396349275, 1396349260, 1396349263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58511734008789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:43:03.204093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/38/image_27112025_03_38_24_9744.jpg', '/home/pi/Desktop/images/27112025/03/41/image_27112025_03_41_34_9668.jpg', '/home/pi/Desktop/images/27112025/03/42/image_27112025_03_42_15_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/38/image_27112025_03_38_24_9744.jpg
/home/pi/Desktop/images/27112025/03/41/image_27112025_03_41_34_9668.jpg
/home/pi/Desktop/images/27112025/03/42/image_27112025_03_42_15_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349285","1396349290","1396349287"],"photo_ids_order":["1396349285","1396349287","1396349290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1abb39cbf2907bd6e86322164c428001.jpg","text":"TemporaryFile(/tmp/multipartBody4588865698364811343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211443906,"filename":"image_27112025_03_38_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e21c0112216d89d47f7940dc1c2916e8.jpg","text":"TemporaryFile(/tmp/multipartBody8391239531340901886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211443906,"filename":"image_27112025_03_42_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c38e5860cdb164c96f565f81ee5fab69.jpg","text":"TemporaryFile(/tmp/multipartBody37309760823089740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211443906,"filename":"image_27112025_03_41_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349290","file1":"1396349287","file0":"1396349285"},"map_files_photo_id_array":[{"photo_id":"1396349290","filename":"file2"},{"photo_id":"1396349287","filename":"file1"},{"photo_id":"1396349285","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349285":["hashtag1","hashtag2"]},{"1396349290":["hashtag1","hashtag2"]},{"1396349287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349285, 1396349290, 1396349287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.645992517471313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:43:32.829317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_15_16165.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_16_1707.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_20_1618.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_21_1892.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_23_1783.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_25_1911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_15_16165.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_16_1707.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_20_1618.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_21_1892.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_23_1783.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_25_1911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349307","1396349301","1396349303","1396349309","1396349305","1396349308"],"photo_ids_order":["1396349301","1396349303","1396349305","1396349307","1396349308","1396349309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/698bf41bb96c2daa6ee70bc56add1e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2498886942518831547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_21_1892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e7a9480d7b24db7ba4228dc4b0584e5.jpg","text":"TemporaryFile(/tmp/multipartBody7745560413130524202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_15_16165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c8030b7844ec92f38e6d83926d7928c.jpg","text":"TemporaryFile(/tmp/multipartBody3018092610457296921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_16_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/27/97703009c05fde06f86261b93d324556.jpg","text":"TemporaryFile(/tmp/multipartBody3971525533674351061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_25_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/27/d9532f1aeec1de693c73391f25944d3a.jpg","text":"TemporaryFile(/tmp/multipartBody2168111114515401549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_20_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/27/a1461aa281b4e71af8a2c9d3de5c383a.jpg","text":"TemporaryFile(/tmp/multipartBody6718333199418843269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211474683,"filename":"image_21112025_19_13_23_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349305","file1":"1396349303","file0":"1396349301","file4":"1396349308","file5":"1396349309","file3":"1396349307"},"map_files_photo_id_array":[{"photo_id":"1396349309","filename":"file5"},{"photo_id":"1396349305","filename":"file2"},{"photo_id":"1396349308","filename":"file4"},{"photo_id":"1396349303","filename":"file1"},{"photo_id":"1396349301","filename":"file0"},{"photo_id":"1396349307","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349307":["hashtag1","hashtag2"]},{"1396349301":["hashtag1","hashtag2"]},{"1396349303":["hashtag1","hashtag2"]},{"1396349309":["hashtag1","hashtag2"]},{"1396349305":["hashtag1","hashtag2"]},{"1396349308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349307, 1396349301, 1396349303, 1396349309, 1396349305, 1396349308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28181171417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:44:12.026977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_27_1842.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_29_1605.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_30_1775.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_32_1748.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_34_1558.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_36_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_27_1842.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_29_1605.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_30_1775.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_32_1748.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_34_1558.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_36_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349319","1396349334","1396349327","1396349312","1396349332","1396349323"],"photo_ids_order":["1396349312","1396349319","1396349323","1396349327","1396349332","1396349334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fdd34cdfe996c7e152f4c003a7aaec4.jpg","text":"TemporaryFile(/tmp/multipartBody1100393155469928475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_29_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/27/6137816833e3d42feded613d80e0dd90.jpg","text":"TemporaryFile(/tmp/multipartBody7000880890830931802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_36_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/27/640847234f8adb4d0c24587de00bdb48.jpg","text":"TemporaryFile(/tmp/multipartBody5150848394623693957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_32_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/27/38c2ba5935f04ea134bb5989a395b37f.jpg","text":"TemporaryFile(/tmp/multipartBody6335624893425723936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_27_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb29c70426738b61a78ad7285db0c004.jpg","text":"TemporaryFile(/tmp/multipartBody3519074035984386393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_34_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/27/253cd99f3a3a30f721911f570523e23d.jpg","text":"TemporaryFile(/tmp/multipartBody3931557835675883896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211513834,"filename":"image_21112025_19_13_30_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349323","file1":"1396349319","file0":"1396349312","file4":"1396349332","file5":"1396349334","file3":"1396349327"},"map_files_photo_id_array":[{"photo_id":"1396349334","filename":"file5"},{"photo_id":"1396349323","filename":"file2"},{"photo_id":"1396349332","filename":"file4"},{"photo_id":"1396349319","filename":"file1"},{"photo_id":"1396349312","filename":"file0"},{"photo_id":"1396349327","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349319":["hashtag1","hashtag2"]},{"1396349334":["hashtag1","hashtag2"]},{"1396349327":["hashtag1","hashtag2"]},{"1396349312":["hashtag1","hashtag2"]},{"1396349332":["hashtag1","hashtag2"]},{"1396349323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349319, 1396349334, 1396349327, 1396349312, 1396349332, 1396349323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.198163986206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:45:02.987073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/42/image_27112025_03_42_34_9781.jpg', '/home/pi/Desktop/images/27112025/03/42/image_27112025_03_43_04_9871.jpg', '/home/pi/Desktop/images/27112025/03/43/image_27112025_03_43_25_10715.jpg', '/home/pi/Desktop/images/27112025/03/43/image_27112025_03_43_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/42/image_27112025_03_42_34_9781.jpg
/home/pi/Desktop/images/27112025/03/42/image_27112025_03_43_04_9871.jpg
/home/pi/Desktop/images/27112025/03/43/image_27112025_03_43_25_10715.jpg
/home/pi/Desktop/images/27112025/03/43/image_27112025_03_43_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349337","1396349340","1396349342","1396349344"],"photo_ids_order":["1396349337","1396349340","1396349342","1396349344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d32bd2c52a07af529a7c323530ed123.jpg","text":"TemporaryFile(/tmp/multipartBody7100222726922308115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211563756,"filename":"image_27112025_03_42_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9593e5b236cf2a7e8b88bdbd5d7492a2.jpg","text":"TemporaryFile(/tmp/multipartBody1823053655105738243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211563756,"filename":"image_27112025_03_43_04_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8bc499e9e134650c139f6344cf96e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1614598408098365711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211563756,"filename":"image_27112025_03_43_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bb30f1c43abe97707fb9db869b971a5.jpg","text":"TemporaryFile(/tmp/multipartBody5835999656053857039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211563756,"filename":"image_27112025_03_43_44_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349342","file1":"1396349340","file0":"1396349337","file3":"1396349344"},"map_files_photo_id_array":[{"photo_id":"1396349342","filename":"file2"},{"photo_id":"1396349340","filename":"file1"},{"photo_id":"1396349337","filename":"file0"},{"photo_id":"1396349344","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349337":["hashtag1","hashtag2"]},{"1396349340":["hashtag1","hashtag2"]},{"1396349342":["hashtag1","hashtag2"]},{"1396349344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349337, 1396349340, 1396349342, 1396349344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.816558361053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:45:32.251588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_39_2619.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_43_3578.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_45_2630.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_48_2620.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_52_3702.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_54_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_39_2619.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_43_3578.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_45_2630.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_48_2620.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_52_3702.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_54_2874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349360","1396349357","1396349359","1396349353","1396349361","1396349355"],"photo_ids_order":["1396349353","1396349355","1396349357","1396349359","1396349360","1396349361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76d0656b09b7b65a72fc5523c5443597.jpg","text":"TemporaryFile(/tmp/multipartBody4128653715995463123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_13_52_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/27/0af9cd8b42696fa6af9988f3173cb7d7.jpg","text":"TemporaryFile(/tmp/multipartBody8005426096563955375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_13_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/27/a84651df2780dd03f21507523a3c2046.jpg","text":"TemporaryFile(/tmp/multipartBody1325068210833812435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_13_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/27/c925b72905faf7e9a90a6dba248531d9.jpg","text":"TemporaryFile(/tmp/multipartBody7004103101140908337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_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/27/daf46ae8412518bfb8cd49833bf63a8e.jpg","text":"TemporaryFile(/tmp/multipartBody9075197762275052669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_13_54_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/27/929f3a8efd382d4c256df32a9094954f.jpg","text":"TemporaryFile(/tmp/multipartBody5070164397852312085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211594098,"filename":"image_21112025_19_13_43_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349357","file1":"1396349355","file0":"1396349353","file4":"1396349360","file5":"1396349361","file3":"1396349359"},"map_files_photo_id_array":[{"photo_id":"1396349361","filename":"file5"},{"photo_id":"1396349357","filename":"file2"},{"photo_id":"1396349360","filename":"file4"},{"photo_id":"1396349355","filename":"file1"},{"photo_id":"1396349353","filename":"file0"},{"photo_id":"1396349359","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349360":["hashtag1","hashtag2"]},{"1396349357":["hashtag1","hashtag2"]},{"1396349359":["hashtag1","hashtag2"]},{"1396349353":["hashtag1","hashtag2"]},{"1396349361":["hashtag1","hashtag2"]},{"1396349355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349360, 1396349357, 1396349359, 1396349353, 1396349361, 1396349355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670581340789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 03:46:12.359463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_57_2982.jpg', '/home/pi/Desktop/images/21112025/19/13/image_21112025_19_14_00_2582.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_04_3524.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_09_2681.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_12_3562.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_15_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_13_57_2982.jpg
/home/pi/Desktop/images/21112025/19/13/image_21112025_19_14_00_2582.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_04_3524.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_09_2681.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_12_3562.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_15_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349370","1396349364","1396349367","1396349384","1396349375","1396349378"],"photo_ids_order":["1396349364","1396349367","1396349370","1396349375","1396349378","1396349384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d3d97f1812021dffa5fbeef2360febd.jpg","text":"TemporaryFile(/tmp/multipartBody5911751990640427732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_14_04_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/27/fdcd6cbfb0de6a503d08fbb307f63586.jpg","text":"TemporaryFile(/tmp/multipartBody4835640533905770242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_13_57_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/27/3592331ae18ff9ab0ec674f028c43e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6838055476943509130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_14_00_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/27/f8a83a6d2fee56a7ec91e63299584994.jpg","text":"TemporaryFile(/tmp/multipartBody8957626044800564866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_14_15_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/27/6615ccd60ffae0489cbb1501a9cecee9.jpg","text":"TemporaryFile(/tmp/multipartBody486186454607904366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_14_09_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/27/e896e698c0a13ec35b449910f428afa6.jpg","text":"TemporaryFile(/tmp/multipartBody9180108125871966738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211634121,"filename":"image_21112025_19_14_12_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349370","file1":"1396349367","file0":"1396349364","file4":"1396349378","file5":"1396349384","file3":"1396349375"},"map_files_photo_id_array":[{"photo_id":"1396349384","filename":"file5"},{"photo_id":"1396349370","filename":"file2"},{"photo_id":"1396349378","filename":"file4"},{"photo_id":"1396349367","filename":"file1"},{"photo_id":"1396349364","filename":"file0"},{"photo_id":"1396349375","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396349370":["hashtag1","hashtag2"]},{"1396349364":["hashtag1","hashtag2"]},{"1396349367":["hashtag1","hashtag2"]},{"1396349384":["hashtag1","hashtag2"]},{"1396349375":["hashtag1","hashtag2"]},{"1396349378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396349370, 1396349364, 1396349367, 1396349384, 1396349375, 1396349378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42302203178406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:47:03.197085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/43/image_27112025_03_44_05_9874.jpg', '/home/pi/Desktop/images/27112025/03/45/image_27112025_03_45_24_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/43/image_27112025_03_44_05_9874.jpg
/home/pi/Desktop/images/27112025/03/45/image_27112025_03_45_24_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349395","1396349397"],"photo_ids_order":["1396349395","1396349397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e601e2d3e44c23bacd0b4bbe22824657.jpg","text":"TemporaryFile(/tmp/multipartBody8489887325130037979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211683851,"filename":"image_27112025_03_44_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b95d2bbfbbe8c3a10f5774c0f4990373.jpg","text":"TemporaryFile(/tmp/multipartBody1368161118800583471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211683851,"filename":"image_27112025_03_45_24_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396349397","file0":"1396349395"},"map_files_photo_id_array":[{"photo_id":"1396349397","filename":"file1"},{"photo_id":"1396349395","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349395":["hashtag1","hashtag2"]},{"1396349397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349395, 1396349397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.568319082260132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:47:22.543002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/45/image_27112025_03_45_34_9699.jpg', '/home/pi/Desktop/images/27112025/03/47/image_27112025_03_47_44_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/45/image_27112025_03_45_34_9699.jpg
/home/pi/Desktop/images/27112025/03/47/image_27112025_03_47_44_10435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349406","1396349403"],"photo_ids_order":["1396349403","1396349406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1646787f233c3bf4b7bdf5a6e78c9da7.jpg","text":"TemporaryFile(/tmp/multipartBody3249982843885491900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211703135,"filename":"image_27112025_03_47_44_10435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/947353b1893042c2f41ebcece3c646dd.jpg","text":"TemporaryFile(/tmp/multipartBody4607519109093923906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211703135,"filename":"image_27112025_03_45_34_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396349406","file0":"1396349403"},"map_files_photo_id_array":[{"photo_id":"1396349406","filename":"file1"},{"photo_id":"1396349403","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396349406":["hashtag1","hashtag2"]},{"1396349403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396349406, 1396349403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.04497504234314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:47:42.545002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/30/image_30102025_21_30_32_2687.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_39_7168.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_41_1544.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_42_1774.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_44_1599.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_48_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_32_2687.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_39_7168.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_41_1544.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_42_1774.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_44_1599.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_48_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349415","1396349417","1396349411","1396349414","1396349413","1396349416"],"photo_ids_order":["1396349411","1396349413","1396349414","1396349415","1396349416","1396349417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ebd14134c8234782c109f0ba53befde.jpg","text":"TemporaryFile(/tmp/multipartBody2199888406932471431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_42_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/27/24fc16bb2adbebf5635b2e33fc14e704.jpg","text":"TemporaryFile(/tmp/multipartBody728757741372237990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_48_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/27/1b4156ad2c8c12617ab68704f96a4708.jpg","text":"TemporaryFile(/tmp/multipartBody4790987643363482440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_32_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/27/dd50d466dddfe9c2dc9b6503f55ea285.jpg","text":"TemporaryFile(/tmp/multipartBody3272071443325588987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_41_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/27/11b54acdb0998f44f0cda04652d4c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3462907292546587269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_39_7168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8940470c55d788c3ab46ff55eb35a54c.jpg","text":"TemporaryFile(/tmp/multipartBody3244518191352407049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211723822,"filename":"image_30102025_21_30_44_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349414","file1":"1396349413","file0":"1396349411","file4":"1396349416","file5":"1396349417","file3":"1396349415"},"map_files_photo_id_array":[{"photo_id":"1396349417","filename":"file5"},{"photo_id":"1396349414","filename":"file2"},{"photo_id":"1396349416","filename":"file4"},{"photo_id":"1396349413","filename":"file1"},{"photo_id":"1396349411","filename":"file0"},{"photo_id":"1396349415","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396349415":["hashtag1","hashtag2"]},{"1396349417":["hashtag1","hashtag2"]},{"1396349411":["hashtag1","hashtag2"]},{"1396349414":["hashtag1","hashtag2"]},{"1396349413":["hashtag1","hashtag2"]},{"1396349416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396349415, 1396349417, 1396349411, 1396349414, 1396349413, 1396349416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84199929237366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:48:22.705447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/47/image_27112025_03_47_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/47/image_27112025_03_47_54_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349478"],"photo_id":"1396349478","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abe574a48f9be299d290cc60d10250c8.jpg","text":"TemporaryFile(/tmp/multipartBody5898861702651458999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211763276,"filename":"image_27112025_03_47_54_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396349478"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396349478"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.390650987625122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:48:42.752292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/30/image_30102025_21_30_51_3735.jpg', '/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_59_6466.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_01_1538.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_03_1742.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_05_2662.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_08_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_51_3735.jpg
/home/pi/Desktop/images/30102025/21/30/image_30102025_21_30_59_6466.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_01_1538.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_03_1742.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_05_2662.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_08_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396349684","1396349786","1396349651","1396349825","1396349753","1396349717"],"photo_ids_order":["1396349651","1396349684","1396349717","1396349753","1396349786","1396349825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e33b89fc72943aeb3daadcc8631c2b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7459495096554076623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_30_59_6466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f886444fec632224ae9a8d8b2fe3ade1.jpg","text":"TemporaryFile(/tmp/multipartBody2203282626836213600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_31_05_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/27/ee0d0291b6ae6c0653d30f08f4ce6d15.jpg","text":"TemporaryFile(/tmp/multipartBody4467889262651376060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_30_51_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/27/b34b5b5c187746cb5ca31c0c2fbcec0e.jpg","text":"TemporaryFile(/tmp/multipartBody863067509565647500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_31_08_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/27/b5d738d10de22d9c6e49c2b093dea0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6839089916713542831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_31_03_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/27/645ffd3e125ab52a1dc77cff5b5a4f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3229564537671774431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211784030,"filename":"image_30102025_21_31_01_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396349717","file1":"1396349684","file0":"1396349651","file4":"1396349786","file5":"1396349825","file3":"1396349753"},"map_files_photo_id_array":[{"photo_id":"1396349825","filename":"file5"},{"photo_id":"1396349717","filename":"file2"},{"photo_id":"1396349786","filename":"file4"},{"photo_id":"1396349684","filename":"file1"},{"photo_id":"1396349651","filename":"file0"},{"photo_id":"1396349753","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396349684":["hashtag1","hashtag2"]},{"1396349786":["hashtag1","hashtag2"]},{"1396349651":["hashtag1","hashtag2"]},{"1396349825":["hashtag1","hashtag2"]},{"1396349753":["hashtag1","hashtag2"]},{"1396349717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396349684, 1396349786, 1396349651, 1396349825, 1396349753, 1396349717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87602663040161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:49:21.878715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/48/image_27112025_03_48_14_9716.jpg', '/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_24_9632.jpg', '/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_34_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/48/image_27112025_03_48_14_9716.jpg
/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_24_9632.jpg
/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_34_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350005","1396349968","1396350049"],"photo_ids_order":["1396349968","1396350005","1396350049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/894538eaeb1ab3f22ec906032d51dac7.jpg","text":"TemporaryFile(/tmp/multipartBody7521887193401275734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211822531,"filename":"image_27112025_03_49_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef8729b3e41d42d149e80ee007ec6baf.jpg","text":"TemporaryFile(/tmp/multipartBody2487627260300289494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211822531,"filename":"image_27112025_03_48_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cc61583f56373a2084ed30d3e22463c.jpg","text":"TemporaryFile(/tmp/multipartBody401004089839086500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211822531,"filename":"image_27112025_03_49_34_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350049","file1":"1396350005","file0":"1396349968"},"map_files_photo_id_array":[{"photo_id":"1396350049","filename":"file2"},{"photo_id":"1396350005","filename":"file1"},{"photo_id":"1396349968","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350005":["hashtag1","hashtag2"]},{"1396349968":["hashtag1","hashtag2"]},{"1396350049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350005, 1396349968, 1396350049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.99492621421814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:50:02.728932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_18_3149.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_21_2991.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_24_2578.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_27_3632.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_31_3059.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_33_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_18_3149.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_21_2991.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_24_2578.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_27_3632.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_31_3059.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_33_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350211","1396350180","1396350186","1396350248","1396350182","1396350184"],"photo_ids_order":["1396350180","1396350182","1396350184","1396350186","1396350211","1396350248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45ead9950263a7146ad2f26d25e01f01.jpg","text":"TemporaryFile(/tmp/multipartBody7861022329800130637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_31_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/27/76e4b5136cee1fd72bba5f05b140acab.jpg","text":"TemporaryFile(/tmp/multipartBody3137211135816056248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_18_3149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c198a2fab66bcb41970eba875f50af2.jpg","text":"TemporaryFile(/tmp/multipartBody1232327008306066415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_27_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/27/c860c0aa2d750558240094f60e447a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7891456279084542225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_33_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/27/742943b7b10c2dfdee19d3dc4c94b23d.jpg","text":"TemporaryFile(/tmp/multipartBody8883710200452604812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_21_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/27/15025b12dc94b5f55d83c6ceb7c7dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody3283630010332666995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211863924,"filename":"image_21112025_19_14_24_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350184","file1":"1396350182","file0":"1396350180","file4":"1396350211","file5":"1396350248","file3":"1396350186"},"map_files_photo_id_array":[{"photo_id":"1396350248","filename":"file5"},{"photo_id":"1396350184","filename":"file2"},{"photo_id":"1396350211","filename":"file4"},{"photo_id":"1396350182","filename":"file1"},{"photo_id":"1396350180","filename":"file0"},{"photo_id":"1396350186","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350211":["hashtag1","hashtag2"]},{"1396350180":["hashtag1","hashtag2"]},{"1396350186":["hashtag1","hashtag2"]},{"1396350248":["hashtag1","hashtag2"]},{"1396350182":["hashtag1","hashtag2"]},{"1396350184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350211, 1396350180, 1396350186, 1396350248, 1396350182, 1396350184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40541887283325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:50:42.232445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/31/image_30102025_21_31_12_3593.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_14_2641.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_17_2649.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_20_3630.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_23_2604.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_26_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_12_3593.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_14_2641.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_17_2649.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_20_3630.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_23_2604.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_26_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350415","1396350369","1396350411","1396350368","1396350437","1396350376"],"photo_ids_order":["1396350368","1396350369","1396350376","1396350411","1396350415","1396350437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4de6385bf8f7dc5ff51f9bee52717ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3239415996753459190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_23_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/27/ba11213a7b9e2cc8e9b2bc2857e89372.jpg","text":"TemporaryFile(/tmp/multipartBody2837365299337693345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_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/27/50a6c2fc05e0f65d64fef7985793134f.jpg","text":"TemporaryFile(/tmp/multipartBody1939401168740227663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_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/27/46cd6863ffcb5bef89de473118db73fd.jpg","text":"TemporaryFile(/tmp/multipartBody6079545015027382414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_12_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/27/deb5618300e903ffb9b8b590267113d3.jpg","text":"TemporaryFile(/tmp/multipartBody3427758608055034989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_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/27/5857032c411d657d5fccbe0e2c961f73.jpg","text":"TemporaryFile(/tmp/multipartBody4314851387660915818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211903502,"filename":"image_30102025_21_31_17_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350376","file1":"1396350369","file0":"1396350368","file4":"1396350415","file5":"1396350437","file3":"1396350411"},"map_files_photo_id_array":[{"photo_id":"1396350437","filename":"file5"},{"photo_id":"1396350376","filename":"file2"},{"photo_id":"1396350415","filename":"file4"},{"photo_id":"1396350369","filename":"file1"},{"photo_id":"1396350368","filename":"file0"},{"photo_id":"1396350411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350415":["hashtag1","hashtag2"]},{"1396350369":["hashtag1","hashtag2"]},{"1396350411":["hashtag1","hashtag2"]},{"1396350368":["hashtag1","hashtag2"]},{"1396350437":["hashtag1","hashtag2"]},{"1396350376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350415, 1396350369, 1396350411, 1396350368, 1396350437, 1396350376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67093634605408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:51:22.431852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_44_9896.jpg', '/home/pi/Desktop/images/27112025/03/49/image_27112025_03_50_05_10705.jpg', '/home/pi/Desktop/images/27112025/03/50/image_27112025_03_50_25_10609.jpg', '/home/pi/Desktop/images/27112025/03/50/image_27112025_03_50_54_9640.jpg', '/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_14_9683.jpg', '/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_35_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/49/image_27112025_03_49_44_9896.jpg
/home/pi/Desktop/images/27112025/03/49/image_27112025_03_50_05_10705.jpg
/home/pi/Desktop/images/27112025/03/50/image_27112025_03_50_25_10609.jpg
/home/pi/Desktop/images/27112025/03/50/image_27112025_03_50_54_9640.jpg
/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_14_9683.jpg
/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_35_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350462","1396350456","1396350459","1396350452","1396350449","1396350443"],"photo_ids_order":["1396350443","1396350449","1396350452","1396350456","1396350459","1396350462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eddd891a6511dd2a4a841c0c6564ea25.jpg","text":"TemporaryFile(/tmp/multipartBody1801567176593999121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_51_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4646b92f802c6576373bc52f61efe836.jpg","text":"TemporaryFile(/tmp/multipartBody2540304777118332762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_50_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ed8816ff6b82fec484d091bdf694223.jpg","text":"TemporaryFile(/tmp/multipartBody4211019660048693841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_51_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4156b572bd30ab0aaf872fef0f23cd61.jpg","text":"TemporaryFile(/tmp/multipartBody7225416858335054097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_50_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad2d2d12e3c84d8e49778b0e083da6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5558910322256992051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_50_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90e3a16c23b1e9dae25958c5ba4c0f42.jpg","text":"TemporaryFile(/tmp/multipartBody6339715717930313443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211943212,"filename":"image_27112025_03_49_44_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350452","file1":"1396350449","file0":"1396350443","file4":"1396350459","file5":"1396350462","file3":"1396350456"},"map_files_photo_id_array":[{"photo_id":"1396350462","filename":"file5"},{"photo_id":"1396350452","filename":"file2"},{"photo_id":"1396350459","filename":"file4"},{"photo_id":"1396350449","filename":"file1"},{"photo_id":"1396350443","filename":"file0"},{"photo_id":"1396350456","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350462":["hashtag1","hashtag2"]},{"1396350456":["hashtag1","hashtag2"]},{"1396350459":["hashtag1","hashtag2"]},{"1396350452":["hashtag1","hashtag2"]},{"1396350449":["hashtag1","hashtag2"]},{"1396350443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350462, 1396350456, 1396350459, 1396350452, 1396350449, 1396350443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58618235588074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:52:03.057343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_36_2645.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_39_3255.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_48_8878.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_50_1504.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_51_1584.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_53_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_36_2645.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_39_3255.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_48_8878.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_50_1504.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_51_1584.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_53_1504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350517","1396350480","1396350513","1396350497","1396350506","1396350478"],"photo_ids_order":["1396350478","1396350480","1396350497","1396350506","1396350513","1396350517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6300d27c3fc73f7b2275b8dad978a57.jpg","text":"TemporaryFile(/tmp/multipartBody2035605708735223548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_53_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/27/9bd36e51803adc04028ae172b79b3c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6386726117676635000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_39_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/27/f9bee1558ce4e16f135a4d60c3f82e70.jpg","text":"TemporaryFile(/tmp/multipartBody4794294009539014934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_51_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/27/bbce02aa5f2bb3a4227d80b8fee92db9.jpg","text":"TemporaryFile(/tmp/multipartBody2539834538478356358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_48_8878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/354044f4d3099a9e85135ec16f219c9c.jpg","text":"TemporaryFile(/tmp/multipartBody528568226976364829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_50_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/27/cecf06facf1647fb4e52f5c6c7886c7e.jpg","text":"TemporaryFile(/tmp/multipartBody3122930013404180644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764211984264,"filename":"image_21112025_19_14_36_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350497","file1":"1396350480","file0":"1396350478","file4":"1396350513","file5":"1396350517","file3":"1396350506"},"map_files_photo_id_array":[{"photo_id":"1396350517","filename":"file5"},{"photo_id":"1396350497","filename":"file2"},{"photo_id":"1396350513","filename":"file4"},{"photo_id":"1396350480","filename":"file1"},{"photo_id":"1396350478","filename":"file0"},{"photo_id":"1396350506","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350517":["hashtag1","hashtag2"]},{"1396350480":["hashtag1","hashtag2"]},{"1396350513":["hashtag1","hashtag2"]},{"1396350497":["hashtag1","hashtag2"]},{"1396350506":["hashtag1","hashtag2"]},{"1396350478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350517, 1396350480, 1396350513, 1396350497, 1396350506, 1396350478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46439337730408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:52:42.614805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/31/image_30102025_21_31_29_3629.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_32_2654.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_35_2606.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_38_3639.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_41_2703.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_44_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_29_3629.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_32_2654.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_35_2606.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_38_3639.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_41_2703.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_44_2901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350535","1396350529","1396350531","1396350533","1396350527","1396350524"],"photo_ids_order":["1396350524","1396350527","1396350529","1396350531","1396350533","1396350535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3069f83060bdf378f438170a7ca4cb0.jpg","text":"TemporaryFile(/tmp/multipartBody600990035130727353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_44_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ab2c4ea3b3a145dff669efad6286bda.jpg","text":"TemporaryFile(/tmp/multipartBody3272214798989407096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_35_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/27/2155136dd644160e85d8815414f91d97.jpg","text":"TemporaryFile(/tmp/multipartBody8260956260797393684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_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/27/127054d5e0d598ddef8c4235f4248195.jpg","text":"TemporaryFile(/tmp/multipartBody7048390118370946895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_41_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/27/ccf145b86cd7ed2839f5430e9bf59af1.jpg","text":"TemporaryFile(/tmp/multipartBody1152677354003523504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_32_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/27/98fe83939366afeba61c5b2e01cf148e.jpg","text":"TemporaryFile(/tmp/multipartBody5055234624242175671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212023889,"filename":"image_30102025_21_31_29_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350529","file1":"1396350527","file0":"1396350524","file4":"1396350533","file5":"1396350535","file3":"1396350531"},"map_files_photo_id_array":[{"photo_id":"1396350535","filename":"file5"},{"photo_id":"1396350529","filename":"file2"},{"photo_id":"1396350533","filename":"file4"},{"photo_id":"1396350527","filename":"file1"},{"photo_id":"1396350524","filename":"file0"},{"photo_id":"1396350531","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350535":["hashtag1","hashtag2"]},{"1396350529":["hashtag1","hashtag2"]},{"1396350531":["hashtag1","hashtag2"]},{"1396350533":["hashtag1","hashtag2"]},{"1396350527":["hashtag1","hashtag2"]},{"1396350524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350535, 1396350529, 1396350531, 1396350533, 1396350527, 1396350524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75607466697693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:53:22.785322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_54_9747.jpg', '/home/pi/Desktop/images/27112025/03/52/image_27112025_03_52_45_10695.jpg', '/home/pi/Desktop/images/27112025/03/52/image_27112025_03_52_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/51/image_27112025_03_51_54_9747.jpg
/home/pi/Desktop/images/27112025/03/52/image_27112025_03_52_45_10695.jpg
/home/pi/Desktop/images/27112025/03/52/image_27112025_03_52_55_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350555","1396350551","1396350553"],"photo_ids_order":["1396350551","1396350553","1396350555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/626f724e6a219b536a7386833a5adcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4811317913551279454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212063438,"filename":"image_27112025_03_52_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd29ec2551a5c8d5d61bb3141fc6042c.jpg","text":"TemporaryFile(/tmp/multipartBody275820038875270895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212063438,"filename":"image_27112025_03_51_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afa165c29c9f6286ef2ad1dc75cd0ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5086006423635757938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212063438,"filename":"image_27112025_03_52_45_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350555","file1":"1396350553","file0":"1396350551"},"map_files_photo_id_array":[{"photo_id":"1396350555","filename":"file2"},{"photo_id":"1396350553","filename":"file1"},{"photo_id":"1396350551","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350555":["hashtag1","hashtag2"]},{"1396350551":["hashtag1","hashtag2"]},{"1396350553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350555, 1396350551, 1396350553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.68904185295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:54:02.656367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_54_1651.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_57_2574.jpg', '/home/pi/Desktop/images/21112025/19/14/image_21112025_19_15_00_2918.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_03_3632.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_06_2682.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_09_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_54_1651.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_14_57_2574.jpg
/home/pi/Desktop/images/21112025/19/14/image_21112025_19_15_00_2918.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_03_3632.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_06_2682.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_09_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350564","1396350567","1396350572","1396350560","1396350562","1396350559"],"photo_ids_order":["1396350559","1396350560","1396350562","1396350564","1396350567","1396350572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00f98ea9abae2ad02306c85ce091f573.jpg","text":"TemporaryFile(/tmp/multipartBody5723391466892013197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_15_03_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/27/0a29c50fa77aa7f2546db997567b6528.jpg","text":"TemporaryFile(/tmp/multipartBody6980615130811640182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_15_06_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/27/f15a7da22b28b31181c419f7681227d3.jpg","text":"TemporaryFile(/tmp/multipartBody8207244221587165084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_15_09_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/27/b7da8c2d355991ab996648a3c705f295.jpg","text":"TemporaryFile(/tmp/multipartBody1047859522121624145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_14_57_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/27/0f9d2f2c573919ffa206e7a7331032fe.jpg","text":"TemporaryFile(/tmp/multipartBody7585261512063030795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_15_00_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/27/a03dd48de0470fa440a43b02174ad519.jpg","text":"TemporaryFile(/tmp/multipartBody8266731744491633947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212103920,"filename":"image_21112025_19_14_54_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350562","file1":"1396350560","file0":"1396350559","file4":"1396350567","file5":"1396350572","file3":"1396350564"},"map_files_photo_id_array":[{"photo_id":"1396350572","filename":"file5"},{"photo_id":"1396350562","filename":"file2"},{"photo_id":"1396350567","filename":"file4"},{"photo_id":"1396350560","filename":"file1"},{"photo_id":"1396350559","filename":"file0"},{"photo_id":"1396350564","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350564":["hashtag1","hashtag2"]},{"1396350567":["hashtag1","hashtag2"]},{"1396350572":["hashtag1","hashtag2"]},{"1396350560":["hashtag1","hashtag2"]},{"1396350562":["hashtag1","hashtag2"]},{"1396350559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350564, 1396350567, 1396350572, 1396350560, 1396350562, 1396350559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29152536392212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:54:42.126314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/31/image_30102025_21_31_47_2706.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_50_3755.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_53_2798.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_56_2566.jpg', '/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_59_3706.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_02_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_47_2706.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_50_3755.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_53_2798.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_56_2566.jpg
/home/pi/Desktop/images/30102025/21/31/image_30102025_21_31_59_3706.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_02_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350588","1396350596","1396350600","1396350587","1396350586","1396350589"],"photo_ids_order":["1396350586","1396350587","1396350588","1396350589","1396350596","1396350600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac5a1eb31886d747b5c58f22e592c1f0.jpg","text":"TemporaryFile(/tmp/multipartBody6145545008025518331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_31_53_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/27/2211c2fc7da7803499b6560280191438.jpg","text":"TemporaryFile(/tmp/multipartBody2677864474358417143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_31_59_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/27/c106970c2e0ed6a91edd5b8a2c2918e2.jpg","text":"TemporaryFile(/tmp/multipartBody7093747951494082511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_32_02_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/27/3f923b61d8ff1f285ad64a6f5ec87648.jpg","text":"TemporaryFile(/tmp/multipartBody5128418614202098820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_31_50_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/27/4b6296680ca712652353a232aeddf5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7134600936837239186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_31_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/27/560eb28978dd4ceaa346f42d970fdb78.jpg","text":"TemporaryFile(/tmp/multipartBody2639737721276608954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212143401,"filename":"image_30102025_21_31_56_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350588","file1":"1396350587","file0":"1396350586","file4":"1396350596","file5":"1396350600","file3":"1396350589"},"map_files_photo_id_array":[{"photo_id":"1396350600","filename":"file5"},{"photo_id":"1396350588","filename":"file2"},{"photo_id":"1396350596","filename":"file4"},{"photo_id":"1396350587","filename":"file1"},{"photo_id":"1396350586","filename":"file0"},{"photo_id":"1396350589","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350588":["hashtag1","hashtag2"]},{"1396350596":["hashtag1","hashtag2"]},{"1396350600":["hashtag1","hashtag2"]},{"1396350587":["hashtag1","hashtag2"]},{"1396350586":["hashtag1","hashtag2"]},{"1396350589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350588, 1396350596, 1396350600, 1396350587, 1396350586, 1396350589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77249097824097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:55:22.245948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/52/image_27112025_03_53_04_9638.jpg', '/home/pi/Desktop/images/27112025/03/53/image_27112025_03_54_05_10698.jpg', '/home/pi/Desktop/images/27112025/03/54/image_27112025_03_54_45_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/52/image_27112025_03_53_04_9638.jpg
/home/pi/Desktop/images/27112025/03/53/image_27112025_03_54_05_10698.jpg
/home/pi/Desktop/images/27112025/03/54/image_27112025_03_54_45_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350613","1396350616","1396350609"],"photo_ids_order":["1396350609","1396350613","1396350616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e57cc3e1bd42808c9c55c23f8141a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6351562313481167209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212182894,"filename":"image_27112025_03_54_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a23bd343ad0af2405c8f0c658cca7d32.jpg","text":"TemporaryFile(/tmp/multipartBody6465072627960783617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212182894,"filename":"image_27112025_03_54_45_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/913d0a90d281b615ff8478a9a748bd54.jpg","text":"TemporaryFile(/tmp/multipartBody9146835323768018903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212182894,"filename":"image_27112025_03_53_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350616","file1":"1396350613","file0":"1396350609"},"map_files_photo_id_array":[{"photo_id":"1396350616","filename":"file2"},{"photo_id":"1396350613","filename":"file1"},{"photo_id":"1396350609","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350613":["hashtag1","hashtag2"]},{"1396350616":["hashtag1","hashtag2"]},{"1396350609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350613, 1396350616, 1396350609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.700836896896362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:56:02.838411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_12_3570.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_15_2965.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_18_2590.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_21_3616.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_24_2577.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_29_5039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_12_3570.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_15_2965.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_18_2590.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_21_3616.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_24_2577.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_29_5039.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350628","1396350639","1396350630","1396350644","1396350632","1396350626"],"photo_ids_order":["1396350626","1396350628","1396350630","1396350632","1396350639","1396350644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d0bb55965cb4e732b65b7e4507f3836.jpg","text":"TemporaryFile(/tmp/multipartBody393997421562913787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_15_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/27/69987717b21eed3768673270063e8b12.jpg","text":"TemporaryFile(/tmp/multipartBody931654303896960569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_24_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/27/cb76580fec7d815f09dc14abb9a55858.jpg","text":"TemporaryFile(/tmp/multipartBody3899067926361400580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_18_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/27/035346d785488615332579bae2a45373.jpg","text":"TemporaryFile(/tmp/multipartBody1978024218238268324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_29_5039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5828902812fbada1c2785877c6b958b0.jpg","text":"TemporaryFile(/tmp/multipartBody6699850825674014706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_21_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/27/addd1c16f2f29e2f2c714a762b7042c5.jpg","text":"TemporaryFile(/tmp/multipartBody3183764583945174043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212224048,"filename":"image_21112025_19_15_12_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350630","file1":"1396350628","file0":"1396350626","file4":"1396350639","file5":"1396350644","file3":"1396350632"},"map_files_photo_id_array":[{"photo_id":"1396350644","filename":"file5"},{"photo_id":"1396350630","filename":"file2"},{"photo_id":"1396350639","filename":"file4"},{"photo_id":"1396350628","filename":"file1"},{"photo_id":"1396350626","filename":"file0"},{"photo_id":"1396350632","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350628":["hashtag1","hashtag2"]},{"1396350639":["hashtag1","hashtag2"]},{"1396350630":["hashtag1","hashtag2"]},{"1396350644":["hashtag1","hashtag2"]},{"1396350632":["hashtag1","hashtag2"]},{"1396350626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350628, 1396350639, 1396350630, 1396350644, 1396350632, 1396350626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35582613945007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:56:42.579108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/32/image_30102025_21_32_05_2698.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_08_2962.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_11_3619.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_14_2537.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_17_2743.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_20_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_05_2698.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_08_2962.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_11_3619.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_14_2537.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_17_2743.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_20_3711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350651","1396350654","1396350657","1396350656","1396350653","1396350655"],"photo_ids_order":["1396350651","1396350653","1396350654","1396350655","1396350656","1396350657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5eb3269613ad34474fc99569b6f0153.jpg","text":"TemporaryFile(/tmp/multipartBody5119278934403641830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_05_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/27/d47ce2e4c25287f7261e7b7f8415ba90.jpg","text":"TemporaryFile(/tmp/multipartBody7898685009986915560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_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/27/182c0d41e1d701eb55fe7ead552b9fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4378916031755486302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_20_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/27/d3153ae9f3fa5eb0615220de4f58559e.jpg","text":"TemporaryFile(/tmp/multipartBody4318119398890071589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_17_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/27/68de656064276d9843e3721215c34724.jpg","text":"TemporaryFile(/tmp/multipartBody3102557311554149446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_08_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1defc5bd4cbbd3849180f77eadd4831.jpg","text":"TemporaryFile(/tmp/multipartBody8733241259478452831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212263852,"filename":"image_30102025_21_32_14_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350654","file1":"1396350653","file0":"1396350651","file4":"1396350656","file5":"1396350657","file3":"1396350655"},"map_files_photo_id_array":[{"photo_id":"1396350657","filename":"file5"},{"photo_id":"1396350654","filename":"file2"},{"photo_id":"1396350656","filename":"file4"},{"photo_id":"1396350653","filename":"file1"},{"photo_id":"1396350651","filename":"file0"},{"photo_id":"1396350655","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350651":["hashtag1","hashtag2"]},{"1396350654":["hashtag1","hashtag2"]},{"1396350657":["hashtag1","hashtag2"]},{"1396350656":["hashtag1","hashtag2"]},{"1396350653":["hashtag1","hashtag2"]},{"1396350655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350651, 1396350654, 1396350657, 1396350656, 1396350653, 1396350655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18483853340149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:57:22.755423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/55/image_27112025_03_55_54_9704.jpg', '/home/pi/Desktop/images/27112025/03/55/image_27112025_03_56_04_9618.jpg', '/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_15_10815.jpg', '/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_25_9846.jpg', '/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_55_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/55/image_27112025_03_55_54_9704.jpg
/home/pi/Desktop/images/27112025/03/55/image_27112025_03_56_04_9618.jpg
/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_15_10815.jpg
/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_25_9846.jpg
/home/pi/Desktop/images/27112025/03/56/image_27112025_03_56_55_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350681","1396350690","1396350684","1396350674","1396350688"],"photo_ids_order":["1396350674","1396350681","1396350684","1396350688","1396350690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38f1d309979084fc6261e9710339a8e8.jpg","text":"TemporaryFile(/tmp/multipartBody1142399358656163002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212303478,"filename":"image_27112025_03_56_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06dbf8c60bd969e60cb60a9a922eb9ed.jpg","text":"TemporaryFile(/tmp/multipartBody5655135032223006799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212303478,"filename":"image_27112025_03_56_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81941833795c0376ade8764146c5a055.jpg","text":"TemporaryFile(/tmp/multipartBody5122205140351263057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212303478,"filename":"image_27112025_03_56_15_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af8550f17133dd0ecb31574f0e54f496.jpg","text":"TemporaryFile(/tmp/multipartBody5560180875243856611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212303478,"filename":"image_27112025_03_55_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec18398b5dc7d0519ebf3c916da3202f.jpg","text":"TemporaryFile(/tmp/multipartBody2472892022815683792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212303478,"filename":"image_27112025_03_56_25_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350684","file1":"1396350681","file0":"1396350674","file4":"1396350690","file3":"1396350688"},"map_files_photo_id_array":[{"photo_id":"1396350684","filename":"file2"},{"photo_id":"1396350690","filename":"file4"},{"photo_id":"1396350681","filename":"file1"},{"photo_id":"1396350674","filename":"file0"},{"photo_id":"1396350688","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350681":["hashtag1","hashtag2"]},{"1396350690":["hashtag1","hashtag2"]},{"1396350684":["hashtag1","hashtag2"]},{"1396350674":["hashtag1","hashtag2"]},{"1396350688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350681, 1396350690, 1396350684, 1396350674, 1396350688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.756186962127686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 03:59:03.337965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/56/image_27112025_03_57_04_9584.jpg', '/home/pi/Desktop/images/27112025/03/58/image_27112025_03_58_34_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/56/image_27112025_03_57_04_9584.jpg
/home/pi/Desktop/images/27112025/03/58/image_27112025_03_58_34_9877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350699","1396350704"],"photo_ids_order":["1396350699","1396350704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d699326b6241fef3057f1f879a0c862.jpg","text":"TemporaryFile(/tmp/multipartBody5869256808234115448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212404008,"filename":"image_27112025_03_57_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5866bd6a956963553edcfd8a4291f68c.jpg","text":"TemporaryFile(/tmp/multipartBody5187891765510085612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212404008,"filename":"image_27112025_03_58_34_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396350704","file0":"1396350699"},"map_files_photo_id_array":[{"photo_id":"1396350704","filename":"file1"},{"photo_id":"1396350699","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350699":["hashtag1","hashtag2"]},{"1396350704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350699, 1396350704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.054078817367554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 03:59:22.164127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/58/image_27112025_03_58_45_10616.jpg', '/home/pi/Desktop/images/27112025/03/59/image_27112025_03_59_24_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/58/image_27112025_03_58_45_10616.jpg
/home/pi/Desktop/images/27112025/03/59/image_27112025_03_59_24_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350714","1396350718"],"photo_ids_order":["1396350714","1396350718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f941d64c123dc529ada4d9d68e899a70.jpg","text":"TemporaryFile(/tmp/multipartBody6005211218011605414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212422760,"filename":"image_27112025_03_58_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b05072ce4c3610be46266d04b7f9d9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1322309457922601488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212422760,"filename":"image_27112025_03_59_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396350718","file0":"1396350714"},"map_files_photo_id_array":[{"photo_id":"1396350718","filename":"file1"},{"photo_id":"1396350714","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350714":["hashtag1","hashtag2"]},{"1396350718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350714, 1396350718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.366812229156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 03:59:42.102928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/32/image_30102025_21_32_23_2572.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_26_2786.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_32_2598.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_35_2958.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_41_3636.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_44_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_23_2572.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_26_2786.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_32_2598.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_35_2958.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_41_3636.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_44_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350733","1396350726","1396350729","1396350737","1396350731","1396350728"],"photo_ids_order":["1396350726","1396350728","1396350729","1396350731","1396350733","1396350737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07ef4dc0824905be7c6e7eb03d04c78b.jpg","text":"TemporaryFile(/tmp/multipartBody448280806974693324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_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/27/143daf6b1c7966527a41928807e07c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1549554473425291490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_23_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/27/a9e653c8e48002332aa976dc3af92a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4020473503220994367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_32_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/27/b4e0dab6479036110200321f45d4da1c.jpg","text":"TemporaryFile(/tmp/multipartBody1622065580445570650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_44_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/27/3658c749988b6b66bda464e99be0ba44.jpg","text":"TemporaryFile(/tmp/multipartBody8192267295569770216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_35_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/27/33d75327488627764351c93b623453b3.jpg","text":"TemporaryFile(/tmp/multipartBody2628203477505622366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212443375,"filename":"image_30102025_21_32_26_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350729","file1":"1396350728","file0":"1396350726","file4":"1396350733","file5":"1396350737","file3":"1396350731"},"map_files_photo_id_array":[{"photo_id":"1396350737","filename":"file5"},{"photo_id":"1396350729","filename":"file2"},{"photo_id":"1396350733","filename":"file4"},{"photo_id":"1396350728","filename":"file1"},{"photo_id":"1396350726","filename":"file0"},{"photo_id":"1396350731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350733":["hashtag1","hashtag2"]},{"1396350726":["hashtag1","hashtag2"]},{"1396350729":["hashtag1","hashtag2"]},{"1396350737":["hashtag1","hashtag2"]},{"1396350731":["hashtag1","hashtag2"]},{"1396350728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350733, 1396350726, 1396350729, 1396350737, 1396350731, 1396350728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61869025230408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:00:22.267409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/03/59/image_27112025_03_59_45_10822.jpg', '/home/pi/Desktop/images/27112025/03/59/image_27112025_04_00_04_9746.jpg', '/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_14_9738.jpg', '/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_25_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/03/59/image_27112025_03_59_45_10822.jpg
/home/pi/Desktop/images/27112025/03/59/image_27112025_04_00_04_9746.jpg
/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_14_9738.jpg
/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_25_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350759","1396350755","1396350757","1396350751"],"photo_ids_order":["1396350751","1396350755","1396350757","1396350759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b84e2352728ebb8a657fbb55dbaa3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4878886188490897777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212482949,"filename":"image_27112025_04_00_25_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c6f0fffa92c1c2e95cf5c0a5e99ac98.jpg","text":"TemporaryFile(/tmp/multipartBody7204912493872816699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212482949,"filename":"image_27112025_04_00_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5462cca662d16c0b1303286b02b1515b.jpg","text":"TemporaryFile(/tmp/multipartBody4275061256964849677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212482949,"filename":"image_27112025_04_00_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/531f6c7925874f6edf60d8ee3395fa51.jpg","text":"TemporaryFile(/tmp/multipartBody2314261007224599289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212482949,"filename":"image_27112025_03_59_45_10822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350757","file1":"1396350755","file0":"1396350751","file3":"1396350759"},"map_files_photo_id_array":[{"photo_id":"1396350757","filename":"file2"},{"photo_id":"1396350755","filename":"file1"},{"photo_id":"1396350751","filename":"file0"},{"photo_id":"1396350759","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350759":["hashtag1","hashtag2"]},{"1396350755":["hashtag1","hashtag2"]},{"1396350757":["hashtag1","hashtag2"]},{"1396350751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350759, 1396350755, 1396350757, 1396350751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.99794626235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:01:03.140997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_32_3084.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_34_1684.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_36_1741.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_39_3788.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_42_2700.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_45_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_32_3084.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_34_1684.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_36_1741.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_39_3788.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_42_2700.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_45_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350805","1396350807","1396350801","1396350809","1396350799","1396350803"],"photo_ids_order":["1396350799","1396350801","1396350803","1396350805","1396350807","1396350809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bb75212a1f9d376823366f48522766f.jpg","text":"TemporaryFile(/tmp/multipartBody9136023183975889270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_39_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/27/e59dd8ac54f09e2672bb621bf1149747.jpg","text":"TemporaryFile(/tmp/multipartBody5595682820075622486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_42_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/27/be64242461c62ff2d2229d2c1764c60f.jpg","text":"TemporaryFile(/tmp/multipartBody4540184127605573514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_34_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/27/b4736953d3f1d6dd59be158655b4ee36.jpg","text":"TemporaryFile(/tmp/multipartBody1006505545247578202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_45_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/27/b0c90db50cab83d5e9964f8cfd91ce05.jpg","text":"TemporaryFile(/tmp/multipartBody2129514372960715580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_32_3084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bce676d874a0ef9c506168664a210047.jpg","text":"TemporaryFile(/tmp/multipartBody2337366965754727901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212524468,"filename":"image_21112025_19_15_36_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350803","file1":"1396350801","file0":"1396350799","file4":"1396350807","file5":"1396350809","file3":"1396350805"},"map_files_photo_id_array":[{"photo_id":"1396350809","filename":"file5"},{"photo_id":"1396350803","filename":"file2"},{"photo_id":"1396350807","filename":"file4"},{"photo_id":"1396350801","filename":"file1"},{"photo_id":"1396350799","filename":"file0"},{"photo_id":"1396350805","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350805":["hashtag1","hashtag2"]},{"1396350807":["hashtag1","hashtag2"]},{"1396350801":["hashtag1","hashtag2"]},{"1396350809":["hashtag1","hashtag2"]},{"1396350799":["hashtag1","hashtag2"]},{"1396350803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350805, 1396350807, 1396350801, 1396350809, 1396350799, 1396350803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82860517501831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:01:42.536245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/32/image_30102025_21_32_47_2610.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_50_3721.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_53_2644.jpg', '/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_56_2645.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_05_2628.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_08_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_47_2610.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_50_3721.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_53_2644.jpg
/home/pi/Desktop/images/30102025/21/32/image_30102025_21_32_56_2645.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_05_2628.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_08_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350831","1396350825","1396350818","1396350827","1396350829","1396350823"],"photo_ids_order":["1396350818","1396350823","1396350825","1396350827","1396350829","1396350831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84a820d37d0aee07ac11e2d5d6928ced.jpg","text":"TemporaryFile(/tmp/multipartBody4479662243265461666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_33_08_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/27/a0b15f0af9b7e17be472b89ec08ec8b6.jpg","text":"TemporaryFile(/tmp/multipartBody3170485354762840648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_32_53_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/27/2c2e26e422c1e5098b600035701657bf.jpg","text":"TemporaryFile(/tmp/multipartBody7323946255649995623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_32_47_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/27/dfb98537b4f614b12aa699362ae15851.jpg","text":"TemporaryFile(/tmp/multipartBody4423808615833781251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_32_56_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/27/8566aab15d636378cba91665fd7c7d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8203263732077564809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_33_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/27/eed79951735c2bfac687e065ef378e73.jpg","text":"TemporaryFile(/tmp/multipartBody1153542782304999820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212563887,"filename":"image_30102025_21_32_50_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350825","file1":"1396350823","file0":"1396350818","file4":"1396350829","file5":"1396350831","file3":"1396350827"},"map_files_photo_id_array":[{"photo_id":"1396350831","filename":"file5"},{"photo_id":"1396350825","filename":"file2"},{"photo_id":"1396350829","filename":"file4"},{"photo_id":"1396350823","filename":"file1"},{"photo_id":"1396350818","filename":"file0"},{"photo_id":"1396350827","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350831":["hashtag1","hashtag2"]},{"1396350825":["hashtag1","hashtag2"]},{"1396350818":["hashtag1","hashtag2"]},{"1396350827":["hashtag1","hashtag2"]},{"1396350829":["hashtag1","hashtag2"]},{"1396350823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350831, 1396350825, 1396350818, 1396350827, 1396350829, 1396350823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53992986679077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:02:22.714663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_34_9548.jpg', '/home/pi/Desktop/images/27112025/04/00/image_27112025_04_01_04_9668.jpg', '/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_14_9677.jpg', '/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_34_9752.jpg', '/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_55_10800.jpg', '/home/pi/Desktop/images/27112025/04/02/image_27112025_04_02_25_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/00/image_27112025_04_00_34_9548.jpg
/home/pi/Desktop/images/27112025/04/00/image_27112025_04_01_04_9668.jpg
/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_14_9677.jpg
/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_34_9752.jpg
/home/pi/Desktop/images/27112025/04/01/image_27112025_04_01_55_10800.jpg
/home/pi/Desktop/images/27112025/04/02/image_27112025_04_02_25_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350843","1396350852","1396350855","1396350840","1396350848","1396350850"],"photo_ids_order":["1396350840","1396350843","1396350848","1396350850","1396350852","1396350855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29c7bed46739b849770c66f3968efde3.jpg","text":"TemporaryFile(/tmp/multipartBody6310501062613357643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_01_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e177349b08ca1436384373b89f4b163.jpg","text":"TemporaryFile(/tmp/multipartBody4263049411952930136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_01_55_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf6972942071bd8b869f026ba9157025.jpg","text":"TemporaryFile(/tmp/multipartBody456591400963582293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_02_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c97328691d987cc832a8386de2627af.jpg","text":"TemporaryFile(/tmp/multipartBody3797382623426649473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_00_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5169bfc9e4eabd9a01ad6e95d9e31d1.jpg","text":"TemporaryFile(/tmp/multipartBody4908805251541513722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_01_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be256c35e117917d68bcc906edcff882.jpg","text":"TemporaryFile(/tmp/multipartBody2150502112872374829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212603482,"filename":"image_27112025_04_01_34_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350848","file1":"1396350843","file0":"1396350840","file4":"1396350852","file5":"1396350855","file3":"1396350850"},"map_files_photo_id_array":[{"photo_id":"1396350855","filename":"file5"},{"photo_id":"1396350848","filename":"file2"},{"photo_id":"1396350852","filename":"file4"},{"photo_id":"1396350843","filename":"file1"},{"photo_id":"1396350840","filename":"file0"},{"photo_id":"1396350850","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350843":["hashtag1","hashtag2"]},{"1396350852":["hashtag1","hashtag2"]},{"1396350855":["hashtag1","hashtag2"]},{"1396350840":["hashtag1","hashtag2"]},{"1396350848":["hashtag1","hashtag2"]},{"1396350850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350843, 1396350852, 1396350855, 1396350840, 1396350848, 1396350850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63322615623474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:03:02.488259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_48_3549.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_51_2719.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_54_2648.jpg', '/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_57_3666.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_03_2555.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_05_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_48_3549.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_51_2719.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_54_2648.jpg
/home/pi/Desktop/images/21112025/19/15/image_21112025_19_15_57_3666.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_03_2555.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_05_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350861","1396350870","1396350873","1396350867","1396350863","1396350865"],"photo_ids_order":["1396350861","1396350863","1396350865","1396350867","1396350870","1396350873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f0157a5599b1418cb0fc1bcb74905c7.jpg","text":"TemporaryFile(/tmp/multipartBody2956202519974432913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_15_48_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/27/512509f3de36a27a5d31cd99510de201.jpg","text":"TemporaryFile(/tmp/multipartBody4646534542302842994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_16_03_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/27/1345623a91791fe0cf80435a22024c7c.jpg","text":"TemporaryFile(/tmp/multipartBody1143194495875866703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_16_05_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/27/d2202c50f886b7c05701eed1f4149a02.jpg","text":"TemporaryFile(/tmp/multipartBody4674509792350633378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_15_57_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/27/9656fce591c857354a0b2e8e2fed6ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3906139611902230298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_15_51_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/27/23c6c60156e92670740c9591513373bf.jpg","text":"TemporaryFile(/tmp/multipartBody3934665619319289054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212643816,"filename":"image_21112025_19_15_54_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350865","file1":"1396350863","file0":"1396350861","file4":"1396350870","file5":"1396350873","file3":"1396350867"},"map_files_photo_id_array":[{"photo_id":"1396350873","filename":"file5"},{"photo_id":"1396350865","filename":"file2"},{"photo_id":"1396350870","filename":"file4"},{"photo_id":"1396350863","filename":"file1"},{"photo_id":"1396350861","filename":"file0"},{"photo_id":"1396350867","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350861":["hashtag1","hashtag2"]},{"1396350870":["hashtag1","hashtag2"]},{"1396350873":["hashtag1","hashtag2"]},{"1396350867":["hashtag1","hashtag2"]},{"1396350863":["hashtag1","hashtag2"]},{"1396350865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350861, 1396350870, 1396350873, 1396350867, 1396350863, 1396350865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.712674617767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:03:41.910479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/33/image_30102025_21_33_14_3536.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_17_2627.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_20_3026.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_23_2715.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_25_2694.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_32_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/21/33/image_30102025_21_33_14_3536.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_17_2627.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_20_3026.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_23_2715.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_25_2694.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_32_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350888","1396350882","1396350879","1396350890","1396350884","1396350886"],"photo_ids_order":["1396350879","1396350882","1396350884","1396350886","1396350888","1396350890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1ba8903add34457fc2c67be841bea1a.jpg","text":"TemporaryFile(/tmp/multipartBody7522406735870022236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_25_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/27/f0cc208fbf7099705dd8524805be60dd.jpg","text":"TemporaryFile(/tmp/multipartBody6879024566970704511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_17_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/27/12138fc8e958c618fe3b0cc8db354a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8376987677146189090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_14_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/27/930e135f5c5fdad72fa55f50a5170fcd.jpg","text":"TemporaryFile(/tmp/multipartBody2280273251209274476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_32_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/27/f784a63f3c84f257c18204b8f4d61614.jpg","text":"TemporaryFile(/tmp/multipartBody2047069237253706376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_20_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/27/940e684f643c2ed18f2bec90fee3eddf.jpg","text":"TemporaryFile(/tmp/multipartBody3507628188016527528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212683190,"filename":"image_30102025_21_33_23_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350884","file1":"1396350882","file0":"1396350879","file4":"1396350888","file5":"1396350890","file3":"1396350886"},"map_files_photo_id_array":[{"photo_id":"1396350890","filename":"file5"},{"photo_id":"1396350884","filename":"file2"},{"photo_id":"1396350888","filename":"file4"},{"photo_id":"1396350882","filename":"file1"},{"photo_id":"1396350879","filename":"file0"},{"photo_id":"1396350886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350888":["hashtag1","hashtag2"]},{"1396350882":["hashtag1","hashtag2"]},{"1396350879":["hashtag1","hashtag2"]},{"1396350890":["hashtag1","hashtag2"]},{"1396350884":["hashtag1","hashtag2"]},{"1396350886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350888, 1396350882, 1396350879, 1396350890, 1396350884, 1396350886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98818898200989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:04:22.071182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/02/image_27112025_04_02_44_9781.jpg', '/home/pi/Desktop/images/27112025/04/03/image_27112025_04_03_15_9875.jpg', '/home/pi/Desktop/images/27112025/04/04/image_27112025_04_04_14_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/02/image_27112025_04_02_44_9781.jpg
/home/pi/Desktop/images/27112025/04/03/image_27112025_04_03_15_9875.jpg
/home/pi/Desktop/images/27112025/04/04/image_27112025_04_04_14_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350929","1396350926","1396350913"],"photo_ids_order":["1396350913","1396350926","1396350929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/665b53f1336cf93ab5cf1407eed32e14.jpg","text":"TemporaryFile(/tmp/multipartBody6029763744793540755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212722696,"filename":"image_27112025_04_04_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db87498dedc5cea14d2bebc546539e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8721239989795702101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212722696,"filename":"image_27112025_04_03_15_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f95e71471230209418a82976a04713e.jpg","text":"TemporaryFile(/tmp/multipartBody8561725582990001093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212722696,"filename":"image_27112025_04_02_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350929","file1":"1396350926","file0":"1396350913"},"map_files_photo_id_array":[{"photo_id":"1396350929","filename":"file2"},{"photo_id":"1396350926","filename":"file1"},{"photo_id":"1396350913","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396350929":["hashtag1","hashtag2"]},{"1396350926":["hashtag1","hashtag2"]},{"1396350913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396350929, 1396350926, 1396350913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.556335926055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:05:02.894932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_09_3556.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_12_2480.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_19_3758.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_20_1566.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_24_3645.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_27_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_09_3556.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_12_2480.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_19_3758.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_20_1566.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_24_3645.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_27_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350975","1396350972","1396350966","1396350968","1396350979","1396350970"],"photo_ids_order":["1396350966","1396350968","1396350970","1396350972","1396350975","1396350979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac16f03e73b268bcf99d1e806d818a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1775979914913922843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_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/27/9292f30dcda8684e693b0a064c3637f4.jpg","text":"TemporaryFile(/tmp/multipartBody2823645064716246220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_20_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/27/e8037b3c7877c1a888ab1d1eaaa0cc80.jpg","text":"TemporaryFile(/tmp/multipartBody8147922684862465776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_09_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/27/4f3c73118faf2bc91e39a022d89ed1c8.jpg","text":"TemporaryFile(/tmp/multipartBody1920930115768470546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_12_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/27/2e747fffcf0fffb3c61201af1a78b965.jpg","text":"TemporaryFile(/tmp/multipartBody3948520050060911709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_27_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/27/4e0ae937091be2b3407059ef139a1d48.jpg","text":"TemporaryFile(/tmp/multipartBody5744728672742640929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212764221,"filename":"image_21112025_19_16_19_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396350970","file1":"1396350968","file0":"1396350966","file4":"1396350975","file5":"1396350979","file3":"1396350972"},"map_files_photo_id_array":[{"photo_id":"1396350979","filename":"file5"},{"photo_id":"1396350970","filename":"file2"},{"photo_id":"1396350975","filename":"file4"},{"photo_id":"1396350968","filename":"file1"},{"photo_id":"1396350966","filename":"file0"},{"photo_id":"1396350972","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396350975":["hashtag1","hashtag2"]},{"1396350972":["hashtag1","hashtag2"]},{"1396350966":["hashtag1","hashtag2"]},{"1396350968":["hashtag1","hashtag2"]},{"1396350979":["hashtag1","hashtag2"]},{"1396350970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396350975, 1396350972, 1396350966, 1396350968, 1396350979, 1396350970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.556865215301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:05:42.370292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/33/image_30102025_21_33_35_2770.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_44_2763.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_46_2689.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_50_3146.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_52_2827.jpg', '/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_56_3811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_35_2770.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_44_2763.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_46_2689.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_50_3146.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_52_2827.jpg
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_56_3811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396350987","1396351008","1396351002","1396351004","1396351000","1396351006"],"photo_ids_order":["1396350987","1396351000","1396351002","1396351004","1396351006","1396351008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8b158ddd71cca6252d7c7df4304ad22.jpg","text":"TemporaryFile(/tmp/multipartBody508856648409660674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_35_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/27/e9f2ad8c3be690c03778b76345ff752a.jpg","text":"TemporaryFile(/tmp/multipartBody1426511163928519651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_56_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/27/22a4c1101737614404f7b742fc46d1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2233440703164397217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_46_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/27/d2463a66d71263d3ad5873fe7573b084.jpg","text":"TemporaryFile(/tmp/multipartBody3732143770368852580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_50_3146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9aa6aa726fc43f691d6342b1bd3f325c.jpg","text":"TemporaryFile(/tmp/multipartBody903427214339500131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_44_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/27/fb86acd54bbee0225429bfdb7010c91e.jpg","text":"TemporaryFile(/tmp/multipartBody8379230486525399765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212803653,"filename":"image_30102025_21_33_52_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351002","file1":"1396351000","file0":"1396350987","file4":"1396351006","file5":"1396351008","file3":"1396351004"},"map_files_photo_id_array":[{"photo_id":"1396351008","filename":"file5"},{"photo_id":"1396351002","filename":"file2"},{"photo_id":"1396351006","filename":"file4"},{"photo_id":"1396351000","filename":"file1"},{"photo_id":"1396350987","filename":"file0"},{"photo_id":"1396351004","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396350987":["hashtag1","hashtag2"]},{"1396351008":["hashtag1","hashtag2"]},{"1396351002":["hashtag1","hashtag2"]},{"1396351004":["hashtag1","hashtag2"]},{"1396351000":["hashtag1","hashtag2"]},{"1396351006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396350987, 1396351008, 1396351002, 1396351004, 1396351000, 1396351006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49293518066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:06:28.857467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/04/image_27112025_04_04_54_9644.jpg', '/home/pi/Desktop/images/27112025/04/04/image_27112025_04_05_05_10618.jpg', '/home/pi/Desktop/images/27112025/04/06/image_27112025_04_06_44_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/04/image_27112025_04_04_54_9644.jpg
/home/pi/Desktop/images/27112025/04/04/image_27112025_04_05_05_10618.jpg
/home/pi/Desktop/images/27112025/04/06/image_27112025_04_06_44_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351041","1396351044","1396351046"],"photo_ids_order":["1396351041","1396351044","1396351046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e63941627a94eadb6919cb747d1ba44.jpg","text":"TemporaryFile(/tmp/multipartBody5864890512736143032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212849509,"filename":"image_27112025_04_04_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35837eca7db689638083daef0b951f16.jpg","text":"TemporaryFile(/tmp/multipartBody8184337983298855517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212849509,"filename":"image_27112025_04_05_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bc42480cfbb6ac5546f245ae0e13aea.jpg","text":"TemporaryFile(/tmp/multipartBody5717028653403370589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212849509,"filename":"image_27112025_04_06_44_9523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351046","file1":"1396351044","file0":"1396351041"},"map_files_photo_id_array":[{"photo_id":"1396351046","filename":"file2"},{"photo_id":"1396351044","filename":"file1"},{"photo_id":"1396351041","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351041":["hashtag1","hashtag2"]},{"1396351044":["hashtag1","hashtag2"]},{"1396351046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351041, 1396351044, 1396351046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.437156438827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:07:02.763879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_30_3519.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_33_2571.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_35_2606.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_39_3668.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_43_3534.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_45_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_30_3519.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_33_2571.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_35_2606.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_39_3668.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_43_3534.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_45_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351070","1396351073","1396351081","1396351075","1396351084","1396351078"],"photo_ids_order":["1396351070","1396351073","1396351075","1396351078","1396351081","1396351084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba68ce7cdfcea7aad63fafef646d57c4.jpg","text":"TemporaryFile(/tmp/multipartBody7117885852734862544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_30_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/27/d6e22773f937f1d3571c744c3886a6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6660499964053706599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_33_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/27/e93dcd2d5b32a05c142b8f3908e103b5.jpg","text":"TemporaryFile(/tmp/multipartBody1380612134478185675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_43_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/27/c233f60e5ef1352d542a30a715cfdc35.jpg","text":"TemporaryFile(/tmp/multipartBody2938646909946137976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_35_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/27/f2214bdee92289e2bb72846e1838663f.jpg","text":"TemporaryFile(/tmp/multipartBody6697053500405382272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_45_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/27/31b5335df9fde77b82576db9602ca90c.jpg","text":"TemporaryFile(/tmp/multipartBody1373825776198180903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212884105,"filename":"image_21112025_19_16_39_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351075","file1":"1396351073","file0":"1396351070","file4":"1396351081","file5":"1396351084","file3":"1396351078"},"map_files_photo_id_array":[{"photo_id":"1396351084","filename":"file5"},{"photo_id":"1396351075","filename":"file2"},{"photo_id":"1396351081","filename":"file4"},{"photo_id":"1396351073","filename":"file1"},{"photo_id":"1396351070","filename":"file0"},{"photo_id":"1396351078","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351070":["hashtag1","hashtag2"]},{"1396351073":["hashtag1","hashtag2"]},{"1396351081":["hashtag1","hashtag2"]},{"1396351075":["hashtag1","hashtag2"]},{"1396351084":["hashtag1","hashtag2"]},{"1396351078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351070, 1396351073, 1396351081, 1396351075, 1396351084, 1396351078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14526295661926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:08:02.721112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_48_2573.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_50_2629.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_54_3667.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_57_2577.jpg', '/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_59_2733.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_03_3866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_48_2573.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_50_2629.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_54_3667.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_57_2577.jpg
/home/pi/Desktop/images/21112025/19/16/image_21112025_19_16_59_2733.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_03_3866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351097","1396351101","1396351109","1396351103","1396351106","1396351099"],"photo_ids_order":["1396351097","1396351099","1396351101","1396351103","1396351106","1396351109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af972120cc7cdbb8e380365336c8531a.jpg","text":"TemporaryFile(/tmp/multipartBody5382477086964283455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_16_48_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/27/237e72fb36041e9fb1aee972c9c36d45.jpg","text":"TemporaryFile(/tmp/multipartBody2595431693174931929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_16_54_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/27/e20669705b91a9e8564ba82f230f5d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9189395567153503403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_17_03_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3a7691d63a8eeb2da63b00a41656a04.jpg","text":"TemporaryFile(/tmp/multipartBody1803715381442298935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_16_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/27/5d13e79ba358d62db53d8322d55f0107.jpg","text":"TemporaryFile(/tmp/multipartBody5124603808455500610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_16_59_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/27/70767174051265b19ec20a15c052e7ce.jpg","text":"TemporaryFile(/tmp/multipartBody1780525659745555340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212943918,"filename":"image_21112025_19_16_50_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351101","file1":"1396351099","file0":"1396351097","file4":"1396351106","file5":"1396351109","file3":"1396351103"},"map_files_photo_id_array":[{"photo_id":"1396351109","filename":"file5"},{"photo_id":"1396351101","filename":"file2"},{"photo_id":"1396351106","filename":"file4"},{"photo_id":"1396351099","filename":"file1"},{"photo_id":"1396351097","filename":"file0"},{"photo_id":"1396351103","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351097":["hashtag1","hashtag2"]},{"1396351101":["hashtag1","hashtag2"]},{"1396351109":["hashtag1","hashtag2"]},{"1396351103":["hashtag1","hashtag2"]},{"1396351106":["hashtag1","hashtag2"]},{"1396351099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351097, 1396351101, 1396351109, 1396351103, 1396351106, 1396351099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22966146469116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:08:42.285430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/33/image_30102025_21_33_59_2584.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_05_3619.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_11_2721.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_17_2604.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_19_2669.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_23_3862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/33/image_30102025_21_33_59_2584.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_05_3619.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_11_2721.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_17_2604.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_19_2669.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_23_3862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351140","1396351142","1396351136","1396351121","1396351124","1396351138"],"photo_ids_order":["1396351121","1396351124","1396351136","1396351138","1396351140","1396351142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67419b9c3bbbfda7ff13f48ec12a9139.jpg","text":"TemporaryFile(/tmp/multipartBody8054206197963186058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_34_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/27/a5434b9c5d37db8d8f0c510b55a599ab.jpg","text":"TemporaryFile(/tmp/multipartBody7510895871871550003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_34_23_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bb52b31844e19b55416691c1686ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody1355072720666987231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_34_11_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/27/692d40db1eb7905f913140791e3f4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3021258474943334433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_33_59_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/27/1421ecbc019029b1edfce291ce9cdd6c.jpg","text":"TemporaryFile(/tmp/multipartBody8814807468703923061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_34_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/27/7957c9ae6744e43d85f46c4e9e824b18.jpg","text":"TemporaryFile(/tmp/multipartBody746597856568476399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764212983552,"filename":"image_30102025_21_34_17_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351136","file1":"1396351124","file0":"1396351121","file4":"1396351140","file5":"1396351142","file3":"1396351138"},"map_files_photo_id_array":[{"photo_id":"1396351142","filename":"file5"},{"photo_id":"1396351136","filename":"file2"},{"photo_id":"1396351140","filename":"file4"},{"photo_id":"1396351124","filename":"file1"},{"photo_id":"1396351121","filename":"file0"},{"photo_id":"1396351138","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351140":["hashtag1","hashtag2"]},{"1396351142":["hashtag1","hashtag2"]},{"1396351136":["hashtag1","hashtag2"]},{"1396351121":["hashtag1","hashtag2"]},{"1396351124":["hashtag1","hashtag2"]},{"1396351138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351140, 1396351142, 1396351136, 1396351121, 1396351124, 1396351138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.101895332336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:09:22.393761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/06/image_27112025_04_06_55_10636.jpg', '/home/pi/Desktop/images/27112025/04/07/image_27112025_04_07_35_9766.jpg', '/home/pi/Desktop/images/27112025/04/08/image_27112025_04_08_54_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/06/image_27112025_04_06_55_10636.jpg
/home/pi/Desktop/images/27112025/04/07/image_27112025_04_07_35_9766.jpg
/home/pi/Desktop/images/27112025/04/08/image_27112025_04_08_54_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351163","1396351166","1396351156"],"photo_ids_order":["1396351156","1396351163","1396351166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6faae30eb68f0d0ee315254c4aba4932.jpg","text":"TemporaryFile(/tmp/multipartBody8119045028084760125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213023065,"filename":"image_27112025_04_07_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bd3e4d5478131c207698e8c76878206.jpg","text":"TemporaryFile(/tmp/multipartBody6384956794749760456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213023065,"filename":"image_27112025_04_08_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4336cc4cca2580509495d590530ae762.jpg","text":"TemporaryFile(/tmp/multipartBody2983615318952453068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213023065,"filename":"image_27112025_04_06_55_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351166","file1":"1396351163","file0":"1396351156"},"map_files_photo_id_array":[{"photo_id":"1396351166","filename":"file2"},{"photo_id":"1396351163","filename":"file1"},{"photo_id":"1396351156","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351163":["hashtag1","hashtag2"]},{"1396351166":["hashtag1","hashtag2"]},{"1396351156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351163, 1396351166, 1396351156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.13420271873474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:10:03.069248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_06_2584.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_12_3625.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_15_2653.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_17_2760.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_21_3689.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_24_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_06_2584.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_12_3625.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_15_2653.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_17_2760.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_21_3689.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_24_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351190","1396351184","1396351187","1396351192","1396351195","1396351189"],"photo_ids_order":["1396351184","1396351187","1396351189","1396351190","1396351192","1396351195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e716bd5763a9b97844ad517893f2229.jpg","text":"TemporaryFile(/tmp/multipartBody7212952922303658583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_17_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/27/3ece5b39de2c0332ce2b80cd01b96a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3844130620494392310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_06_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/27/0868cdb92f0df7d1f7177686f65e110d.jpg","text":"TemporaryFile(/tmp/multipartBody2048695697961728781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_12_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/27/f58d943ed3706ffff6e4a02765259233.jpg","text":"TemporaryFile(/tmp/multipartBody7502310018912571030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_21_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/27/11327388ccc9f795c133d9eef39e0dba.jpg","text":"TemporaryFile(/tmp/multipartBody7740241181548400325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_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/27/fd204af67450fb3a5d56050c4fbb9c87.jpg","text":"TemporaryFile(/tmp/multipartBody8818192278798143019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213064262,"filename":"image_21112025_19_17_15_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351189","file1":"1396351187","file0":"1396351184","file4":"1396351192","file5":"1396351195","file3":"1396351190"},"map_files_photo_id_array":[{"photo_id":"1396351195","filename":"file5"},{"photo_id":"1396351189","filename":"file2"},{"photo_id":"1396351192","filename":"file4"},{"photo_id":"1396351187","filename":"file1"},{"photo_id":"1396351184","filename":"file0"},{"photo_id":"1396351190","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351190":["hashtag1","hashtag2"]},{"1396351184":["hashtag1","hashtag2"]},{"1396351187":["hashtag1","hashtag2"]},{"1396351192":["hashtag1","hashtag2"]},{"1396351195":["hashtag1","hashtag2"]},{"1396351189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351190, 1396351184, 1396351187, 1396351192, 1396351195, 1396351189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.507633686065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:10:42.671037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/34/image_30102025_21_34_26_2635.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_29_2728.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_31_2645.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_35_3769.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_38_2683.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_26_2635.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_29_2728.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_31_2645.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_35_3769.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_38_2683.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_40_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351221","1396351223","1396351217","1396351225","1396351219","1396351234"],"photo_ids_order":["1396351217","1396351219","1396351221","1396351223","1396351225","1396351234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b6a74473e2042550fec7dc581c5b151.jpg","text":"TemporaryFile(/tmp/multipartBody673861786893694890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_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/27/dc86fd6a824b4f73109036ae7c70db74.jpg","text":"TemporaryFile(/tmp/multipartBody5762244859643166068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_35_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/27/5d6068cc68199bcebbfd9ba9732641cc.jpg","text":"TemporaryFile(/tmp/multipartBody5073403562711716212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_26_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/27/de81a1b47633e6d43b758bfb0b453314.jpg","text":"TemporaryFile(/tmp/multipartBody4184717512394062000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_38_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/27/a8cb27c312601ce8aeabb3fe7bb922ad.jpg","text":"TemporaryFile(/tmp/multipartBody4927674787457540433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_29_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/27/5a78e0e95a0a9968ad881bd4c1c7a01a.jpg","text":"TemporaryFile(/tmp/multipartBody8134979176999450311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213103959,"filename":"image_30102025_21_34_40_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351221","file1":"1396351219","file0":"1396351217","file4":"1396351225","file5":"1396351234","file3":"1396351223"},"map_files_photo_id_array":[{"photo_id":"1396351234","filename":"file5"},{"photo_id":"1396351221","filename":"file2"},{"photo_id":"1396351225","filename":"file4"},{"photo_id":"1396351219","filename":"file1"},{"photo_id":"1396351217","filename":"file0"},{"photo_id":"1396351223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351221":["hashtag1","hashtag2"]},{"1396351223":["hashtag1","hashtag2"]},{"1396351217":["hashtag1","hashtag2"]},{"1396351225":["hashtag1","hashtag2"]},{"1396351219":["hashtag1","hashtag2"]},{"1396351234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351221, 1396351223, 1396351217, 1396351225, 1396351219, 1396351234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.086671113967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:11:31.910583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_26_2651.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_30_3608.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_36_3065.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_38_2786.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_42_3347.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_44_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_26_2651.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_30_3608.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_36_3065.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_38_2786.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_42_3347.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_44_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351245","1396351250","1396351253","1396351247","1396351255","1396351243"],"photo_ids_order":["1396351243","1396351245","1396351247","1396351250","1396351253","1396351255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b92aa70562efcf04ff4fe88fd6fd9013.jpg","text":"TemporaryFile(/tmp/multipartBody8557517557105361898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_30_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/27/116868e6f8a4959ae8f9b1b630416656.jpg","text":"TemporaryFile(/tmp/multipartBody7429611194072311245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_38_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/27/edf4da03ad804b31da04299c14eef0bd.jpg","text":"TemporaryFile(/tmp/multipartBody2092729221642540609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_42_3347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cae028215e59b7d413d38021d2cc43e8.jpg","text":"TemporaryFile(/tmp/multipartBody4606060976104577868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_36_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/27/91c5d9998a1fb7d2453b58464173c0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3390202080910151696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_44_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/27/e82a87c53b8629b5542783b95114df21.jpg","text":"TemporaryFile(/tmp/multipartBody2134873073457329037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213153851,"filename":"image_21112025_19_17_26_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351247","file1":"1396351245","file0":"1396351243","file4":"1396351253","file5":"1396351255","file3":"1396351250"},"map_files_photo_id_array":[{"photo_id":"1396351255","filename":"file5"},{"photo_id":"1396351247","filename":"file2"},{"photo_id":"1396351253","filename":"file4"},{"photo_id":"1396351245","filename":"file1"},{"photo_id":"1396351243","filename":"file0"},{"photo_id":"1396351250","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351245":["hashtag1","hashtag2"]},{"1396351250":["hashtag1","hashtag2"]},{"1396351253":["hashtag1","hashtag2"]},{"1396351247":["hashtag1","hashtag2"]},{"1396351255":["hashtag1","hashtag2"]},{"1396351243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351245, 1396351250, 1396351253, 1396351247, 1396351255, 1396351243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03249406814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:12:11.999456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_48_3587.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_51_2685.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_53_2647.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_57_3703.jpg', '/home/pi/Desktop/images/21112025/19/17/image_21112025_19_18_00_2666.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_02_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_48_3587.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_51_2685.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_53_2647.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_17_57_3703.jpg
/home/pi/Desktop/images/21112025/19/17/image_21112025_19_18_00_2666.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_02_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351260","1396351263","1396351262","1396351265","1396351259","1396351268"],"photo_ids_order":["1396351259","1396351260","1396351262","1396351263","1396351265","1396351268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb2e47a5ddd08ca2a1c6e12dcaa22cab.jpg","text":"TemporaryFile(/tmp/multipartBody5445233064855532758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_17_51_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/27/575ac844dca09e7831233d8064e3a34d.jpg","text":"TemporaryFile(/tmp/multipartBody6222435266448102205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_17_57_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/27/12d0c59a39d4ab31bb1855d0630fc32e.jpg","text":"TemporaryFile(/tmp/multipartBody6328894037573197127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_17_53_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/27/8881825ae27282aecab98ac2ecc54ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6141955143659844254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_18_00_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/27/ddb7a084e4ba9671c196192777175f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5408166259860987317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_17_48_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/27/4178d3541c53b2e78f80772bbd39b7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3830048106745915743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213193770,"filename":"image_21112025_19_18_02_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351262","file1":"1396351260","file0":"1396351259","file4":"1396351265","file5":"1396351268","file3":"1396351263"},"map_files_photo_id_array":[{"photo_id":"1396351268","filename":"file5"},{"photo_id":"1396351262","filename":"file2"},{"photo_id":"1396351265","filename":"file4"},{"photo_id":"1396351260","filename":"file1"},{"photo_id":"1396351259","filename":"file0"},{"photo_id":"1396351263","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351260":["hashtag1","hashtag2"]},{"1396351263":["hashtag1","hashtag2"]},{"1396351262":["hashtag1","hashtag2"]},{"1396351265":["hashtag1","hashtag2"]},{"1396351259":["hashtag1","hashtag2"]},{"1396351268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351260, 1396351263, 1396351262, 1396351265, 1396351259, 1396351268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49921751022339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:13:02.775970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/09/image_27112025_04_09_34_9723.jpg', '/home/pi/Desktop/images/27112025/04/10/image_27112025_04_10_14_9824.jpg', '/home/pi/Desktop/images/27112025/04/10/image_27112025_04_10_24_9812.jpg', '/home/pi/Desktop/images/27112025/04/11/image_27112025_04_11_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/09/image_27112025_04_09_34_9723.jpg
/home/pi/Desktop/images/27112025/04/10/image_27112025_04_10_14_9824.jpg
/home/pi/Desktop/images/27112025/04/10/image_27112025_04_10_24_9812.jpg
/home/pi/Desktop/images/27112025/04/11/image_27112025_04_11_14_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351298","1396351301","1396351300","1396351299"],"photo_ids_order":["1396351298","1396351299","1396351300","1396351301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5184abffaa366ccb9a44c1be9c98428.jpg","text":"TemporaryFile(/tmp/multipartBody1875115307623800850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213243518,"filename":"image_27112025_04_09_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2d8aa4a118247ee495a5d0e10a97f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5632299671813432967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213243518,"filename":"image_27112025_04_11_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d000b839e8cd09bb99722c1328cc4ed.jpg","text":"TemporaryFile(/tmp/multipartBody162722624452782604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213243518,"filename":"image_27112025_04_10_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/827938a0af33d3f59a6d918aa8bf480f.jpg","text":"TemporaryFile(/tmp/multipartBody5640938115340942119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213243518,"filename":"image_27112025_04_10_14_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351300","file1":"1396351299","file0":"1396351298","file3":"1396351301"},"map_files_photo_id_array":[{"photo_id":"1396351300","filename":"file2"},{"photo_id":"1396351299","filename":"file1"},{"photo_id":"1396351298","filename":"file0"},{"photo_id":"1396351301","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351298":["hashtag1","hashtag2"]},{"1396351301":["hashtag1","hashtag2"]},{"1396351300":["hashtag1","hashtag2"]},{"1396351299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351298, 1396351301, 1396351300, 1396351299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.894724130630493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:13:32.166166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_06_3611.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_09_2662.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_11_2641.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_15_3607.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_18_2973.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_20_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_06_3611.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_09_2662.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_11_2641.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_15_3607.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_18_2973.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_20_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":["1396351317","1396351311","1396351313","1396351319","1396351321","1396351309"],"photo_ids_order":["1396351309","1396351311","1396351313","1396351317","1396351319","1396351321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0323d2f1c3577ed7a2c4e8f6b8929aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8865280312497927225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_15_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/27/ee96d9c7c976d9c6a490e295db329ab6.jpg","text":"TemporaryFile(/tmp/multipartBody584278806211326416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_09_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/27/c3d84ef9602a22f9dddc3a9e2b17212d.jpg","text":"TemporaryFile(/tmp/multipartBody4983855280532597359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_11_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/27/28fec8fbcf3d082ac6caba80a8558e58.jpg","text":"TemporaryFile(/tmp/multipartBody8204022333360779263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_18_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/27/4064123fd0061dc010146710643dfe71.jpg","text":"TemporaryFile(/tmp/multipartBody7475096680535250924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_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/27/1d0537037c13c261fdf87790f1b0128e.jpg","text":"TemporaryFile(/tmp/multipartBody3417976994013246690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213274030,"filename":"image_21112025_19_18_06_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351313","file1":"1396351311","file0":"1396351309","file4":"1396351319","file5":"1396351321","file3":"1396351317"},"map_files_photo_id_array":[{"photo_id":"1396351321","filename":"file5"},{"photo_id":"1396351313","filename":"file2"},{"photo_id":"1396351319","filename":"file4"},{"photo_id":"1396351311","filename":"file1"},{"photo_id":"1396351309","filename":"file0"},{"photo_id":"1396351317","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351317":["hashtag1","hashtag2"]},{"1396351311":["hashtag1","hashtag2"]},{"1396351313":["hashtag1","hashtag2"]},{"1396351319":["hashtag1","hashtag2"]},{"1396351321":["hashtag1","hashtag2"]},{"1396351309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351317, 1396351311, 1396351313, 1396351319, 1396351321, 1396351309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.745492935180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:14:12.363062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_24_3649.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_27_2630.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_29_2607.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_33_3287.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_35_2695.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_41_5472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_24_3649.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_27_2630.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_29_2607.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_33_3287.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_35_2695.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_41_5472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351332","1396351334","1396351337","1396351330","1396351324","1396351327"],"photo_ids_order":["1396351324","1396351327","1396351330","1396351332","1396351334","1396351337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/098a80bc6e8e5f8e2d251ed969a9a586.jpg","text":"TemporaryFile(/tmp/multipartBody5610201184912807692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_33_3287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df54e0cb7d5cdc9a7ca1b9e8bfc5924f.jpg","text":"TemporaryFile(/tmp/multipartBody4726013937272749810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_35_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/27/08793a119354281da0a9a85e7821d10f.jpg","text":"TemporaryFile(/tmp/multipartBody6421158069970706091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_41_5472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a80c9b47b441185750147159bc45b02.jpg","text":"TemporaryFile(/tmp/multipartBody925551616903196074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_29_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/27/458591e57aad00906ecd638d82464fe3.jpg","text":"TemporaryFile(/tmp/multipartBody779272918150748364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_24_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/27/5faa0f470035aa9b61d7eae9620069f9.jpg","text":"TemporaryFile(/tmp/multipartBody2194457670769728890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213314127,"filename":"image_21112025_19_18_27_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351330","file1":"1396351327","file0":"1396351324","file4":"1396351334","file5":"1396351337","file3":"1396351332"},"map_files_photo_id_array":[{"photo_id":"1396351337","filename":"file5"},{"photo_id":"1396351330","filename":"file2"},{"photo_id":"1396351334","filename":"file4"},{"photo_id":"1396351327","filename":"file1"},{"photo_id":"1396351324","filename":"file0"},{"photo_id":"1396351332","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351332":["hashtag1","hashtag2"]},{"1396351334":["hashtag1","hashtag2"]},{"1396351337":["hashtag1","hashtag2"]},{"1396351330":["hashtag1","hashtag2"]},{"1396351324":["hashtag1","hashtag2"]},{"1396351327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351332, 1396351334, 1396351337, 1396351330, 1396351324, 1396351327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.598764419555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:15:03.371330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/11/image_27112025_04_11_54_9624.jpg', '/home/pi/Desktop/images/27112025/04/12/image_27112025_04_13_04_9616.jpg', '/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_15_10653.jpg', '/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_24_9742.jpg', '/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_34_9661.jpg', '/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_45_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/11/image_27112025_04_11_54_9624.jpg
/home/pi/Desktop/images/27112025/04/12/image_27112025_04_13_04_9616.jpg
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_15_10653.jpg
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_24_9742.jpg
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_34_9661.jpg
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_45_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396351368","1396351362","1396351372","1396351360","1396351357","1396351365"],"photo_ids_order":["1396351357","1396351360","1396351362","1396351365","1396351368","1396351372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dacb408548e69ed7c3a6d9ee02dd5ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6321827904233169949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_13_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98adbd53234e2c94a11c24d518f2c38b.jpg","text":"TemporaryFile(/tmp/multipartBody4992479509091406855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_13_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c839236d11a8a3d6d6d03a1166590c63.jpg","text":"TemporaryFile(/tmp/multipartBody9219223843871421338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_13_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/066a792417c404da1af3da9babd13127.jpg","text":"TemporaryFile(/tmp/multipartBody5978353796372485227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_13_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fce11fab6a90e284a2f264be42d2e133.jpg","text":"TemporaryFile(/tmp/multipartBody7042473727046159368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_11_54_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/27/6391cc01320d58b3dff40d5ae74b5464.jpg","text":"TemporaryFile(/tmp/multipartBody3495868698689483542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213364226,"filename":"image_27112025_04_13_24_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351362","file1":"1396351360","file0":"1396351357","file4":"1396351368","file5":"1396351372","file3":"1396351365"},"map_files_photo_id_array":[{"photo_id":"1396351372","filename":"file5"},{"photo_id":"1396351362","filename":"file2"},{"photo_id":"1396351368","filename":"file4"},{"photo_id":"1396351360","filename":"file1"},{"photo_id":"1396351357","filename":"file0"},{"photo_id":"1396351365","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351368":["hashtag1","hashtag2"]},{"1396351362":["hashtag1","hashtag2"]},{"1396351372":["hashtag1","hashtag2"]},{"1396351360":["hashtag1","hashtag2"]},{"1396351357":["hashtag1","hashtag2"]},{"1396351365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351368, 1396351362, 1396351372, 1396351360, 1396351357, 1396351365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68093180656433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:16:02.391611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_55_9821.jpg', '/home/pi/Desktop/images/27112025/04/13/image_27112025_04_14_04_9615.jpg', '/home/pi/Desktop/images/27112025/04/14/image_27112025_04_14_14_9687.jpg', '/home/pi/Desktop/images/27112025/04/14/image_27112025_04_14_34_9790.jpg', '/home/pi/Desktop/images/27112025/04/15/image_27112025_04_15_14_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_13_55_9821.jpg
/home/pi/Desktop/images/27112025/04/13/image_27112025_04_14_04_9615.jpg
/home/pi/Desktop/images/27112025/04/14/image_27112025_04_14_14_9687.jpg
/home/pi/Desktop/images/27112025/04/14/image_27112025_04_14_34_9790.jpg
/home/pi/Desktop/images/27112025/04/15/image_27112025_04_15_14_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351389","1396351404","1396351388","1396351391","1396351387"],"photo_ids_order":["1396351387","1396351388","1396351389","1396351391","1396351404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ecc1e7b7e9dfbcb715485e718bb6a264.jpg","text":"TemporaryFile(/tmp/multipartBody5602929077888924491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213425692,"filename":"image_27112025_04_14_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6b389ca35bb174287f8e2f5e45fb49d.jpg","text":"TemporaryFile(/tmp/multipartBody7861120175483975720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213425692,"filename":"image_27112025_04_15_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc914d9c14efd4a88ce37ec19afe5b05.jpg","text":"TemporaryFile(/tmp/multipartBody1289974491085367043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213425692,"filename":"image_27112025_04_14_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d4c6a8e3bec407c319d4fd4e4d81895.jpg","text":"TemporaryFile(/tmp/multipartBody7146748936560793656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213425692,"filename":"image_27112025_04_14_34_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e573171eb1424e39f7b4f25cb05c8750.jpg","text":"TemporaryFile(/tmp/multipartBody2809602503048056388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213425692,"filename":"image_27112025_04_13_55_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351389","file1":"1396351388","file0":"1396351387","file4":"1396351404","file3":"1396351391"},"map_files_photo_id_array":[{"photo_id":"1396351389","filename":"file2"},{"photo_id":"1396351404","filename":"file4"},{"photo_id":"1396351388","filename":"file1"},{"photo_id":"1396351387","filename":"file0"},{"photo_id":"1396351391","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351389":["hashtag1","hashtag2"]},{"1396351404":["hashtag1","hashtag2"]},{"1396351388":["hashtag1","hashtag2"]},{"1396351391":["hashtag1","hashtag2"]},{"1396351387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351389, 1396351404, 1396351388, 1396351391, 1396351387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.55764102935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:16:41.871983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/34/image_30102025_21_34_44_3787.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_47_2562.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_49_2782.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_53_3723.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_56_2940.jpg', '/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_59_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/21/34/image_30102025_21_34_44_3787.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_47_2562.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_49_2782.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_53_3723.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_56_2940.jpg
/home/pi/Desktop/images/30102025/21/34/image_30102025_21_34_59_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":["1396351461","1396351487","1396351465","1396351480","1396351474","1396351468"],"photo_ids_order":["1396351461","1396351465","1396351468","1396351474","1396351480","1396351487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d199f67a7135cc7c1eff76ff616739a3.jpg","text":"TemporaryFile(/tmp/multipartBody4315091677953578374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_44_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/27/cb8d4f8349c47857752cf9332afab26a.jpg","text":"TemporaryFile(/tmp/multipartBody1114149650349697040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_59_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/27/0f3aee106b123efe543f373038972fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4974945354462870215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_47_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/27/d01635a53a2500b1eaa2a37b9d157c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4344983698442271111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_56_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/27/d489a0b0172e74c3114a31970d5f3e20.jpg","text":"TemporaryFile(/tmp/multipartBody1321181110845242325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_53_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/27/dc159bdedf2a685bd6881a35823bc236.jpg","text":"TemporaryFile(/tmp/multipartBody3338774229530746756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213463141,"filename":"image_30102025_21_34_49_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351468","file1":"1396351465","file0":"1396351461","file4":"1396351480","file5":"1396351487","file3":"1396351474"},"map_files_photo_id_array":[{"photo_id":"1396351487","filename":"file5"},{"photo_id":"1396351468","filename":"file2"},{"photo_id":"1396351480","filename":"file4"},{"photo_id":"1396351465","filename":"file1"},{"photo_id":"1396351461","filename":"file0"},{"photo_id":"1396351474","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351461":["hashtag1","hashtag2"]},{"1396351487":["hashtag1","hashtag2"]},{"1396351465":["hashtag1","hashtag2"]},{"1396351480":["hashtag1","hashtag2"]},{"1396351474":["hashtag1","hashtag2"]},{"1396351468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351461, 1396351487, 1396351465, 1396351480, 1396351474, 1396351468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55548048019409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:17:22.041490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/15/image_27112025_04_15_44_9644.jpg', '/home/pi/Desktop/images/27112025/04/16/image_27112025_04_16_14_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/15/image_27112025_04_15_44_9644.jpg
/home/pi/Desktop/images/27112025/04/16/image_27112025_04_16_14_9741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351494","1396351497"],"photo_ids_order":["1396351494","1396351497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/022d5fd53224800d30edce71cd4a5a11.jpg","text":"TemporaryFile(/tmp/multipartBody1094912946725683797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213502591,"filename":"image_27112025_04_15_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49c09c7b1ccf4f862a9197576cd86a10.jpg","text":"TemporaryFile(/tmp/multipartBody5387728455532546937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213502591,"filename":"image_27112025_04_16_14_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396351497","file0":"1396351494"},"map_files_photo_id_array":[{"photo_id":"1396351497","filename":"file1"},{"photo_id":"1396351494","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351494":["hashtag1","hashtag2"]},{"1396351497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351494, 1396351497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.22387933731079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:17:42.040857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/35/image_30102025_21_35_19_1600.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_20_1717.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_23_2833.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_27_1657.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_29_2134.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_31_1841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_19_1600.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_20_1717.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_23_2833.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_27_1657.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_29_2134.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_31_1841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351512","1396351506","1396351514","1396351508","1396351510","1396351504"],"photo_ids_order":["1396351504","1396351506","1396351508","1396351510","1396351512","1396351514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f17de57abf2e0381e121209200cd59d.jpg","text":"TemporaryFile(/tmp/multipartBody1700292289013053099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_29_2134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/798928c1a5ecc8513651a6f91506ab24.jpg","text":"TemporaryFile(/tmp/multipartBody9064530399693315411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_20_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/27/1176966a0ae294de9b6afe900c489df0.jpg","text":"TemporaryFile(/tmp/multipartBody6535478299572454119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_31_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/27/c646176b29fe1609d2d7bc4a06ce3498.jpg","text":"TemporaryFile(/tmp/multipartBody3615070199031084700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_23_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/27/d7f64a5a818e7a23ed293c1a40287eaa.jpg","text":"TemporaryFile(/tmp/multipartBody518563497349980944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_27_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/27/a7eaabd7a9afe5d7da9eeab06ecce499.jpg","text":"TemporaryFile(/tmp/multipartBody9044949721481978131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213523240,"filename":"image_30102025_21_35_19_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351508","file1":"1396351506","file0":"1396351504","file4":"1396351512","file5":"1396351514","file3":"1396351510"},"map_files_photo_id_array":[{"photo_id":"1396351514","filename":"file5"},{"photo_id":"1396351508","filename":"file2"},{"photo_id":"1396351512","filename":"file4"},{"photo_id":"1396351506","filename":"file1"},{"photo_id":"1396351504","filename":"file0"},{"photo_id":"1396351510","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351512":["hashtag1","hashtag2"]},{"1396351506":["hashtag1","hashtag2"]},{"1396351514":["hashtag1","hashtag2"]},{"1396351508":["hashtag1","hashtag2"]},{"1396351510":["hashtag1","hashtag2"]},{"1396351504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351512, 1396351506, 1396351514, 1396351508, 1396351510, 1396351504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87966799736023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:18:22.335889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/16/image_27112025_04_16_24_9734.jpg', '/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_14_9751.jpg', '/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_25_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/16/image_27112025_04_16_24_9734.jpg
/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_14_9751.jpg
/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_25_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351523","1396351520","1396351517"],"photo_ids_order":["1396351517","1396351520","1396351523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2865ce51b9490692fdfe1c76b4b111db.jpg","text":"TemporaryFile(/tmp/multipartBody3016838905136127392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213562974,"filename":"image_27112025_04_17_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33df9683da48c961126b55a86a67dd41.jpg","text":"TemporaryFile(/tmp/multipartBody2094951823550474100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213562974,"filename":"image_27112025_04_17_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03a746f79a6e04dc32fb045dfecd45b6.jpg","text":"TemporaryFile(/tmp/multipartBody2381935661120084005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213562974,"filename":"image_27112025_04_16_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351523","file1":"1396351520","file0":"1396351517"},"map_files_photo_id_array":[{"photo_id":"1396351523","filename":"file2"},{"photo_id":"1396351520","filename":"file1"},{"photo_id":"1396351517","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351523":["hashtag1","hashtag2"]},{"1396351520":["hashtag1","hashtag2"]},{"1396351517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351523, 1396351520, 1396351517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.89007568359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:19:03.331774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_42_1684.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_45_2614.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_48_2507.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_50_2659.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_54_3774.jpg', '/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_57_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_42_1684.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_45_2614.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_48_2507.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_50_2659.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_54_3774.jpg
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_18_57_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351539","1396351542","1396351536","1396351556","1396351535","1396351537"],"photo_ids_order":["1396351535","1396351536","1396351537","1396351539","1396351542","1396351556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75f5e7e32bc47e8a246cd46fbb5ad2a2.jpg","text":"TemporaryFile(/tmp/multipartBody8034489410876274990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_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/27/a8c11634905c7460aa92031b96debf19.jpg","text":"TemporaryFile(/tmp/multipartBody8329162728873001246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_54_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/27/d9517380e485d53cfbfac19c646c109e.jpg","text":"TemporaryFile(/tmp/multipartBody1741681154126600546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_45_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/27/ee5541d7e6a81ebf6f554e3c0c1dbb37.jpg","text":"TemporaryFile(/tmp/multipartBody3597174221091530619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_57_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/27/ee78b4c7edf39794182d0ee72e9a9f84.jpg","text":"TemporaryFile(/tmp/multipartBody7757930971136293240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_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/27/739b3bc73ce2167eb9ac00edaabe4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5875713488954279873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213604765,"filename":"image_21112025_19_18_48_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351537","file1":"1396351536","file0":"1396351535","file4":"1396351542","file5":"1396351556","file3":"1396351539"},"map_files_photo_id_array":[{"photo_id":"1396351556","filename":"file5"},{"photo_id":"1396351537","filename":"file2"},{"photo_id":"1396351542","filename":"file4"},{"photo_id":"1396351536","filename":"file1"},{"photo_id":"1396351535","filename":"file0"},{"photo_id":"1396351539","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351539":["hashtag1","hashtag2"]},{"1396351542":["hashtag1","hashtag2"]},{"1396351536":["hashtag1","hashtag2"]},{"1396351556":["hashtag1","hashtag2"]},{"1396351535":["hashtag1","hashtag2"]},{"1396351537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351539, 1396351542, 1396351536, 1396351556, 1396351535, 1396351537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07901382446289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:19:42.462395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/35/image_30102025_21_35_35_3916.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_41_4369.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_42_1792.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_47_2593.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_49_2671.jpg', '/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_56_7315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_35_3916.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_41_4369.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_42_1792.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_47_2593.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_49_2671.jpg
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_56_7315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351583","1396351577","1396351585","1396351579","1396351581","1396351575"],"photo_ids_order":["1396351575","1396351577","1396351579","1396351581","1396351583","1396351585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/993a57619ada6a8ab66f71b322924cb3.jpg","text":"TemporaryFile(/tmp/multipartBody2382472178561985422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_49_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/27/78d5c6984dea31a6784a21df6f6e7ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8964399711103401243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_41_4369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1fd31f37c7604774753b0f3756a71d6d.jpg","text":"TemporaryFile(/tmp/multipartBody840392430807273526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_56_7315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/316a5f7d6054f88b5692dc3cd060a09f.jpg","text":"TemporaryFile(/tmp/multipartBody3665258459647550095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_42_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29655dd40f104162540a3641372ae074.jpg","text":"TemporaryFile(/tmp/multipartBody1057884236638470303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_47_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/27/2ab5647f2162bad9329f120a384650a5.jpg","text":"TemporaryFile(/tmp/multipartBody1868400651651035136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213643715,"filename":"image_30102025_21_35_35_3916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351579","file1":"1396351577","file0":"1396351575","file4":"1396351583","file5":"1396351585","file3":"1396351581"},"map_files_photo_id_array":[{"photo_id":"1396351585","filename":"file5"},{"photo_id":"1396351579","filename":"file2"},{"photo_id":"1396351583","filename":"file4"},{"photo_id":"1396351577","filename":"file1"},{"photo_id":"1396351575","filename":"file0"},{"photo_id":"1396351581","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351583":["hashtag1","hashtag2"]},{"1396351577":["hashtag1","hashtag2"]},{"1396351585":["hashtag1","hashtag2"]},{"1396351579":["hashtag1","hashtag2"]},{"1396351581":["hashtag1","hashtag2"]},{"1396351575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351583, 1396351577, 1396351585, 1396351579, 1396351581, 1396351575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81758713722229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:20:22.633874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_34_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/17/image_27112025_04_17_34_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351587"],"photo_id":"1396351587","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc7b385efb4f02575911a2781efcaaf4.jpg","text":"TemporaryFile(/tmp/multipartBody8022284241067110009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213683176,"filename":"image_27112025_04_17_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396351587"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396351587"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.926037549972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:20:42.726283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/35/image_30102025_21_35_58_1616.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_08_8326.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_11_2923.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_13_1607.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_16_3594.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_20_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/35/image_30102025_21_35_58_1616.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_08_8326.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_11_2923.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_13_1607.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_16_3594.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_20_3639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351614","1396351610","1396351627","1396351618","1396351612","1396351599"],"photo_ids_order":["1396351599","1396351610","1396351612","1396351614","1396351618","1396351627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02f8c7791c93f02ec787a7c4d51fe55d.jpg","text":"TemporaryFile(/tmp/multipartBody2269364436645753820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_36_13_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75ce8a364ff56b11f4e5fcddf2fb2e68.jpg","text":"TemporaryFile(/tmp/multipartBody8890495951170927485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_36_08_8326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84f3493d060a81856cbe65c4e684f424.jpg","text":"TemporaryFile(/tmp/multipartBody8085689077538904211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_36_20_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/27/58102ee1a88d64f93bfbddc7810a180d.jpg","text":"TemporaryFile(/tmp/multipartBody5412260402139956245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_36_16_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/27/237a9a3df6306206143faeeccd8cced5.jpg","text":"TemporaryFile(/tmp/multipartBody6900114059222850931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_36_11_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/27/5e3d42d4f2c1e93fa3efa7d1e744b4fc.jpg","text":"TemporaryFile(/tmp/multipartBody840988542818978696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213703979,"filename":"image_30102025_21_35_58_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351612","file1":"1396351610","file0":"1396351599","file4":"1396351618","file5":"1396351627","file3":"1396351614"},"map_files_photo_id_array":[{"photo_id":"1396351627","filename":"file5"},{"photo_id":"1396351612","filename":"file2"},{"photo_id":"1396351618","filename":"file4"},{"photo_id":"1396351610","filename":"file1"},{"photo_id":"1396351599","filename":"file0"},{"photo_id":"1396351614","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351614":["hashtag1","hashtag2"]},{"1396351610":["hashtag1","hashtag2"]},{"1396351627":["hashtag1","hashtag2"]},{"1396351618":["hashtag1","hashtag2"]},{"1396351612":["hashtag1","hashtag2"]},{"1396351599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351614, 1396351610, 1396351627, 1396351618, 1396351612, 1396351599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25762701034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:21:21.921169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/18/image_21112025_19_19_00_2604.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_03_3986.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_06_2580.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_08_2264.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_12_3184.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_14_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/18/image_21112025_19_19_00_2604.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_03_3986.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_06_2580.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_08_2264.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_12_3184.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_14_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":["1396351638","1396351647","1396351632","1396351641","1396351635","1396351643"],"photo_ids_order":["1396351632","1396351635","1396351638","1396351641","1396351643","1396351647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e02c62d049cc8cf2b92d91c705ddc31e.jpg","text":"TemporaryFile(/tmp/multipartBody1636992858904980524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_06_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/27/5f4aab2d33d4f6b2b04c00b0f7d75258.jpg","text":"TemporaryFile(/tmp/multipartBody252059346610220912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_14_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/27/21cf2c9b224d100ab16d88473c88781c.jpg","text":"TemporaryFile(/tmp/multipartBody3345569260769952170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_00_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/27/54b57256ff2b34de82d15f8311014be9.jpg","text":"TemporaryFile(/tmp/multipartBody4857606961632344235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_08_2264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c210d76f32db18911e232a1c3ac99401.jpg","text":"TemporaryFile(/tmp/multipartBody9136538791351126895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_03_3986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/635e962c3e4bb12fe0c67591f840b1fb.jpg","text":"TemporaryFile(/tmp/multipartBody6917927508366312788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213743772,"filename":"image_21112025_19_19_12_3184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351638","file1":"1396351635","file0":"1396351632","file4":"1396351643","file5":"1396351647","file3":"1396351641"},"map_files_photo_id_array":[{"photo_id":"1396351647","filename":"file5"},{"photo_id":"1396351638","filename":"file2"},{"photo_id":"1396351643","filename":"file4"},{"photo_id":"1396351635","filename":"file1"},{"photo_id":"1396351632","filename":"file0"},{"photo_id":"1396351641","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351638":["hashtag1","hashtag2"]},{"1396351647":["hashtag1","hashtag2"]},{"1396351632":["hashtag1","hashtag2"]},{"1396351641":["hashtag1","hashtag2"]},{"1396351635":["hashtag1","hashtag2"]},{"1396351643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351638, 1396351647, 1396351632, 1396351641, 1396351635, 1396351643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.583532094955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:22:02.590029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_19_5353.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_28_8643.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_30_1604.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_34_4653.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_36_1943.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_38_1870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_19_5353.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_28_8643.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_30_1604.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_34_4653.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_36_1943.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_38_1870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351659","1396351667","1396351661","1396351663","1396351660","1396351657"],"photo_ids_order":["1396351657","1396351659","1396351660","1396351661","1396351663","1396351667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/797973735a88d27e9fbe2d46526e6e14.jpg","text":"TemporaryFile(/tmp/multipartBody5908749387781705893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_28_8643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/163c013945e58227baca9cc3b6f5f164.jpg","text":"TemporaryFile(/tmp/multipartBody2836706495158518568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_38_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e024657221f1419224591f83516d27d0.jpg","text":"TemporaryFile(/tmp/multipartBody7096141735763379577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_34_4653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d3d68a62895ab54561e8dc5c67d64e5.jpg","text":"TemporaryFile(/tmp/multipartBody8606956147334445641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_36_1943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1319e0870f7f981c07e08e6e9b442c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6790915931111353773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_30_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/27/3b715152d9d317a426be0823e7ce105b.jpg","text":"TemporaryFile(/tmp/multipartBody1495205154509966941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213783790,"filename":"image_21112025_19_19_19_5353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351660","file1":"1396351659","file0":"1396351657","file4":"1396351663","file5":"1396351667","file3":"1396351661"},"map_files_photo_id_array":[{"photo_id":"1396351667","filename":"file5"},{"photo_id":"1396351660","filename":"file2"},{"photo_id":"1396351663","filename":"file4"},{"photo_id":"1396351659","filename":"file1"},{"photo_id":"1396351657","filename":"file0"},{"photo_id":"1396351661","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351659":["hashtag1","hashtag2"]},{"1396351667":["hashtag1","hashtag2"]},{"1396351661":["hashtag1","hashtag2"]},{"1396351663":["hashtag1","hashtag2"]},{"1396351660":["hashtag1","hashtag2"]},{"1396351657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351659, 1396351667, 1396351661, 1396351663, 1396351660, 1396351657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.979312896728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:22:42.046435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/36/image_30102025_21_36_22_1492.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_23_1687.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_25_1782.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_27_1606.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_29_1868.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_32_3205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_22_1492.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_23_1687.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_25_1782.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_27_1606.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_29_1868.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_32_3205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351686","1396351691","1396351679","1396351688","1396351681","1396351684"],"photo_ids_order":["1396351679","1396351681","1396351684","1396351686","1396351688","1396351691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd066ce60182f214420112208147e90f.jpg","text":"TemporaryFile(/tmp/multipartBody2043214782776257527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_27_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/27/1f9352d0305bce23b63fddacede5b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5328555649535669086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_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/27/a327e60fc3bd7bf7ff119db7a08a85c2.jpg","text":"TemporaryFile(/tmp/multipartBody4840243857054489847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_22_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/27/735d981e56253a5132aede82fb2bdf17.jpg","text":"TemporaryFile(/tmp/multipartBody747568267499491079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_29_1868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d35df09656c9900649eca9aa2a9dc89.jpg","text":"TemporaryFile(/tmp/multipartBody2987021704254524893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_23_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/27/bca3234b5f5a1c020557ee1ec53eab55.jpg","text":"TemporaryFile(/tmp/multipartBody2189781427610463789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213823311,"filename":"image_30102025_21_36_25_1782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351684","file1":"1396351681","file0":"1396351679","file4":"1396351688","file5":"1396351691","file3":"1396351686"},"map_files_photo_id_array":[{"photo_id":"1396351691","filename":"file5"},{"photo_id":"1396351684","filename":"file2"},{"photo_id":"1396351688","filename":"file4"},{"photo_id":"1396351681","filename":"file1"},{"photo_id":"1396351679","filename":"file0"},{"photo_id":"1396351686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351686":["hashtag1","hashtag2"]},{"1396351691":["hashtag1","hashtag2"]},{"1396351679":["hashtag1","hashtag2"]},{"1396351688":["hashtag1","hashtag2"]},{"1396351681":["hashtag1","hashtag2"]},{"1396351684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351686, 1396351691, 1396351679, 1396351688, 1396351681, 1396351684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.903501987457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:23:22.257631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/20/image_27112025_04_20_54_9726.jpg', '/home/pi/Desktop/images/27112025/04/21/image_27112025_04_22_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/20/image_27112025_04_20_54_9726.jpg
/home/pi/Desktop/images/27112025/04/21/image_27112025_04_22_04_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351703","1396351699"],"photo_ids_order":["1396351699","1396351703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d820b84be902c47d58101077e10f5ff0.jpg","text":"TemporaryFile(/tmp/multipartBody623475867487630717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213862814,"filename":"image_27112025_04_22_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db9e24d906814754c3c67a036d3ffa17.jpg","text":"TemporaryFile(/tmp/multipartBody1372947293649087585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213862814,"filename":"image_27112025_04_20_54_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396351703","file0":"1396351699"},"map_files_photo_id_array":[{"photo_id":"1396351703","filename":"file1"},{"photo_id":"1396351699","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351703":["hashtag1","hashtag2"]},{"1396351699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351703, 1396351699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.65605068206787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:23:42.215595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/36/image_30102025_21_36_36_3846.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_37_1893.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_40_2626.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_44_3602.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_46_2791.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_49_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_36_3846.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_37_1893.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_40_2626.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_44_3602.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_46_2791.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_49_2890.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2096376419067383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:24:03.103952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_40_1631.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_42_1802.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_43_1776.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_45_1523.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_47_2306.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_53_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_40_1631.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_42_1802.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_43_1776.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_45_1523.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_47_2306.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_53_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396351719","1396351728","1396351722","1396351721","1396351724","1396351720"],"photo_ids_order":["1396351719","1396351720","1396351721","1396351722","1396351724","1396351728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/685f24d718d61612027b33e555e5d65d.jpg","text":"TemporaryFile(/tmp/multipartBody7684915603821835391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_40_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/27/4791405d8e2a23aae0fe26d3ccbd51ca.jpg","text":"TemporaryFile(/tmp/multipartBody2291245997701875445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_53_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/27/518664616685d9221aec46c45b8728e8.jpg","text":"TemporaryFile(/tmp/multipartBody206531947508595647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_45_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/27/a08f818d956b1e317ff054861984b5ca.jpg","text":"TemporaryFile(/tmp/multipartBody378707582063567341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_43_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/27/c07afc163aead2f8636b4a4ddb2ec1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4290928716901601075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_47_2306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/636b11edf06e045c71dff250b05583da.jpg","text":"TemporaryFile(/tmp/multipartBody2500493633303619767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213904345,"filename":"image_21112025_19_19_42_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351721","file1":"1396351720","file0":"1396351719","file4":"1396351724","file5":"1396351728","file3":"1396351722"},"map_files_photo_id_array":[{"photo_id":"1396351728","filename":"file5"},{"photo_id":"1396351721","filename":"file2"},{"photo_id":"1396351724","filename":"file4"},{"photo_id":"1396351720","filename":"file1"},{"photo_id":"1396351719","filename":"file0"},{"photo_id":"1396351722","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351719":["hashtag1","hashtag2"]},{"1396351728":["hashtag1","hashtag2"]},{"1396351722":["hashtag1","hashtag2"]},{"1396351721":["hashtag1","hashtag2"]},{"1396351724":["hashtag1","hashtag2"]},{"1396351720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351719, 1396351728, 1396351722, 1396351721, 1396351724, 1396351720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.69468903541565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:25:03.170036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/22/image_27112025_04_22_24_9702.jpg', '/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_24_9687.jpg', '/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/22/image_27112025_04_22_24_9702.jpg
/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_24_9687.jpg
/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_45_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351751","1396351750","1396351741"],"photo_ids_order":["1396351741","1396351750","1396351751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db78b09c65b5566c063d60d63b347ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1272696542148587839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213963891,"filename":"image_27112025_04_24_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e33e0c42518fb787da01e9f0759c7213.jpg","text":"TemporaryFile(/tmp/multipartBody7194736285152430986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213963891,"filename":"image_27112025_04_24_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/751f3758d5886f74ef3f832939c3ce78.jpg","text":"TemporaryFile(/tmp/multipartBody5968289517440775292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213963891,"filename":"image_27112025_04_22_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351751","file1":"1396351750","file0":"1396351741"},"map_files_photo_id_array":[{"photo_id":"1396351751","filename":"file2"},{"photo_id":"1396351750","filename":"file1"},{"photo_id":"1396351741","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351751":["hashtag1","hashtag2"]},{"1396351750":["hashtag1","hashtag2"]},{"1396351741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351751, 1396351750, 1396351741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.017012119293213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:25:32.491391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_57_3598.jpg', '/home/pi/Desktop/images/21112025/19/19/image_21112025_19_20_00_2779.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_05_2714.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_12_2731.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_15_2949.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_17_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_19_57_3598.jpg
/home/pi/Desktop/images/21112025/19/19/image_21112025_19_20_00_2779.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_05_2714.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_12_2731.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_15_2949.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_17_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351769","1396351762","1396351771","1396351765","1396351759","1396351767"],"photo_ids_order":["1396351759","1396351762","1396351765","1396351767","1396351769","1396351771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83ed5821dc6476f70d5a55da5068c372.jpg","text":"TemporaryFile(/tmp/multipartBody6290058547454700094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_20_15_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d744a19282a6f058cf5fbf04d81cfbd.jpg","text":"TemporaryFile(/tmp/multipartBody6693827716329599915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_20_00_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/27/c6403acdc67671bba25dd10976f4a144.jpg","text":"TemporaryFile(/tmp/multipartBody7075370328526996374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_20_17_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/27/02cca0c9e0f9f2127c211617dfa30d17.jpg","text":"TemporaryFile(/tmp/multipartBody4901827278157310835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_20_05_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/27/52fd6294194f04e4a7e8881b89cab603.jpg","text":"TemporaryFile(/tmp/multipartBody4033853037691420831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_19_57_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/27/0d904292f5eb625af292fb61cc7e81db.jpg","text":"TemporaryFile(/tmp/multipartBody3578803293021300059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764213994240,"filename":"image_21112025_19_20_12_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351765","file1":"1396351762","file0":"1396351759","file4":"1396351769","file5":"1396351771","file3":"1396351767"},"map_files_photo_id_array":[{"photo_id":"1396351771","filename":"file5"},{"photo_id":"1396351765","filename":"file2"},{"photo_id":"1396351769","filename":"file4"},{"photo_id":"1396351762","filename":"file1"},{"photo_id":"1396351759","filename":"file0"},{"photo_id":"1396351767","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351769":["hashtag1","hashtag2"]},{"1396351762":["hashtag1","hashtag2"]},{"1396351771":["hashtag1","hashtag2"]},{"1396351765":["hashtag1","hashtag2"]},{"1396351759":["hashtag1","hashtag2"]},{"1396351767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351769, 1396351762, 1396351771, 1396351765, 1396351759, 1396351767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08381962776184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:26:12.696872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_20_2704.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_26_2655.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_29_2740.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_33_3665.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_35_2653.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_38_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_20_2704.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_26_2655.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_29_2740.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_33_3665.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_35_2653.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_38_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351784","1396351778","1396351781","1396351786","1396351774","1396351776"],"photo_ids_order":["1396351774","1396351776","1396351778","1396351781","1396351784","1396351786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/211d5d0b20ee140dc6134ad1d9ce751c.jpg","text":"TemporaryFile(/tmp/multipartBody7629960375933731111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_35_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/27/873143dd6e2482efaa996280c41cc143.jpg","text":"TemporaryFile(/tmp/multipartBody494196765064698353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_29_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/27/31a6fc12bf5a98484269e91e3e2d03f5.jpg","text":"TemporaryFile(/tmp/multipartBody120794476272762413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_33_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/27/d49e9f6b546032e17d4ae58dcb374ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8211025485396558366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_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/27/2418e981972b97feddc931a1bcd0fdba.jpg","text":"TemporaryFile(/tmp/multipartBody7535025340478704207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_20_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/27/45ce5b49a763bfd1ae6f46cc016c59e3.jpg","text":"TemporaryFile(/tmp/multipartBody2995775309817777107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214034434,"filename":"image_21112025_19_20_26_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351778","file1":"1396351776","file0":"1396351774","file4":"1396351784","file5":"1396351786","file3":"1396351781"},"map_files_photo_id_array":[{"photo_id":"1396351786","filename":"file5"},{"photo_id":"1396351778","filename":"file2"},{"photo_id":"1396351784","filename":"file4"},{"photo_id":"1396351776","filename":"file1"},{"photo_id":"1396351774","filename":"file0"},{"photo_id":"1396351781","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351784":["hashtag1","hashtag2"]},{"1396351778":["hashtag1","hashtag2"]},{"1396351781":["hashtag1","hashtag2"]},{"1396351786":["hashtag1","hashtag2"]},{"1396351774":["hashtag1","hashtag2"]},{"1396351776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351784, 1396351778, 1396351781, 1396351786, 1396351774, 1396351776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742920875549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:27:02.404901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_54_9717.jpg', '/home/pi/Desktop/images/27112025/04/24/image_27112025_04_25_04_9574.jpg', '/home/pi/Desktop/images/27112025/04/25/image_27112025_04_25_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/24/image_27112025_04_24_54_9717.jpg
/home/pi/Desktop/images/27112025/04/24/image_27112025_04_25_04_9574.jpg
/home/pi/Desktop/images/27112025/04/25/image_27112025_04_25_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351799","1396351795","1396351798"],"photo_ids_order":["1396351795","1396351798","1396351799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc22f77c95776907301546be00ef804b.jpg","text":"TemporaryFile(/tmp/multipartBody3495460368263407675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214083098,"filename":"image_27112025_04_25_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c9ef696f636f46b1f60b14b385fd675.jpg","text":"TemporaryFile(/tmp/multipartBody8957725056797436600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214083098,"filename":"image_27112025_04_24_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb2dcf3adf4abdec120ba2161790c351.jpg","text":"TemporaryFile(/tmp/multipartBody2572180755798907154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214083098,"filename":"image_27112025_04_25_04_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351799","file1":"1396351798","file0":"1396351795"},"map_files_photo_id_array":[{"photo_id":"1396351799","filename":"file2"},{"photo_id":"1396351798","filename":"file1"},{"photo_id":"1396351795","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351799":["hashtag1","hashtag2"]},{"1396351795":["hashtag1","hashtag2"]},{"1396351798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351799, 1396351795, 1396351798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.226741313934326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:27:31.779968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_42_3641.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_45_3015.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_47_2808.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_50_2678.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_54_3646.jpg', '/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_57_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_42_3641.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_45_3015.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_47_2808.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_50_2678.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_54_3646.jpg
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_57_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351815","1396351817","1396351808","1396351813","1396351819","1396351810"],"photo_ids_order":["1396351808","1396351810","1396351813","1396351815","1396351817","1396351819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af57abaaed527bc258e317f5057cb312.jpg","text":"TemporaryFile(/tmp/multipartBody5469484604684984372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_50_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/27/252772b5c1b6e078eec06f4d6ba9a086.jpg","text":"TemporaryFile(/tmp/multipartBody364836464994015777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_54_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/27/db76357d41f583fa20abfbd1b5f5334e.jpg","text":"TemporaryFile(/tmp/multipartBody3173675925261508431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_42_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/27/bfc0ae27039980108434c899003fb231.jpg","text":"TemporaryFile(/tmp/multipartBody4650941158101032424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_47_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/27/3776283991c7121a83a512cde5caabb9.jpg","text":"TemporaryFile(/tmp/multipartBody7818388682861852765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_57_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/27/878ebd78c79c5cbc3ac69f071f24bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody3376635416994072942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214115869,"filename":"image_21112025_19_20_45_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351813","file1":"1396351810","file0":"1396351808","file4":"1396351817","file5":"1396351819","file3":"1396351815"},"map_files_photo_id_array":[{"photo_id":"1396351819","filename":"file5"},{"photo_id":"1396351813","filename":"file2"},{"photo_id":"1396351817","filename":"file4"},{"photo_id":"1396351810","filename":"file1"},{"photo_id":"1396351808","filename":"file0"},{"photo_id":"1396351815","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351815":["hashtag1","hashtag2"]},{"1396351817":["hashtag1","hashtag2"]},{"1396351808":["hashtag1","hashtag2"]},{"1396351813":["hashtag1","hashtag2"]},{"1396351819":["hashtag1","hashtag2"]},{"1396351810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351815, 1396351817, 1396351808, 1396351813, 1396351819, 1396351810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54011559486389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:28:17.919075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_59_2899.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_02_2612.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_06_3621.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_08_2677.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_11_2602.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_14_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/20/image_21112025_19_20_59_2899.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_02_2612.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_06_3621.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_08_2677.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_11_2602.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_14_3540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351839","1396351824","1396351827","1396351832","1396351835","1396351837"],"photo_ids_order":["1396351824","1396351827","1396351832","1396351835","1396351837","1396351839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb2fb6b41895dade1e19963b4fea620e.jpg","text":"TemporaryFile(/tmp/multipartBody5469916636494891207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_21_14_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/27/89edb1764241ff1827132f25bb56962a.jpg","text":"TemporaryFile(/tmp/multipartBody817334972884820506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_20_59_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/27/0e535d317b31df1a79fa2aa67f66f87c.jpg","text":"TemporaryFile(/tmp/multipartBody422738391410401761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_21_02_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/27/7597ca19e2e3e3e77d694307d776f155.jpg","text":"TemporaryFile(/tmp/multipartBody1150670103930039678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_21_06_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/27/1852fcc31f4cbf0345f13ecd90228aba.jpg","text":"TemporaryFile(/tmp/multipartBody2786055580547760598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_21_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/27/f59531382493cf2281e83f21a1982a91.jpg","text":"TemporaryFile(/tmp/multipartBody2820136693024566959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214159712,"filename":"image_21112025_19_21_11_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351832","file1":"1396351827","file0":"1396351824","file4":"1396351837","file5":"1396351839","file3":"1396351835"},"map_files_photo_id_array":[{"photo_id":"1396351839","filename":"file5"},{"photo_id":"1396351832","filename":"file2"},{"photo_id":"1396351837","filename":"file4"},{"photo_id":"1396351827","filename":"file1"},{"photo_id":"1396351824","filename":"file0"},{"photo_id":"1396351835","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351839":["hashtag1","hashtag2"]},{"1396351824":["hashtag1","hashtag2"]},{"1396351827":["hashtag1","hashtag2"]},{"1396351832":["hashtag1","hashtag2"]},{"1396351835":["hashtag1","hashtag2"]},{"1396351837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351839, 1396351824, 1396351827, 1396351832, 1396351835, 1396351837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38117980957031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:29:03.211446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/26/image_27112025_04_26_15_10727.jpg', '/home/pi/Desktop/images/27112025/04/26/image_27112025_04_27_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/26/image_27112025_04_26_15_10727.jpg
/home/pi/Desktop/images/27112025/04/26/image_27112025_04_27_04_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351847","1396351846"],"photo_ids_order":["1396351846","1396351847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2edc039b9d0c7eb87a24b8d63fb01660.jpg","text":"TemporaryFile(/tmp/multipartBody4927833841098284403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214203906,"filename":"image_27112025_04_27_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3776ecb49c0e7c6b2a5f7c7249b013e4.jpg","text":"TemporaryFile(/tmp/multipartBody7307026061135654708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214203906,"filename":"image_27112025_04_26_15_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396351847","file0":"1396351846"},"map_files_photo_id_array":[{"photo_id":"1396351847","filename":"file1"},{"photo_id":"1396351846","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351847":["hashtag1","hashtag2"]},{"1396351846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351847, 1396351846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.52392888069153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:29:21.980286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_17_2897.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_20_2611.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_24_3624.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_26_2724.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_30_3560.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_33_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_17_2897.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_20_2611.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_24_3624.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_26_2724.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_30_3560.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_33_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351863","1396351861","1396351858","1396351852","1396351866","1396351854"],"photo_ids_order":["1396351852","1396351854","1396351858","1396351861","1396351863","1396351866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a0359699c949530f342ef83cea2c87a.jpg","text":"TemporaryFile(/tmp/multipartBody5818876385625134451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_30_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/27/6099e73c922227428cfb64ae7bf309b9.jpg","text":"TemporaryFile(/tmp/multipartBody469590786084025935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_26_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/27/2b8019c1c80eeb722222b6fd4d69c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8775807978322671487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_24_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/27/ee9fef0810d90d3f75d26f9f22daac72.jpg","text":"TemporaryFile(/tmp/multipartBody8787669674179808414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_17_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/27/13d1bd0e867d4deafc058a051747297a.jpg","text":"TemporaryFile(/tmp/multipartBody6651875741851084042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_33_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/27/b334d327d9179a625fdb41db1dff74cd.jpg","text":"TemporaryFile(/tmp/multipartBody3079351339710719776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214223744,"filename":"image_21112025_19_21_20_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351858","file1":"1396351854","file0":"1396351852","file4":"1396351863","file5":"1396351866","file3":"1396351861"},"map_files_photo_id_array":[{"photo_id":"1396351866","filename":"file5"},{"photo_id":"1396351858","filename":"file2"},{"photo_id":"1396351863","filename":"file4"},{"photo_id":"1396351854","filename":"file1"},{"photo_id":"1396351852","filename":"file0"},{"photo_id":"1396351861","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351863":["hashtag1","hashtag2"]},{"1396351861":["hashtag1","hashtag2"]},{"1396351858":["hashtag1","hashtag2"]},{"1396351852":["hashtag1","hashtag2"]},{"1396351866":["hashtag1","hashtag2"]},{"1396351854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351863, 1396351861, 1396351858, 1396351852, 1396351866, 1396351854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94096398353577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:30:02.704990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_35_2521.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_39_3610.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_41_2579.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_45_3422.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_48_2883.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_51_3141.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_35_2521.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_39_3610.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_41_2579.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_45_3422.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_48_2883.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_51_3141.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351877","1396351874","1396351876","1396351879","1396351873","1396351875"],"photo_ids_order":["1396351873","1396351874","1396351875","1396351876","1396351877","1396351879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e1991fad8d303ce9cce28df2acd526e.jpg","text":"TemporaryFile(/tmp/multipartBody3243046587169392673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_48_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/27/ddd2596c5e4a9d97266b45460d144208.jpg","text":"TemporaryFile(/tmp/multipartBody4129322395072139826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_39_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/27/e1f74e113933fd4b644fcb3f9ed11a33.jpg","text":"TemporaryFile(/tmp/multipartBody3976544052009463821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_45_3422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4979c796c19ffbe39dd419cde5f97200.jpg","text":"TemporaryFile(/tmp/multipartBody2708575886433599376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_51_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/27/3893eb242acc13600c707f1b34be08cc.jpg","text":"TemporaryFile(/tmp/multipartBody7714316785806572501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_35_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/27/ea1140434191b87a822cf239f0981bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3057549569733773795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214263910,"filename":"image_21112025_19_21_41_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351875","file1":"1396351874","file0":"1396351873","file4":"1396351877","file5":"1396351879","file3":"1396351876"},"map_files_photo_id_array":[{"photo_id":"1396351879","filename":"file5"},{"photo_id":"1396351875","filename":"file2"},{"photo_id":"1396351877","filename":"file4"},{"photo_id":"1396351874","filename":"file1"},{"photo_id":"1396351873","filename":"file0"},{"photo_id":"1396351876","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396351877":["hashtag1","hashtag2"]},{"1396351874":["hashtag1","hashtag2"]},{"1396351876":["hashtag1","hashtag2"]},{"1396351879":["hashtag1","hashtag2"]},{"1396351873":["hashtag1","hashtag2"]},{"1396351875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396351877, 1396351874, 1396351876, 1396351879, 1396351873, 1396351875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82564687728882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:30:42.287079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/36/image_30102025_21_36_36_3846.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_37_1893.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_40_2626.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_44_3602.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_46_2791.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_49_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_36_3846.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_37_1893.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_40_2626.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_44_3602.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_46_2791.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_49_2890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351892","1396351886","1396351949","1396351919","1396351890","1396351903"],"photo_ids_order":["1396351886","1396351890","1396351892","1396351903","1396351919","1396351949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5292596cc1fac350b5f4376d2564e34.jpg","text":"TemporaryFile(/tmp/multipartBody6089529591364392976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_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/27/c9e027dec85987038aeb44b0994626a6.jpg","text":"TemporaryFile(/tmp/multipartBody8429860049845545101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_36_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/27/8400b793590a57190ea9fa4eae8c7d86.jpg","text":"TemporaryFile(/tmp/multipartBody1600655703961994030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_49_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/27/c7b20f17bf23e86e7641e61da05fe79c.jpg","text":"TemporaryFile(/tmp/multipartBody5502389751567829860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_46_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/27/a42385fcc98ae1235345309492a78854.jpg","text":"TemporaryFile(/tmp/multipartBody5914862800117614614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_37_1893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b06347bc92f65e777d64aa9232c21af.jpg","text":"TemporaryFile(/tmp/multipartBody7615548005781052183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214303484,"filename":"image_30102025_21_36_44_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351892","file1":"1396351890","file0":"1396351886","file4":"1396351919","file5":"1396351949","file3":"1396351903"},"map_files_photo_id_array":[{"photo_id":"1396351949","filename":"file5"},{"photo_id":"1396351892","filename":"file2"},{"photo_id":"1396351919","filename":"file4"},{"photo_id":"1396351890","filename":"file1"},{"photo_id":"1396351886","filename":"file0"},{"photo_id":"1396351903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396351892":["hashtag1","hashtag2"]},{"1396351886":["hashtag1","hashtag2"]},{"1396351949":["hashtag1","hashtag2"]},{"1396351919":["hashtag1","hashtag2"]},{"1396351890":["hashtag1","hashtag2"]},{"1396351903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396351892, 1396351886, 1396351949, 1396351919, 1396351890, 1396351903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37733578681946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:31:22.479995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/27/image_27112025_04_27_14_9750.jpg', '/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_08_13092.jpg', '/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_15_6872.jpg', '/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_25_9823.jpg', '/home/pi/Desktop/images/27112025/04/30/image_27112025_04_31_04_9693.jpg', '/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_15_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/27/image_27112025_04_27_14_9750.jpg
/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_08_13092.jpg
/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_15_6872.jpg
/home/pi/Desktop/images/27112025/04/29/image_27112025_04_29_25_9823.jpg
/home/pi/Desktop/images/27112025/04/30/image_27112025_04_31_04_9693.jpg
/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_15_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351970","1396351964","1396351958","1396351973","1396351967","1396351961"],"photo_ids_order":["1396351958","1396351961","1396351964","1396351967","1396351970","1396351973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/351af5d180d85ee1339f39a6fe6f7f60.jpg","text":"TemporaryFile(/tmp/multipartBody8173393942933537711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_31_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83e498a31cce771dfa56b63d19019911.jpg","text":"TemporaryFile(/tmp/multipartBody3255435220961264951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_29_15_6872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb027d9232b352ad13cfecbc043db876.jpg","text":"TemporaryFile(/tmp/multipartBody1160071931506715787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_27_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d43107a964c227225ae3138d5afca60.jpg","text":"TemporaryFile(/tmp/multipartBody132050936201988794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_31_15_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9f276b5f914fcba3ac33cd42c3cd1fe.jpg","text":"TemporaryFile(/tmp/multipartBody4897110428725901192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_29_25_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/edd5e7ccd4fc99b3352796ec08b225a3.jpg","text":"TemporaryFile(/tmp/multipartBody3398218823912726909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214343249,"filename":"image_27112025_04_29_08_13092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351964","file1":"1396351961","file0":"1396351958","file4":"1396351970","file5":"1396351973","file3":"1396351967"},"map_files_photo_id_array":[{"photo_id":"1396351973","filename":"file5"},{"photo_id":"1396351964","filename":"file2"},{"photo_id":"1396351970","filename":"file4"},{"photo_id":"1396351961","filename":"file1"},{"photo_id":"1396351958","filename":"file0"},{"photo_id":"1396351967","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351970":["hashtag1","hashtag2"]},{"1396351964":["hashtag1","hashtag2"]},{"1396351958":["hashtag1","hashtag2"]},{"1396351973":["hashtag1","hashtag2"]},{"1396351967":["hashtag1","hashtag2"]},{"1396351961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351970, 1396351964, 1396351958, 1396351973, 1396351967, 1396351961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62616801261902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:32:03.093343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_24_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_24_9891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351979"],"photo_id":"1396351979","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32f36c1ffffd5136b191007039516574.jpg","text":"TemporaryFile(/tmp/multipartBody463668036285172227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214383666,"filename":"image_27112025_04_31_24_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396351979"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396351979"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.318917274475098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:32:22.596689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_34_9694.jpg', '/home/pi/Desktop/images/27112025/04/31/image_27112025_04_32_04_9688.jpg', '/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_15_10603.jpg', '/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_25_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/31/image_27112025_04_31_34_9694.jpg
/home/pi/Desktop/images/27112025/04/31/image_27112025_04_32_04_9688.jpg
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_15_10603.jpg
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_25_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396351993","1396351983","1396351986","1396351989"],"photo_ids_order":["1396351983","1396351986","1396351989","1396351993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34c6a26698f4662f319c20acbc4916aa.jpg","text":"TemporaryFile(/tmp/multipartBody1861743742810354227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214403277,"filename":"image_27112025_04_32_25_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a81cc32d81c3891ea0b33dd6a4d3bafa.jpg","text":"TemporaryFile(/tmp/multipartBody7452519546738213699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214403277,"filename":"image_27112025_04_31_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c7c600a7291a3e855b177deafec1a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5144819631489581720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214403277,"filename":"image_27112025_04_32_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8233207d6fff80e5f93b4961c92a520c.jpg","text":"TemporaryFile(/tmp/multipartBody1087742915645877249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214403277,"filename":"image_27112025_04_32_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396351989","file1":"1396351986","file0":"1396351983","file3":"1396351993"},"map_files_photo_id_array":[{"photo_id":"1396351989","filename":"file2"},{"photo_id":"1396351986","filename":"file1"},{"photo_id":"1396351983","filename":"file0"},{"photo_id":"1396351993","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396351993":["hashtag1","hashtag2"]},{"1396351983":["hashtag1","hashtag2"]},{"1396351986":["hashtag1","hashtag2"]},{"1396351989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396351993, 1396351983, 1396351986, 1396351989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.897594928741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:33:02.472420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_53_2670.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_56_2687.jpg', '/home/pi/Desktop/images/21112025/19/21/image_21112025_19_22_00_3584.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_02_2634.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_05_2930.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_08_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_53_2670.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_21_56_2687.jpg
/home/pi/Desktop/images/21112025/19/21/image_21112025_19_22_00_3584.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_02_2634.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_05_2930.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_08_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352013","1396352021","1396352015","1396352018","1396352014","1396352016"],"photo_ids_order":["1396352013","1396352014","1396352015","1396352016","1396352018","1396352021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c504f2afc183a6f64f76da3e241d2bde.jpg","text":"TemporaryFile(/tmp/multipartBody2814154194369723824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_21_53_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/27/4045e5cb76175cca1f287ad5869fb3e7.jpg","text":"TemporaryFile(/tmp/multipartBody4763119384891832688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_22_08_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/27/4b62eb19406ed0d1b1df3350003db95b.jpg","text":"TemporaryFile(/tmp/multipartBody7909572342185583696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_22_00_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/27/87f5d2a16978cdfe05560dd28d28dae8.jpg","text":"TemporaryFile(/tmp/multipartBody7148734637339797299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_22_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/27/8127abff81ad7243ecc75280f26263c2.jpg","text":"TemporaryFile(/tmp/multipartBody7654016646240517717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_21_56_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/27/e238a2b5c68b5ddb46da98c4af4d9ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4596594917865052482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214443785,"filename":"image_21112025_19_22_02_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352015","file1":"1396352014","file0":"1396352013","file4":"1396352018","file5":"1396352021","file3":"1396352016"},"map_files_photo_id_array":[{"photo_id":"1396352021","filename":"file5"},{"photo_id":"1396352015","filename":"file2"},{"photo_id":"1396352018","filename":"file4"},{"photo_id":"1396352014","filename":"file1"},{"photo_id":"1396352013","filename":"file0"},{"photo_id":"1396352016","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352013":["hashtag1","hashtag2"]},{"1396352021":["hashtag1","hashtag2"]},{"1396352015":["hashtag1","hashtag2"]},{"1396352018":["hashtag1","hashtag2"]},{"1396352014":["hashtag1","hashtag2"]},{"1396352016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352013, 1396352021, 1396352015, 1396352018, 1396352014, 1396352016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52921962738037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:33:41.839074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/36/image_30102025_21_36_56_2545.jpg', '/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_58_2635.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_02_3759.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_04_2600.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_07_2728.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_10_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_56_2545.jpg
/home/pi/Desktop/images/30102025/21/36/image_30102025_21_36_58_2635.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_02_3759.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_04_2600.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_07_2728.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_10_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352036","1396352038","1396352032","1396352029","1396352040","1396352034"],"photo_ids_order":["1396352029","1396352032","1396352034","1396352036","1396352038","1396352040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7486a5fac72dfe2453afd9b8af9b7dda.jpg","text":"TemporaryFile(/tmp/multipartBody598786281300987486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_37_04_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/27/6a05d20fae593eabcf8437ed8669eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody965356945193555834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_37_07_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/27/6259106f6787db06b904701c3702d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4661326958517340970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_36_58_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/27/28315bbfc613f2c86a9927ff45c81e96.jpg","text":"TemporaryFile(/tmp/multipartBody6849325054013918346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_36_56_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/27/724253a551691a4f0120e08a310714b1.jpg","text":"TemporaryFile(/tmp/multipartBody3876178976002125075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_37_10_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/27/dd9fb54d226fb0dafb099d85a0a5aecc.jpg","text":"TemporaryFile(/tmp/multipartBody5203464594558618852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214483103,"filename":"image_30102025_21_37_02_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352034","file1":"1396352032","file0":"1396352029","file4":"1396352038","file5":"1396352040","file3":"1396352036"},"map_files_photo_id_array":[{"photo_id":"1396352040","filename":"file5"},{"photo_id":"1396352034","filename":"file2"},{"photo_id":"1396352038","filename":"file4"},{"photo_id":"1396352032","filename":"file1"},{"photo_id":"1396352029","filename":"file0"},{"photo_id":"1396352036","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352036":["hashtag1","hashtag2"]},{"1396352038":["hashtag1","hashtag2"]},{"1396352032":["hashtag1","hashtag2"]},{"1396352029":["hashtag1","hashtag2"]},{"1396352040":["hashtag1","hashtag2"]},{"1396352034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352036, 1396352038, 1396352032, 1396352029, 1396352040, 1396352034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34710121154785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:34:22.003982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_55_10535.jpg', '/home/pi/Desktop/images/27112025/04/32/image_27112025_04_33_04_9812.jpg', '/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_14_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_55_10535.jpg
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_33_04_9812.jpg
/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_14_9857.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5052807331085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:34:31.930685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_12_3774.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_14_2712.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_17_2618.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_23_5819.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_24_1565.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_26_1768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_12_3774.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_14_2712.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_17_2618.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_23_5819.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_24_1565.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_26_1768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352063","1396352057","1396352054","1396352050","1396352052","1396352061"],"photo_ids_order":["1396352050","1396352052","1396352054","1396352057","1396352061","1396352063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8393244dd0d566643c21fac5f667b77c.jpg","text":"TemporaryFile(/tmp/multipartBody5686359751479567684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_26_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/27/a93f8b9e49a04f9c147a21b5120ae69c.jpg","text":"TemporaryFile(/tmp/multipartBody428350738477651968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_23_5819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c508908c15d1cb7c02cb24d610ee00d4.jpg","text":"TemporaryFile(/tmp/multipartBody8557279345486997305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_17_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/27/5cc3beca9d1e1d711a4af221ecb9a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8014988928567321274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_12_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/27/8d7a047fdd3cc08e1b0023f3b058c765.jpg","text":"TemporaryFile(/tmp/multipartBody4817949348946072221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_14_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/27/4d53204a1e4a9de800ad49ba46dcb6b5.jpg","text":"TemporaryFile(/tmp/multipartBody1044527170834479329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214533699,"filename":"image_21112025_19_22_24_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352054","file1":"1396352052","file0":"1396352050","file4":"1396352061","file5":"1396352063","file3":"1396352057"},"map_files_photo_id_array":[{"photo_id":"1396352063","filename":"file5"},{"photo_id":"1396352054","filename":"file2"},{"photo_id":"1396352061","filename":"file4"},{"photo_id":"1396352052","filename":"file1"},{"photo_id":"1396352050","filename":"file0"},{"photo_id":"1396352057","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352063":["hashtag1","hashtag2"]},{"1396352057":["hashtag1","hashtag2"]},{"1396352054":["hashtag1","hashtag2"]},{"1396352050":["hashtag1","hashtag2"]},{"1396352052":["hashtag1","hashtag2"]},{"1396352061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352063, 1396352057, 1396352054, 1396352050, 1396352052, 1396352061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01394271850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:35:12.398043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_32_3507.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_35_2689.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_39_3600.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_41_2603.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_44_2774.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_48_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_32_3507.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_35_2689.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_39_3600.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_41_2603.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_44_2774.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_48_3639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352066","1396352068","1396352079","1396352070","1396352073","1396352076"],"photo_ids_order":["1396352066","1396352068","1396352070","1396352073","1396352076","1396352079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fefecc4de583500443e3cf976335c743.jpg","text":"TemporaryFile(/tmp/multipartBody8323247093105359114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_32_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de4839034098a2b0ee93ab715e4a74d8.jpg","text":"TemporaryFile(/tmp/multipartBody4119426630635807713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_35_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/27/69d25ccd06a9de99e9a8306a82154907.jpg","text":"TemporaryFile(/tmp/multipartBody6969542618339717874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_48_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/27/a51ba5393f7ad78469232c1a764304c2.jpg","text":"TemporaryFile(/tmp/multipartBody2616378802826270079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_39_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/27/5f2f771d950ad535baa419ec84ac0580.jpg","text":"TemporaryFile(/tmp/multipartBody5645974761183975337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_41_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/27/d6b153d31222868d599dd82111b776ef.jpg","text":"TemporaryFile(/tmp/multipartBody7136515576694821080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214574151,"filename":"image_21112025_19_22_44_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352070","file1":"1396352068","file0":"1396352066","file4":"1396352076","file5":"1396352079","file3":"1396352073"},"map_files_photo_id_array":[{"photo_id":"1396352079","filename":"file5"},{"photo_id":"1396352070","filename":"file2"},{"photo_id":"1396352076","filename":"file4"},{"photo_id":"1396352068","filename":"file1"},{"photo_id":"1396352066","filename":"file0"},{"photo_id":"1396352073","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352066":["hashtag1","hashtag2"]},{"1396352068":["hashtag1","hashtag2"]},{"1396352079":["hashtag1","hashtag2"]},{"1396352070":["hashtag1","hashtag2"]},{"1396352073":["hashtag1","hashtag2"]},{"1396352076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352066, 1396352068, 1396352079, 1396352070, 1396352073, 1396352076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67965126037598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:36:03.021839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_55_10535.jpg', '/home/pi/Desktop/images/27112025/04/32/image_27112025_04_33_04_9812.jpg', '/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_14_9857.jpg', '/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_35_10768.jpg', '/home/pi/Desktop/images/27112025/04/34/image_27112025_04_34_44_9843.jpg', '/home/pi/Desktop/images/27112025/04/34/image_27112025_04_34_55_10829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_32_55_10535.jpg
/home/pi/Desktop/images/27112025/04/32/image_27112025_04_33_04_9812.jpg
/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_14_9857.jpg
/home/pi/Desktop/images/27112025/04/33/image_27112025_04_33_35_10768.jpg
/home/pi/Desktop/images/27112025/04/34/image_27112025_04_34_44_9843.jpg
/home/pi/Desktop/images/27112025/04/34/image_27112025_04_34_55_10829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352103","1396352099","1396352107","1396352097","1396352091","1396352094"],"photo_ids_order":["1396352091","1396352094","1396352097","1396352099","1396352103","1396352107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03b0019443d2ce10a01efaea810d918f.jpg","text":"TemporaryFile(/tmp/multipartBody2133303905076574407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_34_44_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/27/ca9ff66379e2ede055e2ccf87eb28b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1094796942345573931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_33_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/082c2197fdb0e1b54074ddedd6dedf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6097592003708391801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_34_55_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68f1eca33d4ffdd72540f79e21687c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6203968394961783438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_33_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/567fcd2f3094f93cac728b62ce2903e3.jpg","text":"TemporaryFile(/tmp/multipartBody4425920719096540097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_32_55_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b05ef4a8bd6e2801d061f2ea2975b0d.jpg","text":"TemporaryFile(/tmp/multipartBody396897335802675363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214623823,"filename":"image_27112025_04_33_04_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352097","file1":"1396352094","file0":"1396352091","file4":"1396352103","file5":"1396352107","file3":"1396352099"},"map_files_photo_id_array":[{"photo_id":"1396352107","filename":"file5"},{"photo_id":"1396352097","filename":"file2"},{"photo_id":"1396352103","filename":"file4"},{"photo_id":"1396352094","filename":"file1"},{"photo_id":"1396352091","filename":"file0"},{"photo_id":"1396352099","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352103":["hashtag1","hashtag2"]},{"1396352099":["hashtag1","hashtag2"]},{"1396352107":["hashtag1","hashtag2"]},{"1396352097":["hashtag1","hashtag2"]},{"1396352091":["hashtag1","hashtag2"]},{"1396352094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352103, 1396352099, 1396352107, 1396352097, 1396352091, 1396352094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.611446380615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:36:42.527477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/37/image_30102025_21_37_14_3627.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_19_3200.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_22_2622.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_26_3734.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_28_2644.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_31_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_14_3627.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_19_3200.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_22_2622.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_26_3734.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_28_2644.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_31_2649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.10841965675354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:37:04.260565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_50_2711.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_53_2914.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_56_2662.jpg', '/home/pi/Desktop/images/21112025/19/22/image_21112025_19_23_00_3655.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_02_2748.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_08_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_50_2711.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_53_2914.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_22_56_2662.jpg
/home/pi/Desktop/images/21112025/19/22/image_21112025_19_23_00_3655.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_02_2748.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_08_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352130","1396352132","1396352129","1396352140","1396352134","1396352137"],"photo_ids_order":["1396352129","1396352130","1396352132","1396352134","1396352137","1396352140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e0fcba006dd22ab4146823ab2ac20b1.jpg","text":"TemporaryFile(/tmp/multipartBody8361873518707762219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_22_53_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/27/6eebf58894e568a3004db3381e3a6d22.jpg","text":"TemporaryFile(/tmp/multipartBody8149262154772165349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_22_56_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/27/d3ea911bbe7423a334094ba65001b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4113981907579672221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_22_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/27/a6980017dd4b6130e3a7eb182c031364.jpg","text":"TemporaryFile(/tmp/multipartBody7147646746932464178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_23_08_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/27/c625a18f87d9c29ae57c12549bf13316.jpg","text":"TemporaryFile(/tmp/multipartBody4064067501772521922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_23_00_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/27/2a1fabe02c91d54ae49335d43b78ae6c.jpg","text":"TemporaryFile(/tmp/multipartBody2516805145837019343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214690084,"filename":"image_21112025_19_23_02_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352132","file1":"1396352130","file0":"1396352129","file4":"1396352137","file5":"1396352140","file3":"1396352134"},"map_files_photo_id_array":[{"photo_id":"1396352140","filename":"file5"},{"photo_id":"1396352132","filename":"file2"},{"photo_id":"1396352137","filename":"file4"},{"photo_id":"1396352130","filename":"file1"},{"photo_id":"1396352129","filename":"file0"},{"photo_id":"1396352134","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352130":["hashtag1","hashtag2"]},{"1396352132":["hashtag1","hashtag2"]},{"1396352129":["hashtag1","hashtag2"]},{"1396352140":["hashtag1","hashtag2"]},{"1396352134":["hashtag1","hashtag2"]},{"1396352137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352130, 1396352132, 1396352129, 1396352140, 1396352134, 1396352137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.610323905944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:38:03.263863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.721811056137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:38:12.685087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_11_3632.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_14_2678.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_17_2754.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_20_2852.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_26_2743.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_29_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_11_3632.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_14_2678.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_17_2754.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_20_2852.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_26_2743.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_29_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352161","1396352155","1396352164","1396352158","1396352172","1396352169"],"photo_ids_order":["1396352155","1396352158","1396352161","1396352164","1396352169","1396352172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d78facd082d814e514252103127ee786.jpg","text":"TemporaryFile(/tmp/multipartBody8808347276404409440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_19_23_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/27/016810b9863a49e43f8d2d60b3307108.jpg","text":"TemporaryFile(/tmp/multipartBody6613578479881802404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_19_23_11_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/27/81859272236f758f3ea7b7d72ef51f84.jpg","text":"TemporaryFile(/tmp/multipartBody8142931214926973717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_19_23_20_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/774d9361576672975f15d1f2ec6b95e4.jpg","text":"TemporaryFile(/tmp/multipartBody6557605740824415406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_19_23_14_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/27/08e9a68286fda58bd7e31b2d822316de.jpg","text":"TemporaryFile(/tmp/multipartBody8765833226800010318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_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/27/02987aecd18b6b9fd1f4afcbaf65436d.jpg","text":"TemporaryFile(/tmp/multipartBody9133023603012139592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214754458,"filename":"image_21112025_19_23_26_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352161","file1":"1396352158","file0":"1396352155","file4":"1396352169","file5":"1396352172","file3":"1396352164"},"map_files_photo_id_array":[{"photo_id":"1396352172","filename":"file5"},{"photo_id":"1396352161","filename":"file2"},{"photo_id":"1396352169","filename":"file4"},{"photo_id":"1396352158","filename":"file1"},{"photo_id":"1396352155","filename":"file0"},{"photo_id":"1396352164","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352161":["hashtag1","hashtag2"]},{"1396352155":["hashtag1","hashtag2"]},{"1396352164":["hashtag1","hashtag2"]},{"1396352158":["hashtag1","hashtag2"]},{"1396352172":["hashtag1","hashtag2"]},{"1396352169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352161, 1396352155, 1396352164, 1396352158, 1396352172, 1396352169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.095677852630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:39:03.301058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7768700122833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:39:11.954642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_32_3566.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_35_2649.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_38_2737.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_41_3602.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_44_2862.jpg', '/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_47_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_32_3566.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_35_2649.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_38_2737.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_41_3602.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_44_2862.jpg
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_47_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352198","1396352201","1396352204","1396352194","1396352188","1396352190"],"photo_ids_order":["1396352188","1396352190","1396352194","1396352198","1396352201","1396352204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb281d55ee2cb2d86383b0e797913262.jpg","text":"TemporaryFile(/tmp/multipartBody4665516971922540688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_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/27/7ff990f3faf8d79eb850408f7fc6c49f.jpg","text":"TemporaryFile(/tmp/multipartBody1413459168135806463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_44_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/27/9c58fadefb293ce24415b13d72d3e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody5566938450524702542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_47_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/27/c7268f3e9a6103d7f801c80d212d905f.jpg","text":"TemporaryFile(/tmp/multipartBody7342671227693241302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_38_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/27/560ba2164d5e7490ebc4ce6ac30067d3.jpg","text":"TemporaryFile(/tmp/multipartBody6158134157628793162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_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/27/4d6f5b60a2a2556cbddaea841d6f7d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3830182858055683173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214813705,"filename":"image_21112025_19_23_35_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352194","file1":"1396352190","file0":"1396352188","file4":"1396352201","file5":"1396352204","file3":"1396352198"},"map_files_photo_id_array":[{"photo_id":"1396352204","filename":"file5"},{"photo_id":"1396352194","filename":"file2"},{"photo_id":"1396352201","filename":"file4"},{"photo_id":"1396352190","filename":"file1"},{"photo_id":"1396352188","filename":"file0"},{"photo_id":"1396352198","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352198":["hashtag1","hashtag2"]},{"1396352201":["hashtag1","hashtag2"]},{"1396352204":["hashtag1","hashtag2"]},{"1396352194":["hashtag1","hashtag2"]},{"1396352188":["hashtag1","hashtag2"]},{"1396352190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352198, 1396352201, 1396352204, 1396352194, 1396352188, 1396352190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57266020774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:40:02.592087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg', '/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/35/image_27112025_04_35_44_9794.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_14_9678.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_24_9645.jpg
/home/pi/Desktop/images/27112025/04/36/image_27112025_04_36_54_9625.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_25_10326.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_34_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352223","1396352217","1396352213","1396352215","1396352220","1396352214"],"photo_ids_order":["1396352213","1396352214","1396352215","1396352217","1396352220","1396352223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c1d4213e9c84f3c0b74cec489519d28.jpg","text":"TemporaryFile(/tmp/multipartBody1123488560469063901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_37_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e07afe871d91d94154f9632a1949b33c.jpg","text":"TemporaryFile(/tmp/multipartBody7631430026521068797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_36_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09a2091af4689c18332188a708d95fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8046773012884493562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_35_44_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3cfd8f734f9bbd033fb76208d52f94a7.jpg","text":"TemporaryFile(/tmp/multipartBody5005875087577129971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_36_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30235c4da9b31f0a3fdba0359ca73d33.jpg","text":"TemporaryFile(/tmp/multipartBody4108156743039397184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_37_25_10326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/055e05376a216401a48c703ed242177d.jpg","text":"TemporaryFile(/tmp/multipartBody1837235525922406957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214866094,"filename":"image_27112025_04_36_14_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352215","file1":"1396352214","file0":"1396352213","file4":"1396352220","file5":"1396352223","file3":"1396352217"},"map_files_photo_id_array":[{"photo_id":"1396352223","filename":"file5"},{"photo_id":"1396352215","filename":"file2"},{"photo_id":"1396352220","filename":"file4"},{"photo_id":"1396352214","filename":"file1"},{"photo_id":"1396352213","filename":"file0"},{"photo_id":"1396352217","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352223":["hashtag1","hashtag2"]},{"1396352217":["hashtag1","hashtag2"]},{"1396352213":["hashtag1","hashtag2"]},{"1396352215":["hashtag1","hashtag2"]},{"1396352220":["hashtag1","hashtag2"]},{"1396352214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352223, 1396352217, 1396352213, 1396352215, 1396352220, 1396352214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.614185094833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:40:42.199884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/37/image_30102025_21_37_14_3627.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_19_3200.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_22_2622.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_26_3734.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_28_2644.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_31_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_14_3627.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_19_3200.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_22_2622.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_26_3734.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_28_2644.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_31_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352238","1396352240","1396352234","1396352242","1396352236","1396352244"],"photo_ids_order":["1396352234","1396352236","1396352238","1396352240","1396352242","1396352244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa9d674d16a71dbad4f0d5434f65120f.jpg","text":"TemporaryFile(/tmp/multipartBody775830761735503009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_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/27/191a23e983256022444c92e172e53ce4.jpg","text":"TemporaryFile(/tmp/multipartBody9081822183319330657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_26_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/27/3484f80c2a02a453a68a00da292e85ab.jpg","text":"TemporaryFile(/tmp/multipartBody3159696210739135189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_14_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/27/892fa301254d0e12821af3ab512dbd54.jpg","text":"TemporaryFile(/tmp/multipartBody1082446154077982207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_28_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/27/6cbd47c4e9dfef587dca255622a8cadf.jpg","text":"TemporaryFile(/tmp/multipartBody5707469068578823922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_19_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/27/692cfaa15217e90d6955bd7eff94feaf.jpg","text":"TemporaryFile(/tmp/multipartBody1848036675082768680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214903386,"filename":"image_30102025_21_37_31_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352238","file1":"1396352236","file0":"1396352234","file4":"1396352242","file5":"1396352244","file3":"1396352240"},"map_files_photo_id_array":[{"photo_id":"1396352244","filename":"file5"},{"photo_id":"1396352238","filename":"file2"},{"photo_id":"1396352242","filename":"file4"},{"photo_id":"1396352236","filename":"file1"},{"photo_id":"1396352234","filename":"file0"},{"photo_id":"1396352240","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352238":["hashtag1","hashtag2"]},{"1396352240":["hashtag1","hashtag2"]},{"1396352234":["hashtag1","hashtag2"]},{"1396352242":["hashtag1","hashtag2"]},{"1396352236":["hashtag1","hashtag2"]},{"1396352244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352238, 1396352240, 1396352234, 1396352242, 1396352236, 1396352244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.677804708480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:41:22.301779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_44_9703.jpg', '/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_55_10783.jpg', '/home/pi/Desktop/images/27112025/04/38/image_27112025_04_38_04_9584.jpg', '/home/pi/Desktop/images/27112025/04/38/image_27112025_04_38_44_9732.jpg', '/home/pi/Desktop/images/27112025/04/38/image_27112025_04_39_05_10701.jpg', '/home/pi/Desktop/images/27112025/04/39/image_27112025_04_39_14_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_44_9703.jpg
/home/pi/Desktop/images/27112025/04/37/image_27112025_04_37_55_10783.jpg
/home/pi/Desktop/images/27112025/04/38/image_27112025_04_38_04_9584.jpg
/home/pi/Desktop/images/27112025/04/38/image_27112025_04_38_44_9732.jpg
/home/pi/Desktop/images/27112025/04/38/image_27112025_04_39_05_10701.jpg
/home/pi/Desktop/images/27112025/04/39/image_27112025_04_39_14_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352251","1396352254","1396352248","1396352257","1396352262","1396352259"],"photo_ids_order":["1396352248","1396352251","1396352254","1396352257","1396352259","1396352262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bb9fa73275d8613bbb358711b6b63b9.jpg","text":"TemporaryFile(/tmp/multipartBody5628416648269055740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_37_55_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac08871e99a86b888d0e8a81ce36af7c.jpg","text":"TemporaryFile(/tmp/multipartBody9165325849649723070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_38_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f28e3c9c75403b8824b710f8315309ac.jpg","text":"TemporaryFile(/tmp/multipartBody5053946622425683867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_37_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5907d49c9a89e9e986c24d75783b131.jpg","text":"TemporaryFile(/tmp/multipartBody3181729216500696395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_38_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f67ccc02d1262eaf48cf8831f67b0485.jpg","text":"TemporaryFile(/tmp/multipartBody1836613491977646541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_39_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d94589bf17d63eaaa9ab9739a4a1b2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1142923778233982674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214943033,"filename":"image_27112025_04_39_05_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352254","file1":"1396352251","file0":"1396352248","file4":"1396352259","file5":"1396352262","file3":"1396352257"},"map_files_photo_id_array":[{"photo_id":"1396352262","filename":"file5"},{"photo_id":"1396352254","filename":"file2"},{"photo_id":"1396352259","filename":"file4"},{"photo_id":"1396352251","filename":"file1"},{"photo_id":"1396352248","filename":"file0"},{"photo_id":"1396352257","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352251":["hashtag1","hashtag2"]},{"1396352254":["hashtag1","hashtag2"]},{"1396352248":["hashtag1","hashtag2"]},{"1396352257":["hashtag1","hashtag2"]},{"1396352262":["hashtag1","hashtag2"]},{"1396352259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352251, 1396352254, 1396352248, 1396352257, 1396352262, 1396352259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50382661819458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:42:03.055511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/39/image_27112025_04_39_24_9616.jpg', '/home/pi/Desktop/images/27112025/04/39/image_27112025_04_40_05_10841.jpg', '/home/pi/Desktop/images/27112025/04/40/image_27112025_04_40_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/39/image_27112025_04_39_24_9616.jpg
/home/pi/Desktop/images/27112025/04/39/image_27112025_04_40_05_10841.jpg
/home/pi/Desktop/images/27112025/04/40/image_27112025_04_40_24_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352273","1396352275","1396352274"],"photo_ids_order":["1396352273","1396352274","1396352275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/771a7229a328d750a0b3747ac07958f7.jpg","text":"TemporaryFile(/tmp/multipartBody1437391991173304966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214983705,"filename":"image_27112025_04_39_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0de759b1bee63b7d268c0061688250e3.jpg","text":"TemporaryFile(/tmp/multipartBody8146469678996831041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214983705,"filename":"image_27112025_04_40_24_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e9ed4b9d712bc562cb9bfc9ee783348.jpg","text":"TemporaryFile(/tmp/multipartBody2519319702436030706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764214983705,"filename":"image_27112025_04_40_05_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352275","file1":"1396352274","file0":"1396352273"},"map_files_photo_id_array":[{"photo_id":"1396352275","filename":"file2"},{"photo_id":"1396352274","filename":"file1"},{"photo_id":"1396352273","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352273":["hashtag1","hashtag2"]},{"1396352275":["hashtag1","hashtag2"]},{"1396352274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352273, 1396352275, 1396352274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.262378931045532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:42:32.597315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_50_2660.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_02_11978.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_03_1614.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_05_1584.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_07_2628.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_09_1804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/23/image_21112025_19_23_50_2660.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_02_11978.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_03_1614.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_05_1584.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_07_2628.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_09_1804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352297","1396352290","1396352293","1396352287","1396352281","1396352295"],"photo_ids_order":["1396352281","1396352287","1396352290","1396352293","1396352295","1396352297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1dcff8d2c139f4b354dabe715b6f5dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7808195654490188655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_24_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/27/45f9b096795c1fd134e3f528a0ec7e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7377743623226534327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_24_03_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/27/d9f572df317c9bef46c829134a696f0f.jpg","text":"TemporaryFile(/tmp/multipartBody3749171762986379950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_24_05_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/27/45f8463385da08a5bbb1f5c5dd4e8939.jpg","text":"TemporaryFile(/tmp/multipartBody6560913950377785477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_24_02_11978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ddcf80a37e398320f687536aa211a6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2913377919137210026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_23_50_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/27/668bf8b55528bc392f7f3b50c6b8d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody7998733717800764645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215014445,"filename":"image_21112025_19_24_07_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352290","file1":"1396352287","file0":"1396352281","file4":"1396352295","file5":"1396352297","file3":"1396352293"},"map_files_photo_id_array":[{"photo_id":"1396352297","filename":"file5"},{"photo_id":"1396352290","filename":"file2"},{"photo_id":"1396352295","filename":"file4"},{"photo_id":"1396352287","filename":"file1"},{"photo_id":"1396352281","filename":"file0"},{"photo_id":"1396352293","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352297":["hashtag1","hashtag2"]},{"1396352290":["hashtag1","hashtag2"]},{"1396352293":["hashtag1","hashtag2"]},{"1396352287":["hashtag1","hashtag2"]},{"1396352281":["hashtag1","hashtag2"]},{"1396352295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352297, 1396352290, 1396352293, 1396352287, 1396352281, 1396352295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90677070617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:43:12.720663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_11_1592.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_25_14111.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_28_3076.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_30_1588.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_31_1624.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_33_1878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_11_1592.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_25_14111.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_28_3076.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_30_1588.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_31_1624.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_33_1878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352304","1396352306","1396352309","1396352300","1396352302","1396352311"],"photo_ids_order":["1396352300","1396352302","1396352304","1396352306","1396352309","1396352311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba517e2e279d80f8cd49fa2039e80195.jpg","text":"TemporaryFile(/tmp/multipartBody6716515377254836891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_28_3076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96694e37fec86882a27d5ed65ddf26d8.jpg","text":"TemporaryFile(/tmp/multipartBody5086747116188551785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_30_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/27/21555a3add3e01098035d28e792d0f5d.jpg","text":"TemporaryFile(/tmp/multipartBody6650030553258206070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_31_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/27/ad2621f8c230a413dcf22a1608de6645.jpg","text":"TemporaryFile(/tmp/multipartBody8056565179117135923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_11_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/27/5e265569777704086302512bf1159c94.jpg","text":"TemporaryFile(/tmp/multipartBody5598918714779385657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_25_14111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/add6596214f94936e4cc2ce180b51a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1852083437941354846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215054491,"filename":"image_21112025_19_24_33_1878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352304","file1":"1396352302","file0":"1396352300","file4":"1396352309","file5":"1396352311","file3":"1396352306"},"map_files_photo_id_array":[{"photo_id":"1396352311","filename":"file5"},{"photo_id":"1396352304","filename":"file2"},{"photo_id":"1396352309","filename":"file4"},{"photo_id":"1396352302","filename":"file1"},{"photo_id":"1396352300","filename":"file0"},{"photo_id":"1396352306","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352304":["hashtag1","hashtag2"]},{"1396352306":["hashtag1","hashtag2"]},{"1396352309":["hashtag1","hashtag2"]},{"1396352300":["hashtag1","hashtag2"]},{"1396352302":["hashtag1","hashtag2"]},{"1396352311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352304, 1396352306, 1396352309, 1396352300, 1396352302, 1396352311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52053093910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:44:05.420907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/40/image_27112025_04_40_55_9882.jpg', '/home/pi/Desktop/images/27112025/04/40/image_27112025_04_41_04_9747.jpg', '/home/pi/Desktop/images/27112025/04/41/image_27112025_04_41_44_8658.jpg', '/home/pi/Desktop/images/27112025/04/41/image_27112025_04_41_55_10705.jpg', '/home/pi/Desktop/images/27112025/04/42/image_27112025_04_42_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/40/image_27112025_04_40_55_9882.jpg
/home/pi/Desktop/images/27112025/04/40/image_27112025_04_41_04_9747.jpg
/home/pi/Desktop/images/27112025/04/41/image_27112025_04_41_44_8658.jpg
/home/pi/Desktop/images/27112025/04/41/image_27112025_04_41_55_10705.jpg
/home/pi/Desktop/images/27112025/04/42/image_27112025_04_42_14_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352330","1396352327","1396352332","1396352335","1396352328"],"photo_ids_order":["1396352327","1396352328","1396352330","1396352332","1396352335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec38d7ece64c449610fa4fa99b344a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6891833563792304407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215106269,"filename":"image_27112025_04_41_44_8658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fdd6ef3bd005cbd05afdddb93f30633d.jpg","text":"TemporaryFile(/tmp/multipartBody8952794741312358438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215106269,"filename":"image_27112025_04_40_55_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6bdec982f282c135ee232fb954631cf.jpg","text":"TemporaryFile(/tmp/multipartBody1538781256802753707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215106269,"filename":"image_27112025_04_41_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c1847c9feaf9bc96ff66de50ae1c681.jpg","text":"TemporaryFile(/tmp/multipartBody8855990460515085649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215106269,"filename":"image_27112025_04_42_14_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/27/745e89b9998632b0566970f6b07eb62b.jpg","text":"TemporaryFile(/tmp/multipartBody3509539882449132750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215106269,"filename":"image_27112025_04_41_04_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352330","file1":"1396352328","file0":"1396352327","file4":"1396352335","file3":"1396352332"},"map_files_photo_id_array":[{"photo_id":"1396352330","filename":"file2"},{"photo_id":"1396352335","filename":"file4"},{"photo_id":"1396352328","filename":"file1"},{"photo_id":"1396352327","filename":"file0"},{"photo_id":"1396352332","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352330":["hashtag1","hashtag2"]},{"1396352327":["hashtag1","hashtag2"]},{"1396352332":["hashtag1","hashtag2"]},{"1396352335":["hashtag1","hashtag2"]},{"1396352328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352330, 1396352327, 1396352332, 1396352335, 1396352328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.572141885757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:44:44.940045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/37/image_30102025_21_37_35_3774.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_37_2583.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_40_2705.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_43_2798.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_47_3744.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_49_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_35_3774.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_37_2583.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_40_2705.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_43_2798.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_47_3744.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_49_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352360","1396352365","1396352353","1396352362","1396352358","1396352355"],"photo_ids_order":["1396352353","1396352355","1396352358","1396352360","1396352362","1396352365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2277e61bc63142e02e1671da5accb6ea.jpg","text":"TemporaryFile(/tmp/multipartBody3667851293850594118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_43_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/27/eea0bbfb294043b228b86baedf3664da.jpg","text":"TemporaryFile(/tmp/multipartBody5398134600775246840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_49_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/27/6939b2f4b78b7c3b26de4153a972448f.jpg","text":"TemporaryFile(/tmp/multipartBody4826441709078260946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_35_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/27/8ee278238b542c85416fb25d35528c11.jpg","text":"TemporaryFile(/tmp/multipartBody2433694825204896468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_47_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/27/a82a0a41915a41d3612e2c1fe64df855.jpg","text":"TemporaryFile(/tmp/multipartBody6437269031832067331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_40_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/27/25b6d19f8b97ba3f31ad1d28ea01b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody7541474696856960273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215146210,"filename":"image_30102025_21_37_37_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352358","file1":"1396352355","file0":"1396352353","file4":"1396352362","file5":"1396352365","file3":"1396352360"},"map_files_photo_id_array":[{"photo_id":"1396352365","filename":"file5"},{"photo_id":"1396352358","filename":"file2"},{"photo_id":"1396352362","filename":"file4"},{"photo_id":"1396352355","filename":"file1"},{"photo_id":"1396352353","filename":"file0"},{"photo_id":"1396352360","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352360":["hashtag1","hashtag2"]},{"1396352365":["hashtag1","hashtag2"]},{"1396352353":["hashtag1","hashtag2"]},{"1396352362":["hashtag1","hashtag2"]},{"1396352358":["hashtag1","hashtag2"]},{"1396352355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352360, 1396352365, 1396352353, 1396352362, 1396352358, 1396352355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.38696575164795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:45:31.988835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_35_1641.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_37_1802.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_38_1600.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_47_8407.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_48_1657.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_50_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_35_1641.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_37_1802.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_38_1600.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_47_8407.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_48_1657.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_50_1629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352381","1396352378","1396352383","1396352386","1396352388","1396352391"],"photo_ids_order":["1396352378","1396352381","1396352383","1396352386","1396352388","1396352391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52050d9ad27a720e9be99dd4504685e7.jpg","text":"TemporaryFile(/tmp/multipartBody9008086506436774388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_37_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/27/3b574b6fe007d02f84e7210ac9c28c17.jpg","text":"TemporaryFile(/tmp/multipartBody2983540775996266913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_35_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/27/d1297e2df590cd205b40fb45404b3a78.jpg","text":"TemporaryFile(/tmp/multipartBody3530129140418713148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_38_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/27/49e778edb287990aaacf8c87e2bdde4a.jpg","text":"TemporaryFile(/tmp/multipartBody7593535423536363497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_47_8407.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd1b633a12034a680e41ed6bb560b267.jpg","text":"TemporaryFile(/tmp/multipartBody3468339521039337232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_48_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/27/f34e95ac16abef5198f3802e363534f0.jpg","text":"TemporaryFile(/tmp/multipartBody7510157136064469894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215193818,"filename":"image_21112025_19_24_50_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352383","file1":"1396352381","file0":"1396352378","file4":"1396352388","file5":"1396352391","file3":"1396352386"},"map_files_photo_id_array":[{"photo_id":"1396352391","filename":"file5"},{"photo_id":"1396352383","filename":"file2"},{"photo_id":"1396352388","filename":"file4"},{"photo_id":"1396352381","filename":"file1"},{"photo_id":"1396352378","filename":"file0"},{"photo_id":"1396352386","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352381":["hashtag1","hashtag2"]},{"1396352378":["hashtag1","hashtag2"]},{"1396352383":["hashtag1","hashtag2"]},{"1396352386":["hashtag1","hashtag2"]},{"1396352388":["hashtag1","hashtag2"]},{"1396352391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352381, 1396352378, 1396352383, 1396352386, 1396352388, 1396352391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42758870124817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:46:12.060577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_51_1598.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_56_4574.jpg', '/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_58_1805.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_01_2643.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_02_1700.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_04_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_51_1598.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_56_4574.jpg
/home/pi/Desktop/images/21112025/19/24/image_21112025_19_24_58_1805.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_01_2643.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_02_1700.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_04_1605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352396","1396352398","1396352401","1396352404","1396352394","1396352407"],"photo_ids_order":["1396352394","1396352396","1396352398","1396352401","1396352404","1396352407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7e8f4e904e2be1a35a513d41487c59f.jpg","text":"TemporaryFile(/tmp/multipartBody5994198770173944380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_24_56_4574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ec6301c219f2ca564de7a77ead7be5c.jpg","text":"TemporaryFile(/tmp/multipartBody1828989101394726590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_24_58_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ad3494d1d7593bcdf5d53751c27b939.jpg","text":"TemporaryFile(/tmp/multipartBody9003765140998598351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_25_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/27/6325893a5396becbb7e7f6ebe458bc5f.jpg","text":"TemporaryFile(/tmp/multipartBody432308376043173960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_25_02_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/27/1e643eb0da476e52a06ca76dd06da613.jpg","text":"TemporaryFile(/tmp/multipartBody532660875001159977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_24_51_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/27/a0d00e9fd28277699d2016b4a45db10c.jpg","text":"TemporaryFile(/tmp/multipartBody7983003542065550052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215233812,"filename":"image_21112025_19_25_04_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352398","file1":"1396352396","file0":"1396352394","file4":"1396352404","file5":"1396352407","file3":"1396352401"},"map_files_photo_id_array":[{"photo_id":"1396352407","filename":"file5"},{"photo_id":"1396352398","filename":"file2"},{"photo_id":"1396352404","filename":"file4"},{"photo_id":"1396352396","filename":"file1"},{"photo_id":"1396352394","filename":"file0"},{"photo_id":"1396352401","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352396":["hashtag1","hashtag2"]},{"1396352398":["hashtag1","hashtag2"]},{"1396352401":["hashtag1","hashtag2"]},{"1396352404":["hashtag1","hashtag2"]},{"1396352394":["hashtag1","hashtag2"]},{"1396352407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352396, 1396352398, 1396352401, 1396352404, 1396352394, 1396352407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44799089431763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:47:02.923221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/42/image_27112025_04_42_44_9763.jpg', '/home/pi/Desktop/images/27112025/04/45/image_27112025_04_45_54_9602.jpg', '/home/pi/Desktop/images/27112025/04/45/image_27112025_04_46_04_9743.jpg', '/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_14_9676.jpg', '/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/42/image_27112025_04_42_44_9763.jpg
/home/pi/Desktop/images/27112025/04/45/image_27112025_04_45_54_9602.jpg
/home/pi/Desktop/images/27112025/04/45/image_27112025_04_46_04_9743.jpg
/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_14_9676.jpg
/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_34_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352429","1396352431","1396352428","1396352430","1396352433"],"photo_ids_order":["1396352428","1396352429","1396352430","1396352431","1396352433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a9e45f807eafe8992064a6e8857e979.jpg","text":"TemporaryFile(/tmp/multipartBody255067434458349958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215283731,"filename":"image_27112025_04_45_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3aae2feb2808882d320f0b7394f90d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1660932411173671474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215283731,"filename":"image_27112025_04_46_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a78f0e8a24f424dc831efcb3b2bacd0.jpg","text":"TemporaryFile(/tmp/multipartBody5438643245226169920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215283731,"filename":"image_27112025_04_42_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fafed60f00779e170873d1f0a7671b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1390742056101049454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215283731,"filename":"image_27112025_04_46_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8b9072b9dbe3c3769a5aff4ec47ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody7307157733330902654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215283731,"filename":"image_27112025_04_46_34_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352430","file1":"1396352429","file0":"1396352428","file4":"1396352433","file3":"1396352431"},"map_files_photo_id_array":[{"photo_id":"1396352430","filename":"file2"},{"photo_id":"1396352433","filename":"file4"},{"photo_id":"1396352429","filename":"file1"},{"photo_id":"1396352428","filename":"file0"},{"photo_id":"1396352431","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352429":["hashtag1","hashtag2"]},{"1396352431":["hashtag1","hashtag2"]},{"1396352428":["hashtag1","hashtag2"]},{"1396352430":["hashtag1","hashtag2"]},{"1396352433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352429, 1396352431, 1396352428, 1396352430, 1396352433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.415065050125122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:47:42.165415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/37/image_30102025_21_37_53_3497.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_56_2624.jpg', '/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_58_2616.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_01_3136.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_04_2894.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_08_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_53_3497.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_56_2624.jpg
/home/pi/Desktop/images/30102025/21/37/image_30102025_21_37_58_2616.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_01_3136.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_04_2894.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_08_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352453","1396352447","1396352449","1396352442","1396352451","1396352445"],"photo_ids_order":["1396352442","1396352445","1396352447","1396352449","1396352451","1396352453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c82791d14957a31869f1636a50bb7ea.jpg","text":"TemporaryFile(/tmp/multipartBody4157710852841730161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_38_08_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/27/5a59620d9f80de78a5d1800be470487e.jpg","text":"TemporaryFile(/tmp/multipartBody7829689915336564740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_37_58_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/27/4d599a6f7c8a27f22f0656977bc5307c.jpg","text":"TemporaryFile(/tmp/multipartBody7264314283143508560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_38_01_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/27/0691aa790f23a33e29496fd42f66146c.jpg","text":"TemporaryFile(/tmp/multipartBody1189229667912406295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_37_53_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/27/7191a97e6381d27b2f38a3291c4ae097.jpg","text":"TemporaryFile(/tmp/multipartBody6618670141547829096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_38_04_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/27/cd2d8453f72ea7fb2f3f533a27f856b3.jpg","text":"TemporaryFile(/tmp/multipartBody8594002947798361316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215323412,"filename":"image_30102025_21_37_56_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352447","file1":"1396352445","file0":"1396352442","file4":"1396352451","file5":"1396352453","file3":"1396352449"},"map_files_photo_id_array":[{"photo_id":"1396352453","filename":"file5"},{"photo_id":"1396352447","filename":"file2"},{"photo_id":"1396352451","filename":"file4"},{"photo_id":"1396352445","filename":"file1"},{"photo_id":"1396352442","filename":"file0"},{"photo_id":"1396352449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352453":["hashtag1","hashtag2"]},{"1396352447":["hashtag1","hashtag2"]},{"1396352449":["hashtag1","hashtag2"]},{"1396352442":["hashtag1","hashtag2"]},{"1396352451":["hashtag1","hashtag2"]},{"1396352445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352453, 1396352447, 1396352449, 1396352442, 1396352451, 1396352445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25280404090881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:48:22.297526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_54_9809.jpg', '/home/pi/Desktop/images/27112025/04/46/image_27112025_04_47_05_10685.jpg', '/home/pi/Desktop/images/27112025/04/47/image_27112025_04_47_14_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/46/image_27112025_04_46_54_9809.jpg
/home/pi/Desktop/images/27112025/04/46/image_27112025_04_47_05_10685.jpg
/home/pi/Desktop/images/27112025/04/47/image_27112025_04_47_14_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352456","1396352458","1396352460"],"photo_ids_order":["1396352456","1396352458","1396352460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b819238062d94668ead886a9e4602025.jpg","text":"TemporaryFile(/tmp/multipartBody6677189910683237081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215362929,"filename":"image_27112025_04_46_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6b919f33fd1d1af5d832397eeaf62d5.jpg","text":"TemporaryFile(/tmp/multipartBody8503114703004579279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215362929,"filename":"image_27112025_04_47_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bbeca966f7b13139280eda48ecae907.jpg","text":"TemporaryFile(/tmp/multipartBody287699342233049030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215362929,"filename":"image_27112025_04_47_14_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352460","file1":"1396352458","file0":"1396352456"},"map_files_photo_id_array":[{"photo_id":"1396352460","filename":"file2"},{"photo_id":"1396352458","filename":"file1"},{"photo_id":"1396352456","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352456":["hashtag1","hashtag2"]},{"1396352458":["hashtag1","hashtag2"]},{"1396352460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352456, 1396352458, 1396352460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.13382863998413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:49:03.461055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_11_7587.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_15_1526.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_29_12449.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_32_1647.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_34_1618.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_37_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_11_7587.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_15_1526.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_29_12449.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_32_1647.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_34_1618.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_37_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352477","1396352476","1396352485","1396352479","1396352481","1396352478"],"photo_ids_order":["1396352476","1396352477","1396352478","1396352479","1396352481","1396352485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6eae9854c17116c4d64bf99205b32d7.jpg","text":"TemporaryFile(/tmp/multipartBody2144027613919797688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_15_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/27/603afbe0f3b04a76189b254915092a66.jpg","text":"TemporaryFile(/tmp/multipartBody2277629448747023689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_11_7587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0812f4c87f862c60b4a2f132a10a32f.jpg","text":"TemporaryFile(/tmp/multipartBody2083090617737597259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_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/27/255953e5adf3a5167e4811489c6e46b0.jpg","text":"TemporaryFile(/tmp/multipartBody3249121879865334348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_32_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/27/09ee0ee5d67460b20b5c70a997a9b15a.jpg","text":"TemporaryFile(/tmp/multipartBody1735091551407338550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_34_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/27/30997a064321d27b141e5134bc0d13b2.jpg","text":"TemporaryFile(/tmp/multipartBody2352950843305744978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215404916,"filename":"image_21112025_19_25_29_12449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352478","file1":"1396352477","file0":"1396352476","file4":"1396352481","file5":"1396352485","file3":"1396352479"},"map_files_photo_id_array":[{"photo_id":"1396352485","filename":"file5"},{"photo_id":"1396352478","filename":"file2"},{"photo_id":"1396352481","filename":"file4"},{"photo_id":"1396352477","filename":"file1"},{"photo_id":"1396352476","filename":"file0"},{"photo_id":"1396352479","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352477":["hashtag1","hashtag2"]},{"1396352476":["hashtag1","hashtag2"]},{"1396352485":["hashtag1","hashtag2"]},{"1396352479":["hashtag1","hashtag2"]},{"1396352481":["hashtag1","hashtag2"]},{"1396352478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352477, 1396352476, 1396352485, 1396352479, 1396352481, 1396352478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82083344459534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:49:42.701432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/38/image_30102025_21_38_10_2618.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_22_2638.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_26_3729.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_29_2685.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_31_2660.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_34_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_10_2618.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_22_2638.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_26_3729.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_29_2685.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_31_2660.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_34_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352529","1396352525","1396352527","1396352521","1396352523","1396352511"],"photo_ids_order":["1396352511","1396352521","1396352523","1396352525","1396352527","1396352529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2eb4853328c1ef1ec43b7163251a8a57.jpg","text":"TemporaryFile(/tmp/multipartBody5646484942612366155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_34_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/27/9ed6a4c3074d1a644758e3e86a281edd.jpg","text":"TemporaryFile(/tmp/multipartBody8740292167543188086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_29_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/27/1a5fd230a6531b0a6303263573b708d0.jpg","text":"TemporaryFile(/tmp/multipartBody343529537394502267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_31_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/27/cdd2228c1424c194032a01e2ebefe859.jpg","text":"TemporaryFile(/tmp/multipartBody2795340088173089802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_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/27/a35bc337629d8e35439eabac9561df52.jpg","text":"TemporaryFile(/tmp/multipartBody4873299472771053629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_26_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/27/ef9a4a96a45d6a778edc6d69d0c0139e.jpg","text":"TemporaryFile(/tmp/multipartBody5706263278625410669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215443995,"filename":"image_30102025_21_38_10_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352523","file1":"1396352521","file0":"1396352511","file4":"1396352527","file5":"1396352529","file3":"1396352525"},"map_files_photo_id_array":[{"photo_id":"1396352529","filename":"file5"},{"photo_id":"1396352523","filename":"file2"},{"photo_id":"1396352527","filename":"file4"},{"photo_id":"1396352521","filename":"file1"},{"photo_id":"1396352511","filename":"file0"},{"photo_id":"1396352525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352529":["hashtag1","hashtag2"]},{"1396352525":["hashtag1","hashtag2"]},{"1396352527":["hashtag1","hashtag2"]},{"1396352521":["hashtag1","hashtag2"]},{"1396352523":["hashtag1","hashtag2"]},{"1396352511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352529, 1396352525, 1396352527, 1396352521, 1396352523, 1396352511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94086837768555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:50:21.976983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/47/image_27112025_04_47_24_9609.jpg', '/home/pi/Desktop/images/27112025/04/49/image_27112025_04_49_34_9783.jpg', '/home/pi/Desktop/images/27112025/04/49/image_27112025_04_49_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/47/image_27112025_04_47_24_9609.jpg
/home/pi/Desktop/images/27112025/04/49/image_27112025_04_49_34_9783.jpg
/home/pi/Desktop/images/27112025/04/49/image_27112025_04_49_54_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352534","1396352537","1396352531"],"photo_ids_order":["1396352531","1396352534","1396352537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99cc992ab6243795a8aec34dae4c8da4.jpg","text":"TemporaryFile(/tmp/multipartBody6035482117802007718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215482611,"filename":"image_27112025_04_49_34_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/431e548cc3345773f87d127746654289.jpg","text":"TemporaryFile(/tmp/multipartBody6589852655558291718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215482611,"filename":"image_27112025_04_49_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1500324362c894648a3406e8e6704c63.jpg","text":"TemporaryFile(/tmp/multipartBody7511674221972435659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215482611,"filename":"image_27112025_04_47_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352537","file1":"1396352534","file0":"1396352531"},"map_files_photo_id_array":[{"photo_id":"1396352537","filename":"file2"},{"photo_id":"1396352534","filename":"file1"},{"photo_id":"1396352531","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352534":["hashtag1","hashtag2"]},{"1396352537":["hashtag1","hashtag2"]},{"1396352531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352534, 1396352537, 1396352531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.328084468841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:51:02.813124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_38_1654.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_40_1621.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_42_1796.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_44_1828.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_47_1573.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_49_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_38_1654.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_40_1621.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_42_1796.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_44_1828.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_47_1573.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_49_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352561","1396352555","1396352581","1396352578","1396352551","1396352550"],"photo_ids_order":["1396352550","1396352551","1396352555","1396352561","1396352578","1396352581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6579ece595ec83f32203cf73ee85f09.jpg","text":"TemporaryFile(/tmp/multipartBody8081283431079717044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_44_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b22c4c49ca6d5ec8b08edb7aff380724.jpg","text":"TemporaryFile(/tmp/multipartBody5410749410206946638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_42_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb7809e841d2b34cb95ceb138e68e94d.jpg","text":"TemporaryFile(/tmp/multipartBody4553502747005863892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_49_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/27/4da8bbd0982442e6e4225915517fb7f1.jpg","text":"TemporaryFile(/tmp/multipartBody7993935667612255396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_47_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/27/5bc54ef3f17372122e0575f08e0b2c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8381555288543625152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_40_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/27/9aecf5acfc1908178b9d7cdffb5ed514.jpg","text":"TemporaryFile(/tmp/multipartBody4544147807974048188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215524138,"filename":"image_21112025_19_25_38_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352555","file1":"1396352551","file0":"1396352550","file4":"1396352578","file5":"1396352581","file3":"1396352561"},"map_files_photo_id_array":[{"photo_id":"1396352581","filename":"file5"},{"photo_id":"1396352555","filename":"file2"},{"photo_id":"1396352578","filename":"file4"},{"photo_id":"1396352551","filename":"file1"},{"photo_id":"1396352550","filename":"file0"},{"photo_id":"1396352561","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352561":["hashtag1","hashtag2"]},{"1396352555":["hashtag1","hashtag2"]},{"1396352581":["hashtag1","hashtag2"]},{"1396352578":["hashtag1","hashtag2"]},{"1396352551":["hashtag1","hashtag2"]},{"1396352550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352561, 1396352555, 1396352581, 1396352578, 1396352551, 1396352550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87738800048828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 04:51:42.153252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/38/image_30102025_21_38_38_3740.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_40_2722.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_43_2690.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_47_3524.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_52_2609.jpg', '/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_56_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_38_3740.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_40_2722.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_43_2690.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_47_3524.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_52_2609.jpg
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_56_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352593","1396352612","1396352596","1396352599","1396352602","1396352589"],"photo_ids_order":["1396352589","1396352593","1396352596","1396352599","1396352602","1396352612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8bfc88cb208c2d1e2d90c47093495bd.jpg","text":"TemporaryFile(/tmp/multipartBody3013813186439826022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_40_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/27/8da6a5d79ad21e9f817a778af37886ad.jpg","text":"TemporaryFile(/tmp/multipartBody6133004013091583084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_56_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/27/c193aa246f3e05163ed1c085d80fad5d.jpg","text":"TemporaryFile(/tmp/multipartBody974837128948767105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_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/27/92cb7e5969540eec5fc9e6cc86e34717.jpg","text":"TemporaryFile(/tmp/multipartBody3055953779232222106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_47_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/27/9255b02ec34453b2c1159215d18caa93.jpg","text":"TemporaryFile(/tmp/multipartBody3252705365092360973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_52_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/27/f13cc8618d3f4b8ee9082a1851863203.jpg","text":"TemporaryFile(/tmp/multipartBody7816421819686235929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215563468,"filename":"image_30102025_21_38_38_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352596","file1":"1396352593","file0":"1396352589","file4":"1396352602","file5":"1396352612","file3":"1396352599"},"map_files_photo_id_array":[{"photo_id":"1396352612","filename":"file5"},{"photo_id":"1396352596","filename":"file2"},{"photo_id":"1396352602","filename":"file4"},{"photo_id":"1396352593","filename":"file1"},{"photo_id":"1396352589","filename":"file0"},{"photo_id":"1396352599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352593":["hashtag1","hashtag2"]},{"1396352612":["hashtag1","hashtag2"]},{"1396352596":["hashtag1","hashtag2"]},{"1396352599":["hashtag1","hashtag2"]},{"1396352602":["hashtag1","hashtag2"]},{"1396352589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352593, 1396352612, 1396352596, 1396352599, 1396352602, 1396352589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99816393852234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:52:22.416454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/50/image_27112025_04_50_15_9663.jpg', '/home/pi/Desktop/images/27112025/04/51/image_27112025_04_52_04_9582.jpg', '/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_14_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/50/image_27112025_04_50_15_9663.jpg
/home/pi/Desktop/images/27112025/04/51/image_27112025_04_52_04_9582.jpg
/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_14_9705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5320522785186768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:52:32.352031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_50_1560.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_55_4600.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_57_1719.jpg', '/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_59_2626.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_02_2541.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_11_9099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_50_1560.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_55_4600.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_57_1719.jpg
/home/pi/Desktop/images/21112025/19/25/image_21112025_19_25_59_2626.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_02_2541.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_11_9099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352663","1396352669","1396352660","1396352671","1396352665","1396352673"],"photo_ids_order":["1396352660","1396352663","1396352665","1396352669","1396352671","1396352673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bf1195d8f0ff17ba16670c78ec1d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody403002826505851086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_25_55_4600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b5f5137d9e4a7a1fae72e0ac5b7f306.jpg","text":"TemporaryFile(/tmp/multipartBody2055578988305044942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_25_59_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/27/5c87c4f3d228deeadb26d4c5f2fe2c17.jpg","text":"TemporaryFile(/tmp/multipartBody2630606936756382503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_25_50_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/27/0751951264abfc50d95412b9459d096d.jpg","text":"TemporaryFile(/tmp/multipartBody1891602811153310409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_26_02_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/27/eb14bf17da0c8b4eb817d1c2383ddf57.jpg","text":"TemporaryFile(/tmp/multipartBody4780270833780986038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_25_57_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/27/8d18f86d9727f023cb5ec4bfe534372b.jpg","text":"TemporaryFile(/tmp/multipartBody687086026473539596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215614218,"filename":"image_21112025_19_26_11_9099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352665","file1":"1396352663","file0":"1396352660","file4":"1396352671","file5":"1396352673","file3":"1396352669"},"map_files_photo_id_array":[{"photo_id":"1396352673","filename":"file5"},{"photo_id":"1396352665","filename":"file2"},{"photo_id":"1396352671","filename":"file4"},{"photo_id":"1396352663","filename":"file1"},{"photo_id":"1396352660","filename":"file0"},{"photo_id":"1396352669","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352663":["hashtag1","hashtag2"]},{"1396352669":["hashtag1","hashtag2"]},{"1396352660":["hashtag1","hashtag2"]},{"1396352671":["hashtag1","hashtag2"]},{"1396352665":["hashtag1","hashtag2"]},{"1396352673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352663, 1396352669, 1396352660, 1396352671, 1396352665, 1396352673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67119097709656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:53:12.479232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_18_1724.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_20_1637.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_22_1630.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_23_1524.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_25_1686.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_27_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_18_1724.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_20_1637.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_22_1630.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_23_1524.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_25_1686.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_27_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352687","1396352689","1396352677","1396352685","1396352679","1396352682"],"photo_ids_order":["1396352677","1396352679","1396352682","1396352685","1396352687","1396352689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8f014e53e98f892c8706ff5edc5bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody3269710639046901366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_25_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/27/fdf46490d422448f9c4f24d799fd5f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5518630867051053292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_27_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/27/ac61f7ebe5d3b4354d7922ad605fd55f.jpg","text":"TemporaryFile(/tmp/multipartBody8658778670583914228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_18_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/27/9a8ed545b492f137835fad99833b3075.jpg","text":"TemporaryFile(/tmp/multipartBody1484044095242157909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_23_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/27/5d7a18a57b4e65ebc97d744b5cb259d3.jpg","text":"TemporaryFile(/tmp/multipartBody5738677834712897370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_20_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/27/05982d5fd88dcdd8c491b00f4c643103.jpg","text":"TemporaryFile(/tmp/multipartBody3533345191546843276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215654247,"filename":"image_21112025_19_26_22_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352682","file1":"1396352679","file0":"1396352677","file4":"1396352687","file5":"1396352689","file3":"1396352685"},"map_files_photo_id_array":[{"photo_id":"1396352689","filename":"file5"},{"photo_id":"1396352682","filename":"file2"},{"photo_id":"1396352687","filename":"file4"},{"photo_id":"1396352679","filename":"file1"},{"photo_id":"1396352677","filename":"file0"},{"photo_id":"1396352685","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352687":["hashtag1","hashtag2"]},{"1396352689":["hashtag1","hashtag2"]},{"1396352677":["hashtag1","hashtag2"]},{"1396352685":["hashtag1","hashtag2"]},{"1396352679":["hashtag1","hashtag2"]},{"1396352682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352687, 1396352689, 1396352677, 1396352685, 1396352679, 1396352682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77923917770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:54:03.144040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/50/image_27112025_04_50_15_9663.jpg', '/home/pi/Desktop/images/27112025/04/51/image_27112025_04_52_04_9582.jpg', '/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_14_9705.jpg', '/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_55_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/50/image_27112025_04_50_15_9663.jpg
/home/pi/Desktop/images/27112025/04/51/image_27112025_04_52_04_9582.jpg
/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_14_9705.jpg
/home/pi/Desktop/images/27112025/04/52/image_27112025_04_52_55_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352700","1396352699","1396352702","1396352698"],"photo_ids_order":["1396352698","1396352699","1396352700","1396352702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21fb2300c0c2144ff31b6ee0b9cd5350.jpg","text":"TemporaryFile(/tmp/multipartBody4568518975277252157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215706367,"filename":"image_27112025_04_52_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5647bf92274ae7d5f9245ed47b684ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5152655712692300829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215706367,"filename":"image_27112025_04_52_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bf74686516abeb8c402c56797c0e880.jpg","text":"TemporaryFile(/tmp/multipartBody7207492787891278080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215706367,"filename":"image_27112025_04_52_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/653912d8cfd9321f028126af77c7221b.jpg","text":"TemporaryFile(/tmp/multipartBody4884981324079199426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215706367,"filename":"image_27112025_04_50_15_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352700","file1":"1396352699","file0":"1396352698","file3":"1396352702"},"map_files_photo_id_array":[{"photo_id":"1396352700","filename":"file2"},{"photo_id":"1396352699","filename":"file1"},{"photo_id":"1396352698","filename":"file0"},{"photo_id":"1396352702","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352700":["hashtag1","hashtag2"]},{"1396352699":["hashtag1","hashtag2"]},{"1396352702":["hashtag1","hashtag2"]},{"1396352698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352700, 1396352699, 1396352702, 1396352698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.082787036895752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 04:54:32.510765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_29_2841.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_32_2917.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_37_2526.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_41_3607.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_46_2688.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_50_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_29_2841.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_32_2917.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_37_2526.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_41_3607.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_46_2688.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_50_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":["1396352717","1396352725","1396352710","1396352734","1396352728","1396352713"],"photo_ids_order":["1396352710","1396352713","1396352717","1396352725","1396352728","1396352734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10fa49bb2af942b5504c0f41c7bd2016.jpg","text":"TemporaryFile(/tmp/multipartBody1309736276486877458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_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/27/e17785aad099985dc3a65af2f6b1d2d6.jpg","text":"TemporaryFile(/tmp/multipartBody447211835767931767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_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/27/ea8dd572cbdee1514f9e58141962293d.jpg","text":"TemporaryFile(/tmp/multipartBody611578154649029325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_29_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/27/02e94eef5c2362bfc0a07005aff84e08.jpg","text":"TemporaryFile(/tmp/multipartBody4580233317012590959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_50_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/27/b0a142459d2950182fe5f37ea1904cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8993134526440774802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_46_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/27/3ef94a901d98bed077c6d31acd27da3a.jpg","text":"TemporaryFile(/tmp/multipartBody771647648337593935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215734454,"filename":"image_21112025_19_26_32_2917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352717","file1":"1396352713","file0":"1396352710","file4":"1396352728","file5":"1396352734","file3":"1396352725"},"map_files_photo_id_array":[{"photo_id":"1396352734","filename":"file5"},{"photo_id":"1396352717","filename":"file2"},{"photo_id":"1396352728","filename":"file4"},{"photo_id":"1396352713","filename":"file1"},{"photo_id":"1396352710","filename":"file0"},{"photo_id":"1396352725","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352717":["hashtag1","hashtag2"]},{"1396352725":["hashtag1","hashtag2"]},{"1396352710":["hashtag1","hashtag2"]},{"1396352734":["hashtag1","hashtag2"]},{"1396352728":["hashtag1","hashtag2"]},{"1396352713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352717, 1396352725, 1396352710, 1396352734, 1396352728, 1396352713)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.86291718482971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:55:22.704923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/53/image_27112025_04_53_44_9571.jpg', '/home/pi/Desktop/images/27112025/04/53/image_27112025_04_54_05_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/53/image_27112025_04_53_44_9571.jpg
/home/pi/Desktop/images/27112025/04/53/image_27112025_04_54_05_10668.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":["1396352740","1396352742"],"photo_ids_order":["1396352740","1396352742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9ea80eb88d969a84f74f6c8d4b708c3.jpg","text":"TemporaryFile(/tmp/multipartBody4703449646738682194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215783270,"filename":"image_27112025_04_53_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4acb136f8e2e3a57f5dcdd5bf37be175.jpg","text":"TemporaryFile(/tmp/multipartBody5124960686039360711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215783270,"filename":"image_27112025_04_54_05_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396352742","file0":"1396352740"},"map_files_photo_id_array":[{"photo_id":"1396352742","filename":"file1"},{"photo_id":"1396352740","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352740":["hashtag1","hashtag2"]},{"1396352742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352740, 1396352742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.78050923347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:56:06.013270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_52_2499.jpg', '/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_56_3731.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_22_25605.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_25_3068.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_26_1570.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_28_1880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_52_2499.jpg
/home/pi/Desktop/images/21112025/19/26/image_21112025_19_26_56_3731.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_22_25605.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_25_3068.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_26_1570.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_28_1880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352771","1396352759","1396352768","1396352756","1396352761","1396352766"],"photo_ids_order":["1396352756","1396352759","1396352761","1396352766","1396352768","1396352771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/233c2a8bb8902dbbcecfc1fe0f8a8909.jpg","text":"TemporaryFile(/tmp/multipartBody3575292345776159424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_27_28_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98319e7357e5f7cd6d632622e72ec0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3016528802150357339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_26_56_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/27/4c954f8bac63181bd8152e4f95aef18e.jpg","text":"TemporaryFile(/tmp/multipartBody5703232004500920842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_27_26_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/27/aefd5164b9a841d772ecef4b9eef6ab1.jpg","text":"TemporaryFile(/tmp/multipartBody671832062961918363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_26_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/27/a6f79c5eab312b0ef1671ccdd97b6cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4992059376002304827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_27_22_25605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8794e58890f4951c72dc220109a210d6.jpg","text":"TemporaryFile(/tmp/multipartBody4399768746783863510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215842169,"filename":"image_21112025_19_27_25_3068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352761","file1":"1396352759","file0":"1396352756","file4":"1396352768","file5":"1396352771","file3":"1396352766"},"map_files_photo_id_array":[{"photo_id":"1396352771","filename":"file5"},{"photo_id":"1396352761","filename":"file2"},{"photo_id":"1396352768","filename":"file4"},{"photo_id":"1396352759","filename":"file1"},{"photo_id":"1396352756","filename":"file0"},{"photo_id":"1396352766","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352771":["hashtag1","hashtag2"]},{"1396352759":["hashtag1","hashtag2"]},{"1396352768":["hashtag1","hashtag2"]},{"1396352756":["hashtag1","hashtag2"]},{"1396352761":["hashtag1","hashtag2"]},{"1396352766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352771, 1396352759, 1396352768, 1396352756, 1396352761, 1396352766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.38071346282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:57:03.300037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/54/image_27112025_04_54_54_9983.jpg', '/home/pi/Desktop/images/27112025/04/55/image_27112025_04_55_14_10278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/54/image_27112025_04_54_54_9983.jpg
/home/pi/Desktop/images/27112025/04/55/image_27112025_04_55_14_10278.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352777","1396352778"],"photo_ids_order":["1396352777","1396352778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92b33e2bcd0803aa686c386604f39d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8123405249920540893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215884019,"filename":"image_27112025_04_54_54_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ab76d3ea4bcaa00211b2fed4a2ed9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3050609502636230164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215884019,"filename":"image_27112025_04_55_14_10278.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396352778","file0":"1396352777"},"map_files_photo_id_array":[{"photo_id":"1396352778","filename":"file1"},{"photo_id":"1396352777","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352777":["hashtag1","hashtag2"]},{"1396352778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352777, 1396352778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.462028980255127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 04:57:22.726165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_30_1595.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_33_2984.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_35_1742.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_37_1943.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_38_1588.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_40_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_30_1595.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_33_2984.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_35_1742.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_37_1943.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_38_1588.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_40_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352795","1396352801","1396352804","1396352797","1396352799","1396352793"],"photo_ids_order":["1396352793","1396352795","1396352797","1396352799","1396352801","1396352804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b1cfeb9c6f60c46b344c2f93e6ffa7a0.jpg","text":"TemporaryFile(/tmp/multipartBody6004912391689171904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_33_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c3da198eb1799a67ac0e3c972f10df7.jpg","text":"TemporaryFile(/tmp/multipartBody3739070464258482553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_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/27/770b9342b0a4091d22183c09a76dd631.jpg","text":"TemporaryFile(/tmp/multipartBody3973432124756962106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_40_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/27/250c6356b5802da415d31efedd808404.jpg","text":"TemporaryFile(/tmp/multipartBody1651701254986522549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_35_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/27/1ad24a92b4278ba4e624d91856795f79.jpg","text":"TemporaryFile(/tmp/multipartBody6958309728713275732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_37_1943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83f90821d7bbcb07836831b69538e933.jpg","text":"TemporaryFile(/tmp/multipartBody7475099859858238600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764215904456,"filename":"image_21112025_19_27_30_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352797","file1":"1396352795","file0":"1396352793","file4":"1396352801","file5":"1396352804","file3":"1396352799"},"map_files_photo_id_array":[{"photo_id":"1396352804","filename":"file5"},{"photo_id":"1396352797","filename":"file2"},{"photo_id":"1396352801","filename":"file4"},{"photo_id":"1396352795","filename":"file1"},{"photo_id":"1396352793","filename":"file0"},{"photo_id":"1396352799","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352795":["hashtag1","hashtag2"]},{"1396352801":["hashtag1","hashtag2"]},{"1396352804":["hashtag1","hashtag2"]},{"1396352797":["hashtag1","hashtag2"]},{"1396352799":["hashtag1","hashtag2"]},{"1396352793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352795, 1396352801, 1396352804, 1396352797, 1396352799, 1396352793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87609791755676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 04:59:03.058056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/55/image_27112025_04_55_54_9707.jpg', '/home/pi/Desktop/images/27112025/04/55/image_27112025_04_56_04_9562.jpg', '/home/pi/Desktop/images/27112025/04/56/image_27112025_04_56_55_10768.jpg', '/home/pi/Desktop/images/27112025/04/57/image_27112025_04_57_17_12595.jpg', '/home/pi/Desktop/images/27112025/04/57/image_27112025_04_57_54_9623.jpg', '/home/pi/Desktop/images/27112025/04/57/image_27112025_04_58_05_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/55/image_27112025_04_55_54_9707.jpg
/home/pi/Desktop/images/27112025/04/55/image_27112025_04_56_04_9562.jpg
/home/pi/Desktop/images/27112025/04/56/image_27112025_04_56_55_10768.jpg
/home/pi/Desktop/images/27112025/04/57/image_27112025_04_57_17_12595.jpg
/home/pi/Desktop/images/27112025/04/57/image_27112025_04_57_54_9623.jpg
/home/pi/Desktop/images/27112025/04/57/image_27112025_04_58_05_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352825","1396352828","1396352822","1396352836","1396352832","1396352817"],"photo_ids_order":["1396352817","1396352822","1396352825","1396352828","1396352832","1396352836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cae3fc71bf814b30a75b8aedcb3b4c1a.jpg","text":"TemporaryFile(/tmp/multipartBody9039961324741008982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_56_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa852e18848ba59ab0e29bd603f1829e.jpg","text":"TemporaryFile(/tmp/multipartBody7705854340080129940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_57_17_12595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7371fd8da2f71b16176953bfb0c9ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4412153552670009296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_56_04_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc5d9f98709e816a991a24bf759d6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4579076221259748758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_58_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95c7b76d09ce347c7a65bd229d3fe9fd.jpg","text":"TemporaryFile(/tmp/multipartBody8867653759991083371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_57_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2c316cc9dc7d88e51bc39c602fd580c.jpg","text":"TemporaryFile(/tmp/multipartBody2796081077036486015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216004079,"filename":"image_27112025_04_55_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352825","file1":"1396352822","file0":"1396352817","file4":"1396352832","file5":"1396352836","file3":"1396352828"},"map_files_photo_id_array":[{"photo_id":"1396352836","filename":"file5"},{"photo_id":"1396352825","filename":"file2"},{"photo_id":"1396352832","filename":"file4"},{"photo_id":"1396352822","filename":"file1"},{"photo_id":"1396352817","filename":"file0"},{"photo_id":"1396352828","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352825":["hashtag1","hashtag2"]},{"1396352828":["hashtag1","hashtag2"]},{"1396352822":["hashtag1","hashtag2"]},{"1396352836":["hashtag1","hashtag2"]},{"1396352832":["hashtag1","hashtag2"]},{"1396352817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352825, 1396352828, 1396352822, 1396352836, 1396352832, 1396352817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.584757804870605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:00:02.709105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/58/image_27112025_04_58_35_10702.jpg', '/home/pi/Desktop/images/27112025/04/58/image_27112025_04_58_45_9746.jpg', '/home/pi/Desktop/images/27112025/04/59/image_27112025_04_59_24_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/58/image_27112025_04_58_35_10702.jpg
/home/pi/Desktop/images/27112025/04/58/image_27112025_04_58_45_9746.jpg
/home/pi/Desktop/images/27112025/04/59/image_27112025_04_59_24_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352849","1396352851","1396352853"],"photo_ids_order":["1396352849","1396352851","1396352853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46c4cb9b39ad23f09bfb8e118fcf50da.jpg","text":"TemporaryFile(/tmp/multipartBody5626438851106921933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216063363,"filename":"image_27112025_04_58_35_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/27/13351d1c22993af74700c847dc446b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7918615181176948593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216063363,"filename":"image_27112025_04_58_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/060e8917efa6ecc83b718e88019b1760.jpg","text":"TemporaryFile(/tmp/multipartBody3632246107809979878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216063363,"filename":"image_27112025_04_59_24_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352853","file1":"1396352851","file0":"1396352849"},"map_files_photo_id_array":[{"photo_id":"1396352853","filename":"file2"},{"photo_id":"1396352851","filename":"file1"},{"photo_id":"1396352849","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352849":["hashtag1","hashtag2"]},{"1396352851":["hashtag1","hashtag2"]},{"1396352853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352849, 1396352851, 1396352853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.593751907348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:00:32.353271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_41_1515.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_43_1511.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_44_1620.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_46_1688.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_48_1614.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_50_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_41_1515.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_43_1511.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_44_1620.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_46_1688.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_48_1614.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_50_1843.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7592449188232422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:00:42.334660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/38/image_30102025_21_38_58_2706.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_01_2647.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_04_2830.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_08_3944.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_11_2838.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_13_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/38/image_30102025_21_38_58_2706.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_01_2647.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_04_2830.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_08_3944.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_11_2838.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_13_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352888","1396352864","1396352875","1396352878","1396352871","1396352868"],"photo_ids_order":["1396352864","1396352868","1396352871","1396352875","1396352878","1396352888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4424f3ed19b68e80818351717edd4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody625926675473551709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_39_13_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/27/f6a4ede27795ceb8742cb019e812e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3790481227019572372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_38_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/27/48f45049260d20321cc05d6ffc3c54f0.jpg","text":"TemporaryFile(/tmp/multipartBody372586578731542095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_39_08_3944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bcb18c95aaa86d160df02cc7ae2d8e2.jpg","text":"TemporaryFile(/tmp/multipartBody203346327301949268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_39_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/27/da43f3c3baa691246764898e45546e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5917603303884423954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_39_04_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/27/c66ea058b7f7648f2e5ebd36db92a7fe.jpg","text":"TemporaryFile(/tmp/multipartBody2001995611991791890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216103590,"filename":"image_30102025_21_39_01_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352871","file1":"1396352868","file0":"1396352864","file4":"1396352878","file5":"1396352888","file3":"1396352875"},"map_files_photo_id_array":[{"photo_id":"1396352888","filename":"file5"},{"photo_id":"1396352871","filename":"file2"},{"photo_id":"1396352878","filename":"file4"},{"photo_id":"1396352868","filename":"file1"},{"photo_id":"1396352864","filename":"file0"},{"photo_id":"1396352875","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352888":["hashtag1","hashtag2"]},{"1396352864":["hashtag1","hashtag2"]},{"1396352875":["hashtag1","hashtag2"]},{"1396352878":["hashtag1","hashtag2"]},{"1396352871":["hashtag1","hashtag2"]},{"1396352868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352888, 1396352864, 1396352875, 1396352878, 1396352871, 1396352868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8211944103241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:01:22.586786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/04/59/image_27112025_04_59_35_10705.jpg', '/home/pi/Desktop/images/27112025/04/59/image_27112025_05_00_05_10669.jpg', '/home/pi/Desktop/images/27112025/05/00/image_27112025_05_00_24_9719.jpg', '/home/pi/Desktop/images/27112025/05/00/image_27112025_05_00_44_9590.jpg', '/home/pi/Desktop/images/27112025/05/00/image_27112025_05_01_05_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/04/59/image_27112025_04_59_35_10705.jpg
/home/pi/Desktop/images/27112025/04/59/image_27112025_05_00_05_10669.jpg
/home/pi/Desktop/images/27112025/05/00/image_27112025_05_00_24_9719.jpg
/home/pi/Desktop/images/27112025/05/00/image_27112025_05_00_44_9590.jpg
/home/pi/Desktop/images/27112025/05/00/image_27112025_05_01_05_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352906","1396352899","1396352903","1396352905","1396352901"],"photo_ids_order":["1396352899","1396352901","1396352903","1396352905","1396352906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7a4c64d5804a95e70b0f6e838dedf73.jpg","text":"TemporaryFile(/tmp/multipartBody3368484851476960365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216143345,"filename":"image_27112025_05_01_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0700dca6adc04dc7bfa2879035832d46.jpg","text":"TemporaryFile(/tmp/multipartBody2056855709692110724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216143345,"filename":"image_27112025_04_59_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9c96a91a77c400d47d0dfc0beb02fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2598547120196265335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216143345,"filename":"image_27112025_05_00_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f0ba2db376ae26ead1b576e1dca91e7.jpg","text":"TemporaryFile(/tmp/multipartBody172670945300872053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216143345,"filename":"image_27112025_05_00_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20b4ef4a26bf0f0bddad0a7ae484b229.jpg","text":"TemporaryFile(/tmp/multipartBody870597074154034187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216143345,"filename":"image_27112025_05_00_05_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352903","file1":"1396352901","file0":"1396352899","file4":"1396352906","file3":"1396352905"},"map_files_photo_id_array":[{"photo_id":"1396352903","filename":"file2"},{"photo_id":"1396352906","filename":"file4"},{"photo_id":"1396352901","filename":"file1"},{"photo_id":"1396352899","filename":"file0"},{"photo_id":"1396352905","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352906":["hashtag1","hashtag2"]},{"1396352899":["hashtag1","hashtag2"]},{"1396352903":["hashtag1","hashtag2"]},{"1396352905":["hashtag1","hashtag2"]},{"1396352901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352906, 1396352899, 1396352903, 1396352905, 1396352901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.28922986984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:02:03.279773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_41_1515.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_43_1511.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_44_1620.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_46_1688.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_48_1614.jpg', '/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_50_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_41_1515.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_43_1511.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_44_1620.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_46_1688.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_48_1614.jpg
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_50_1843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352915","1396352920","1396352923","1396352917","1396352913","1396352916"],"photo_ids_order":["1396352913","1396352915","1396352916","1396352917","1396352920","1396352923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8193b4457e0a7e3bf3ef196e014b10e6.jpg","text":"TemporaryFile(/tmp/multipartBody9173699750826047604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_43_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/27/67d08d3bb0453b98af7ef918c4b3e1c9.jpg","text":"TemporaryFile(/tmp/multipartBody4666315762538889781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_48_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/27/cdcf726d507bc98aa2b58935ab9293c4.jpg","text":"TemporaryFile(/tmp/multipartBody3309052452032057045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_50_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c44ea91daaa7f7dd71445c61bdc71260.jpg","text":"TemporaryFile(/tmp/multipartBody3692000590006487681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_46_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/27/4e69b0ce828e97e743d78dfcb37b3d7f.jpg","text":"TemporaryFile(/tmp/multipartBody624259004812534832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_41_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89222d24992272eca34a931ec2029ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5920053824188235610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216184416,"filename":"image_21112025_19_27_44_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352916","file1":"1396352915","file0":"1396352913","file4":"1396352920","file5":"1396352923","file3":"1396352917"},"map_files_photo_id_array":[{"photo_id":"1396352923","filename":"file5"},{"photo_id":"1396352916","filename":"file2"},{"photo_id":"1396352920","filename":"file4"},{"photo_id":"1396352915","filename":"file1"},{"photo_id":"1396352913","filename":"file0"},{"photo_id":"1396352917","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352915":["hashtag1","hashtag2"]},{"1396352920":["hashtag1","hashtag2"]},{"1396352923":["hashtag1","hashtag2"]},{"1396352917":["hashtag1","hashtag2"]},{"1396352913":["hashtag1","hashtag2"]},{"1396352916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352915, 1396352920, 1396352923, 1396352917, 1396352913, 1396352916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45413827896118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:02:42.884593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/39/image_30102025_21_39_16_2669.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_20_3740.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_23_2830.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_25_2653.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_32_3661.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_37_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/21/39/image_30102025_21_39_16_2669.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_20_3740.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_23_2830.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_25_2653.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_32_3661.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_37_2642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1689507961273193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:03:02.725043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/01/image_27112025_05_01_44_9704.jpg', '/home/pi/Desktop/images/27112025/05/01/image_27112025_05_02_04_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/01/image_27112025_05_01_44_9704.jpg
/home/pi/Desktop/images/27112025/05/01/image_27112025_05_02_04_9904.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352938","1396352940"],"photo_ids_order":["1396352938","1396352940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab6241d24595ef5181faa415b19a2a81.jpg","text":"TemporaryFile(/tmp/multipartBody642580379465404443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216243361,"filename":"image_27112025_05_01_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/355f9c6f179a5792f5fbbec8c1474a98.jpg","text":"TemporaryFile(/tmp/multipartBody7514248372586641917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216243361,"filename":"image_27112025_05_02_04_9904.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396352940","file0":"1396352938"},"map_files_photo_id_array":[{"photo_id":"1396352940","filename":"file1"},{"photo_id":"1396352938","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352938":["hashtag1","hashtag2"]},{"1396352940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352938, 1396352940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.07820463180542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:03:22.171566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/02/image_27112025_05_02_15_10604.jpg', '/home/pi/Desktop/images/27112025/05/03/image_27112025_05_03_45_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/02/image_27112025_05_02_15_10604.jpg
/home/pi/Desktop/images/27112025/05/03/image_27112025_05_03_45_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352946","1396352943"],"photo_ids_order":["1396352943","1396352946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fec80a6ad82b9f753b2a2eb2caa1053.jpg","text":"TemporaryFile(/tmp/multipartBody4386314170479385828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216262756,"filename":"image_27112025_05_03_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ddcd1ab282339f81f6f7a32ba7ade9f.jpg","text":"TemporaryFile(/tmp/multipartBody7060074935577264427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216262756,"filename":"image_27112025_05_02_15_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396352946","file0":"1396352943"},"map_files_photo_id_array":[{"photo_id":"1396352946","filename":"file1"},{"photo_id":"1396352943","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352946":["hashtag1","hashtag2"]},{"1396352943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352946, 1396352943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.613930702209473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:03:42.118003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/39/image_30102025_21_39_16_2669.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_20_3740.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_23_2830.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_25_2653.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_32_3661.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_37_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/21/39/image_30102025_21_39_16_2669.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_20_3740.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_23_2830.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_25_2653.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_32_3661.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_37_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352963","1396352957","1396352953","1396352959","1396352961","1396352955"],"photo_ids_order":["1396352953","1396352955","1396352957","1396352959","1396352961","1396352963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5413de4779b7d028251ad3303b680bc.jpg","text":"TemporaryFile(/tmp/multipartBody8580565022910383681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_37_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/27/4242439fa111ee56c07fbb6f86376633.jpg","text":"TemporaryFile(/tmp/multipartBody5088401021375712084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_23_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/27/cdfec96cc1a6e0d0d3da3c74cdded58c.jpg","text":"TemporaryFile(/tmp/multipartBody2447099560283489341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_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/27/2412e2e7175e1a7c749d4ecca28dd3fb.jpg","text":"TemporaryFile(/tmp/multipartBody5524076647370085473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_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/27/fd4acfd63a5d7f6bf04bfc1708f0e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2467342955904616823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_32_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/27/b1398918560fa05f95827dd6abfd7964.jpg","text":"TemporaryFile(/tmp/multipartBody4445519105468445263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216283273,"filename":"image_30102025_21_39_20_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352957","file1":"1396352955","file0":"1396352953","file4":"1396352961","file5":"1396352963","file3":"1396352959"},"map_files_photo_id_array":[{"photo_id":"1396352963","filename":"file5"},{"photo_id":"1396352957","filename":"file2"},{"photo_id":"1396352961","filename":"file4"},{"photo_id":"1396352955","filename":"file1"},{"photo_id":"1396352953","filename":"file0"},{"photo_id":"1396352959","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396352963":["hashtag1","hashtag2"]},{"1396352957":["hashtag1","hashtag2"]},{"1396352953":["hashtag1","hashtag2"]},{"1396352959":["hashtag1","hashtag2"]},{"1396352961":["hashtag1","hashtag2"]},{"1396352955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396352963, 1396352957, 1396352953, 1396352959, 1396352961, 1396352955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82162141799927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:04:22.293823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/03/image_27112025_05_03_54_9684.jpg', '/home/pi/Desktop/images/27112025/05/03/image_27112025_05_04_04_9749.jpg', '/home/pi/Desktop/images/27112025/05/04/image_27112025_05_04_25_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/03/image_27112025_05_03_54_9684.jpg
/home/pi/Desktop/images/27112025/05/03/image_27112025_05_04_04_9749.jpg
/home/pi/Desktop/images/27112025/05/04/image_27112025_05_04_25_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352969","1396352966","1396352971"],"photo_ids_order":["1396352966","1396352969","1396352971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05ddb51210b17797f97d4749f115b012.jpg","text":"TemporaryFile(/tmp/multipartBody8453256293708193187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216323029,"filename":"image_27112025_05_04_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/890e5fb2e41adeef3699f44fa00c213c.jpg","text":"TemporaryFile(/tmp/multipartBody782448489227704323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216323029,"filename":"image_27112025_05_03_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/671dcb64207a61e89461ca6a81eddd02.jpg","text":"TemporaryFile(/tmp/multipartBody8278665442806653725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216323029,"filename":"image_27112025_05_04_25_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352971","file1":"1396352969","file0":"1396352966"},"map_files_photo_id_array":[{"photo_id":"1396352971","filename":"file2"},{"photo_id":"1396352969","filename":"file1"},{"photo_id":"1396352966","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396352969":["hashtag1","hashtag2"]},{"1396352966":["hashtag1","hashtag2"]},{"1396352971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396352969, 1396352966, 1396352971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.42203140258789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:05:03.245070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_51_1611.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_11_18490.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_20_8782.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_22_1690.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_26_4342.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_28_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/27/image_21112025_19_27_51_1611.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_11_18490.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_20_8782.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_22_1690.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_26_4342.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_28_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396352987","1396352981","1396352984","1396352983","1396352991","1396352985"],"photo_ids_order":["1396352981","1396352983","1396352984","1396352985","1396352987","1396352991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1222db5800703a1133db82363db3ea98.jpg","text":"TemporaryFile(/tmp/multipartBody3316835980454045504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_28_26_4342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6462558d076b8974592d77445888f1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4276637471453952771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_27_51_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/27/1a13351c35d93c80e237545d10728ece.jpg","text":"TemporaryFile(/tmp/multipartBody6148589841629240789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_28_20_8782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f878761ae86772abca1a5819e0c11d5.jpg","text":"TemporaryFile(/tmp/multipartBody6143476553848171140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_28_11_18490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a615fa6bc0e75b12b321062ee35bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody2325394543679741648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_28_28_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/27/2b162b50b7fe9364aa0a57e5c348b6b2.jpg","text":"TemporaryFile(/tmp/multipartBody7456360169730901158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216364576,"filename":"image_21112025_19_28_22_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396352984","file1":"1396352983","file0":"1396352981","file4":"1396352987","file5":"1396352991","file3":"1396352985"},"map_files_photo_id_array":[{"photo_id":"1396352991","filename":"file5"},{"photo_id":"1396352984","filename":"file2"},{"photo_id":"1396352987","filename":"file4"},{"photo_id":"1396352983","filename":"file1"},{"photo_id":"1396352981","filename":"file0"},{"photo_id":"1396352985","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396352987":["hashtag1","hashtag2"]},{"1396352981":["hashtag1","hashtag2"]},{"1396352984":["hashtag1","hashtag2"]},{"1396352983":["hashtag1","hashtag2"]},{"1396352991":["hashtag1","hashtag2"]},{"1396352985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396352987, 1396352981, 1396352984, 1396352983, 1396352991, 1396352985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.341368198394775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:05:42.532302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/39/image_30102025_21_39_40_3596.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_43_2692.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_46_2669.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_50_3738.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_52_2790.jpg', '/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_55_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_40_3596.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_43_2692.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_46_2669.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_50_3738.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_52_2790.jpg
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_55_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353005","1396352998","1396353001","1396353007","1396353009","1396353003"],"photo_ids_order":["1396352998","1396353001","1396353003","1396353005","1396353007","1396353009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0ad9b48bb76cffaf983a93ac2411744.jpg","text":"TemporaryFile(/tmp/multipartBody4142657393111576089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_50_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/27/19abb24ddb8b860f438a3ba210860adf.jpg","text":"TemporaryFile(/tmp/multipartBody2327791481712508001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_40_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/27/e61cfdc57e3761ce02600d95b840573f.jpg","text":"TemporaryFile(/tmp/multipartBody2035867043251681612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_43_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/27/4e2b2f59b613880b9fe4fe06c91c70b2.jpg","text":"TemporaryFile(/tmp/multipartBody5724907370551649724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_52_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/27/050c9b49e42a095fb959b77be8201500.jpg","text":"TemporaryFile(/tmp/multipartBody8691289430446024744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_55_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/27/5556f4896a7ed1293f70b0f768c55497.jpg","text":"TemporaryFile(/tmp/multipartBody6240268727536784271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216403786,"filename":"image_30102025_21_39_46_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353003","file1":"1396353001","file0":"1396352998","file4":"1396353007","file5":"1396353009","file3":"1396353005"},"map_files_photo_id_array":[{"photo_id":"1396353009","filename":"file5"},{"photo_id":"1396353003","filename":"file2"},{"photo_id":"1396353007","filename":"file4"},{"photo_id":"1396353001","filename":"file1"},{"photo_id":"1396352998","filename":"file0"},{"photo_id":"1396353005","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396353005":["hashtag1","hashtag2"]},{"1396352998":["hashtag1","hashtag2"]},{"1396353001":["hashtag1","hashtag2"]},{"1396353007":["hashtag1","hashtag2"]},{"1396353009":["hashtag1","hashtag2"]},{"1396353003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396353005, 1396352998, 1396353001, 1396353007, 1396353009, 1396353003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87379837036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:06:22.702847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/04/image_27112025_05_04_34_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/04/image_27112025_05_04_34_9526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353012"],"photo_id":"1396353012","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b44b48fc05bd7c0de9e69329a9a6e529.jpg","text":"TemporaryFile(/tmp/multipartBody7597824054550211033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216443244,"filename":"image_27112025_05_04_34_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396353012"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396353012"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.314732789993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:06:42.806318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/39/image_30102025_21_39_59_3593.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_01_2671.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_04_3213.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_07_2649.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_11_3568.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_22_11060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/39/image_30102025_21_39_59_3593.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_01_2671.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_04_3213.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_07_2649.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_11_3568.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_22_11060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353038","1396353026","1396353051","1396353045","1396353048","1396353042"],"photo_ids_order":["1396353026","1396353038","1396353042","1396353045","1396353048","1396353051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a86d242fff567dc454eb5114b9f51fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8427015896726250938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_40_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/27/31cfdd16238d1af21b351c53aad28135.jpg","text":"TemporaryFile(/tmp/multipartBody2571652252907935219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_39_59_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/27/544b6fec372d0a3c8db5ff1f701795d3.jpg","text":"TemporaryFile(/tmp/multipartBody1466534442778568934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_40_22_11060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a68de9042173766a2655b7a56d7d7c85.jpg","text":"TemporaryFile(/tmp/multipartBody5313608991090662391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_40_07_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/27/33bfd2bc8100d78f0f74cf0efd7de885.jpg","text":"TemporaryFile(/tmp/multipartBody920302093026170307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_40_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/27/29b5195588b25ab481520da106d31699.jpg","text":"TemporaryFile(/tmp/multipartBody375761721874542011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216464060,"filename":"image_30102025_21_40_04_3213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353042","file1":"1396353038","file0":"1396353026","file4":"1396353048","file5":"1396353051","file3":"1396353045"},"map_files_photo_id_array":[{"photo_id":"1396353051","filename":"file5"},{"photo_id":"1396353042","filename":"file2"},{"photo_id":"1396353048","filename":"file4"},{"photo_id":"1396353038","filename":"file1"},{"photo_id":"1396353026","filename":"file0"},{"photo_id":"1396353045","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396353038":["hashtag1","hashtag2"]},{"1396353026":["hashtag1","hashtag2"]},{"1396353051":["hashtag1","hashtag2"]},{"1396353045":["hashtag1","hashtag2"]},{"1396353048":["hashtag1","hashtag2"]},{"1396353042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396353038, 1396353026, 1396353051, 1396353045, 1396353048, 1396353042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27700138092041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:07:21.946237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_32_4107.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_34_1801.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_35_1730.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_37_1674.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_39_1726.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_41_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_32_4107.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_34_1801.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_35_1730.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_37_1674.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_39_1726.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_41_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353064","1396353061","1396353055","1396353058","1396353066","1396353068"],"photo_ids_order":["1396353055","1396353058","1396353061","1396353064","1396353066","1396353068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b736a75f480d21f8067fa10bf778015.jpg","text":"TemporaryFile(/tmp/multipartBody7893824502194899315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_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/27/43684809facfc1f5329e4d4a9b6618ae.jpg","text":"TemporaryFile(/tmp/multipartBody2892478851323983445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_35_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/27/aac976942945f2d7b8336a4f4d34365b.jpg","text":"TemporaryFile(/tmp/multipartBody295856547493965122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_32_4107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c85ebfb8768c94ca9cf880e309e6a51a.jpg","text":"TemporaryFile(/tmp/multipartBody8845553358507964773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_34_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/27/9356a06b855d2c3b0655fd476cd3aef1.jpg","text":"TemporaryFile(/tmp/multipartBody6015452534354794167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_39_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/461b5cc0a577d3faaa95732c388f2e60.jpg","text":"TemporaryFile(/tmp/multipartBody4156282350429022704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216503832,"filename":"image_21112025_19_28_41_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353061","file1":"1396353058","file0":"1396353055","file4":"1396353066","file5":"1396353068","file3":"1396353064"},"map_files_photo_id_array":[{"photo_id":"1396353068","filename":"file5"},{"photo_id":"1396353061","filename":"file2"},{"photo_id":"1396353066","filename":"file4"},{"photo_id":"1396353058","filename":"file1"},{"photo_id":"1396353055","filename":"file0"},{"photo_id":"1396353064","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353064":["hashtag1","hashtag2"]},{"1396353061":["hashtag1","hashtag2"]},{"1396353055":["hashtag1","hashtag2"]},{"1396353058":["hashtag1","hashtag2"]},{"1396353066":["hashtag1","hashtag2"]},{"1396353068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353064, 1396353061, 1396353055, 1396353058, 1396353066, 1396353068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93985390663147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:08:02.532803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_44_1591.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_45_1499.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_47_1504.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_48_1636.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_50_1573.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_52_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_44_1591.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_45_1499.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_47_1504.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_48_1636.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_50_1573.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_52_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353077","1396353073","1396353075","1396353071","1396353080","1396353074"],"photo_ids_order":["1396353071","1396353073","1396353074","1396353075","1396353077","1396353080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52207c555fa5a37f69568399e1f6fa71.jpg","text":"TemporaryFile(/tmp/multipartBody4591731327876213080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_50_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/27/9da33c2f5ed79897da5d3837097457d5.jpg","text":"TemporaryFile(/tmp/multipartBody1073191663888404088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_45_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/27/77f4c2a4e5be6d8e8e18a87fdca2bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody6885789770062951028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_48_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/27/b4260b84a5cc54086fc8fc54416fcaf9.jpg","text":"TemporaryFile(/tmp/multipartBody480747026707741299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_44_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/27/62a5ea79a8bdc4aab0609cbba64173a8.jpg","text":"TemporaryFile(/tmp/multipartBody1042425819104838152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_52_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/27/b53147b6c20c192c1f4bc140f075da2d.jpg","text":"TemporaryFile(/tmp/multipartBody2712548464995230878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216543839,"filename":"image_21112025_19_28_47_1504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353074","file1":"1396353073","file0":"1396353071","file4":"1396353077","file5":"1396353080","file3":"1396353075"},"map_files_photo_id_array":[{"photo_id":"1396353080","filename":"file5"},{"photo_id":"1396353074","filename":"file2"},{"photo_id":"1396353077","filename":"file4"},{"photo_id":"1396353073","filename":"file1"},{"photo_id":"1396353071","filename":"file0"},{"photo_id":"1396353075","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353077":["hashtag1","hashtag2"]},{"1396353073":["hashtag1","hashtag2"]},{"1396353075":["hashtag1","hashtag2"]},{"1396353071":["hashtag1","hashtag2"]},{"1396353080":["hashtag1","hashtag2"]},{"1396353074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353077, 1396353073, 1396353075, 1396353071, 1396353080, 1396353074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92244243621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:08:42.138597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/40/image_30102025_21_40_23_1562.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_28_1515.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_30_1749.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_37_2739.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_40_2731.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_43_3083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_23_1562.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_28_1515.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_30_1749.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_37_2739.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_40_2731.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_43_3083.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2088732719421387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:09:03.254357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/06/image_27112025_05_06_44_9711.jpg', '/home/pi/Desktop/images/27112025/05/08/image_27112025_05_08_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/06/image_27112025_05_06_44_9711.jpg
/home/pi/Desktop/images/27112025/05/08/image_27112025_05_08_24_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353101","1396353100"],"photo_ids_order":["1396353100","1396353101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0be00f37e052b9b50d975211707b76dd.jpg","text":"TemporaryFile(/tmp/multipartBody9197801165452970452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216604062,"filename":"image_27112025_05_08_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a2261475b0d4a41bfaf4d9bf84f9373.jpg","text":"TemporaryFile(/tmp/multipartBody5484625416628850541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216604062,"filename":"image_27112025_05_06_44_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396353101","file0":"1396353100"},"map_files_photo_id_array":[{"photo_id":"1396353101","filename":"file1"},{"photo_id":"1396353100","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396353101":["hashtag1","hashtag2"]},{"1396353100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396353101, 1396353100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.89835786819458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:09:22.313812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_53_1630.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_57_3985.jpg', '/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_59_1536.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_03_4454.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_05_1672.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_07_1988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_53_1630.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_57_3985.jpg
/home/pi/Desktop/images/21112025/19/28/image_21112025_19_28_59_1536.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_03_4454.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_05_1672.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_07_1988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353110","1396353104","1396353113","1396353106","1396353111","1396353108"],"photo_ids_order":["1396353104","1396353106","1396353108","1396353110","1396353111","1396353113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc88de8552d997f7bd9714bcbff02d78.jpg","text":"TemporaryFile(/tmp/multipartBody3932843205044600379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_29_03_4454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3a7ed9f2ab91150706f3bc6240709aa.jpg","text":"TemporaryFile(/tmp/multipartBody6789785424214044181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_28_53_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/27/cbdb0c4755161cbc8d3b8f7d02154c5d.jpg","text":"TemporaryFile(/tmp/multipartBody361913272802462216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_29_07_1988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a15b514c08c20ca75501923b8ef3aa32.jpg","text":"TemporaryFile(/tmp/multipartBody8775875207734689868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_28_57_3985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0858bef92828010ecc60a69cffc78ead.jpg","text":"TemporaryFile(/tmp/multipartBody3939431516667192563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_29_05_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/27/9d32b2355ebe3b8f5f190f77ab7d2b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5769666064611451752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216624153,"filename":"image_21112025_19_28_59_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353108","file1":"1396353106","file0":"1396353104","file4":"1396353111","file5":"1396353113","file3":"1396353110"},"map_files_photo_id_array":[{"photo_id":"1396353113","filename":"file5"},{"photo_id":"1396353108","filename":"file2"},{"photo_id":"1396353111","filename":"file4"},{"photo_id":"1396353106","filename":"file1"},{"photo_id":"1396353104","filename":"file0"},{"photo_id":"1396353110","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353110":["hashtag1","hashtag2"]},{"1396353104":["hashtag1","hashtag2"]},{"1396353113":["hashtag1","hashtag2"]},{"1396353106":["hashtag1","hashtag2"]},{"1396353111":["hashtag1","hashtag2"]},{"1396353108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353110, 1396353104, 1396353113, 1396353106, 1396353111, 1396353108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.753169775009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:10:02.878560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_18_10806.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_19_1593.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_21_1556.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_24_1669.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_26_1649.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_29_3029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_18_10806.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_19_1593.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_21_1556.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_24_1669.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_26_1649.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_29_3029.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353116","1396353115","1396353124","1396353118","1396353120","1396353117"],"photo_ids_order":["1396353115","1396353116","1396353117","1396353118","1396353120","1396353124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/278847899eee3286aefde725017910e9.jpg","text":"TemporaryFile(/tmp/multipartBody8555538193533003806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_19_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/27/67b1418b464bb82bcf27a44fd9149414.jpg","text":"TemporaryFile(/tmp/multipartBody6518205840433087005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_18_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2eba3e1873c165704ded3460f7037132.jpg","text":"TemporaryFile(/tmp/multipartBody1773406931529380806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_29_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34eaf4572493053c3027e63fe85febe5.jpg","text":"TemporaryFile(/tmp/multipartBody2358778987972311758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_24_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/412395d1f05efb072e4de42fd5813615.jpg","text":"TemporaryFile(/tmp/multipartBody5386957526469336369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_26_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/27/11e346c3d9e33dd863d0256304f9a2d5.jpg","text":"TemporaryFile(/tmp/multipartBody2751142965133777033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216664095,"filename":"image_21112025_19_29_21_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353117","file1":"1396353116","file0":"1396353115","file4":"1396353120","file5":"1396353124","file3":"1396353118"},"map_files_photo_id_array":[{"photo_id":"1396353124","filename":"file5"},{"photo_id":"1396353117","filename":"file2"},{"photo_id":"1396353120","filename":"file4"},{"photo_id":"1396353116","filename":"file1"},{"photo_id":"1396353115","filename":"file0"},{"photo_id":"1396353118","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353116":["hashtag1","hashtag2"]},{"1396353115":["hashtag1","hashtag2"]},{"1396353124":["hashtag1","hashtag2"]},{"1396353118":["hashtag1","hashtag2"]},{"1396353120":["hashtag1","hashtag2"]},{"1396353117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353116, 1396353115, 1396353124, 1396353118, 1396353120, 1396353117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81301927566528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:10:42.501319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/40/image_30102025_21_40_23_1562.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_28_1515.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_30_1749.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_37_2739.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_40_2731.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_43_3083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_23_1562.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_28_1515.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_30_1749.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_37_2739.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_40_2731.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_43_3083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353140","1396353137","1396353142","1396353139","1396353138","1396353135"],"photo_ids_order":["1396353135","1396353137","1396353138","1396353139","1396353140","1396353142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0271e9c530037a3004a29ad02a82e6d8.jpg","text":"TemporaryFile(/tmp/multipartBody2067769132744963061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_40_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/27/d08e9027b392b1ed846564fa628b4183.jpg","text":"TemporaryFile(/tmp/multipartBody8492723581311542969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_28_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/670b7d572e2136203c970038cab4b3dd.jpg","text":"TemporaryFile(/tmp/multipartBody6265810173039377562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_43_3083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82ab6eb71948d14eee2f37c4d4a794c4.jpg","text":"TemporaryFile(/tmp/multipartBody6520581368140755212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_37_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/27/0b9b846c07b09d3237ad5156888785a9.jpg","text":"TemporaryFile(/tmp/multipartBody249711045453255138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_30_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73e383de218306671db93ce2934b630f.jpg","text":"TemporaryFile(/tmp/multipartBody3244702957381598519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216703651,"filename":"image_30102025_21_40_23_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353138","file1":"1396353137","file0":"1396353135","file4":"1396353140","file5":"1396353142","file3":"1396353139"},"map_files_photo_id_array":[{"photo_id":"1396353142","filename":"file5"},{"photo_id":"1396353138","filename":"file2"},{"photo_id":"1396353140","filename":"file4"},{"photo_id":"1396353137","filename":"file1"},{"photo_id":"1396353135","filename":"file0"},{"photo_id":"1396353139","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396353140":["hashtag1","hashtag2"]},{"1396353137":["hashtag1","hashtag2"]},{"1396353142":["hashtag1","hashtag2"]},{"1396353139":["hashtag1","hashtag2"]},{"1396353138":["hashtag1","hashtag2"]},{"1396353135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396353140, 1396353137, 1396353142, 1396353139, 1396353138, 1396353135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49484038352966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:11:22.612181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_35_5828.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_36_1575.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_38_2011.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_43_4440.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_44_1671.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_46_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_35_5828.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_36_1575.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_38_2011.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_43_4440.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_44_1671.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_46_1691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353190","1396353193","1396353166","1396353192","1396353185","1396353188"],"photo_ids_order":["1396353166","1396353185","1396353188","1396353190","1396353192","1396353193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14f4323696a060cb8bc63eea540c7268.jpg","text":"TemporaryFile(/tmp/multipartBody7575374601917994905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_43_4440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f87f1ea695d3edea7413fcd44ab394a.jpg","text":"TemporaryFile(/tmp/multipartBody3254998942196261521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_46_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/27/07b5c62388c7d2467e7ec1d8a7c7b435.jpg","text":"TemporaryFile(/tmp/multipartBody5264274756267709654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_35_5828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/546b9738a29b56bcc296fe14666d7afb.jpg","text":"TemporaryFile(/tmp/multipartBody3446979253812456653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_44_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67c09ea52014d431d7789830dbf451fc.jpg","text":"TemporaryFile(/tmp/multipartBody2958798957439049627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_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/27/98db31c86d6982091dbdfca1f0b1a509.jpg","text":"TemporaryFile(/tmp/multipartBody4235092751006711766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216744470,"filename":"image_21112025_19_29_38_2011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353188","file1":"1396353185","file0":"1396353166","file4":"1396353192","file5":"1396353193","file3":"1396353190"},"map_files_photo_id_array":[{"photo_id":"1396353193","filename":"file5"},{"photo_id":"1396353188","filename":"file2"},{"photo_id":"1396353192","filename":"file4"},{"photo_id":"1396353185","filename":"file1"},{"photo_id":"1396353166","filename":"file0"},{"photo_id":"1396353190","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353190":["hashtag1","hashtag2"]},{"1396353193":["hashtag1","hashtag2"]},{"1396353166":["hashtag1","hashtag2"]},{"1396353192":["hashtag1","hashtag2"]},{"1396353185":["hashtag1","hashtag2"]},{"1396353188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353190, 1396353193, 1396353166, 1396353192, 1396353185, 1396353188)","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 = 1396353188 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_38_2011.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.35854721069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:12:27.587729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_48_1605.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_49_1625.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_51_1704.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_53_1636.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_56_3004.jpg', '/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_58_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_48_1605.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_49_1625.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_51_1704.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_53_1636.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_56_3004.jpg
/home/pi/Desktop/images/21112025/19/29/image_21112025_19_29_58_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353203","1396353199","1396353220","1396353208","1396353216","1396353201"],"photo_ids_order":["1396353199","1396353201","1396353203","1396353208","1396353216","1396353220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6c021cd95fbab28de7228e3d752a723.jpg","text":"TemporaryFile(/tmp/multipartBody1629811897434968464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_51_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a9668796d379d1465fc58af0f42ce39.jpg","text":"TemporaryFile(/tmp/multipartBody2327503011872291435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_48_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/27/bbd3dfe44e1038d0c3664ba1d52d6707.jpg","text":"TemporaryFile(/tmp/multipartBody2362662077461238587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_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/27/bc12d5141e3ffd0fbeb15cce8a66e4e8.jpg","text":"TemporaryFile(/tmp/multipartBody1161724437939503841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_53_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/27/084360a52414289fa466df5645d4528d.jpg","text":"TemporaryFile(/tmp/multipartBody4827608314609702331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_56_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a20d4e31c31e1d08ffedcf230ebbe828.jpg","text":"TemporaryFile(/tmp/multipartBody4883155360037528352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216809335,"filename":"image_21112025_19_29_49_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353203","file1":"1396353201","file0":"1396353199","file4":"1396353216","file5":"1396353220","file3":"1396353208"},"map_files_photo_id_array":[{"photo_id":"1396353220","filename":"file5"},{"photo_id":"1396353203","filename":"file2"},{"photo_id":"1396353216","filename":"file4"},{"photo_id":"1396353201","filename":"file1"},{"photo_id":"1396353199","filename":"file0"},{"photo_id":"1396353208","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353203":["hashtag1","hashtag2"]},{"1396353199":["hashtag1","hashtag2"]},{"1396353220":["hashtag1","hashtag2"]},{"1396353208":["hashtag1","hashtag2"]},{"1396353216":["hashtag1","hashtag2"]},{"1396353201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353203, 1396353199, 1396353220, 1396353208, 1396353216, 1396353201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42366003990173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:13:12.634224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_07_3054.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_10_2990.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_14_3654.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_17_2512.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_19_2801.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_23_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_07_3054.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_10_2990.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_14_3654.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_17_2512.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_19_2801.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_23_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353233","1396353236","1396353239","1396353230","1396353237","1396353228"],"photo_ids_order":["1396353228","1396353230","1396353233","1396353236","1396353237","1396353239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a0b7dc72ad369cf203f2d64c0fa6dce.jpg","text":"TemporaryFile(/tmp/multipartBody434737062284950829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_14_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/27/4a2ad2a5b1dbde1de0eb8c01e26b3462.jpg","text":"TemporaryFile(/tmp/multipartBody6738560262136321868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_17_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/27/515d53fbd46dc4b210f5ca1904b61243.jpg","text":"TemporaryFile(/tmp/multipartBody1972187111828725665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_23_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/27/4655cb9dba0665b915a9bf1b6b46eb6e.jpg","text":"TemporaryFile(/tmp/multipartBody6112673270191253114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_10_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e03460e20871ec31d508726a67c3f173.jpg","text":"TemporaryFile(/tmp/multipartBody6855929496110261852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_19_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/27/9c2ce883fb5ac3bef871704e8aeddefc.jpg","text":"TemporaryFile(/tmp/multipartBody695768512791033378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216854377,"filename":"image_21112025_19_30_07_3054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353233","file1":"1396353230","file0":"1396353228","file4":"1396353237","file5":"1396353239","file3":"1396353236"},"map_files_photo_id_array":[{"photo_id":"1396353239","filename":"file5"},{"photo_id":"1396353233","filename":"file2"},{"photo_id":"1396353237","filename":"file4"},{"photo_id":"1396353230","filename":"file1"},{"photo_id":"1396353228","filename":"file0"},{"photo_id":"1396353236","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353233":["hashtag1","hashtag2"]},{"1396353236":["hashtag1","hashtag2"]},{"1396353239":["hashtag1","hashtag2"]},{"1396353230":["hashtag1","hashtag2"]},{"1396353237":["hashtag1","hashtag2"]},{"1396353228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353233, 1396353236, 1396353239, 1396353230, 1396353237, 1396353228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61365747451782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:14:02.513794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/08/image_27112025_05_08_45_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/08/image_27112025_05_08_45_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353244"],"photo_id":"1396353244","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5210764d6226c672f9f8e95e52a554fb.jpg","text":"TemporaryFile(/tmp/multipartBody1012371357977204905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216903086,"filename":"image_27112025_05_08_45_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396353244"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396353244"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.463469505310059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:14:21.788369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_26_2791.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_28_2627.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_32_4075.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_38_5943.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_40_1809.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_42_1921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_26_2791.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_28_2627.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_32_4075.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_38_5943.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_40_1809.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_42_1921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353260","1396353262","1396353267","1396353255","1396353264","1396353251"],"photo_ids_order":["1396353251","1396353255","1396353260","1396353262","1396353264","1396353267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60f3fe4f4a2241824e98018b953993ec.jpg","text":"TemporaryFile(/tmp/multipartBody5038278847077280809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_32_4075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4363d88c22e4dcb80943b34577997bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3205052654152930445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_38_5943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51948e6cdd11a84a8ffe7389283755d7.jpg","text":"TemporaryFile(/tmp/multipartBody8054901366156605541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_42_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/27/1551e5994d2b2bdd32f286af9326875a.jpg","text":"TemporaryFile(/tmp/multipartBody7352030321021667301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_28_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/27/98407d62a35df6543351dcac196334f2.jpg","text":"TemporaryFile(/tmp/multipartBody865558281614862097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_40_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/27/a52465ef39244e8f334fd9840fe11b62.jpg","text":"TemporaryFile(/tmp/multipartBody8749694917268112841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216923548,"filename":"image_21112025_19_30_26_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353260","file1":"1396353255","file0":"1396353251","file4":"1396353264","file5":"1396353267","file3":"1396353262"},"map_files_photo_id_array":[{"photo_id":"1396353267","filename":"file5"},{"photo_id":"1396353260","filename":"file2"},{"photo_id":"1396353264","filename":"file4"},{"photo_id":"1396353255","filename":"file1"},{"photo_id":"1396353251","filename":"file0"},{"photo_id":"1396353262","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353260":["hashtag1","hashtag2"]},{"1396353262":["hashtag1","hashtag2"]},{"1396353267":["hashtag1","hashtag2"]},{"1396353255":["hashtag1","hashtag2"]},{"1396353264":["hashtag1","hashtag2"]},{"1396353251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353260, 1396353262, 1396353267, 1396353255, 1396353264, 1396353251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.612266063690186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:15:02.827873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_47_2674.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_49_2564.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_53_3731.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_57_3852.jpg', '/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_59_1580.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_01_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_47_2674.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_49_2564.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_53_3731.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_57_3852.jpg
/home/pi/Desktop/images/21112025/19/30/image_21112025_19_30_59_1580.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_01_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396353281","1396353275","1396353277","1396353268","1396353270","1396353272"],"photo_ids_order":["1396353268","1396353270","1396353272","1396353275","1396353277","1396353281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af3e4eb61badbb5558e2a4ebc83539c3.jpg","text":"TemporaryFile(/tmp/multipartBody7932001830019803691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_31_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/27/5636c9485dea1f364aa69ac780b95d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7273457619993021915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_30_57_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/27/14578f1c3b7c9a83d922d64cde69df56.jpg","text":"TemporaryFile(/tmp/multipartBody939316728143152410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_30_59_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/27/5f2e4d13644bb0c3a664bdf316adf3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2997679861400329629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_30_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/27/204db60bb21ca65a1eacb4ab69996ed9.jpg","text":"TemporaryFile(/tmp/multipartBody617438857960065528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_30_49_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/27/d590affa8d538cac2abf85ae697db732.jpg","text":"TemporaryFile(/tmp/multipartBody2691970158688829797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764216964082,"filename":"image_21112025_19_30_53_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353272","file1":"1396353270","file0":"1396353268","file4":"1396353277","file5":"1396353281","file3":"1396353275"},"map_files_photo_id_array":[{"photo_id":"1396353281","filename":"file5"},{"photo_id":"1396353272","filename":"file2"},{"photo_id":"1396353277","filename":"file4"},{"photo_id":"1396353270","filename":"file1"},{"photo_id":"1396353268","filename":"file0"},{"photo_id":"1396353275","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353281":["hashtag1","hashtag2"]},{"1396353275":["hashtag1","hashtag2"]},{"1396353277":["hashtag1","hashtag2"]},{"1396353268":["hashtag1","hashtag2"]},{"1396353270":["hashtag1","hashtag2"]},{"1396353272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353281, 1396353275, 1396353277, 1396353268, 1396353270, 1396353272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.723121881484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:16:02.502516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/13/image_27112025_05_13_54_9599.jpg', '/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_15_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/13/image_27112025_05_13_54_9599.jpg
/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_15_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353292","1396353293"],"photo_ids_order":["1396353292","1396353293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e77059da4b7b11734d77ce17433b181.jpg","text":"TemporaryFile(/tmp/multipartBody2007453812059794042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217023290,"filename":"image_27112025_05_13_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb026254f7b7a21ef5ba5c603d4ce124.jpg","text":"TemporaryFile(/tmp/multipartBody6057005920467527706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217023290,"filename":"image_27112025_05_14_15_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396353293","file0":"1396353292"},"map_files_photo_id_array":[{"photo_id":"1396353293","filename":"file1"},{"photo_id":"1396353292","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396353292":["hashtag1","hashtag2"]},{"1396353293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396353292, 1396353293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.77969217300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:16:22.057182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_05_3647.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_08_2690.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_10_2602.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_14_3724.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_17_2733.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_19_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_05_3647.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_08_2690.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_10_2602.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_14_3724.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_17_2733.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_19_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353308","1396353313","1396353301","1396353310","1396353303","1396353300"],"photo_ids_order":["1396353300","1396353301","1396353303","1396353308","1396353310","1396353313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7713dba6b7180d4571c060417cafc2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8000038069573255822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_14_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/27/a1dee7252b118da674c002958cf61a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1464065174574003154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_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/27/47b4d6359d86cce05a390e8f67c24db9.jpg","text":"TemporaryFile(/tmp/multipartBody4656702034375957571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_08_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/27/9e5e1d1d8433cb54991609ba6fcfe574.jpg","text":"TemporaryFile(/tmp/multipartBody7008560553498772939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_17_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/27/26c1f0cb3753b23ef860714b6da79c79.jpg","text":"TemporaryFile(/tmp/multipartBody2323282340383749473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_10_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/27/a73bfc1673619a9a1e7fb802969c0ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1175298485696612573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217043851,"filename":"image_21112025_19_31_05_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353303","file1":"1396353301","file0":"1396353300","file4":"1396353310","file5":"1396353313","file3":"1396353308"},"map_files_photo_id_array":[{"photo_id":"1396353313","filename":"file5"},{"photo_id":"1396353303","filename":"file2"},{"photo_id":"1396353310","filename":"file4"},{"photo_id":"1396353301","filename":"file1"},{"photo_id":"1396353300","filename":"file0"},{"photo_id":"1396353308","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353308":["hashtag1","hashtag2"]},{"1396353313":["hashtag1","hashtag2"]},{"1396353301":["hashtag1","hashtag2"]},{"1396353310":["hashtag1","hashtag2"]},{"1396353303":["hashtag1","hashtag2"]},{"1396353300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353308, 1396353313, 1396353301, 1396353310, 1396353303, 1396353300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46294283866882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:17:02.920578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_23_3532.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_26_2595.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_28_2753.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_32_3683.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_34_2191.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_38_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_23_3532.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_26_2595.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_28_2753.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_32_3683.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_34_2191.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_38_3815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353329","1396353320","1396353326","1396353331","1396353322","1396353324"],"photo_ids_order":["1396353320","1396353322","1396353324","1396353326","1396353329","1396353331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c08063923d1a12343f5b5156d4e9a2f6.jpg","text":"TemporaryFile(/tmp/multipartBody1793394818572871844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_34_2191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5dd8a737e740a58e649adc2461fe983.jpg","text":"TemporaryFile(/tmp/multipartBody4972392441444629811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_23_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/27/43f4433dac03e92929bc6314ba056934.jpg","text":"TemporaryFile(/tmp/multipartBody7589373403349480155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_32_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/27/542b3428503d1a6429ef292ddfeca90b.jpg","text":"TemporaryFile(/tmp/multipartBody4994186772085416846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_38_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/27/41013984c7c5a277d8388b9e1a16ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody4862622948108738413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_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/27/9f21754e27b7f812334c5126fffe2709.jpg","text":"TemporaryFile(/tmp/multipartBody4821373892052080587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217084214,"filename":"image_21112025_19_31_28_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353324","file1":"1396353322","file0":"1396353320","file4":"1396353329","file5":"1396353331","file3":"1396353326"},"map_files_photo_id_array":[{"photo_id":"1396353331","filename":"file5"},{"photo_id":"1396353324","filename":"file2"},{"photo_id":"1396353329","filename":"file4"},{"photo_id":"1396353322","filename":"file1"},{"photo_id":"1396353320","filename":"file0"},{"photo_id":"1396353326","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353329":["hashtag1","hashtag2"]},{"1396353320":["hashtag1","hashtag2"]},{"1396353326":["hashtag1","hashtag2"]},{"1396353331":["hashtag1","hashtag2"]},{"1396353322":["hashtag1","hashtag2"]},{"1396353324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353329, 1396353320, 1396353326, 1396353331, 1396353322, 1396353324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30995583534241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:17:42.318897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/40/image_30102025_21_40_46_2686.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_49_3706.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_52_2561.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_55_2741.jpg', '/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_58_3609.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_01_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/21/40/image_30102025_21_40_46_2686.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_49_3706.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_52_2561.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_55_2741.jpg
/home/pi/Desktop/images/30102025/21/40/image_30102025_21_40_58_3609.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_01_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353347","1396353344","1396353338","1396353346","1396353342","1396353350"],"photo_ids_order":["1396353338","1396353342","1396353344","1396353346","1396353347","1396353350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b5bcbffbd53c5215f4c7ceb29762c24.jpg","text":"TemporaryFile(/tmp/multipartBody4677806713277650990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_40_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/27/b5b631cb838b1c9a505720318871fa29.jpg","text":"TemporaryFile(/tmp/multipartBody7685961206294882837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_40_52_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/27/02f3e0ffa49b868f97f3e21cdd917fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2877246276218495381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_40_46_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/27/1a6cd0ec705bf0a4bdd42fe480983bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2671498082474613029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_40_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/27/d1ce7db915eec60fe3ac9bb836fb3458.jpg","text":"TemporaryFile(/tmp/multipartBody4600069572081746450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_40_49_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/27/77ddca404e19e81f7b0c174a64313c04.jpg","text":"TemporaryFile(/tmp/multipartBody5427172802245600564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217123577,"filename":"image_30102025_21_41_01_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353344","file1":"1396353342","file0":"1396353338","file4":"1396353347","file5":"1396353350","file3":"1396353346"},"map_files_photo_id_array":[{"photo_id":"1396353350","filename":"file5"},{"photo_id":"1396353344","filename":"file2"},{"photo_id":"1396353347","filename":"file4"},{"photo_id":"1396353342","filename":"file1"},{"photo_id":"1396353338","filename":"file0"},{"photo_id":"1396353346","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396353347":["hashtag1","hashtag2"]},{"1396353344":["hashtag1","hashtag2"]},{"1396353338":["hashtag1","hashtag2"]},{"1396353346":["hashtag1","hashtag2"]},{"1396353342":["hashtag1","hashtag2"]},{"1396353350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396353347, 1396353344, 1396353338, 1396353346, 1396353342, 1396353350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30500245094299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:18:22.446366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_34_9738.jpg', '/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_14_9602.jpg', '/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_54_9722.jpg', '/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_15_10858.jpg', '/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_24_9139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_34_9738.jpg
/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_14_9602.jpg
/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_54_9722.jpg
/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_15_10858.jpg
/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_24_9139.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6888389587402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-27 05:18:32.441147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_41_2839.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_44_3207.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_57_13285.jpg', '/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_59_1640.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_01_1570.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_02_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_41_2839.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_44_3207.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_57_13285.jpg
/home/pi/Desktop/images/21112025/19/31/image_21112025_19_31_59_1640.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_01_1570.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_02_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396353626","1396353589","1396353556","1396353520","1396353700","1396353666"],"photo_ids_order":["1396353520","1396353556","1396353589","1396353626","1396353666","1396353700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d43d612a213e2a76d4d764135827c79e.jpg","text":"TemporaryFile(/tmp/multipartBody5150449739733382927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_31_59_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/27/3d15c799f9c6349a2af593e9ad1b0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody1462210973031801773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_31_57_13285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78df83a9bb48ab6d9d9949c4e2e6b8c8.jpg","text":"TemporaryFile(/tmp/multipartBody5161541659477917951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_31_44_3207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6735354c43718b5f2b899f44f23307e.jpg","text":"TemporaryFile(/tmp/multipartBody671887028369647399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_31_41_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/27/454b76d19d8b84c3d1b35cb3eedb8690.jpg","text":"TemporaryFile(/tmp/multipartBody1083765659623511212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_32_02_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/27/0db9f36d2ee8b4b2d7b9410105434f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4567322820729608069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217193215,"filename":"image_21112025_19_32_01_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396353589","file1":"1396353556","file0":"1396353520","file4":"1396353666","file5":"1396353700","file3":"1396353626"},"map_files_photo_id_array":[{"photo_id":"1396353700","filename":"file5"},{"photo_id":"1396353589","filename":"file2"},{"photo_id":"1396353666","filename":"file4"},{"photo_id":"1396353556","filename":"file1"},{"photo_id":"1396353520","filename":"file0"},{"photo_id":"1396353626","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396353626":["hashtag1","hashtag2"]},{"1396353589":["hashtag1","hashtag2"]},{"1396353556":["hashtag1","hashtag2"]},{"1396353520":["hashtag1","hashtag2"]},{"1396353700":["hashtag1","hashtag2"]},{"1396353666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396353626, 1396353589, 1396353556, 1396353520, 1396353700, 1396353666)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.13266587257385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:19:42.647719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/41/image_30102025_21_41_04_2813.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_07_3614.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_10_2650.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_16_3561.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_20_3370.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_25_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_04_2813.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_07_3614.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_10_2650.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_16_3561.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_20_3370.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_25_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354015","1396354092","1396354053","1396353937","1396354122","1396353978"],"photo_ids_order":["1396353937","1396353978","1396354015","1396354053","1396354092","1396354122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5d6b7f7a73960b3933c0fd435beb251.jpg","text":"TemporaryFile(/tmp/multipartBody7283185757704529839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_10_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/27/2128c787fa9090a45a33dc54dcd6b378.jpg","text":"TemporaryFile(/tmp/multipartBody6460391189318803625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_20_3370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6b026453f1e0286dd9ea6eaefd3ff53.jpg","text":"TemporaryFile(/tmp/multipartBody3550981005374398552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_16_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/27/d830cc30ccd080f96429b899b6370c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1875671286639548799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_04_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/27/98ee0c83ed8dd5a2002e3fd5caa48f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3510301659721996290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_25_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/27/501099148b25fb7df67e68773b35a13b.jpg","text":"TemporaryFile(/tmp/multipartBody729361673056680761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217243954,"filename":"image_30102025_21_41_07_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354015","file1":"1396353978","file0":"1396353937","file4":"1396354092","file5":"1396354122","file3":"1396354053"},"map_files_photo_id_array":[{"photo_id":"1396354122","filename":"file5"},{"photo_id":"1396354015","filename":"file2"},{"photo_id":"1396354092","filename":"file4"},{"photo_id":"1396353978","filename":"file1"},{"photo_id":"1396353937","filename":"file0"},{"photo_id":"1396354053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396354015":["hashtag1","hashtag2"]},{"1396354092":["hashtag1","hashtag2"]},{"1396354053":["hashtag1","hashtag2"]},{"1396353937":["hashtag1","hashtag2"]},{"1396354122":["hashtag1","hashtag2"]},{"1396353978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396354015, 1396354092, 1396354053, 1396353937, 1396354122, 1396353978)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.729697465896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:20:32.727508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_05_3097.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_07_1600.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_09_1597.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_10_1777.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_12_1604.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_14_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_05_3097.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_07_1600.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_09_1597.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_10_1777.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_12_1604.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_14_1737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354174","1396354141","1396354138","1396354209","1396354244","1396354133"],"photo_ids_order":["1396354133","1396354138","1396354141","1396354174","1396354209","1396354244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03273d037318d37a10b08ed1a4877fca.jpg","text":"TemporaryFile(/tmp/multipartBody2492805097994446616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_10_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d9e68c80cd1b870d75c0a25f55cbab4.jpg","text":"TemporaryFile(/tmp/multipartBody4160175872132529593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_09_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/27/da22521483043d8695a4564a6cd3cdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2936046545274279324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_07_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/27/a66955926a96c4aa1203dfe20308fc80.jpg","text":"TemporaryFile(/tmp/multipartBody5896921805767486341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_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/27/dd037d895089a7b1eaa15d092ad6b07d.jpg","text":"TemporaryFile(/tmp/multipartBody6724472122485276426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_14_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/27/28a989111d4158c459d4a2e466dc65b8.jpg","text":"TemporaryFile(/tmp/multipartBody1930886714666551274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217294468,"filename":"image_21112025_19_32_05_3097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354141","file1":"1396354138","file0":"1396354133","file4":"1396354209","file5":"1396354244","file3":"1396354174"},"map_files_photo_id_array":[{"photo_id":"1396354244","filename":"file5"},{"photo_id":"1396354141","filename":"file2"},{"photo_id":"1396354209","filename":"file4"},{"photo_id":"1396354138","filename":"file1"},{"photo_id":"1396354133","filename":"file0"},{"photo_id":"1396354174","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354174":["hashtag1","hashtag2"]},{"1396354141":["hashtag1","hashtag2"]},{"1396354138":["hashtag1","hashtag2"]},{"1396354209":["hashtag1","hashtag2"]},{"1396354244":["hashtag1","hashtag2"]},{"1396354133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354174, 1396354141, 1396354138, 1396354209, 1396354244, 1396354133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39856290817261 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 10 --only_old 1
2025-11-27 05:21:21.793997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_16_2614.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_19_2946.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_23_3720.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_26_2856.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_28_2542.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_31_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_16_2614.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_19_2946.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_23_3720.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_26_2856.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_28_2542.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_31_2742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354384","1396354387","1396354444","1396354414","1396354439","1396354367"],"photo_ids_order":["1396354367","1396354384","1396354387","1396354414","1396354439","1396354444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/442f42ef31edb66e090c4bfbd4dd9ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7127285061910150330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_19_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/27/aa50c2ecdf8e04a01a0aaf18c4d93004.jpg","text":"TemporaryFile(/tmp/multipartBody3833641918149290054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_23_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/27/07e3ddeed8298e175f7740fd2aa32f0a.jpg","text":"TemporaryFile(/tmp/multipartBody885404799193483058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_31_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/27/002993387fcde4c6c06203bf82bde31e.jpg","text":"TemporaryFile(/tmp/multipartBody634190593146816857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_26_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/27/f04aac1e91737acaf613aac91d9faed9.jpg","text":"TemporaryFile(/tmp/multipartBody7807368922327229145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_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/27/faf877837fd35139c51a84378cfaf4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2988345646946384126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217343569,"filename":"image_21112025_19_32_16_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354387","file1":"1396354384","file0":"1396354367","file4":"1396354439","file5":"1396354444","file3":"1396354414"},"map_files_photo_id_array":[{"photo_id":"1396354444","filename":"file5"},{"photo_id":"1396354387","filename":"file2"},{"photo_id":"1396354439","filename":"file4"},{"photo_id":"1396354384","filename":"file1"},{"photo_id":"1396354367","filename":"file0"},{"photo_id":"1396354414","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354384":["hashtag1","hashtag2"]},{"1396354387":["hashtag1","hashtag2"]},{"1396354444":["hashtag1","hashtag2"]},{"1396354414":["hashtag1","hashtag2"]},{"1396354439":["hashtag1","hashtag2"]},{"1396354367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354384, 1396354387, 1396354444, 1396354414, 1396354439, 1396354367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97497820854187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:22:03.228091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_34_9738.jpg', '/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_14_9602.jpg', '/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_54_9722.jpg', '/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_15_10858.jpg', '/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_24_9139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/14/image_27112025_05_14_34_9738.jpg
/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_14_9602.jpg
/home/pi/Desktop/images/27112025/05/16/image_27112025_05_16_54_9722.jpg
/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_15_10858.jpg
/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_24_9139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354465","1396354459","1396354456","1396354470","1396354454"],"photo_ids_order":["1396354454","1396354456","1396354459","1396354465","1396354470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82f5ef32374bc4fb6da766d5be2dfdf0.jpg","text":"TemporaryFile(/tmp/multipartBody4847303801559984034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217385879,"filename":"image_27112025_05_18_15_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d28a056b230eab2efb9466cf3920bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7482697962506805662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217385879,"filename":"image_27112025_05_16_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de9f13b1a96f44bad79d8c54d52bfba2.jpg","text":"TemporaryFile(/tmp/multipartBody4935303482079095721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217385879,"filename":"image_27112025_05_16_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d2ba2791f675f6fbce3a6bc1e03c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7243710119914743586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217385879,"filename":"image_27112025_05_18_24_9139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8b4a1b9c9886d1605c4d2e0a07a74bf.jpg","text":"TemporaryFile(/tmp/multipartBody30448680094928248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217385879,"filename":"image_27112025_05_14_34_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354459","file1":"1396354456","file0":"1396354454","file4":"1396354470","file3":"1396354465"},"map_files_photo_id_array":[{"photo_id":"1396354459","filename":"file2"},{"photo_id":"1396354470","filename":"file4"},{"photo_id":"1396354456","filename":"file1"},{"photo_id":"1396354454","filename":"file0"},{"photo_id":"1396354465","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396354465":["hashtag1","hashtag2"]},{"1396354459":["hashtag1","hashtag2"]},{"1396354456":["hashtag1","hashtag2"]},{"1396354470":["hashtag1","hashtag2"]},{"1396354454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396354465, 1396354459, 1396354456, 1396354470, 1396354454)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 39.42081332206726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:23:03.310166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 05:23:12.505445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_35_3587.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_38_3790.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_40_1698.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_46_2621.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_49_2835.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_53_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_35_3587.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_38_3790.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_40_1698.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_46_2621.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_49_2835.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_53_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":["1396354528","1396354531","1396354533","1396354521","1396354535","1396354526"],"photo_ids_order":["1396354521","1396354526","1396354528","1396354531","1396354533","1396354535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4911ea2e5355c56ab28cefc53dee8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7690303403243526053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_40_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/27/6e8d7f5ef66324353227f3ee3a5ccd10.jpg","text":"TemporaryFile(/tmp/multipartBody3556365425073795567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_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/27/c6ce010dbec7e420cc94e96664040964.jpg","text":"TemporaryFile(/tmp/multipartBody4435806898298545654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_49_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/27/bc3739cf1b5e58121b1987dfb7305ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2994604993534824083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_35_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/27/de4e1c84378ac16c2be997bfab1b236e.jpg","text":"TemporaryFile(/tmp/multipartBody1904919053169183133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_53_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/27/a736a85a2aa9c0f17e47bd12d116ced9.jpg","text":"TemporaryFile(/tmp/multipartBody4463943227122432629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217454351,"filename":"image_21112025_19_32_38_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354528","file1":"1396354526","file0":"1396354521","file4":"1396354533","file5":"1396354535","file3":"1396354531"},"map_files_photo_id_array":[{"photo_id":"1396354535","filename":"file5"},{"photo_id":"1396354528","filename":"file2"},{"photo_id":"1396354533","filename":"file4"},{"photo_id":"1396354526","filename":"file1"},{"photo_id":"1396354521","filename":"file0"},{"photo_id":"1396354531","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354528":["hashtag1","hashtag2"]},{"1396354531":["hashtag1","hashtag2"]},{"1396354533":["hashtag1","hashtag2"]},{"1396354521":["hashtag1","hashtag2"]},{"1396354535":["hashtag1","hashtag2"]},{"1396354526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354528, 1396354531, 1396354533, 1396354521, 1396354535, 1396354526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.219523906707764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:24:05.395988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_44_9730.jpg', '/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_15_10432.jpg', '/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_24_9767.jpg', '/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_34_9642.jpg', '/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_54_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/18/image_27112025_05_18_44_9730.jpg
/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_15_10432.jpg
/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_24_9767.jpg
/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_34_9642.jpg
/home/pi/Desktop/images/27112025/05/22/image_27112025_05_22_54_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354546","1396354549","1396354539","1396354541","1396354544"],"photo_ids_order":["1396354539","1396354541","1396354544","1396354546","1396354549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f11dbd38ac46b6152ea54fc5daff93e8.jpg","text":"TemporaryFile(/tmp/multipartBody1900865319223495237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217506261,"filename":"image_27112025_05_22_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17e4b90a55b7bddcab82ca7f2d5bf90d.jpg","text":"TemporaryFile(/tmp/multipartBody3763137912823685296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217506261,"filename":"image_27112025_05_22_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ddc66f616fc5c11df0b7adc11ea5364.jpg","text":"TemporaryFile(/tmp/multipartBody5582905398866750117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217506261,"filename":"image_27112025_05_18_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/516a1dac34f54bff5de27299e3e6bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody3056380371319710070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217506261,"filename":"image_27112025_05_22_15_10432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82f9a83ada70c7b70e8127b3f8fb3238.jpg","text":"TemporaryFile(/tmp/multipartBody2221657690547244326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217506261,"filename":"image_27112025_05_22_24_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354544","file1":"1396354541","file0":"1396354539","file4":"1396354549","file3":"1396354546"},"map_files_photo_id_array":[{"photo_id":"1396354544","filename":"file2"},{"photo_id":"1396354549","filename":"file4"},{"photo_id":"1396354541","filename":"file1"},{"photo_id":"1396354539","filename":"file0"},{"photo_id":"1396354546","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396354546":["hashtag1","hashtag2"]},{"1396354549":["hashtag1","hashtag2"]},{"1396354539":["hashtag1","hashtag2"]},{"1396354541":["hashtag1","hashtag2"]},{"1396354544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396354546, 1396354549, 1396354539, 1396354541, 1396354544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.284069538116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:24:44.700338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/41/image_30102025_21_41_32_3782.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_34_2662.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_37_2833.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_46_3749.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_49_2793.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_52_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_32_3782.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_34_2662.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_37_2833.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_46_3749.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_49_2793.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_52_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354564","1396354567","1396354569","1396354566","1396354562","1396354565"],"photo_ids_order":["1396354562","1396354564","1396354565","1396354566","1396354567","1396354569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3f75c56c1747cd82be3a0ab27394c78.jpg","text":"TemporaryFile(/tmp/multipartBody6162632403982462983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_34_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/27/6fd7d514427f3544c197cb7d9d5422e0.jpg","text":"TemporaryFile(/tmp/multipartBody1419803509826894218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_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/27/36b245a805c0d8b0f9331f9603a88f9c.jpg","text":"TemporaryFile(/tmp/multipartBody8005775571999633162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_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/27/c651f7ce6afac8430c4b17fb1e5e8f88.jpg","text":"TemporaryFile(/tmp/multipartBody1128389729985770872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_46_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/27/09e40c6560cbf7bc99cd3e3b9b7d8a72.jpg","text":"TemporaryFile(/tmp/multipartBody1379622804275516709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_32_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/27/3212a2983415bf2e6558a3447f7409c9.jpg","text":"TemporaryFile(/tmp/multipartBody1268268581753454330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217545921,"filename":"image_30102025_21_41_37_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354565","file1":"1396354564","file0":"1396354562","file4":"1396354567","file5":"1396354569","file3":"1396354566"},"map_files_photo_id_array":[{"photo_id":"1396354569","filename":"file5"},{"photo_id":"1396354565","filename":"file2"},{"photo_id":"1396354567","filename":"file4"},{"photo_id":"1396354564","filename":"file1"},{"photo_id":"1396354562","filename":"file0"},{"photo_id":"1396354566","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396354564":["hashtag1","hashtag2"]},{"1396354567":["hashtag1","hashtag2"]},{"1396354569":["hashtag1","hashtag2"]},{"1396354566":["hashtag1","hashtag2"]},{"1396354562":["hashtag1","hashtag2"]},{"1396354565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396354564, 1396354567, 1396354569, 1396354566, 1396354562, 1396354565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26021194458008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:25:22.010062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/23/image_27112025_05_23_24_9595.jpg', '/home/pi/Desktop/images/27112025/05/24/image_27112025_05_24_34_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/23/image_27112025_05_23_24_9595.jpg
/home/pi/Desktop/images/27112025/05/24/image_27112025_05_24_34_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354580","1396354577"],"photo_ids_order":["1396354577","1396354580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0d7827c7843f07bf0419121a5a1fab4.jpg","text":"TemporaryFile(/tmp/multipartBody7433637617762803744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217582605,"filename":"image_27112025_05_24_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83b766dee17e540621c0418304a0733a.jpg","text":"TemporaryFile(/tmp/multipartBody4287868933081309641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217582605,"filename":"image_27112025_05_23_24_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396354580","file0":"1396354577"},"map_files_photo_id_array":[{"photo_id":"1396354580","filename":"file1"},{"photo_id":"1396354577","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396354580":["hashtag1","hashtag2"]},{"1396354577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396354580, 1396354577)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 20.162579774856567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:26:02.594087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_56_2862.jpg', '/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_58_2856.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_01_2610.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_05_3614.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_07_2734.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_10_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_56_2862.jpg
/home/pi/Desktop/images/21112025/19/32/image_21112025_19_32_58_2856.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_01_2610.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_05_3614.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_07_2734.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_10_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354591","1396354593","1396354598","1396354602","1396354595","1396354589"],"photo_ids_order":["1396354589","1396354591","1396354593","1396354595","1396354598","1396354602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f81c83496f86e73e6a72f69aeae4b474.jpg","text":"TemporaryFile(/tmp/multipartBody5664941133342903822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_32_58_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/27/370d125aa3396b9f8f5e326d93ccc7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8954455673008847510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_33_01_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/27/574de6cf5517166da3e7ac6e9895746f.jpg","text":"TemporaryFile(/tmp/multipartBody2438292060540712338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_33_07_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/27/f04577ac1f21d8fbe62dbf88f07845b8.jpg","text":"TemporaryFile(/tmp/multipartBody4868607736632747766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_33_10_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/27/2d4273a24d0ade49085f55fc10b38fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4730809699046319920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_33_05_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/27/25bfe710da6c869f5e9c98324794321c.jpg","text":"TemporaryFile(/tmp/multipartBody5692676327851212261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217623819,"filename":"image_21112025_19_32_56_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354593","file1":"1396354591","file0":"1396354589","file4":"1396354598","file5":"1396354602","file3":"1396354595"},"map_files_photo_id_array":[{"photo_id":"1396354602","filename":"file5"},{"photo_id":"1396354593","filename":"file2"},{"photo_id":"1396354598","filename":"file4"},{"photo_id":"1396354591","filename":"file1"},{"photo_id":"1396354589","filename":"file0"},{"photo_id":"1396354595","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354591":["hashtag1","hashtag2"]},{"1396354593":["hashtag1","hashtag2"]},{"1396354598":["hashtag1","hashtag2"]},{"1396354602":["hashtag1","hashtag2"]},{"1396354595":["hashtag1","hashtag2"]},{"1396354589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354591, 1396354593, 1396354598, 1396354602, 1396354595, 1396354589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75575613975525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:26:42.172132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/41/image_30102025_21_41_55_2865.jpg', '/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_59_3712.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_01_2533.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_07_3615.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_13_2696.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_16_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_55_2865.jpg
/home/pi/Desktop/images/30102025/21/41/image_30102025_21_41_59_3712.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_01_2533.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_07_3615.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_13_2696.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_16_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":["1396354615","1396354624","1396354618","1396354623","1396354620","1396354622"],"photo_ids_order":["1396354615","1396354618","1396354620","1396354622","1396354623","1396354624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe7845aee9b871f548e8ed094dfccdcf.jpg","text":"TemporaryFile(/tmp/multipartBody2472074304620812295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_41_55_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/27/6fec70dd43d810ee30888f2149241a39.jpg","text":"TemporaryFile(/tmp/multipartBody4268611362971837980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_42_16_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/27/b42f2a20263f82c2509ec61d2bf7bded.jpg","text":"TemporaryFile(/tmp/multipartBody736358846579674524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_41_59_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/27/b8b0b4861de04e849052ec3b6a8ba87b.jpg","text":"TemporaryFile(/tmp/multipartBody7996296978075536618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_42_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/27/451356237b6f4a5fc4b8b84cbcea71bd.jpg","text":"TemporaryFile(/tmp/multipartBody6300718375853119170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_42_01_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/27/a3ce80f86f8098ef254e05d30e3178dd.jpg","text":"TemporaryFile(/tmp/multipartBody1532997422105801373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217663463,"filename":"image_30102025_21_42_07_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354620","file1":"1396354618","file0":"1396354615","file4":"1396354623","file5":"1396354624","file3":"1396354622"},"map_files_photo_id_array":[{"photo_id":"1396354624","filename":"file5"},{"photo_id":"1396354620","filename":"file2"},{"photo_id":"1396354623","filename":"file4"},{"photo_id":"1396354618","filename":"file1"},{"photo_id":"1396354615","filename":"file0"},{"photo_id":"1396354622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396354615":["hashtag1","hashtag2"]},{"1396354624":["hashtag1","hashtag2"]},{"1396354618":["hashtag1","hashtag2"]},{"1396354623":["hashtag1","hashtag2"]},{"1396354620":["hashtag1","hashtag2"]},{"1396354622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396354615, 1396354624, 1396354618, 1396354623, 1396354620, 1396354622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55699157714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:27:24.118584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_14_3685.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_17_2736.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_19_2778.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_22_2874.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_26_3725.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_29_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_14_3685.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_17_2736.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_19_2778.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_22_2874.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_26_3725.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_29_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: 1.7744724750518799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:27:34.219435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_14_3685.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_17_2736.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_19_2778.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_22_2874.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_26_3725.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_29_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_14_3685.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_17_2736.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_19_2778.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_22_2874.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_26_3725.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_29_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":["1396354657","1396354645","1396354656","1396354653","1396354649","1396354658"],"photo_ids_order":["1396354645","1396354649","1396354653","1396354656","1396354657","1396354658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3648f62d052cebf44a90fe2d6288aa27.jpg","text":"TemporaryFile(/tmp/multipartBody1806364626248134468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_26_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/27/2bdd5283056407290c56cf8bbf6acca8.jpg","text":"TemporaryFile(/tmp/multipartBody1107220042300897104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_14_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/27/84dd4610c1e403acd5d8c40ecd0f6b19.jpg","text":"TemporaryFile(/tmp/multipartBody5435927249116992748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_22_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/27/bc396b81546696ba4324cf90422ce072.jpg","text":"TemporaryFile(/tmp/multipartBody7420089694910980174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_19_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/27/39d88427a3ddab5dbef2d5bdfe8ff895.jpg","text":"TemporaryFile(/tmp/multipartBody5749842817263722993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_17_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/27/47eb1c50213da7174d93545dbdde03cf.jpg","text":"TemporaryFile(/tmp/multipartBody2561251552612705706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217715979,"filename":"image_21112025_19_33_29_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354653","file1":"1396354649","file0":"1396354645","file4":"1396354657","file5":"1396354658","file3":"1396354656"},"map_files_photo_id_array":[{"photo_id":"1396354658","filename":"file5"},{"photo_id":"1396354653","filename":"file2"},{"photo_id":"1396354657","filename":"file4"},{"photo_id":"1396354649","filename":"file1"},{"photo_id":"1396354645","filename":"file0"},{"photo_id":"1396354656","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354657":["hashtag1","hashtag2"]},{"1396354645":["hashtag1","hashtag2"]},{"1396354656":["hashtag1","hashtag2"]},{"1396354653":["hashtag1","hashtag2"]},{"1396354649":["hashtag1","hashtag2"]},{"1396354658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354657, 1396354645, 1396354656, 1396354653, 1396354649, 1396354658)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.75848150253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:28:22.413603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_31_2676.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_34_2840.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_38_3747.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_40_2616.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_43_2672.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_47_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_31_2676.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_34_2840.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_38_3747.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_40_2616.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_43_2672.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_47_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354675","1396354672","1396354668","1396354662","1396354665","1396354670"],"photo_ids_order":["1396354662","1396354665","1396354668","1396354670","1396354672","1396354675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31b42a584a8193442bfe2748171efb2f.jpg","text":"TemporaryFile(/tmp/multipartBody1644325579598847701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_47_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/27/837250208372e5244c775e0ec207dff8.jpg","text":"TemporaryFile(/tmp/multipartBody6999004453439994355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_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/27/a8697258d7168a436f1b15c0d194ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody5389450571995230801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_38_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/27/025c08dcb56465ba00c0ee64c3101f5f.jpg","text":"TemporaryFile(/tmp/multipartBody9132693476602951504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_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/27/4b3cc934360d888dbc3c8e2231d0abba.jpg","text":"TemporaryFile(/tmp/multipartBody4016783537273539980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_34_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/27/3ca551de42642b67b15b25eee2a5e638.jpg","text":"TemporaryFile(/tmp/multipartBody6352914223262899358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217764178,"filename":"image_21112025_19_33_40_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354668","file1":"1396354665","file0":"1396354662","file4":"1396354672","file5":"1396354675","file3":"1396354670"},"map_files_photo_id_array":[{"photo_id":"1396354675","filename":"file5"},{"photo_id":"1396354668","filename":"file2"},{"photo_id":"1396354672","filename":"file4"},{"photo_id":"1396354665","filename":"file1"},{"photo_id":"1396354662","filename":"file0"},{"photo_id":"1396354670","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354675":["hashtag1","hashtag2"]},{"1396354672":["hashtag1","hashtag2"]},{"1396354668":["hashtag1","hashtag2"]},{"1396354662":["hashtag1","hashtag2"]},{"1396354665":["hashtag1","hashtag2"]},{"1396354670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354675, 1396354672, 1396354668, 1396354662, 1396354665, 1396354670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.670738697052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:29:03.612923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_49_2241.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_53_3653.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_55_2658.jpg', '/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_58_2848.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_02_3595.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_11_9218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_49_2241.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_53_3653.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_55_2658.jpg
/home/pi/Desktop/images/21112025/19/33/image_21112025_19_33_58_2848.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_02_3595.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_11_9218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354681","1396354687","1396354702","1396354683","1396354707","1396354676"],"photo_ids_order":["1396354676","1396354681","1396354683","1396354687","1396354702","1396354707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0b2dca53251bc64e1c9472738ceefd9.jpg","text":"TemporaryFile(/tmp/multipartBody9211495826394302898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_33_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/27/0512f7f25e8e5a3bbd4136d6a657a34f.jpg","text":"TemporaryFile(/tmp/multipartBody4287083088705928467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_33_58_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/27/c969bbd1e4c186d2431c40e15d6faedb.jpg","text":"TemporaryFile(/tmp/multipartBody1007492760359600529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_34_02_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/27/9a5e53bab48d309d1dc054cd79faf6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1336831339476528418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_33_55_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/27/3bbe9004df834ab7c1f062a0b87016bb.jpg","text":"TemporaryFile(/tmp/multipartBody648571865505555787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_34_11_9218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/615491e31b1af2a249789e13229b7bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4828658521278118724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217805005,"filename":"image_21112025_19_33_49_2241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354683","file1":"1396354681","file0":"1396354676","file4":"1396354702","file5":"1396354707","file3":"1396354687"},"map_files_photo_id_array":[{"photo_id":"1396354707","filename":"file5"},{"photo_id":"1396354683","filename":"file2"},{"photo_id":"1396354702","filename":"file4"},{"photo_id":"1396354681","filename":"file1"},{"photo_id":"1396354676","filename":"file0"},{"photo_id":"1396354687","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354681":["hashtag1","hashtag2"]},{"1396354687":["hashtag1","hashtag2"]},{"1396354702":["hashtag1","hashtag2"]},{"1396354683":["hashtag1","hashtag2"]},{"1396354707":["hashtag1","hashtag2"]},{"1396354676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354681, 1396354687, 1396354702, 1396354683, 1396354707, 1396354676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.428337812423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:29:42.729081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/42/image_30102025_21_42_19_2518.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_30_2677.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_39_2837.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_43_3736.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_49_2685.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_52_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_19_2518.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_30_2677.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_39_2837.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_43_3736.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_49_2685.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_52_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354726","1396354717","1396354752","1396354725","1396354751","1396354724"],"photo_ids_order":["1396354717","1396354724","1396354725","1396354726","1396354751","1396354752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbaa3baf241f1b7e7b8f4c33dca3c94a.jpg","text":"TemporaryFile(/tmp/multipartBody2818081004018002739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_43_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/27/a394bc5b8d36a6f3c8f95647f037604f.jpg","text":"TemporaryFile(/tmp/multipartBody3506062258146227888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_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/27/e75911710d3f175607738dca4a5f8617.jpg","text":"TemporaryFile(/tmp/multipartBody6154362052221519265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_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/27/d722f8de3c6e6c323bc93a36de839ccc.jpg","text":"TemporaryFile(/tmp/multipartBody2613004380154662216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_39_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/27/48b66137487709b6d12e972a7ba0d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody9028694286340160977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_49_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/27/1c2ac5beef9cee21127db2d61f61e61d.jpg","text":"TemporaryFile(/tmp/multipartBody3695853338328417359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217844022,"filename":"image_30102025_21_42_30_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354725","file1":"1396354724","file0":"1396354717","file4":"1396354751","file5":"1396354752","file3":"1396354726"},"map_files_photo_id_array":[{"photo_id":"1396354752","filename":"file5"},{"photo_id":"1396354725","filename":"file2"},{"photo_id":"1396354751","filename":"file4"},{"photo_id":"1396354724","filename":"file1"},{"photo_id":"1396354717","filename":"file0"},{"photo_id":"1396354726","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396354726":["hashtag1","hashtag2"]},{"1396354717":["hashtag1","hashtag2"]},{"1396354752":["hashtag1","hashtag2"]},{"1396354725":["hashtag1","hashtag2"]},{"1396354751":["hashtag1","hashtag2"]},{"1396354724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396354726, 1396354717, 1396354752, 1396354725, 1396354751, 1396354724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8686945438385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:30:44.380115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/42/image_30102025_21_42_55_2641.jpg', '/home/pi/Desktop/images/30102025/21/42/image_30102025_21_43_01_3723.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_04_2598.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_06_2664.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_10_3668.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_13_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_42_55_2641.jpg
/home/pi/Desktop/images/30102025/21/42/image_30102025_21_43_01_3723.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_04_2598.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_06_2664.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_10_3668.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_13_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354780","1396354774","1396354777","1396354776","1396354778","1396354775"],"photo_ids_order":["1396354774","1396354775","1396354776","1396354777","1396354778","1396354780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aed513c019078af357ae7bf6e3a837a6.jpg","text":"TemporaryFile(/tmp/multipartBody73043826771685546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_43_13_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/27/687598209541ede272177c7fc5dfd5a2.jpg","text":"TemporaryFile(/tmp/multipartBody480347966776062025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_42_55_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/27/9df41136e609fc3ce8ae8683c75a3aa5.jpg","text":"TemporaryFile(/tmp/multipartBody399503573948866590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_43_06_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/27/60308973ef894a32c8341ca208676a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2462461424087127844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_43_04_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/27/2f8294d56d08e12dc19993e0800fba6c.jpg","text":"TemporaryFile(/tmp/multipartBody1281135487574477390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_43_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/27/2abcdbcadf72996e597598258f266ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5782920794608676125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217905694,"filename":"image_30102025_21_43_01_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354776","file1":"1396354775","file0":"1396354774","file4":"1396354778","file5":"1396354780","file3":"1396354777"},"map_files_photo_id_array":[{"photo_id":"1396354780","filename":"file5"},{"photo_id":"1396354776","filename":"file2"},{"photo_id":"1396354778","filename":"file4"},{"photo_id":"1396354775","filename":"file1"},{"photo_id":"1396354774","filename":"file0"},{"photo_id":"1396354777","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396354780":["hashtag1","hashtag2"]},{"1396354774":["hashtag1","hashtag2"]},{"1396354777":["hashtag1","hashtag2"]},{"1396354776":["hashtag1","hashtag2"]},{"1396354778":["hashtag1","hashtag2"]},{"1396354775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396354780, 1396354774, 1396354777, 1396354776, 1396354778, 1396354775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16737413406372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:31:32.472790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_13_1696.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_14_1684.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_16_1488.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_18_1775.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_19_1634.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_22_3008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_13_1696.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_14_1684.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_16_1488.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_18_1775.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_19_1634.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_22_3008.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354846","1396354849","1396354816","1396354848","1396354851","1396354850"],"photo_ids_order":["1396354816","1396354846","1396354848","1396354849","1396354850","1396354851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41b9cac82f96e70fefe1e6b1bdbf69cf.jpg","text":"TemporaryFile(/tmp/multipartBody6185732471251026541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_14_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/27/4fbe17a55d78e7276517fe6cb36bc37c.jpg","text":"TemporaryFile(/tmp/multipartBody3282777155118161839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_18_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/27/48badc996de9238c671e707c49f3d780.jpg","text":"TemporaryFile(/tmp/multipartBody3737104839782108397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_13_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/27/98125fc916efa82f92dd6bd241b53376.jpg","text":"TemporaryFile(/tmp/multipartBody4329672811636418019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_16_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbd504b900f7321326dceacc9028dad7.jpg","text":"TemporaryFile(/tmp/multipartBody2793173752281546361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_22_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/27/fd14b39bcb316602bb263166be3c4816.jpg","text":"TemporaryFile(/tmp/multipartBody5374532135620723171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764217961659,"filename":"image_21112025_19_34_19_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354848","file1":"1396354846","file0":"1396354816","file4":"1396354850","file5":"1396354851","file3":"1396354849"},"map_files_photo_id_array":[{"photo_id":"1396354851","filename":"file5"},{"photo_id":"1396354848","filename":"file2"},{"photo_id":"1396354850","filename":"file4"},{"photo_id":"1396354846","filename":"file1"},{"photo_id":"1396354816","filename":"file0"},{"photo_id":"1396354849","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396354846":["hashtag1","hashtag2"]},{"1396354849":["hashtag1","hashtag2"]},{"1396354816":["hashtag1","hashtag2"]},{"1396354848":["hashtag1","hashtag2"]},{"1396354851":["hashtag1","hashtag2"]},{"1396354850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396354846, 1396354849, 1396354816, 1396354848, 1396354851, 1396354850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.1544771194458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:32:22.650584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/24/image_27112025_05_24_45_10446.jpg', '/home/pi/Desktop/images/27112025/05/28/image_27112025_05_28_44_9565.jpg', '/home/pi/Desktop/images/27112025/05/29/image_27112025_05_29_35_9791.jpg', '/home/pi/Desktop/images/27112025/05/32/image_27112025_05_32_45_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/24/image_27112025_05_24_45_10446.jpg
/home/pi/Desktop/images/27112025/05/28/image_27112025_05_28_44_9565.jpg
/home/pi/Desktop/images/27112025/05/29/image_27112025_05_29_35_9791.jpg
/home/pi/Desktop/images/27112025/05/32/image_27112025_05_32_45_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396354867","1396354862","1396354865","1396354859"],"photo_ids_order":["1396354859","1396354862","1396354865","1396354867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4c631da9a41232f571aea07f0fc188d.jpg","text":"TemporaryFile(/tmp/multipartBody6008091999254433334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218003297,"filename":"image_27112025_05_32_45_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ae122439b8c25bb1962fe43a7fccc62.jpg","text":"TemporaryFile(/tmp/multipartBody400999924694963255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218003297,"filename":"image_27112025_05_28_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/436da7f0e3a23a8e5d5f0523ae78a72a.jpg","text":"TemporaryFile(/tmp/multipartBody4219529382218545986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218003297,"filename":"image_27112025_05_29_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/937943c5ece2c89020a939defaa8a207.jpg","text":"TemporaryFile(/tmp/multipartBody4037474183698138207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218003297,"filename":"image_27112025_05_24_45_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396354865","file1":"1396354862","file0":"1396354859","file3":"1396354867"},"map_files_photo_id_array":[{"photo_id":"1396354865","filename":"file2"},{"photo_id":"1396354862","filename":"file1"},{"photo_id":"1396354859","filename":"file0"},{"photo_id":"1396354867","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396354867":["hashtag1","hashtag2"]},{"1396354862":["hashtag1","hashtag2"]},{"1396354865":["hashtag1","hashtag2"]},{"1396354859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396354867, 1396354862, 1396354865, 1396354859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.690465211868286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:33:04.438577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_25_2714.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_31_2657.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_34_2662.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_38_3499.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_40_2611.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_44_3859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_25_2714.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_31_2657.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_34_2662.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_38_3499.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_40_2611.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_44_3859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396355175","1396355211","1396355142","1396355288","1396355106","1396355249"],"photo_ids_order":["1396355106","1396355142","1396355175","1396355211","1396355249","1396355288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/994af5152031a7dd282f2c17fde0a829.jpg","text":"TemporaryFile(/tmp/multipartBody4951840246956631137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_34_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/27/ffe9d92a5b19fae141c432b8ed2f02fc.jpg","text":"TemporaryFile(/tmp/multipartBody2718414450725654865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_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/27/79a16b4b471ae426cec163b01c0c2381.jpg","text":"TemporaryFile(/tmp/multipartBody7793396394865444862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_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/27/6df59b7a955a3d8d4e511dc3accfeb8d.jpg","text":"TemporaryFile(/tmp/multipartBody4639978569936328253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_44_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed86772759880976993cef3a672ec28a.jpg","text":"TemporaryFile(/tmp/multipartBody5817360173371342807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_25_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/27/763a07b5300313976f4ef104a663cffc.jpg","text":"TemporaryFile(/tmp/multipartBody7121883388996365320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218048456,"filename":"image_21112025_19_34_40_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355175","file1":"1396355142","file0":"1396355106","file4":"1396355249","file5":"1396355288","file3":"1396355211"},"map_files_photo_id_array":[{"photo_id":"1396355288","filename":"file5"},{"photo_id":"1396355175","filename":"file2"},{"photo_id":"1396355249","filename":"file4"},{"photo_id":"1396355142","filename":"file1"},{"photo_id":"1396355106","filename":"file0"},{"photo_id":"1396355211","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355175":["hashtag1","hashtag2"]},{"1396355211":["hashtag1","hashtag2"]},{"1396355142":["hashtag1","hashtag2"]},{"1396355288":["hashtag1","hashtag2"]},{"1396355106":["hashtag1","hashtag2"]},{"1396355249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355175, 1396355211, 1396355142, 1396355288, 1396355106, 1396355249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23068690299988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:34:04.699341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 05:34:12.386793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_47_2556.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_58_11414.jpg', '/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_59_1527.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_01_1532.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_03_1632.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_15_12794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_47_2556.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_58_11414.jpg
/home/pi/Desktop/images/21112025/19/34/image_21112025_19_34_59_1527.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_01_1532.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_03_1632.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_15_12794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355446","1396355546","1396355555","1396355543","1396355522","1396355485"],"photo_ids_order":["1396355446","1396355485","1396355522","1396355543","1396355546","1396355555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/498d6de7fd01476505587c0a18553865.jpg","text":"TemporaryFile(/tmp/multipartBody1573780857195489683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_34_47_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/27/349f5fe0d9eef43fb14189ab91b90e5e.jpg","text":"TemporaryFile(/tmp/multipartBody9027540223761611478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_35_03_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/27/cd85a83d1501212f339f7746b9338472.jpg","text":"TemporaryFile(/tmp/multipartBody4437114022083327260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_35_15_12794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/593dc4ce7371561a238360c4bf4feffc.jpg","text":"TemporaryFile(/tmp/multipartBody2470728820668509574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_35_01_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b0a67fb1bad3133d071a2dfbedd1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody6821715212057463130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_34_59_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ab866af667738f1a510b2c15b1676b2.jpg","text":"TemporaryFile(/tmp/multipartBody7781164503146698345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218115253,"filename":"image_21112025_19_34_58_11414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355522","file1":"1396355485","file0":"1396355446","file4":"1396355546","file5":"1396355555","file3":"1396355543"},"map_files_photo_id_array":[{"photo_id":"1396355555","filename":"file5"},{"photo_id":"1396355522","filename":"file2"},{"photo_id":"1396355546","filename":"file4"},{"photo_id":"1396355485","filename":"file1"},{"photo_id":"1396355446","filename":"file0"},{"photo_id":"1396355543","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355446":["hashtag1","hashtag2"]},{"1396355546":["hashtag1","hashtag2"]},{"1396355555":["hashtag1","hashtag2"]},{"1396355543":["hashtag1","hashtag2"]},{"1396355522":["hashtag1","hashtag2"]},{"1396355485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355446, 1396355546, 1396355555, 1396355543, 1396355522, 1396355485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64589047431946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:35:03.349629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/32/image_27112025_05_32_55_9695.jpg', '/home/pi/Desktop/images/27112025/05/32/image_27112025_05_33_04_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/32/image_27112025_05_32_55_9695.jpg
/home/pi/Desktop/images/27112025/05/32/image_27112025_05_33_04_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355632","1396355630"],"photo_ids_order":["1396355630","1396355632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/003664302f84bd7a42c7beed83e89514.jpg","text":"TemporaryFile(/tmp/multipartBody4061189558006188861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218164080,"filename":"image_27112025_05_33_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15b8663b3f5c009390a0341dfcb224b9.jpg","text":"TemporaryFile(/tmp/multipartBody1761396994249056655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218164080,"filename":"image_27112025_05_32_55_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396355632","file0":"1396355630"},"map_files_photo_id_array":[{"photo_id":"1396355632","filename":"file1"},{"photo_id":"1396355630","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396355632":["hashtag1","hashtag2"]},{"1396355630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396355632, 1396355630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.14286756515503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:35:22.653439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_17_1742.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_33_15553.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_34_1674.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_42_7259.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_46_1625.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_48_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_17_1742.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_33_15553.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_34_1674.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_42_7259.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_46_1625.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_48_1776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355650","1396355653","1396355645","1396355648","1396355642","1396355656"],"photo_ids_order":["1396355642","1396355645","1396355648","1396355650","1396355653","1396355656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bccd03c6ce8104335e6d0e789ce3d00.jpg","text":"TemporaryFile(/tmp/multipartBody4254604077544743292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_42_7259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f3a69a8079ddb8e1a0845442229505b.jpg","text":"TemporaryFile(/tmp/multipartBody1407633482626984293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_46_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/27/47bbf36df6a393ce706c3934176473ad.jpg","text":"TemporaryFile(/tmp/multipartBody2085618535588834455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_33_15553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7841ad7845452c86ceab298735f1a319.jpg","text":"TemporaryFile(/tmp/multipartBody6825685212294573250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_34_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/27/29b244130830ce0ea8dc1e0e0d0a9455.jpg","text":"TemporaryFile(/tmp/multipartBody6576189221468628742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_17_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/27/79b80855d946821c22a4dd9d1bdf94a7.jpg","text":"TemporaryFile(/tmp/multipartBody2697751235160593057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218184403,"filename":"image_21112025_19_35_48_1776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355648","file1":"1396355645","file0":"1396355642","file4":"1396355653","file5":"1396355656","file3":"1396355650"},"map_files_photo_id_array":[{"photo_id":"1396355656","filename":"file5"},{"photo_id":"1396355648","filename":"file2"},{"photo_id":"1396355653","filename":"file4"},{"photo_id":"1396355645","filename":"file1"},{"photo_id":"1396355642","filename":"file0"},{"photo_id":"1396355650","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355650":["hashtag1","hashtag2"]},{"1396355653":["hashtag1","hashtag2"]},{"1396355645":["hashtag1","hashtag2"]},{"1396355648":["hashtag1","hashtag2"]},{"1396355642":["hashtag1","hashtag2"]},{"1396355656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355650, 1396355653, 1396355645, 1396355648, 1396355642, 1396355656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40697360038757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:36:11.829477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_51_1646.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_53_1711.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_54_1641.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_57_2208.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_58_1705.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_36_00_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_51_1646.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_53_1711.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_54_1641.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_57_2208.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_58_1705.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_36_00_1783.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6575541496276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:36:21.981554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_51_1646.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_53_1711.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_54_1641.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_57_2208.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_58_1705.jpg', '/home/pi/Desktop/images/21112025/19/35/image_21112025_19_36_00_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_51_1646.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_53_1711.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_54_1641.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_57_2208.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_35_58_1705.jpg
/home/pi/Desktop/images/21112025/19/35/image_21112025_19_36_00_1783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355671","1396355679","1396355667","1396355681","1396355675","1396355677"],"photo_ids_order":["1396355667","1396355671","1396355675","1396355677","1396355679","1396355681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b03f1185a1a99eee3d77f5b54b587715.jpg","text":"TemporaryFile(/tmp/multipartBody3774894956369776634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_35_53_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c27c1af88160d8c33819b2cc5157d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2556337803924059822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_35_58_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/27/661697e471c1220bc7555f2816832257.jpg","text":"TemporaryFile(/tmp/multipartBody7174628069659958043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_35_51_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/27/64e584bc7937d4e03ec422e8c3ca76f6.jpg","text":"TemporaryFile(/tmp/multipartBody3288378597371949588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_36_00_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/27/268f112b29c324b73aa6e29df47f6f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7708799237043435246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_35_54_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/27/29c5e937d5a32d826c49db4e2e2b45b7.jpg","text":"TemporaryFile(/tmp/multipartBody4596089500426140075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218243721,"filename":"image_21112025_19_35_57_2208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355675","file1":"1396355671","file0":"1396355667","file4":"1396355679","file5":"1396355681","file3":"1396355677"},"map_files_photo_id_array":[{"photo_id":"1396355681","filename":"file5"},{"photo_id":"1396355675","filename":"file2"},{"photo_id":"1396355679","filename":"file4"},{"photo_id":"1396355671","filename":"file1"},{"photo_id":"1396355667","filename":"file0"},{"photo_id":"1396355677","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355671":["hashtag1","hashtag2"]},{"1396355679":["hashtag1","hashtag2"]},{"1396355667":["hashtag1","hashtag2"]},{"1396355681":["hashtag1","hashtag2"]},{"1396355675":["hashtag1","hashtag2"]},{"1396355677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355671, 1396355679, 1396355667, 1396355681, 1396355675, 1396355677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17486023902893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:37:02.763898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_02_1547.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_03_1586.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_05_1573.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_06_1586.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_08_1635.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_10_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_02_1547.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_03_1586.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_05_1573.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_06_1586.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_08_1635.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_10_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355682","1396355685","1396355694","1396355688","1396355692","1396355689"],"photo_ids_order":["1396355682","1396355685","1396355688","1396355689","1396355692","1396355694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70522590ecf633f5a0f4024bd739ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody6241278068797854204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_02_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/27/47b7df346256c63951d627e9c46a6e6d.jpg","text":"TemporaryFile(/tmp/multipartBody8356993806726661844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_03_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcb2b6b034a9e2750e3908c3dd798e77.jpg","text":"TemporaryFile(/tmp/multipartBody3286959699666753758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_10_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/27/192e99f983898f2a827d86d33f02d531.jpg","text":"TemporaryFile(/tmp/multipartBody4351944240018451210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_05_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/27/fcb9b86229d4828749205f656b4f2308.jpg","text":"TemporaryFile(/tmp/multipartBody1639229455551377097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_08_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/27/cf90232591bf04cfaf7b442bbf5c09ed.jpg","text":"TemporaryFile(/tmp/multipartBody1372347606774493732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218284043,"filename":"image_21112025_19_36_06_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355688","file1":"1396355685","file0":"1396355682","file4":"1396355692","file5":"1396355694","file3":"1396355689"},"map_files_photo_id_array":[{"photo_id":"1396355694","filename":"file5"},{"photo_id":"1396355688","filename":"file2"},{"photo_id":"1396355692","filename":"file4"},{"photo_id":"1396355685","filename":"file1"},{"photo_id":"1396355682","filename":"file0"},{"photo_id":"1396355689","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355682":["hashtag1","hashtag2"]},{"1396355685":["hashtag1","hashtag2"]},{"1396355694":["hashtag1","hashtag2"]},{"1396355688":["hashtag1","hashtag2"]},{"1396355692":["hashtag1","hashtag2"]},{"1396355689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355682, 1396355685, 1396355694, 1396355688, 1396355692, 1396355689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16509246826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:37:42.138050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/43/image_30102025_21_43_19_3632.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_22_2522.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_25_3688.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_31_2688.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_33_2762.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_40_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_19_3632.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_22_2522.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_25_3688.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_31_2688.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_33_2762.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_40_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355710","1396355704","1396355701","1396355712","1396355706","1396355708"],"photo_ids_order":["1396355701","1396355704","1396355706","1396355708","1396355710","1396355712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae125bd269baa8ca7bedea772036a96c.jpg","text":"TemporaryFile(/tmp/multipartBody1586876967269481683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_33_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/27/dfd93899439cf4b51cc792366dbd3fce.jpg","text":"TemporaryFile(/tmp/multipartBody7454010446037395628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_22_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/27/4d4b21d99e2e47e023ff77f50d3e0b27.jpg","text":"TemporaryFile(/tmp/multipartBody7792461789536744247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_19_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/27/029c2296e23e0fcf2e11e72879bc8127.jpg","text":"TemporaryFile(/tmp/multipartBody8164981690148269892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_40_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/27/b3a3a53e4069bb3fa7726a762fa5365a.jpg","text":"TemporaryFile(/tmp/multipartBody5933962552447219492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_25_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/27/5f9d86838c100781912953860b235d05.jpg","text":"TemporaryFile(/tmp/multipartBody2501387108247492156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218323546,"filename":"image_30102025_21_43_31_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355706","file1":"1396355704","file0":"1396355701","file4":"1396355710","file5":"1396355712","file3":"1396355708"},"map_files_photo_id_array":[{"photo_id":"1396355712","filename":"file5"},{"photo_id":"1396355706","filename":"file2"},{"photo_id":"1396355710","filename":"file4"},{"photo_id":"1396355704","filename":"file1"},{"photo_id":"1396355701","filename":"file0"},{"photo_id":"1396355708","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355710":["hashtag1","hashtag2"]},{"1396355704":["hashtag1","hashtag2"]},{"1396355701":["hashtag1","hashtag2"]},{"1396355712":["hashtag1","hashtag2"]},{"1396355706":["hashtag1","hashtag2"]},{"1396355708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355710, 1396355704, 1396355701, 1396355712, 1396355706, 1396355708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.881630182266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:38:22.312406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/34/image_27112025_05_34_14_9643.jpg', '/home/pi/Desktop/images/27112025/05/37/image_27112025_05_37_14_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/34/image_27112025_05_34_14_9643.jpg
/home/pi/Desktop/images/27112025/05/37/image_27112025_05_37_14_9917.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4844377040863037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:38:32.265689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_11_1658.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_13_1690.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_15_1710.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_16_1730.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_18_1779.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_20_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_11_1658.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_13_1690.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_15_1710.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_16_1730.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_18_1779.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_20_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355733","1396355742","1396355739","1396355730","1396355726","1396355735"],"photo_ids_order":["1396355726","1396355730","1396355733","1396355735","1396355739","1396355742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f954e7a568d64cbd3b80a2de08b58512.jpg","text":"TemporaryFile(/tmp/multipartBody7217346786709923711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_15_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/27/011d6438657f498c1693a61c7f29a8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4608644356714869877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_20_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/27/fde3b55ec51e1f034f450ae4f76e3097.jpg","text":"TemporaryFile(/tmp/multipartBody261908804964598713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_18_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/27/cf9fa421568b8594c10752e3ec6bff16.jpg","text":"TemporaryFile(/tmp/multipartBody1326509364846765821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_13_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02900c9fd94c87e76df6345f04c5a978.jpg","text":"TemporaryFile(/tmp/multipartBody6834410069108438675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_11_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/27/8aa1b060317bae728c2f531ea2d7639f.jpg","text":"TemporaryFile(/tmp/multipartBody2009959511601912776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218374112,"filename":"image_21112025_19_36_16_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355733","file1":"1396355730","file0":"1396355726","file4":"1396355739","file5":"1396355742","file3":"1396355735"},"map_files_photo_id_array":[{"photo_id":"1396355742","filename":"file5"},{"photo_id":"1396355733","filename":"file2"},{"photo_id":"1396355739","filename":"file4"},{"photo_id":"1396355730","filename":"file1"},{"photo_id":"1396355726","filename":"file0"},{"photo_id":"1396355735","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355733":["hashtag1","hashtag2"]},{"1396355742":["hashtag1","hashtag2"]},{"1396355739":["hashtag1","hashtag2"]},{"1396355730":["hashtag1","hashtag2"]},{"1396355726":["hashtag1","hashtag2"]},{"1396355735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355733, 1396355742, 1396355739, 1396355730, 1396355726, 1396355735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2450807094574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:39:12.508561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_22_2601.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_25_2742.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_28_2947.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_31_2745.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_34_3386.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_37_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_22_2601.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_25_2742.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_28_2947.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_31_2745.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_34_3386.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_37_2507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355758","1396355752","1396355745","1396355747","1396355755","1396355749"],"photo_ids_order":["1396355745","1396355747","1396355749","1396355752","1396355755","1396355758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f33489ad7400f7a1e8b584ac4427a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody801344618403581046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_37_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/27/a5539f4a4cbe4450ca62d6a9a26f6973.jpg","text":"TemporaryFile(/tmp/multipartBody4830820626866614088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_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/27/4930d468eef3e0e09e76032570f4c987.jpg","text":"TemporaryFile(/tmp/multipartBody3087734334668121229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_22_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/27/ad5b4f96373c0e7899256f348c21cdfb.jpg","text":"TemporaryFile(/tmp/multipartBody2736518813197952362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_25_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/27/9cb63b33a85542ec966414e377d6972a.jpg","text":"TemporaryFile(/tmp/multipartBody2555639086995716498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_34_3386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9088fb9304118f81a32dc7057d1a221f.jpg","text":"TemporaryFile(/tmp/multipartBody2569574958860071196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218414276,"filename":"image_21112025_19_36_28_2947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355749","file1":"1396355747","file0":"1396355745","file4":"1396355755","file5":"1396355758","file3":"1396355752"},"map_files_photo_id_array":[{"photo_id":"1396355758","filename":"file5"},{"photo_id":"1396355749","filename":"file2"},{"photo_id":"1396355755","filename":"file4"},{"photo_id":"1396355747","filename":"file1"},{"photo_id":"1396355745","filename":"file0"},{"photo_id":"1396355752","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355758":["hashtag1","hashtag2"]},{"1396355752":["hashtag1","hashtag2"]},{"1396355745":["hashtag1","hashtag2"]},{"1396355747":["hashtag1","hashtag2"]},{"1396355755":["hashtag1","hashtag2"]},{"1396355749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355758, 1396355752, 1396355745, 1396355747, 1396355755, 1396355749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.130504846572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:40:03.110273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/34/image_27112025_05_34_14_9643.jpg', '/home/pi/Desktop/images/27112025/05/37/image_27112025_05_37_14_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/34/image_27112025_05_34_14_9643.jpg
/home/pi/Desktop/images/27112025/05/37/image_27112025_05_37_14_9917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355765","1396355767"],"photo_ids_order":["1396355765","1396355767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bc56125e7dbc2db466cf8895685f560.jpg","text":"TemporaryFile(/tmp/multipartBody4675391913457288927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218463709,"filename":"image_27112025_05_34_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe29a6dd1602135a4674ed2991fa5f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8781853365281411208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218463709,"filename":"image_27112025_05_37_14_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396355767","file0":"1396355765"},"map_files_photo_id_array":[{"photo_id":"1396355767","filename":"file1"},{"photo_id":"1396355765","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396355765":["hashtag1","hashtag2"]},{"1396355767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396355765, 1396355767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.426052808761597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:40:22.686929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_40_3676.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_51_11125.jpg', '/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_53_1640.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_15_21852.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_17_1985.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_19_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_40_3676.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_51_11125.jpg
/home/pi/Desktop/images/21112025/19/36/image_21112025_19_36_53_1640.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_15_21852.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_17_1985.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_19_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355781","1396355774","1396355783","1396355771","1396355785","1396355776"],"photo_ids_order":["1396355771","1396355774","1396355776","1396355781","1396355783","1396355785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0080ab486691bf62e2fb2256a166e805.jpg","text":"TemporaryFile(/tmp/multipartBody7374189155082722223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_37_15_21852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c78cbe32bcea04d41fda1bc39a1d18a3.jpg","text":"TemporaryFile(/tmp/multipartBody2082725619503190952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_36_51_11125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfd5365d01ae8bf7e97c085e340704b0.jpg","text":"TemporaryFile(/tmp/multipartBody1837390228548788225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_37_17_1985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bbd15281efe15c327ceab0e80d68915.jpg","text":"TemporaryFile(/tmp/multipartBody7152304186868512511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_36_40_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/27/04f81412fd65a614cf0ebb06710ede99.jpg","text":"TemporaryFile(/tmp/multipartBody8688715432555129568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_37_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/27/0b1b6b43dac93f2225379031a73408a9.jpg","text":"TemporaryFile(/tmp/multipartBody4240457864384415952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218484517,"filename":"image_21112025_19_36_53_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355776","file1":"1396355774","file0":"1396355771","file4":"1396355783","file5":"1396355785","file3":"1396355781"},"map_files_photo_id_array":[{"photo_id":"1396355785","filename":"file5"},{"photo_id":"1396355776","filename":"file2"},{"photo_id":"1396355783","filename":"file4"},{"photo_id":"1396355774","filename":"file1"},{"photo_id":"1396355771","filename":"file0"},{"photo_id":"1396355781","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355781":["hashtag1","hashtag2"]},{"1396355774":["hashtag1","hashtag2"]},{"1396355783":["hashtag1","hashtag2"]},{"1396355771":["hashtag1","hashtag2"]},{"1396355785":["hashtag1","hashtag2"]},{"1396355776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355781, 1396355774, 1396355783, 1396355771, 1396355785, 1396355776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4578583240509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:41:02.607765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_20_1766.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_22_1715.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_24_1621.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_25_1698.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_27_1515.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_29_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_20_1766.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_22_1715.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_24_1621.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_25_1698.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_27_1515.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_29_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355803","1396355790","1396355795","1396355786","1396355807","1396355788"],"photo_ids_order":["1396355786","1396355788","1396355790","1396355795","1396355803","1396355807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/053f00d721b19bae02927b5d7dcf40fd.jpg","text":"TemporaryFile(/tmp/multipartBody3708052723560311174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_27_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bc6f425255fe699a82b369d19fec7e1.jpg","text":"TemporaryFile(/tmp/multipartBody7679240175226403148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_24_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/27/278324cd6a10417285771bf3425d1b24.jpg","text":"TemporaryFile(/tmp/multipartBody1733440990175405386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_25_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/27/d281ac7875f1b51041d13e9d4a171533.jpg","text":"TemporaryFile(/tmp/multipartBody6120286199898318261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_20_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/27/1134bf1846d6f3bf1c780039a8c18ab8.jpg","text":"TemporaryFile(/tmp/multipartBody9113046044996226925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_29_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4993fb0e0a072a5d65f8138d02da66e6.jpg","text":"TemporaryFile(/tmp/multipartBody8501520130992335010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218523880,"filename":"image_21112025_19_37_22_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355790","file1":"1396355788","file0":"1396355786","file4":"1396355803","file5":"1396355807","file3":"1396355795"},"map_files_photo_id_array":[{"photo_id":"1396355807","filename":"file5"},{"photo_id":"1396355790","filename":"file2"},{"photo_id":"1396355803","filename":"file4"},{"photo_id":"1396355788","filename":"file1"},{"photo_id":"1396355786","filename":"file0"},{"photo_id":"1396355795","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355803":["hashtag1","hashtag2"]},{"1396355790":["hashtag1","hashtag2"]},{"1396355795":["hashtag1","hashtag2"]},{"1396355786":["hashtag1","hashtag2"]},{"1396355807":["hashtag1","hashtag2"]},{"1396355788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355803, 1396355790, 1396355795, 1396355786, 1396355807, 1396355788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.854219913482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:41:41.885198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/43/image_30102025_21_43_42_2702.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_46_3851.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_49_2705.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_52_2631.jpg', '/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_55_3660.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_03_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_42_2702.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_46_3851.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_49_2705.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_52_2631.jpg
/home/pi/Desktop/images/30102025/21/43/image_30102025_21_43_55_3660.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_03_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355815","1396355818","1396355817","1396355819","1396355813","1396355816"],"photo_ids_order":["1396355813","1396355815","1396355816","1396355817","1396355818","1396355819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b1f4e933b9c0023290d0410be61d4651.jpg","text":"TemporaryFile(/tmp/multipartBody359315690243568118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_43_46_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/27/77e2392f5c0d72d2319ffcbb8968ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody9106993301166825246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_43_55_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/27/473e3b2e7f3f8f38cd53aec96a502288.jpg","text":"TemporaryFile(/tmp/multipartBody5148765697600547844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_43_52_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/27/ae3d441ffa08ab452b46d04a7d54e89f.jpg","text":"TemporaryFile(/tmp/multipartBody41458918827324779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_44_03_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/27/2f567e7b4f93d9e23d7f5ac6e591406d.jpg","text":"TemporaryFile(/tmp/multipartBody4649584775069385540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_43_42_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/27/98c7e993fd2796aba710e3f1ea3e2d83.jpg","text":"TemporaryFile(/tmp/multipartBody2811141078688482689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218563248,"filename":"image_30102025_21_43_49_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355816","file1":"1396355815","file0":"1396355813","file4":"1396355818","file5":"1396355819","file3":"1396355817"},"map_files_photo_id_array":[{"photo_id":"1396355819","filename":"file5"},{"photo_id":"1396355816","filename":"file2"},{"photo_id":"1396355818","filename":"file4"},{"photo_id":"1396355815","filename":"file1"},{"photo_id":"1396355813","filename":"file0"},{"photo_id":"1396355817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355815":["hashtag1","hashtag2"]},{"1396355818":["hashtag1","hashtag2"]},{"1396355817":["hashtag1","hashtag2"]},{"1396355819":["hashtag1","hashtag2"]},{"1396355813":["hashtag1","hashtag2"]},{"1396355816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355815, 1396355818, 1396355817, 1396355819, 1396355813, 1396355816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47137689590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:42:22.039183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_30_1674.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_32_2063.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_34_1774.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_36_1622.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_37_1591.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_39_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_30_1674.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_32_2063.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_34_1774.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_36_1622.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_37_1591.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_39_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355842","1396355839","1396355837","1396355831","1396355834","1396355828"],"photo_ids_order":["1396355828","1396355831","1396355834","1396355837","1396355839","1396355842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a0169fd06b11cb02537d779bf511112.jpg","text":"TemporaryFile(/tmp/multipartBody6411007844967919639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_39_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/27/3edd5e42afb80a364af8d73fd61adebc.jpg","text":"TemporaryFile(/tmp/multipartBody3476361427120969580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_37_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/27/70b3930c7c4c770106f2099868b0dede.jpg","text":"TemporaryFile(/tmp/multipartBody3885544564977829629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_36_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/27/fab16a3bee8bfa571759037943fa7292.jpg","text":"TemporaryFile(/tmp/multipartBody2782376863721572614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_32_2063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/379eaed1d4d33e87bcc272af77ef2b51.jpg","text":"TemporaryFile(/tmp/multipartBody742420796290184478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_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/27/afcb26ce7c4d8bae92a8e4aa9af03ad9.jpg","text":"TemporaryFile(/tmp/multipartBody634867678113155348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218603877,"filename":"image_21112025_19_37_30_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355834","file1":"1396355831","file0":"1396355828","file4":"1396355839","file5":"1396355842","file3":"1396355837"},"map_files_photo_id_array":[{"photo_id":"1396355842","filename":"file5"},{"photo_id":"1396355834","filename":"file2"},{"photo_id":"1396355839","filename":"file4"},{"photo_id":"1396355831","filename":"file1"},{"photo_id":"1396355828","filename":"file0"},{"photo_id":"1396355837","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355842":["hashtag1","hashtag2"]},{"1396355839":["hashtag1","hashtag2"]},{"1396355837":["hashtag1","hashtag2"]},{"1396355831":["hashtag1","hashtag2"]},{"1396355834":["hashtag1","hashtag2"]},{"1396355828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355842, 1396355839, 1396355837, 1396355831, 1396355834, 1396355828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07247853279114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:43:02.942717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_41_1550.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_42_1607.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_44_1638.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_45_1666.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_48_2670.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_50_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_41_1550.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_42_1607.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_44_1638.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_45_1666.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_48_2670.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_50_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355845","1396355859","1396355847","1396355861","1396355855","1396355849"],"photo_ids_order":["1396355845","1396355847","1396355849","1396355855","1396355859","1396355861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a58bda535cdd30d162cad4645cb43d9.jpg","text":"TemporaryFile(/tmp/multipartBody1978758968756832941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_41_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/27/d621377f8260d3e617322f1b6329eeb2.jpg","text":"TemporaryFile(/tmp/multipartBody8908381415592347556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_48_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/27/b61dae2994267cc6b2b5812a42fe0257.jpg","text":"TemporaryFile(/tmp/multipartBody7288025678819930866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_42_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7b225f820b1ceec1374f76c865472cd.jpg","text":"TemporaryFile(/tmp/multipartBody6965611788871601061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_50_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/27/679b4c2aaec666a7925182f3c724a571.jpg","text":"TemporaryFile(/tmp/multipartBody4722615607923314512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_45_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/27/23b23cf50d420275934d29055c2a4cac.jpg","text":"TemporaryFile(/tmp/multipartBody3889453259695871333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218644246,"filename":"image_21112025_19_37_44_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355849","file1":"1396355847","file0":"1396355845","file4":"1396355859","file5":"1396355861","file3":"1396355855"},"map_files_photo_id_array":[{"photo_id":"1396355861","filename":"file5"},{"photo_id":"1396355849","filename":"file2"},{"photo_id":"1396355859","filename":"file4"},{"photo_id":"1396355847","filename":"file1"},{"photo_id":"1396355845","filename":"file0"},{"photo_id":"1396355855","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355845":["hashtag1","hashtag2"]},{"1396355859":["hashtag1","hashtag2"]},{"1396355847":["hashtag1","hashtag2"]},{"1396355861":["hashtag1","hashtag2"]},{"1396355855":["hashtag1","hashtag2"]},{"1396355849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355845, 1396355859, 1396355847, 1396355861, 1396355855, 1396355849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24177813529968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:43:42.405235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/44/image_30102025_21_44_07_3678.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_10_2780.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_13_2694.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_22_2747.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_25_2830.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_31_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/21/44/image_30102025_21_44_07_3678.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_10_2780.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_13_2694.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_22_2747.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_25_2830.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_31_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355871","1396355874","1396355873","1396355870","1396355867","1396355872"],"photo_ids_order":["1396355867","1396355870","1396355871","1396355872","1396355873","1396355874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dff002ab63d6a38b55ee301c785e6581.jpg","text":"TemporaryFile(/tmp/multipartBody1816314780110446198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_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/27/14c72a3da9616d28bc940710dd69a302.jpg","text":"TemporaryFile(/tmp/multipartBody6583936656192306393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_31_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/27/a41ea44d1d79c793dbff170eda16930a.jpg","text":"TemporaryFile(/tmp/multipartBody2620756052686063054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_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/27/90fab3f51610ce762529251a5db043db.jpg","text":"TemporaryFile(/tmp/multipartBody7294298535000216346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_10_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/27/c90d27fb0380dbba64b93e946010bdba.jpg","text":"TemporaryFile(/tmp/multipartBody8381855679217789294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_07_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/27/8802f818dbdb787f8a205dfb248ee768.jpg","text":"TemporaryFile(/tmp/multipartBody5757535056957657858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218683746,"filename":"image_30102025_21_44_22_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355871","file1":"1396355870","file0":"1396355867","file4":"1396355873","file5":"1396355874","file3":"1396355872"},"map_files_photo_id_array":[{"photo_id":"1396355874","filename":"file5"},{"photo_id":"1396355871","filename":"file2"},{"photo_id":"1396355873","filename":"file4"},{"photo_id":"1396355870","filename":"file1"},{"photo_id":"1396355867","filename":"file0"},{"photo_id":"1396355872","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355871":["hashtag1","hashtag2"]},{"1396355874":["hashtag1","hashtag2"]},{"1396355873":["hashtag1","hashtag2"]},{"1396355870":["hashtag1","hashtag2"]},{"1396355867":["hashtag1","hashtag2"]},{"1396355872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355871, 1396355874, 1396355873, 1396355870, 1396355867, 1396355872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32801413536072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:44:22.722339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/37/image_27112025_05_38_05_10681.jpg', '/home/pi/Desktop/images/27112025/05/43/image_27112025_05_43_14_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/37/image_27112025_05_38_05_10681.jpg
/home/pi/Desktop/images/27112025/05/43/image_27112025_05_43_14_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355886","1396355882"],"photo_ids_order":["1396355882","1396355886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bfe2629ff8a722ec8d64de6a6556475.jpg","text":"TemporaryFile(/tmp/multipartBody1703149405804725778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218723327,"filename":"image_27112025_05_43_14_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b133dee10e41c9a16fecaa451248560.jpg","text":"TemporaryFile(/tmp/multipartBody6494540175229390925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218723327,"filename":"image_27112025_05_38_05_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396355886","file0":"1396355882"},"map_files_photo_id_array":[{"photo_id":"1396355886","filename":"file1"},{"photo_id":"1396355882","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396355886":["hashtag1","hashtag2"]},{"1396355882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396355886, 1396355882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.47797703742981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:44:42.713503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/44/image_30102025_21_44_40_3596.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_43_2679.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_49_2714.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_53_4341.jpg', '/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_58_2691.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_04_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/21/44/image_30102025_21_44_40_3596.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_43_2679.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_49_2714.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_53_4341.jpg
/home/pi/Desktop/images/30102025/21/44/image_30102025_21_44_58_2691.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_04_3535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355905","1396355895","1396355907","1396355897","1396355906","1396355903"],"photo_ids_order":["1396355895","1396355897","1396355903","1396355905","1396355906","1396355907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd827a631b79f47a0c5783f287ce94c7.jpg","text":"TemporaryFile(/tmp/multipartBody8366437887043402768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_44_53_4341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cdb7aba951d38795af1e9748ca7d169.jpg","text":"TemporaryFile(/tmp/multipartBody7962192698784147308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_44_40_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/27/877be84a202573b0b02628c6a38f1582.jpg","text":"TemporaryFile(/tmp/multipartBody353591789426389686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_45_04_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/27/3da111551adf2433d4def750a7d041d8.jpg","text":"TemporaryFile(/tmp/multipartBody1739276648313208161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_44_43_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/27/0c82cda75a1c0f40dd34c6be101f6f81.jpg","text":"TemporaryFile(/tmp/multipartBody6967645570308940924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_44_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/27/f2adcd22a3e32949382dc09f867c0682.jpg","text":"TemporaryFile(/tmp/multipartBody8049991013482423678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218744053,"filename":"image_30102025_21_44_49_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355903","file1":"1396355897","file0":"1396355895","file4":"1396355906","file5":"1396355907","file3":"1396355905"},"map_files_photo_id_array":[{"photo_id":"1396355907","filename":"file5"},{"photo_id":"1396355903","filename":"file2"},{"photo_id":"1396355906","filename":"file4"},{"photo_id":"1396355897","filename":"file1"},{"photo_id":"1396355895","filename":"file0"},{"photo_id":"1396355905","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355905":["hashtag1","hashtag2"]},{"1396355895":["hashtag1","hashtag2"]},{"1396355907":["hashtag1","hashtag2"]},{"1396355897":["hashtag1","hashtag2"]},{"1396355906":["hashtag1","hashtag2"]},{"1396355903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355905, 1396355895, 1396355907, 1396355897, 1396355906, 1396355903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.964913845062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:45:21.929514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_52_1911.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_55_3498.jpg', '/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_59_3862.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_01_1994.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_04_2857.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_14_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_52_1911.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_55_3498.jpg
/home/pi/Desktop/images/21112025/19/37/image_21112025_19_37_59_3862.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_01_1994.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_04_2857.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_14_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355923","1396355917","1396355926","1396355919","1396355921","1396355915"],"photo_ids_order":["1396355915","1396355917","1396355919","1396355921","1396355923","1396355926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c6fcfd90c2578dea7f2e2b219ff16c8.jpg","text":"TemporaryFile(/tmp/multipartBody7658903742709869630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_38_04_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/27/7b22d5d9eaa385ac585c1402c3ddb8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5005078822668151526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_37_55_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/27/f814e6ca31d7d4f2170fe10b652d6453.jpg","text":"TemporaryFile(/tmp/multipartBody598269062546507982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_38_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f2b9320640cc7e2955d12032ece1738.jpg","text":"TemporaryFile(/tmp/multipartBody5614558435935176631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_37_59_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a86852c50fc33b28c7ead6999d738ff.jpg","text":"TemporaryFile(/tmp/multipartBody5269925520760095499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_38_01_1994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9da74876368dd5bf3ff75cf3f0c0f2d6.jpg","text":"TemporaryFile(/tmp/multipartBody2100943682589795674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218783775,"filename":"image_21112025_19_37_52_1911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355919","file1":"1396355917","file0":"1396355915","file4":"1396355923","file5":"1396355926","file3":"1396355921"},"map_files_photo_id_array":[{"photo_id":"1396355926","filename":"file5"},{"photo_id":"1396355919","filename":"file2"},{"photo_id":"1396355923","filename":"file4"},{"photo_id":"1396355917","filename":"file1"},{"photo_id":"1396355915","filename":"file0"},{"photo_id":"1396355921","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355923":["hashtag1","hashtag2"]},{"1396355917":["hashtag1","hashtag2"]},{"1396355926":["hashtag1","hashtag2"]},{"1396355919":["hashtag1","hashtag2"]},{"1396355921":["hashtag1","hashtag2"]},{"1396355915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355923, 1396355917, 1396355926, 1396355919, 1396355921, 1396355915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29657053947449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:46:02.565697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_16_1871.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_17_1721.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_19_1759.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_31_12179.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_33_1731.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_35_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_16_1871.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_17_1721.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_19_1759.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_31_12179.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_33_1731.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_35_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355931","1396355934","1396355928","1396355937","1396355930","1396355932"],"photo_ids_order":["1396355928","1396355930","1396355931","1396355932","1396355934","1396355937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7c003b8988ededf5101229396a741db.jpg","text":"TemporaryFile(/tmp/multipartBody2220740580471722868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_19_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/27/af081cb936b4e69167e6b3c9a461e68c.jpg","text":"TemporaryFile(/tmp/multipartBody8306529926225698620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_33_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/27/f38220c4b46a893b0f8ba97befe32abb.jpg","text":"TemporaryFile(/tmp/multipartBody7318773050088473251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_16_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d298da1eaef9fa7e91963d1606b3b344.jpg","text":"TemporaryFile(/tmp/multipartBody1324669870908359233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_35_1897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0240cb05f5b98bc82d314f6577c3554.jpg","text":"TemporaryFile(/tmp/multipartBody1822114790143039739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_17_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/27/f5b4937742a86b28670d8cd01df86253.jpg","text":"TemporaryFile(/tmp/multipartBody587791696666242224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218823960,"filename":"image_21112025_19_38_31_12179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355931","file1":"1396355930","file0":"1396355928","file4":"1396355934","file5":"1396355937","file3":"1396355932"},"map_files_photo_id_array":[{"photo_id":"1396355937","filename":"file5"},{"photo_id":"1396355931","filename":"file2"},{"photo_id":"1396355934","filename":"file4"},{"photo_id":"1396355930","filename":"file1"},{"photo_id":"1396355928","filename":"file0"},{"photo_id":"1396355932","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355931":["hashtag1","hashtag2"]},{"1396355934":["hashtag1","hashtag2"]},{"1396355928":["hashtag1","hashtag2"]},{"1396355937":["hashtag1","hashtag2"]},{"1396355930":["hashtag1","hashtag2"]},{"1396355932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355931, 1396355934, 1396355928, 1396355937, 1396355930, 1396355932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55621552467346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:46:42.169881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/45/image_30102025_21_45_13_3526.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_16_2680.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_28_2780.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_30_2776.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_43_3679.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_48_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_13_3526.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_16_2680.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_28_2780.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_30_2776.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_43_3679.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_48_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355949","1396355948","1396355951","1396355945","1396355950","1396355947"],"photo_ids_order":["1396355945","1396355947","1396355948","1396355949","1396355950","1396355951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9552d416d8fe0679d603e80b660e79d.jpg","text":"TemporaryFile(/tmp/multipartBody4241092943599398183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_30_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/27/d11e4068b765697689207393110a2361.jpg","text":"TemporaryFile(/tmp/multipartBody3025442477690196502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_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/27/6f44a76060f7157a44e47f7d014014f7.jpg","text":"TemporaryFile(/tmp/multipartBody7619553732397411287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_48_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/27/97ac00042761c6622219c52cddb17ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6946869421305803631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_13_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/27/5a007daa90eedea0c2ff2d34c9905a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5222503353551125976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_43_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/27/5615a80d68c1ed5387d72063b96f9754.jpg","text":"TemporaryFile(/tmp/multipartBody5510522435356019101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218863511,"filename":"image_30102025_21_45_16_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355948","file1":"1396355947","file0":"1396355945","file4":"1396355950","file5":"1396355951","file3":"1396355949"},"map_files_photo_id_array":[{"photo_id":"1396355951","filename":"file5"},{"photo_id":"1396355948","filename":"file2"},{"photo_id":"1396355950","filename":"file4"},{"photo_id":"1396355947","filename":"file1"},{"photo_id":"1396355945","filename":"file0"},{"photo_id":"1396355949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355949":["hashtag1","hashtag2"]},{"1396355948":["hashtag1","hashtag2"]},{"1396355951":["hashtag1","hashtag2"]},{"1396355945":["hashtag1","hashtag2"]},{"1396355950":["hashtag1","hashtag2"]},{"1396355947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355949, 1396355948, 1396355951, 1396355945, 1396355950, 1396355947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08279514312744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:47:22.292971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/43/image_27112025_05_43_25_10739.jpg', '/home/pi/Desktop/images/27112025/05/45/image_27112025_05_46_04_9855.jpg', '/home/pi/Desktop/images/27112025/05/46/image_27112025_05_46_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/43/image_27112025_05_43_25_10739.jpg
/home/pi/Desktop/images/27112025/05/45/image_27112025_05_46_04_9855.jpg
/home/pi/Desktop/images/27112025/05/46/image_27112025_05_46_14_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355961","1396355958","1396355955"],"photo_ids_order":["1396355955","1396355958","1396355961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b138a9ee64b7ce7fb80b6ab5ec191bc5.jpg","text":"TemporaryFile(/tmp/multipartBody83548606617822785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218902928,"filename":"image_27112025_05_46_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37109763518934270f9707b99e5df352.jpg","text":"TemporaryFile(/tmp/multipartBody3137484659989813991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218902928,"filename":"image_27112025_05_46_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a16dbc5d5b20415d7c546d2bfe08e4d7.jpg","text":"TemporaryFile(/tmp/multipartBody1939131114484160351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218902928,"filename":"image_27112025_05_43_25_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355961","file1":"1396355958","file0":"1396355955"},"map_files_photo_id_array":[{"photo_id":"1396355961","filename":"file2"},{"photo_id":"1396355958","filename":"file1"},{"photo_id":"1396355955","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396355961":["hashtag1","hashtag2"]},{"1396355958":["hashtag1","hashtag2"]},{"1396355955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396355961, 1396355958, 1396355955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.881569623947144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:48:02.888308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_36_1604.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_38_1840.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_40_1883.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_42_1767.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_44_1611.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_47_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_36_1604.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_38_1840.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_40_1883.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_42_1767.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_44_1611.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_47_1730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355970","1396355973","1396355967","1396355975","1396355969","1396355968"],"photo_ids_order":["1396355967","1396355968","1396355969","1396355970","1396355973","1396355975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8498ac1ce36607c4f2ff7d9c9d41dda9.jpg","text":"TemporaryFile(/tmp/multipartBody683853974836798884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_42_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/27/75d25b9d4ca4aba52c5f5fc148e60e76.jpg","text":"TemporaryFile(/tmp/multipartBody8571404544886902640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_44_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/27/23aba292fccf19f61c32a0f0f099b461.jpg","text":"TemporaryFile(/tmp/multipartBody5408789358345441796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_36_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/27/2da41660daf7eb275eb627e5e17af0b4.jpg","text":"TemporaryFile(/tmp/multipartBody5079828169679505281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_47_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/27/a2ff35845199a5086cdd1787fcd0115f.jpg","text":"TemporaryFile(/tmp/multipartBody9105221517816499145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_40_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/27/c01088a55960343f944c1c18bcca02c9.jpg","text":"TemporaryFile(/tmp/multipartBody5574265432042442190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218944102,"filename":"image_21112025_19_38_38_1840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355969","file1":"1396355968","file0":"1396355967","file4":"1396355973","file5":"1396355975","file3":"1396355970"},"map_files_photo_id_array":[{"photo_id":"1396355975","filename":"file5"},{"photo_id":"1396355969","filename":"file2"},{"photo_id":"1396355973","filename":"file4"},{"photo_id":"1396355968","filename":"file1"},{"photo_id":"1396355967","filename":"file0"},{"photo_id":"1396355970","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396355970":["hashtag1","hashtag2"]},{"1396355973":["hashtag1","hashtag2"]},{"1396355967":["hashtag1","hashtag2"]},{"1396355975":["hashtag1","hashtag2"]},{"1396355969":["hashtag1","hashtag2"]},{"1396355968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396355970, 1396355973, 1396355967, 1396355975, 1396355969, 1396355968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23044776916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:48:42.549217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/45/image_30102025_21_45_52_3731.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_55_2647.jpg', '/home/pi/Desktop/images/30102025/21/45/image_30102025_21_46_00_2763.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_07_3519.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_13_3652.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_16_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_52_3731.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_45_55_2647.jpg
/home/pi/Desktop/images/30102025/21/45/image_30102025_21_46_00_2763.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_07_3519.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_13_3652.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_16_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396355997","1396355991","1396355993","1396355995","1396355986","1396355989"],"photo_ids_order":["1396355986","1396355989","1396355991","1396355993","1396355995","1396355997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15d7d2da2a6a760c956c2abcfca35098.jpg","text":"TemporaryFile(/tmp/multipartBody5632157655203792617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_46_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/27/6b562588e31003604956cea800395e11.jpg","text":"TemporaryFile(/tmp/multipartBody8402091428800790264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_46_00_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/27/a322f3cd434ca0816bb84bc2ea8aacb9.jpg","text":"TemporaryFile(/tmp/multipartBody6526888181200684118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_46_07_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/27/d3498179f265ebe80efdb6331f53cea7.jpg","text":"TemporaryFile(/tmp/multipartBody6023770125821822206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_46_13_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/27/2a521c49c9ea393135751e254d902f6f.jpg","text":"TemporaryFile(/tmp/multipartBody1252638706918552627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_45_52_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/27/0e44888f46fb6971a26c8db3fddb7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2868672101360123253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764218983951,"filename":"image_30102025_21_45_55_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396355991","file1":"1396355989","file0":"1396355986","file4":"1396355995","file5":"1396355997","file3":"1396355993"},"map_files_photo_id_array":[{"photo_id":"1396355997","filename":"file5"},{"photo_id":"1396355991","filename":"file2"},{"photo_id":"1396355995","filename":"file4"},{"photo_id":"1396355989","filename":"file1"},{"photo_id":"1396355986","filename":"file0"},{"photo_id":"1396355993","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396355997":["hashtag1","hashtag2"]},{"1396355991":["hashtag1","hashtag2"]},{"1396355993":["hashtag1","hashtag2"]},{"1396355995":["hashtag1","hashtag2"]},{"1396355986":["hashtag1","hashtag2"]},{"1396355989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396355997, 1396355991, 1396355993, 1396355995, 1396355986, 1396355989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23466873168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:49:22.738714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/47/image_27112025_05_47_24_9685.jpg', '/home/pi/Desktop/images/27112025/05/48/image_27112025_05_48_15_10715.jpg', '/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_14_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/47/image_27112025_05_47_24_9685.jpg
/home/pi/Desktop/images/27112025/05/48/image_27112025_05_48_15_10715.jpg
/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_14_9829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5645108222961426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:49:32.738361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_49_1687.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_52_2720.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_57_5870.jpg', '/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_59_1605.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_01_1603.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_04_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_49_1687.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_52_2720.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_57_5870.jpg
/home/pi/Desktop/images/21112025/19/38/image_21112025_19_38_59_1605.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_01_1603.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_04_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356025","1396356024","1396356015","1396356023","1396356017","1396356020"],"photo_ids_order":["1396356015","1396356017","1396356020","1396356023","1396356024","1396356025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26b47d1b20d6e200a3e1ea8e8a8137a3.jpg","text":"TemporaryFile(/tmp/multipartBody4686840867444478151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_39_04_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/27/d6ba1736f80a093e071d16b92224d02d.jpg","text":"TemporaryFile(/tmp/multipartBody1143061888630882260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_39_01_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/27/9faced926a243820aa8f2ee6828afade.jpg","text":"TemporaryFile(/tmp/multipartBody2164699617301821014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_38_49_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/27/bec120a6ab8ac872314b4cf33cc8bba0.jpg","text":"TemporaryFile(/tmp/multipartBody5758577235600242149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_38_59_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/27/17b3f52d296c99c6accdf7d90dc3738e.jpg","text":"TemporaryFile(/tmp/multipartBody7217826016039176019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_38_52_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/27/1073721636874f68a215f704bc36f51d.jpg","text":"TemporaryFile(/tmp/multipartBody8792617907433469639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219034643,"filename":"image_21112025_19_38_57_5870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356020","file1":"1396356017","file0":"1396356015","file4":"1396356024","file5":"1396356025","file3":"1396356023"},"map_files_photo_id_array":[{"photo_id":"1396356025","filename":"file5"},{"photo_id":"1396356020","filename":"file2"},{"photo_id":"1396356024","filename":"file4"},{"photo_id":"1396356017","filename":"file1"},{"photo_id":"1396356015","filename":"file0"},{"photo_id":"1396356023","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356025":["hashtag1","hashtag2"]},{"1396356024":["hashtag1","hashtag2"]},{"1396356015":["hashtag1","hashtag2"]},{"1396356023":["hashtag1","hashtag2"]},{"1396356017":["hashtag1","hashtag2"]},{"1396356020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356025, 1396356024, 1396356015, 1396356023, 1396356017, 1396356020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.897297859191895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 05:50:11.924328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_07_2737.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_09_2369.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_13_3693.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_16_3248.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_19_2613.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_22_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_07_2737.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_09_2369.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_13_3693.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_16_3248.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_19_2613.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_22_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356039","1396356030","1396356033","1396356036","1396356026","1396356028"],"photo_ids_order":["1396356026","1396356028","1396356030","1396356033","1396356036","1396356039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fba17c5724d12dd2b5be2713eba1b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5927601315968532435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_22_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/27/65496beeeddc709602b8865e626e099c.jpg","text":"TemporaryFile(/tmp/multipartBody2893073573915435901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_13_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/27/c4872e71155de6922c3802fdf62dc06b.jpg","text":"TemporaryFile(/tmp/multipartBody2459436062700967792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_16_3248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f81314e7f0dfe36f6f9a7102b450f408.jpg","text":"TemporaryFile(/tmp/multipartBody4193719400954316844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_19_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/27/a52b85352a29b92f8e03c74d9205e305.jpg","text":"TemporaryFile(/tmp/multipartBody4789035146489721165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_07_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/27/da33b5b185f8a487bdaeb666cef48183.jpg","text":"TemporaryFile(/tmp/multipartBody6888151099671134703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219073675,"filename":"image_21112025_19_39_09_2369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356030","file1":"1396356028","file0":"1396356026","file4":"1396356036","file5":"1396356039","file3":"1396356033"},"map_files_photo_id_array":[{"photo_id":"1396356039","filename":"file5"},{"photo_id":"1396356030","filename":"file2"},{"photo_id":"1396356036","filename":"file4"},{"photo_id":"1396356028","filename":"file1"},{"photo_id":"1396356026","filename":"file0"},{"photo_id":"1396356033","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356039":["hashtag1","hashtag2"]},{"1396356030":["hashtag1","hashtag2"]},{"1396356033":["hashtag1","hashtag2"]},{"1396356036":["hashtag1","hashtag2"]},{"1396356026":["hashtag1","hashtag2"]},{"1396356028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356039, 1396356030, 1396356033, 1396356036, 1396356026, 1396356028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.491262674331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:51:02.818736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/47/image_27112025_05_47_24_9685.jpg', '/home/pi/Desktop/images/27112025/05/48/image_27112025_05_48_15_10715.jpg', '/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_14_9829.jpg', '/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_25_10868.jpg', '/home/pi/Desktop/images/27112025/05/49/image_27112025_05_50_05_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/47/image_27112025_05_47_24_9685.jpg
/home/pi/Desktop/images/27112025/05/48/image_27112025_05_48_15_10715.jpg
/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_14_9829.jpg
/home/pi/Desktop/images/27112025/05/49/image_27112025_05_49_25_10868.jpg
/home/pi/Desktop/images/27112025/05/49/image_27112025_05_50_05_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356066","1396356071","1396356068","1396356064","1396356067"],"photo_ids_order":["1396356064","1396356066","1396356067","1396356068","1396356071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae3b63037d6e515728c20a684321a83c.jpg","text":"TemporaryFile(/tmp/multipartBody9077540255387626709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219123623,"filename":"image_27112025_05_48_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4886e9483bbb6386b328bace772ed0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6371118198381799519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219123623,"filename":"image_27112025_05_50_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/849c1f7487d47f8b54148354eb02df5e.jpg","text":"TemporaryFile(/tmp/multipartBody2880645426387659474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219123623,"filename":"image_27112025_05_49_25_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f3d5ee2df985fca9f653a8560bed4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7211397621428830584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219123623,"filename":"image_27112025_05_47_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1d7d8c60d0298a923a957ca8d8eda80.jpg","text":"TemporaryFile(/tmp/multipartBody6396285536660415260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219123623,"filename":"image_27112025_05_49_14_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356067","file1":"1396356066","file0":"1396356064","file4":"1396356071","file3":"1396356068"},"map_files_photo_id_array":[{"photo_id":"1396356067","filename":"file2"},{"photo_id":"1396356071","filename":"file4"},{"photo_id":"1396356066","filename":"file1"},{"photo_id":"1396356064","filename":"file0"},{"photo_id":"1396356068","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396356066":["hashtag1","hashtag2"]},{"1396356071":["hashtag1","hashtag2"]},{"1396356068":["hashtag1","hashtag2"]},{"1396356064":["hashtag1","hashtag2"]},{"1396356067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396356066, 1396356071, 1396356068, 1396356064, 1396356067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.843875646591187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:51:42.116450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/46/image_30102025_21_46_22_3748.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_31_3535.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_33_2710.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_38_4455.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_42_1680.jpg', '/home/pi/Desktop/images/30102025/21/46/image_30102025_21_47_00_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_22_3748.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_31_3535.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_33_2710.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_38_4455.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_46_42_1680.jpg
/home/pi/Desktop/images/30102025/21/46/image_30102025_21_47_00_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356087","1396356086","1396356089","1396356082","1396356085","1396356088"],"photo_ids_order":["1396356082","1396356085","1396356086","1396356087","1396356088","1396356089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cbc8198d61493bb0a220ff42d35fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5454222143365854427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_46_38_4455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61a0a667adfaf090d3e8e847843b41dc.jpg","text":"TemporaryFile(/tmp/multipartBody8330273774827858369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_46_33_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/27/62aee9d0b29b9d4764a5a53a3e17561a.jpg","text":"TemporaryFile(/tmp/multipartBody3492004765102249022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_47_00_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/27/f3f6381c5b9bd3d6b13819a464e97073.jpg","text":"TemporaryFile(/tmp/multipartBody6224212612958153061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_46_22_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/27/15827c3d440d0fecc922a1a8c2bb9083.jpg","text":"TemporaryFile(/tmp/multipartBody1560756872876739890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_46_31_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/27/3278fb02bbb50ce8a8a3ea67881cd6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7600935258702505657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219163468,"filename":"image_30102025_21_46_42_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356086","file1":"1396356085","file0":"1396356082","file4":"1396356088","file5":"1396356089","file3":"1396356087"},"map_files_photo_id_array":[{"photo_id":"1396356089","filename":"file5"},{"photo_id":"1396356086","filename":"file2"},{"photo_id":"1396356088","filename":"file4"},{"photo_id":"1396356085","filename":"file1"},{"photo_id":"1396356082","filename":"file0"},{"photo_id":"1396356087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356087":["hashtag1","hashtag2"]},{"1396356086":["hashtag1","hashtag2"]},{"1396356089":["hashtag1","hashtag2"]},{"1396356082":["hashtag1","hashtag2"]},{"1396356085":["hashtag1","hashtag2"]},{"1396356088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356087, 1396356086, 1396356089, 1396356082, 1396356085, 1396356088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14651155471802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:52:22.269161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_25_3655.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_28_2615.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_31_2689.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_34_3651.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_37_2624.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_40_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_25_3655.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_28_2615.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_31_2689.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_34_3651.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_37_2624.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_40_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356120","1396356108","1396356122","1396356116","1396356112","1396356115"],"photo_ids_order":["1396356108","1396356112","1396356115","1396356116","1396356120","1396356122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f4f2131ec2a62cea79f7b54813b170e.jpg","text":"TemporaryFile(/tmp/multipartBody2717815616671595320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_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/27/7e6f21baffc16191a20cc24526bbf7e1.jpg","text":"TemporaryFile(/tmp/multipartBody2152480851102984185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_25_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/27/efd6f491a1c6e5b122bd03ca90534f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6971881918588009803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_40_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/27/127a0f6f62b3fb9803a3c07edfb8b425.jpg","text":"TemporaryFile(/tmp/multipartBody2667934590513343794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_34_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/27/b02e3de6cacc6c7aa9fc49d168813196.jpg","text":"TemporaryFile(/tmp/multipartBody4670481662563702968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_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/27/7fbe2a1a95ac34a9704d393ccc351fc8.jpg","text":"TemporaryFile(/tmp/multipartBody2380467681153273834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219204118,"filename":"image_21112025_19_39_31_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356115","file1":"1396356112","file0":"1396356108","file4":"1396356120","file5":"1396356122","file3":"1396356116"},"map_files_photo_id_array":[{"photo_id":"1396356122","filename":"file5"},{"photo_id":"1396356115","filename":"file2"},{"photo_id":"1396356120","filename":"file4"},{"photo_id":"1396356112","filename":"file1"},{"photo_id":"1396356108","filename":"file0"},{"photo_id":"1396356116","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356120":["hashtag1","hashtag2"]},{"1396356108":["hashtag1","hashtag2"]},{"1396356122":["hashtag1","hashtag2"]},{"1396356116":["hashtag1","hashtag2"]},{"1396356112":["hashtag1","hashtag2"]},{"1396356115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356120, 1396356108, 1396356122, 1396356116, 1396356112, 1396356115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.129499435424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:53:03.351845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_43_3650.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_46_2542.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_49_3545.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_52_2682.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_55_2557.jpg', '/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_58_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_43_3650.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_46_2542.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_49_3545.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_52_2682.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_55_2557.jpg
/home/pi/Desktop/images/21112025/19/39/image_21112025_19_39_58_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356124","1396356123","1396356132","1396356126","1396356129","1396356125"],"photo_ids_order":["1396356123","1396356124","1396356125","1396356126","1396356129","1396356132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea0aa514f4ba947560ddd3f8ad58a170.jpg","text":"TemporaryFile(/tmp/multipartBody2590879881366970376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_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/27/5f7562c3827cf625acdd8ddccfe7dce6.jpg","text":"TemporaryFile(/tmp/multipartBody758123387240735427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_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/27/980cd39a1299b2c544d353a0c185433e.jpg","text":"TemporaryFile(/tmp/multipartBody5010072685071365758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_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/27/9e2c3d0ac26183fef6bdcf7365f1ac01.jpg","text":"TemporaryFile(/tmp/multipartBody2161100900964517351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_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/27/f31f60a140e668b0feb384218eadacbb.jpg","text":"TemporaryFile(/tmp/multipartBody2706543532585521340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_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/27/8ee3f3a637b37c7f006984db76fbd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody3010156940477497911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219244620,"filename":"image_21112025_19_39_49_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356125","file1":"1396356124","file0":"1396356123","file4":"1396356129","file5":"1396356132","file3":"1396356126"},"map_files_photo_id_array":[{"photo_id":"1396356132","filename":"file5"},{"photo_id":"1396356125","filename":"file2"},{"photo_id":"1396356129","filename":"file4"},{"photo_id":"1396356124","filename":"file1"},{"photo_id":"1396356123","filename":"file0"},{"photo_id":"1396356126","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356124":["hashtag1","hashtag2"]},{"1396356123":["hashtag1","hashtag2"]},{"1396356132":["hashtag1","hashtag2"]},{"1396356126":["hashtag1","hashtag2"]},{"1396356129":["hashtag1","hashtag2"]},{"1396356125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356124, 1396356123, 1396356132, 1396356126, 1396356129, 1396356125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38245105743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:53:42.619293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/47/image_30102025_21_47_09_2767.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_12_2663.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_15_2925.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_19_3576.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_21_2629.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_25_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/21/47/image_30102025_21_47_09_2767.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_12_2663.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_15_2925.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_19_3576.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_21_2629.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_25_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356144","1396356146","1396356143","1396356145","1396356139","1396356142"],"photo_ids_order":["1396356139","1396356142","1396356143","1396356144","1396356145","1396356146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6e46924774110f4690d46288f687ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8749992403317504664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_19_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/27/9d9bb1b2f2a08f6aea2d7db01c290760.jpg","text":"TemporaryFile(/tmp/multipartBody7588153500154145819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_25_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/27/b67d008020ae2dfcfaddc8b96b94118e.jpg","text":"TemporaryFile(/tmp/multipartBody7242085444498435168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_15_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/27/8b0e06578e95a825379a38b2047d4c44.jpg","text":"TemporaryFile(/tmp/multipartBody8390774664384222721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_21_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/27/f9965dd2c8b52a999090e52e43ca1a1e.jpg","text":"TemporaryFile(/tmp/multipartBody823851153697212817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_09_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/27/a593f0878ca26a61408a4d6c5dab9082.jpg","text":"TemporaryFile(/tmp/multipartBody2357473468665695847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219283976,"filename":"image_30102025_21_47_12_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356143","file1":"1396356142","file0":"1396356139","file4":"1396356145","file5":"1396356146","file3":"1396356144"},"map_files_photo_id_array":[{"photo_id":"1396356146","filename":"file5"},{"photo_id":"1396356143","filename":"file2"},{"photo_id":"1396356145","filename":"file4"},{"photo_id":"1396356142","filename":"file1"},{"photo_id":"1396356139","filename":"file0"},{"photo_id":"1396356144","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356144":["hashtag1","hashtag2"]},{"1396356146":["hashtag1","hashtag2"]},{"1396356143":["hashtag1","hashtag2"]},{"1396356145":["hashtag1","hashtag2"]},{"1396356139":["hashtag1","hashtag2"]},{"1396356142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356144, 1396356146, 1396356143, 1396356145, 1396356139, 1396356142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82592058181763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:54:22.923614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/50/image_27112025_05_50_45_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/50/image_27112025_05_50_45_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356150"],"photo_id":"1396356150","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/899dec2efeddf1a5f6af7071ea600046.jpg","text":"TemporaryFile(/tmp/multipartBody6254420403071822366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219323465,"filename":"image_27112025_05_50_45_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396356150"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396356150"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.866421461105347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:54:42.784269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/47/image_30102025_21_47_28_2668.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_30_2714.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_34_3664.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_39_2677.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_42_2720.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_46_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_28_2668.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_30_2714.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_34_3664.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_39_2677.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_42_2720.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_46_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356180","1396356168","1396356183","1396356171","1396356170","1396356173"],"photo_ids_order":["1396356168","1396356170","1396356171","1396356173","1396356180","1396356183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f72876d4686b79bdf61f7be6fd9e271d.jpg","text":"TemporaryFile(/tmp/multipartBody5138730969098257172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_42_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/27/d15ba9acf9d47bd52a91874c3d1a8b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8529602566245003109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_28_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/27/637affc4cecd30bc3592afb1d21799ee.jpg","text":"TemporaryFile(/tmp/multipartBody7648579949619079749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_46_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/27/1bb8587767d79aed4312ff072531ba37.jpg","text":"TemporaryFile(/tmp/multipartBody2412810826559655618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_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/27/359bb1687ecc9a897c24658dd896bc59.jpg","text":"TemporaryFile(/tmp/multipartBody7829758229361819061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_30_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/27/e134c4c13700c9d51470e967755a0979.jpg","text":"TemporaryFile(/tmp/multipartBody5611101462496259840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219344139,"filename":"image_30102025_21_47_39_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356171","file1":"1396356170","file0":"1396356168","file4":"1396356180","file5":"1396356183","file3":"1396356173"},"map_files_photo_id_array":[{"photo_id":"1396356183","filename":"file5"},{"photo_id":"1396356171","filename":"file2"},{"photo_id":"1396356180","filename":"file4"},{"photo_id":"1396356170","filename":"file1"},{"photo_id":"1396356168","filename":"file0"},{"photo_id":"1396356173","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356180":["hashtag1","hashtag2"]},{"1396356168":["hashtag1","hashtag2"]},{"1396356183":["hashtag1","hashtag2"]},{"1396356171":["hashtag1","hashtag2"]},{"1396356170":["hashtag1","hashtag2"]},{"1396356173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356180, 1396356168, 1396356183, 1396356171, 1396356170, 1396356173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5042142868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:55:21.955479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/54/image_27112025_05_54_45_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/54/image_27112025_05_54_45_9871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356191"],"photo_id":"1396356191","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10d5b83dfb2ac52d3823c91cae6df2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3391892555178358025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219382505,"filename":"image_27112025_05_54_45_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396356191"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396356191"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.749454736709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:55:41.967710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/47/image_30102025_21_47_48_2639.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_51_2816.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_55_3612.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_57_2603.jpg', '/home/pi/Desktop/images/30102025/21/47/image_30102025_21_48_00_2624.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_04_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/21/47/image_30102025_21_47_48_2639.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_51_2816.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_55_3612.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_47_57_2603.jpg
/home/pi/Desktop/images/30102025/21/47/image_30102025_21_48_00_2624.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_04_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356205","1396356204","1396356207","1396356201","1396356203","1396356206"],"photo_ids_order":["1396356201","1396356203","1396356204","1396356205","1396356206","1396356207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea18521ac5c06eb2111d962d871da78c.jpg","text":"TemporaryFile(/tmp/multipartBody6606238513775413020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_47_57_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/27/8f68a39e5cbcf018f537d9269681cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody4590447515193664842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_47_55_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/27/20ffd3590d54201a485a26d5920653f4.jpg","text":"TemporaryFile(/tmp/multipartBody3538820377757837959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_48_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/27/cd2f2c1ce75f20d620ad074f20a3eaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3327964194067908038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_47_48_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/27/dbc4c95924fc98a8853d1facccdc0fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2849328866909266739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_47_51_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/27/993150767a593ff0aae86d5618753329.jpg","text":"TemporaryFile(/tmp/multipartBody4568298152957332834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219403323,"filename":"image_30102025_21_48_00_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356204","file1":"1396356203","file0":"1396356201","file4":"1396356206","file5":"1396356207","file3":"1396356205"},"map_files_photo_id_array":[{"photo_id":"1396356207","filename":"file5"},{"photo_id":"1396356204","filename":"file2"},{"photo_id":"1396356206","filename":"file4"},{"photo_id":"1396356203","filename":"file1"},{"photo_id":"1396356201","filename":"file0"},{"photo_id":"1396356205","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356205":["hashtag1","hashtag2"]},{"1396356204":["hashtag1","hashtag2"]},{"1396356207":["hashtag1","hashtag2"]},{"1396356201":["hashtag1","hashtag2"]},{"1396356203":["hashtag1","hashtag2"]},{"1396356206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356205, 1396356204, 1396356207, 1396356201, 1396356203, 1396356206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02421760559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:56:22.167487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/55/image_27112025_05_55_14_9886.jpg', '/home/pi/Desktop/images/27112025/05/55/image_27112025_05_56_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/55/image_27112025_05_55_14_9886.jpg
/home/pi/Desktop/images/27112025/05/55/image_27112025_05_56_04_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356213","1396356211"],"photo_ids_order":["1396356211","1396356213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12048ed8af9ea81ee0000cb47d48a534.jpg","text":"TemporaryFile(/tmp/multipartBody5830879937112520373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219442785,"filename":"image_27112025_05_56_04_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f65f459701b49caeabf253f128a1f96c.jpg","text":"TemporaryFile(/tmp/multipartBody6397619857397549976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219442785,"filename":"image_27112025_05_55_14_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396356213","file0":"1396356211"},"map_files_photo_id_array":[{"photo_id":"1396356213","filename":"file1"},{"photo_id":"1396356211","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396356213":["hashtag1","hashtag2"]},{"1396356211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396356213, 1396356211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.335524559020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:56:42.216012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/48/image_30102025_21_48_07_3108.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_09_2688.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_16_3679.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_21_2690.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_25_3720.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_28_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_07_3108.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_09_2688.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_16_3679.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_21_2690.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_25_3720.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_28_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":["1396356223","1396356222","1396356219","1396356221","1396356224","1396356220"],"photo_ids_order":["1396356219","1396356220","1396356221","1396356222","1396356223","1396356224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1427274055efd730521d18048db472f.jpg","text":"TemporaryFile(/tmp/multipartBody4815653456450642982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_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/27/7834fce73e10a5e040e76c244635e743.jpg","text":"TemporaryFile(/tmp/multipartBody2809907263856974014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_21_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/27/0be1fa7eea41c4e67c2f209b6ce9fb21.jpg","text":"TemporaryFile(/tmp/multipartBody824151469138954148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_07_3108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/feb7d83919658ab0f6310b448757597e.jpg","text":"TemporaryFile(/tmp/multipartBody9015507728956093068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_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/27/8582da8a43dee67915aeb8da54106cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5780328240001351277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_28_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/27/57d62a784a1c94d23f966b4ebee60a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5218287430647378037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219463571,"filename":"image_30102025_21_48_09_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356221","file1":"1396356220","file0":"1396356219","file4":"1396356223","file5":"1396356224","file3":"1396356222"},"map_files_photo_id_array":[{"photo_id":"1396356224","filename":"file5"},{"photo_id":"1396356221","filename":"file2"},{"photo_id":"1396356223","filename":"file4"},{"photo_id":"1396356220","filename":"file1"},{"photo_id":"1396356219","filename":"file0"},{"photo_id":"1396356222","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356223":["hashtag1","hashtag2"]},{"1396356222":["hashtag1","hashtag2"]},{"1396356219":["hashtag1","hashtag2"]},{"1396356221":["hashtag1","hashtag2"]},{"1396356224":["hashtag1","hashtag2"]},{"1396356220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356223, 1396356222, 1396356219, 1396356221, 1396356224, 1396356220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22103571891785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:57:22.360681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_01_2550.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_04_3149.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_12_5056.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_13_1591.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_16_2620.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_19_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_01_2550.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_04_3149.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_12_5056.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_13_1591.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_16_2620.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_19_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356245","1396356233","1396356227","1396356236","1396356230","1396356241"],"photo_ids_order":["1396356227","1396356230","1396356233","1396356236","1396356241","1396356245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d7b395e601d18432f8eac7c644c5f09.jpg","text":"TemporaryFile(/tmp/multipartBody6770945193502850681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_19_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/27/40167611214404c0272ed923893a65d1.jpg","text":"TemporaryFile(/tmp/multipartBody7848609290657486849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_12_5056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c5755d8f1c6905b5a60a14594e3e179.jpg","text":"TemporaryFile(/tmp/multipartBody133247569998746658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_01_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/27/8275304e0533a27776910125e332d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody1486745302718728604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_13_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/27/b1ca7747df2d37a73fc0253d6fb43598.jpg","text":"TemporaryFile(/tmp/multipartBody1828508529090462355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_04_3149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d86a9e2e08dd5c7d13003846cd8ee2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2389570301970625574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219504245,"filename":"image_21112025_19_40_16_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356233","file1":"1396356230","file0":"1396356227","file4":"1396356241","file5":"1396356245","file3":"1396356236"},"map_files_photo_id_array":[{"photo_id":"1396356245","filename":"file5"},{"photo_id":"1396356233","filename":"file2"},{"photo_id":"1396356241","filename":"file4"},{"photo_id":"1396356230","filename":"file1"},{"photo_id":"1396356227","filename":"file0"},{"photo_id":"1396356236","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356245":["hashtag1","hashtag2"]},{"1396356233":["hashtag1","hashtag2"]},{"1396356227":["hashtag1","hashtag2"]},{"1396356236":["hashtag1","hashtag2"]},{"1396356230":["hashtag1","hashtag2"]},{"1396356241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356245, 1396356233, 1396356227, 1396356236, 1396356230, 1396356241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65640878677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 05:59:03.600958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/56/image_27112025_05_56_25_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/56/image_27112025_05_56_25_9948.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356261"],"photo_id":"1396356261","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59e3a4cd25ffdc8d55908ab07b3e2cab.jpg","text":"TemporaryFile(/tmp/multipartBody8806481245568242137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219604289,"filename":"image_27112025_05_56_25_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396356261"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396356261"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.609699487686157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 05:59:22.622446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/58/image_27112025_05_58_15_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/58/image_27112025_05_58_15_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356271"],"photo_id":"1396356271","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17cb458e9afdc342e35895a0a20a9425.jpg","text":"TemporaryFile(/tmp/multipartBody3545381445203713141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219623162,"filename":"image_27112025_05_58_15_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396356271"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396356271"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.738262414932251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 05:59:42.605225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/48/image_30102025_21_48_30_2654.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_33_2751.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_37_3773.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_43_3666.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_45_2717.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_48_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_30_2654.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_33_2751.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_37_3773.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_43_3666.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_45_2717.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_48_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356285","1396356281","1396356290","1396356278","1396356287","1396356283"],"photo_ids_order":["1396356278","1396356281","1396356283","1396356285","1396356287","1396356290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f50d116734371ef2232c0736dfb87cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4135701255967589026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_43_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/27/cf5a5129a29320a53357f889e240e33d.jpg","text":"TemporaryFile(/tmp/multipartBody7846147541368906418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_33_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/27/eee49eff8c5ff107c8fbdbd7574b2860.jpg","text":"TemporaryFile(/tmp/multipartBody3995064237346690777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_48_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/27/668b33396627b3620883ad652743670f.jpg","text":"TemporaryFile(/tmp/multipartBody2811057577420712587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_30_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/27/93b2d96aaba321dc77463b78d3093a76.jpg","text":"TemporaryFile(/tmp/multipartBody1882365148082260394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_45_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/27/16cd76c4fbc6d2950b607e5b1a628264.jpg","text":"TemporaryFile(/tmp/multipartBody301541352699195142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219643958,"filename":"image_30102025_21_48_37_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356283","file1":"1396356281","file0":"1396356278","file4":"1396356287","file5":"1396356290","file3":"1396356285"},"map_files_photo_id_array":[{"photo_id":"1396356290","filename":"file5"},{"photo_id":"1396356283","filename":"file2"},{"photo_id":"1396356287","filename":"file4"},{"photo_id":"1396356281","filename":"file1"},{"photo_id":"1396356278","filename":"file0"},{"photo_id":"1396356285","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396356285":["hashtag1","hashtag2"]},{"1396356281":["hashtag1","hashtag2"]},{"1396356290":["hashtag1","hashtag2"]},{"1396356278":["hashtag1","hashtag2"]},{"1396356287":["hashtag1","hashtag2"]},{"1396356283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396356285, 1396356281, 1396356290, 1396356278, 1396356287, 1396356283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14624238014221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:00:32.783261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_21_2661.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_25_3734.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_28_2606.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_30_2687.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_34_3624.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_37_3252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_21_2661.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_25_3734.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_28_2606.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_30_2687.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_34_3624.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_37_3252.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356483","1396356450","1396356375","1396356414","1396356335","1396356517"],"photo_ids_order":["1396356335","1396356375","1396356414","1396356450","1396356483","1396356517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62de3e20d134fe8c193b8883d34f82b1.jpg","text":"TemporaryFile(/tmp/multipartBody6963671234787360867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_34_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/27/b735e18b575135716649ebc5de5b6d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2665604476178809853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_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/27/10eb7f86f51c79d87afb3f650d0cf1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7869532788683717981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_25_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/27/83a77b90bcbc0b61d7b74ebb5ef4f044.jpg","text":"TemporaryFile(/tmp/multipartBody2408288915026343142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_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/27/09435998da8e3a2faed56732827e2416.jpg","text":"TemporaryFile(/tmp/multipartBody3991530111008980957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_21_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/27/403e2a7a5cde241894381f7f2c0b574d.jpg","text":"TemporaryFile(/tmp/multipartBody2922209633253771220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219694819,"filename":"image_21112025_19_40_37_3252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356414","file1":"1396356375","file0":"1396356335","file4":"1396356483","file5":"1396356517","file3":"1396356450"},"map_files_photo_id_array":[{"photo_id":"1396356517","filename":"file5"},{"photo_id":"1396356414","filename":"file2"},{"photo_id":"1396356483","filename":"file4"},{"photo_id":"1396356375","filename":"file1"},{"photo_id":"1396356335","filename":"file0"},{"photo_id":"1396356450","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356483":["hashtag1","hashtag2"]},{"1396356450":["hashtag1","hashtag2"]},{"1396356375":["hashtag1","hashtag2"]},{"1396356414":["hashtag1","hashtag2"]},{"1396356335":["hashtag1","hashtag2"]},{"1396356517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356483, 1396356450, 1396356375, 1396356414, 1396356335, 1396356517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38172650337219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:01:12.035362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_40_2868.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_43_2601.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_45_2642.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_49_3661.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_52_2615.jpg', '/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_55_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_40_2868.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_43_2601.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_45_2642.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_49_3661.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_52_2615.jpg
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_55_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396356690","1396356654","1396356828","1396356872","1396356734","1396356790"],"photo_ids_order":["1396356654","1396356690","1396356734","1396356790","1396356828","1396356872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67da1423fc88ea9e8602f2cb3ee0dab1.jpg","text":"TemporaryFile(/tmp/multipartBody6770770640624627692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_43_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/27/50776b6653e521293e3897a45e192d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4931486025131280635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_40_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33b11bb28112bae52c6a170356742023.jpg","text":"TemporaryFile(/tmp/multipartBody7579262444518190388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_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/27/fb268901fdefe861c87ee9d66b30a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4151301119317976239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_55_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/27/199af662dca8100e8f4cd1f55a576a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8983490128458541038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_45_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/27/c38583462ebfd660349dd9f3425ecc37.jpg","text":"TemporaryFile(/tmp/multipartBody6764642298224062215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219733811,"filename":"image_21112025_19_40_49_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396356734","file1":"1396356690","file0":"1396356654","file4":"1396356828","file5":"1396356872","file3":"1396356790"},"map_files_photo_id_array":[{"photo_id":"1396356872","filename":"file5"},{"photo_id":"1396356734","filename":"file2"},{"photo_id":"1396356828","filename":"file4"},{"photo_id":"1396356690","filename":"file1"},{"photo_id":"1396356654","filename":"file0"},{"photo_id":"1396356790","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396356690":["hashtag1","hashtag2"]},{"1396356654":["hashtag1","hashtag2"]},{"1396356828":["hashtag1","hashtag2"]},{"1396356872":["hashtag1","hashtag2"]},{"1396356734":["hashtag1","hashtag2"]},{"1396356790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396356690, 1396356654, 1396356828, 1396356872, 1396356734, 1396356790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20266342163086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:02:02.567951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/05/58/image_27112025_05_59_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/05/58/image_27112025_05_59_04_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357074"],"photo_id":"1396357074","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81cbc9b9d07bf70fb9ac5b826fec6d51.jpg","text":"TemporaryFile(/tmp/multipartBody4917867000140051699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219783130,"filename":"image_27112025_05_59_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396357074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396357074"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.239506721496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:02:22.140128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/01/image_27112025_06_01_55_10705.jpg', '/home/pi/Desktop/images/27112025/06/01/image_27112025_06_02_04_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/01/image_27112025_06_01_55_10705.jpg
/home/pi/Desktop/images/27112025/06/01/image_27112025_06_02_04_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357077","1396357079"],"photo_ids_order":["1396357077","1396357079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7afa281376799ec3212f449a5bf9c48e.jpg","text":"TemporaryFile(/tmp/multipartBody8024069963138105729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219802718,"filename":"image_27112025_06_01_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b297c133fe33a7cafdcc9046ebb4e10.jpg","text":"TemporaryFile(/tmp/multipartBody7130777349335693335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219802718,"filename":"image_27112025_06_02_04_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396357079","file0":"1396357077"},"map_files_photo_id_array":[{"photo_id":"1396357079","filename":"file1"},{"photo_id":"1396357077","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396357077":["hashtag1","hashtag2"]},{"1396357079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396357077, 1396357079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.26735496520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:03:03.229583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_58_2613.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_13_14725.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_15_1949.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_30_15625.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_32_1735.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_34_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/40/image_21112025_19_40_58_2613.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_13_14725.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_15_1949.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_30_15625.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_32_1735.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_34_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357292","1396357295","1396357310","1396357294","1396357363","1396357350"],"photo_ids_order":["1396357292","1396357294","1396357295","1396357310","1396357350","1396357363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95195180f72f879b219537756384fc11.jpg","text":"TemporaryFile(/tmp/multipartBody7899622107491473312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_40_58_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/27/15ec4896f37f4d9994e32de756cfb61e.jpg","text":"TemporaryFile(/tmp/multipartBody4995733576588767265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_41_15_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2dd777a6487f39f5c188c153bcf9ceba.jpg","text":"TemporaryFile(/tmp/multipartBody4791273779104285230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_41_30_15625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a64cf55d84fe3e65fbaf21b63acfe6f.jpg","text":"TemporaryFile(/tmp/multipartBody4303651947365230342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_41_13_14725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44f465a9897028c435d537c838adceed.jpg","text":"TemporaryFile(/tmp/multipartBody5143419461717724722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_41_34_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/242d02dc2727b044a7c1471bd972a85b.jpg","text":"TemporaryFile(/tmp/multipartBody5067703507297243412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219844539,"filename":"image_21112025_19_41_32_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357295","file1":"1396357294","file0":"1396357292","file4":"1396357350","file5":"1396357363","file3":"1396357310"},"map_files_photo_id_array":[{"photo_id":"1396357363","filename":"file5"},{"photo_id":"1396357295","filename":"file2"},{"photo_id":"1396357350","filename":"file4"},{"photo_id":"1396357294","filename":"file1"},{"photo_id":"1396357292","filename":"file0"},{"photo_id":"1396357310","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396357292":["hashtag1","hashtag2"]},{"1396357295":["hashtag1","hashtag2"]},{"1396357310":["hashtag1","hashtag2"]},{"1396357294":["hashtag1","hashtag2"]},{"1396357363":["hashtag1","hashtag2"]},{"1396357350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396357292, 1396357295, 1396357310, 1396357294, 1396357363, 1396357350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.101715326309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:03:42.428052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/48/image_30102025_21_48_52_3604.jpg', '/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_57_2658.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_03_2631.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_06_2639.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_10_3755.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_12_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_52_3604.jpg
/home/pi/Desktop/images/30102025/21/48/image_30102025_21_48_57_2658.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_03_2631.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_06_2639.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_10_3755.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_12_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357413","1396357410","1396357412","1396357409","1396357411","1396357408"],"photo_ids_order":["1396357408","1396357409","1396357410","1396357411","1396357412","1396357413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b84417e13e16e915d95b70e6adffdfe.jpg","text":"TemporaryFile(/tmp/multipartBody9208731855654203383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_49_12_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/27/0f36315aa1eaa9dfc5671b5135b7ef51.jpg","text":"TemporaryFile(/tmp/multipartBody1480946805465628698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_49_03_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/27/002359523f99c04785a53ef818314231.jpg","text":"TemporaryFile(/tmp/multipartBody7779568055736978993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_49_10_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/27/e4968392c2aa35f3ab3f6fa316d1c358.jpg","text":"TemporaryFile(/tmp/multipartBody1205563844103088527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_48_57_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/27/5235a8ec10991036422926ac6d2112df.jpg","text":"TemporaryFile(/tmp/multipartBody4154593319993532301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_49_06_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/27/4e7b00026dadf95af3c9d30e73091b24.jpg","text":"TemporaryFile(/tmp/multipartBody5600079964856378619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219883820,"filename":"image_30102025_21_48_52_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357410","file1":"1396357409","file0":"1396357408","file4":"1396357412","file5":"1396357413","file3":"1396357411"},"map_files_photo_id_array":[{"photo_id":"1396357413","filename":"file5"},{"photo_id":"1396357410","filename":"file2"},{"photo_id":"1396357412","filename":"file4"},{"photo_id":"1396357409","filename":"file1"},{"photo_id":"1396357408","filename":"file0"},{"photo_id":"1396357411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396357413":["hashtag1","hashtag2"]},{"1396357410":["hashtag1","hashtag2"]},{"1396357412":["hashtag1","hashtag2"]},{"1396357409":["hashtag1","hashtag2"]},{"1396357411":["hashtag1","hashtag2"]},{"1396357408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396357413, 1396357410, 1396357412, 1396357409, 1396357411, 1396357408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92135834693909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:04:22.682807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/02/image_27112025_06_02_14_9768.jpg', '/home/pi/Desktop/images/27112025/06/02/image_27112025_06_03_05_10665.jpg', '/home/pi/Desktop/images/27112025/06/03/image_27112025_06_03_14_9750.jpg', '/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_44_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/02/image_27112025_06_02_14_9768.jpg
/home/pi/Desktop/images/27112025/06/02/image_27112025_06_03_05_10665.jpg
/home/pi/Desktop/images/27112025/06/03/image_27112025_06_03_14_9750.jpg
/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_44_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357419","1396357427","1396357415","1396357417"],"photo_ids_order":["1396357415","1396357417","1396357419","1396357427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2eecb5a5ce831e8bda915dd89f6fac6.jpg","text":"TemporaryFile(/tmp/multipartBody4432783335286110062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219923365,"filename":"image_27112025_06_03_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3ec2d723610c2c2cd1c490a6c88c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody2597876033782452990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219923365,"filename":"image_27112025_06_04_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bab086c8f0030735396f7ce405a52a7d.jpg","text":"TemporaryFile(/tmp/multipartBody7925809493832424212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219923365,"filename":"image_27112025_06_02_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d5bff3fd796bd42a5bdf1eb45de41c8.jpg","text":"TemporaryFile(/tmp/multipartBody7450288899569293915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219923365,"filename":"image_27112025_06_03_05_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357419","file1":"1396357417","file0":"1396357415","file3":"1396357427"},"map_files_photo_id_array":[{"photo_id":"1396357419","filename":"file2"},{"photo_id":"1396357417","filename":"file1"},{"photo_id":"1396357415","filename":"file0"},{"photo_id":"1396357427","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396357419":["hashtag1","hashtag2"]},{"1396357427":["hashtag1","hashtag2"]},{"1396357415":["hashtag1","hashtag2"]},{"1396357417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396357419, 1396357427, 1396357415, 1396357417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.98902463912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:05:03.565610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_39_5313.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_41_1779.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_43_1765.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_44_1637.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_47_2876.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_49_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_39_5313.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_41_1779.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_43_1765.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_44_1637.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_47_2876.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_49_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357434","1396357442","1396357436","1396357439","1396357433","1396357432"],"photo_ids_order":["1396357432","1396357433","1396357434","1396357436","1396357439","1396357442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46c42d662db4f38aa703ec14d9b0ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody288885996562924380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_43_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20081d953e15b2ddea1c9fde45fa2e21.jpg","text":"TemporaryFile(/tmp/multipartBody4933421267280516520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_49_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/27/43f58c9589367533dd0c9e912757bd10.jpg","text":"TemporaryFile(/tmp/multipartBody1900096599844144550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_44_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/27/cab2896f0893ac6efcb7c20a7aa402ef.jpg","text":"TemporaryFile(/tmp/multipartBody7485740416562479396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_47_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/27/72aeca1eb14d17163d4ade851c43cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody3957268679003150240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_41_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/27/9920569345111f1287cd5a246be4c277.jpg","text":"TemporaryFile(/tmp/multipartBody644700848176592974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764219964949,"filename":"image_21112025_19_41_39_5313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357434","file1":"1396357433","file0":"1396357432","file4":"1396357439","file5":"1396357442","file3":"1396357436"},"map_files_photo_id_array":[{"photo_id":"1396357442","filename":"file5"},{"photo_id":"1396357434","filename":"file2"},{"photo_id":"1396357439","filename":"file4"},{"photo_id":"1396357433","filename":"file1"},{"photo_id":"1396357432","filename":"file0"},{"photo_id":"1396357436","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396357434":["hashtag1","hashtag2"]},{"1396357442":["hashtag1","hashtag2"]},{"1396357436":["hashtag1","hashtag2"]},{"1396357439":["hashtag1","hashtag2"]},{"1396357433":["hashtag1","hashtag2"]},{"1396357432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396357434, 1396357442, 1396357436, 1396357439, 1396357433, 1396357432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25136351585388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:06:02.492483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_52_3240.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_54_1571.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_55_1699.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_57_1745.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_59_1715.jpg', '/home/pi/Desktop/images/21112025/19/41/image_21112025_19_42_00_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_52_3240.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_54_1571.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_55_1699.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_57_1745.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_41_59_1715.jpg
/home/pi/Desktop/images/21112025/19/41/image_21112025_19_42_00_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357449","1396357448","1396357511","1396357579","1396357480","1396357542"],"photo_ids_order":["1396357448","1396357449","1396357480","1396357511","1396357542","1396357579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb627ea22335589a1a3fcc9382e55bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7352680870897254679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_41_54_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/27/920938d3d2a3cc8fb4660d0938c4b408.jpg","text":"TemporaryFile(/tmp/multipartBody686566351859203946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_41_52_3240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/628141488941be7267aaf79e29725350.jpg","text":"TemporaryFile(/tmp/multipartBody4615038139312089106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_41_57_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/27/bc604d293b270488fbdf2c7098be56f0.jpg","text":"TemporaryFile(/tmp/multipartBody8713084444971267978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_42_00_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/27/ef343f6615f47f7e9bea81e8f7a3bccf.jpg","text":"TemporaryFile(/tmp/multipartBody9182813270930290560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_41_55_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/27/0b816df7da84bd3513943639c56c4957.jpg","text":"TemporaryFile(/tmp/multipartBody381632033516289377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220023698,"filename":"image_21112025_19_41_59_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357480","file1":"1396357449","file0":"1396357448","file4":"1396357542","file5":"1396357579","file3":"1396357511"},"map_files_photo_id_array":[{"photo_id":"1396357579","filename":"file5"},{"photo_id":"1396357480","filename":"file2"},{"photo_id":"1396357542","filename":"file4"},{"photo_id":"1396357449","filename":"file1"},{"photo_id":"1396357448","filename":"file0"},{"photo_id":"1396357511","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396357449":["hashtag1","hashtag2"]},{"1396357448":["hashtag1","hashtag2"]},{"1396357511":["hashtag1","hashtag2"]},{"1396357579":["hashtag1","hashtag2"]},{"1396357480":["hashtag1","hashtag2"]},{"1396357542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396357449, 1396357448, 1396357511, 1396357579, 1396357480, 1396357542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73025965690613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:06:42.028260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/49/image_30102025_21_49_15_2593.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_19_3754.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_21_2761.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_24_2743.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_27_2569.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_33_2480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_15_2593.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_19_3754.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_21_2761.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_24_2743.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_27_2569.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_33_2480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396357889","1396357812","1396357772","1396357930","1396357732","1396357851"],"photo_ids_order":["1396357732","1396357772","1396357812","1396357851","1396357889","1396357930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bd98fce3540d2a7bfb6651771d2d711.jpg","text":"TemporaryFile(/tmp/multipartBody3891764595204675671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_27_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/27/30534d48ed8f963d519ea7f8723dbcff.jpg","text":"TemporaryFile(/tmp/multipartBody6482882788998115546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_21_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/27/dc559029ce39bfe0a0386e532299f514.jpg","text":"TemporaryFile(/tmp/multipartBody5724954601149806763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_19_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/27/caaf9b5e505cdf515594e67b69222474.jpg","text":"TemporaryFile(/tmp/multipartBody1682809529240409899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_33_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/27/e8e024c7a15b98a669aff889464669fb.jpg","text":"TemporaryFile(/tmp/multipartBody6903092643098454585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_15_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/27/62804f528c6d19f4126a287c8b96474c.jpg","text":"TemporaryFile(/tmp/multipartBody122928793167458674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220063369,"filename":"image_30102025_21_49_24_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396357812","file1":"1396357772","file0":"1396357732","file4":"1396357889","file5":"1396357930","file3":"1396357851"},"map_files_photo_id_array":[{"photo_id":"1396357930","filename":"file5"},{"photo_id":"1396357812","filename":"file2"},{"photo_id":"1396357889","filename":"file4"},{"photo_id":"1396357772","filename":"file1"},{"photo_id":"1396357732","filename":"file0"},{"photo_id":"1396357851","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396357889":["hashtag1","hashtag2"]},{"1396357812":["hashtag1","hashtag2"]},{"1396357772":["hashtag1","hashtag2"]},{"1396357930":["hashtag1","hashtag2"]},{"1396357732":["hashtag1","hashtag2"]},{"1396357851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396357889, 1396357812, 1396357772, 1396357930, 1396357732, 1396357851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71960639953613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:07:22.140793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_54_9687.jpg', '/home/pi/Desktop/images/27112025/06/05/image_27112025_06_06_04_9851.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_14_9955.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_24_9723.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_35_10600.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_54_9687.jpg
/home/pi/Desktop/images/27112025/06/05/image_27112025_06_06_04_9851.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_14_9955.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_24_9723.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_35_10600.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_44_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6684341430664062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:07:32.258840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_02_1609.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_04_1652.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_05_1603.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_07_1706.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_09_1631.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_10_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_02_1609.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_04_1652.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_05_1603.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_07_1706.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_09_1631.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_10_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396358066","1396358035","1396358029","1396358038","1396358032","1396358100"],"photo_ids_order":["1396358029","1396358032","1396358035","1396358038","1396358066","1396358100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e4bef55f847fed14fbd6527735893e0.jpg","text":"TemporaryFile(/tmp/multipartBody4489258682021577665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_09_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/27/abf20a41ad3ab1eec581561962db30b8.jpg","text":"TemporaryFile(/tmp/multipartBody1050928418842298870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_05_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/27/17520d27eab3255428b68ea56078fdde.jpg","text":"TemporaryFile(/tmp/multipartBody6740860789378607928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_02_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/27/d3489ea3d7163b2c9b72d90bb39be088.jpg","text":"TemporaryFile(/tmp/multipartBody345100105746163679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_07_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/27/f8c03aad48bdc37c14f8ea4406e586b0.jpg","text":"TemporaryFile(/tmp/multipartBody1170789987336471587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_04_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/27/498bd62ca34a746cab805d6df656b15a.jpg","text":"TemporaryFile(/tmp/multipartBody6393303455416291316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220114160,"filename":"image_21112025_19_42_10_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396358035","file1":"1396358032","file0":"1396358029","file4":"1396358066","file5":"1396358100","file3":"1396358038"},"map_files_photo_id_array":[{"photo_id":"1396358100","filename":"file5"},{"photo_id":"1396358035","filename":"file2"},{"photo_id":"1396358066","filename":"file4"},{"photo_id":"1396358032","filename":"file1"},{"photo_id":"1396358029","filename":"file0"},{"photo_id":"1396358038","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396358066":["hashtag1","hashtag2"]},{"1396358035":["hashtag1","hashtag2"]},{"1396358029":["hashtag1","hashtag2"]},{"1396358038":["hashtag1","hashtag2"]},{"1396358032":["hashtag1","hashtag2"]},{"1396358100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396358066, 1396358035, 1396358029, 1396358038, 1396358032, 1396358100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72467589378357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:08:12.368298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_12_1672.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_13_1600.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_15_1724.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_20_4872.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_25_2759.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_27_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_12_1672.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_13_1600.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_15_1724.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_20_4872.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_25_2759.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_27_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396358249","1396358284","1396358277","1396358199","1396358244","1396358208"],"photo_ids_order":["1396358199","1396358208","1396358244","1396358249","1396358277","1396358284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab91a689ba2f86bc58fc96f5d0df3101.jpg","text":"TemporaryFile(/tmp/multipartBody1619583382452022284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_20_4872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23b13438a5c764b07a5fd472c2fc08d6.jpg","text":"TemporaryFile(/tmp/multipartBody4853900067098425617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_27_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/27/a1b25352c87e4b32fc50b96a7ae86e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3658900189088322979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_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/27/5419ce5aa269b7e0130fdef77ba151c7.jpg","text":"TemporaryFile(/tmp/multipartBody1774795726948916955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_12_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/27/afbdb8e10c5412a168e46e58397140b5.jpg","text":"TemporaryFile(/tmp/multipartBody1054889824058932945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_15_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/27/0aa8644fd44d6d0929891c782939a524.jpg","text":"TemporaryFile(/tmp/multipartBody4140212483663803816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220154195,"filename":"image_21112025_19_42_13_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396358244","file1":"1396358208","file0":"1396358199","file4":"1396358277","file5":"1396358284","file3":"1396358249"},"map_files_photo_id_array":[{"photo_id":"1396358284","filename":"file5"},{"photo_id":"1396358244","filename":"file2"},{"photo_id":"1396358277","filename":"file4"},{"photo_id":"1396358208","filename":"file1"},{"photo_id":"1396358199","filename":"file0"},{"photo_id":"1396358249","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396358249":["hashtag1","hashtag2"]},{"1396358284":["hashtag1","hashtag2"]},{"1396358277":["hashtag1","hashtag2"]},{"1396358199":["hashtag1","hashtag2"]},{"1396358244":["hashtag1","hashtag2"]},{"1396358208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396358249, 1396358284, 1396358277, 1396358199, 1396358244, 1396358208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65433955192566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:09:03.708455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_54_9687.jpg', '/home/pi/Desktop/images/27112025/06/05/image_27112025_06_06_04_9851.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_14_9955.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_24_9723.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_35_10600.jpg', '/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/04/image_27112025_06_04_54_9687.jpg
/home/pi/Desktop/images/27112025/06/05/image_27112025_06_06_04_9851.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_14_9955.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_24_9723.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_35_10600.jpg
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_06_44_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396358291","1396358294","1396358296","1396358299","1396358292","1396358289"],"photo_ids_order":["1396358289","1396358291","1396358292","1396358294","1396358296","1396358299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d45b1edb9094dd53d2ddd05e58d17950.jpg","text":"TemporaryFile(/tmp/multipartBody1757787165574624793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_06_04_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e43b87bf96f4100a12bbd8425181349d.jpg","text":"TemporaryFile(/tmp/multipartBody5289627459352794811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_06_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce7344e75220f6519beca1c75817fbb0.jpg","text":"TemporaryFile(/tmp/multipartBody9133796303968714759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_06_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c908371131b0e41ce7ab07bf22d56cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5779522713081598212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_06_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42543142f472aaa3dd616edd4c43e28c.jpg","text":"TemporaryFile(/tmp/multipartBody3726169283342956582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_06_14_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/869e6c020f148d88b946e4c4ff3738e9.jpg","text":"TemporaryFile(/tmp/multipartBody4197330134411138933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220204677,"filename":"image_27112025_06_04_54_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396358292","file1":"1396358291","file0":"1396358289","file4":"1396358296","file5":"1396358299","file3":"1396358294"},"map_files_photo_id_array":[{"photo_id":"1396358299","filename":"file5"},{"photo_id":"1396358292","filename":"file2"},{"photo_id":"1396358296","filename":"file4"},{"photo_id":"1396358291","filename":"file1"},{"photo_id":"1396358289","filename":"file0"},{"photo_id":"1396358294","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396358291":["hashtag1","hashtag2"]},{"1396358294":["hashtag1","hashtag2"]},{"1396358296":["hashtag1","hashtag2"]},{"1396358299":["hashtag1","hashtag2"]},{"1396358292":["hashtag1","hashtag2"]},{"1396358289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396358291, 1396358294, 1396358296, 1396358299, 1396358292, 1396358289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07198643684387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:09:42.609837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/49/image_30102025_21_49_36_2728.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_48_2804.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_04_3644.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_09_2945.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_12_2743.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_15_3342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_36_2728.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_48_2804.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_04_3644.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_09_2945.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_12_2743.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_15_3342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.281116008758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:10:03.230281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/06/image_27112025_06_07_04_9851.jpg', '/home/pi/Desktop/images/27112025/06/07/image_27112025_06_07_54_9692.jpg', '/home/pi/Desktop/images/27112025/06/08/image_27112025_06_08_14_9683.jpg', '/home/pi/Desktop/images/27112025/06/08/image_27112025_06_08_34_9734.jpg', '/home/pi/Desktop/images/27112025/06/08/image_27112025_06_09_04_9581.jpg', '/home/pi/Desktop/images/27112025/06/09/image_27112025_06_09_25_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/06/image_27112025_06_07_04_9851.jpg
/home/pi/Desktop/images/27112025/06/07/image_27112025_06_07_54_9692.jpg
/home/pi/Desktop/images/27112025/06/08/image_27112025_06_08_14_9683.jpg
/home/pi/Desktop/images/27112025/06/08/image_27112025_06_08_34_9734.jpg
/home/pi/Desktop/images/27112025/06/08/image_27112025_06_09_04_9581.jpg
/home/pi/Desktop/images/27112025/06/09/image_27112025_06_09_25_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396358663","1396358591","1396358735","1396358698","1396358626","1396358792"],"photo_ids_order":["1396358591","1396358626","1396358663","1396358698","1396358735","1396358792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fdc4479c31cd2fddef791c20f0b2df1.jpg","text":"TemporaryFile(/tmp/multipartBody8684887757995594934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_08_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/040ba91f036e07291c065be34931f548.jpg","text":"TemporaryFile(/tmp/multipartBody5710213428184700797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_07_04_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/626924dd81ffe7a44261809826f78dba.jpg","text":"TemporaryFile(/tmp/multipartBody7155851553043073558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_09_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e5c5fcb4034cff8b08d545779cfa81a.jpg","text":"TemporaryFile(/tmp/multipartBody8756452301602094487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_08_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b28b2d45652b14c9d58aee76b7a6325b.jpg","text":"TemporaryFile(/tmp/multipartBody1641961770016095890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_07_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88ee1eca2240efef1efc1d86516443ba.jpg","text":"TemporaryFile(/tmp/multipartBody4310461578987364730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220264018,"filename":"image_27112025_06_09_25_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396358663","file1":"1396358626","file0":"1396358591","file4":"1396358735","file5":"1396358792","file3":"1396358698"},"map_files_photo_id_array":[{"photo_id":"1396358792","filename":"file5"},{"photo_id":"1396358663","filename":"file2"},{"photo_id":"1396358735","filename":"file4"},{"photo_id":"1396358626","filename":"file1"},{"photo_id":"1396358591","filename":"file0"},{"photo_id":"1396358698","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396358663":["hashtag1","hashtag2"]},{"1396358591":["hashtag1","hashtag2"]},{"1396358735":["hashtag1","hashtag2"]},{"1396358698":["hashtag1","hashtag2"]},{"1396358626":["hashtag1","hashtag2"]},{"1396358792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396358663, 1396358591, 1396358735, 1396358698, 1396358626, 1396358792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12730121612549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:10:42.762788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/49/image_30102025_21_49_36_2728.jpg', '/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_48_2804.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_04_3644.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_09_2945.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_12_2743.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_15_3342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_36_2728.jpg
/home/pi/Desktop/images/30102025/21/49/image_30102025_21_49_48_2804.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_04_3644.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_09_2945.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_12_2743.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_15_3342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396359067","1396359135","1396359204","1396359300","1396359338","1396359266"],"photo_ids_order":["1396359067","1396359135","1396359204","1396359266","1396359300","1396359338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e906de582a570b1f3426522a79c7d3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8925334838864573549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_49_36_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/27/2b9c8939fdf3c5ca29ad953f1c5ca018.jpg","text":"TemporaryFile(/tmp/multipartBody335320061885889162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_49_48_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/27/995247aec28cba755ca09e2a821088c3.jpg","text":"TemporaryFile(/tmp/multipartBody2248538750241527640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_50_04_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/27/634b79fc28f075a49a5abc9865ea6aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6027582665231708138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_50_12_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/27/8dbdda4be008e1980bb5d14cd0bbc3dc.jpg","text":"TemporaryFile(/tmp/multipartBody8913631701215031898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_50_15_3342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca9ee78c8aa9485400e796b5bfd26763.jpg","text":"TemporaryFile(/tmp/multipartBody5531306657678352856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220303981,"filename":"image_30102025_21_50_09_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396359204","file1":"1396359135","file0":"1396359067","file4":"1396359300","file5":"1396359338","file3":"1396359266"},"map_files_photo_id_array":[{"photo_id":"1396359338","filename":"file5"},{"photo_id":"1396359204","filename":"file2"},{"photo_id":"1396359300","filename":"file4"},{"photo_id":"1396359135","filename":"file1"},{"photo_id":"1396359067","filename":"file0"},{"photo_id":"1396359266","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396359067":["hashtag1","hashtag2"]},{"1396359135":["hashtag1","hashtag2"]},{"1396359204":["hashtag1","hashtag2"]},{"1396359300":["hashtag1","hashtag2"]},{"1396359338":["hashtag1","hashtag2"]},{"1396359266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396359067, 1396359135, 1396359204, 1396359300, 1396359338, 1396359266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25915312767029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:11:21.865339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/09/image_27112025_06_09_44_9679.jpg', '/home/pi/Desktop/images/27112025/06/09/image_27112025_06_10_05_9704.jpg', '/home/pi/Desktop/images/27112025/06/11/image_27112025_06_11_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/09/image_27112025_06_09_44_9679.jpg
/home/pi/Desktop/images/27112025/06/09/image_27112025_06_10_05_9704.jpg
/home/pi/Desktop/images/27112025/06/11/image_27112025_06_11_15_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396359412","1396359415","1396359408"],"photo_ids_order":["1396359408","1396359412","1396359415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2884fae1ca2fdf9aab8c3fa83be3746.jpg","text":"TemporaryFile(/tmp/multipartBody2981132514543563278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220342516,"filename":"image_27112025_06_10_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ae437e2c8a016a473fb8de6c7dcd870.jpg","text":"TemporaryFile(/tmp/multipartBody8027494620411067624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220342516,"filename":"image_27112025_06_11_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08f4855c2e991ff6ed67362746a07911.jpg","text":"TemporaryFile(/tmp/multipartBody8738489017420549966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220342516,"filename":"image_27112025_06_09_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396359415","file1":"1396359412","file0":"1396359408"},"map_files_photo_id_array":[{"photo_id":"1396359415","filename":"file2"},{"photo_id":"1396359412","filename":"file1"},{"photo_id":"1396359408","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396359412":["hashtag1","hashtag2"]},{"1396359415":["hashtag1","hashtag2"]},{"1396359408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396359412, 1396359415, 1396359408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.83665156364441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:12:02.563750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_31_3773.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_33_2186.jpg', '/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_37_3639.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_01_24058.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_02_1519.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_04_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_31_3773.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_33_2186.jpg
/home/pi/Desktop/images/21112025/19/42/image_21112025_19_42_37_3639.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_01_24058.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_02_1519.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_04_1611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396359764","1396359803","1396359862","1396359777","1396359825","1396359801"],"photo_ids_order":["1396359764","1396359777","1396359801","1396359803","1396359825","1396359862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fc71143174a596c4edf1bf23f4934d8.jpg","text":"TemporaryFile(/tmp/multipartBody935733575385620690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_42_31_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/27/8d943b141b390ead6b7a2504139a7cba.jpg","text":"TemporaryFile(/tmp/multipartBody1455708359799288361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_43_01_24058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9841e6f01c22a844e411ade276a40016.jpg","text":"TemporaryFile(/tmp/multipartBody4141000681841323264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_43_04_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/27/7c526a1162a970314933f676f0ff2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5527716778504816942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_42_33_2186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a6fb466e9c34209030ac324be4312a0.jpg","text":"TemporaryFile(/tmp/multipartBody1190379161369581779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_43_02_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a0c88b83a6e2cdc15e4af0146b61ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5462507429722416795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220383768,"filename":"image_21112025_19_42_37_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396359801","file1":"1396359777","file0":"1396359764","file4":"1396359825","file5":"1396359862","file3":"1396359803"},"map_files_photo_id_array":[{"photo_id":"1396359862","filename":"file5"},{"photo_id":"1396359801","filename":"file2"},{"photo_id":"1396359825","filename":"file4"},{"photo_id":"1396359777","filename":"file1"},{"photo_id":"1396359764","filename":"file0"},{"photo_id":"1396359803","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396359764":["hashtag1","hashtag2"]},{"1396359803":["hashtag1","hashtag2"]},{"1396359862":["hashtag1","hashtag2"]},{"1396359777":["hashtag1","hashtag2"]},{"1396359825":["hashtag1","hashtag2"]},{"1396359801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396359764, 1396359803, 1396359862, 1396359777, 1396359825, 1396359801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20318078994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:12:42.055729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/50/image_30102025_21_50_27_2727.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_36_2691.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_39_2858.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_45_2912.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_54_2698.jpg', '/home/pi/Desktop/images/30102025/21/50/image_30102025_21_51_00_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_27_2727.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_36_2691.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_39_2858.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_45_2912.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_50_54_2698.jpg
/home/pi/Desktop/images/30102025/21/50/image_30102025_21_51_00_2836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396359923","1396359925","1396359916","1396359924","1396359950","1396359926"],"photo_ids_order":["1396359916","1396359923","1396359924","1396359925","1396359926","1396359950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff5ae57df9414d6639a29a5bea5d1a22.jpg","text":"TemporaryFile(/tmp/multipartBody1908026894937562370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_50_36_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/27/e41152eb7be040e2e00ad645926c2ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1006819293188294217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_50_45_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/27/f17297aa76ded4bd59507bd02b0d4064.jpg","text":"TemporaryFile(/tmp/multipartBody518459073591679481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_50_27_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/27/0b4283785a6268fdc9c5d3c903e29293.jpg","text":"TemporaryFile(/tmp/multipartBody7859778669079140437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_50_39_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/27/90c9da6c8997c65cc6a2fbe9d710381d.jpg","text":"TemporaryFile(/tmp/multipartBody7664182978771890454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_51_00_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/27/c58584cdb1f47535abdc8a4f9696a419.jpg","text":"TemporaryFile(/tmp/multipartBody3709232988208062386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220423424,"filename":"image_30102025_21_50_54_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396359924","file1":"1396359923","file0":"1396359916","file4":"1396359926","file5":"1396359950","file3":"1396359925"},"map_files_photo_id_array":[{"photo_id":"1396359950","filename":"file5"},{"photo_id":"1396359924","filename":"file2"},{"photo_id":"1396359926","filename":"file4"},{"photo_id":"1396359923","filename":"file1"},{"photo_id":"1396359916","filename":"file0"},{"photo_id":"1396359925","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396359923":["hashtag1","hashtag2"]},{"1396359925":["hashtag1","hashtag2"]},{"1396359916":["hashtag1","hashtag2"]},{"1396359924":["hashtag1","hashtag2"]},{"1396359950":["hashtag1","hashtag2"]},{"1396359926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396359923, 1396359925, 1396359916, 1396359924, 1396359950, 1396359926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7198646068573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:13:22.227666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_06_1536.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_30_24496.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_33_3093.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_35_1694.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_37_1720.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_38_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_06_1536.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_30_24496.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_33_3093.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_35_1694.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_37_1720.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_38_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396360394","1396360175","1396360247","1396360321","1396360600","1396360488"],"photo_ids_order":["1396360175","1396360247","1396360321","1396360394","1396360488","1396360600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd0e2d11dcd1aa403215e6285194d907.jpg","text":"TemporaryFile(/tmp/multipartBody766856506877817062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_35_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/27/97b896729ef3f5497cb9751038523420.jpg","text":"TemporaryFile(/tmp/multipartBody8755775705360195810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_06_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/27/f81a66eab2ec8a487b78e68bfaeccc52.jpg","text":"TemporaryFile(/tmp/multipartBody2269649724791581548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_30_24496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/697c505816cf23cf6f35d753d3ace31b.jpg","text":"TemporaryFile(/tmp/multipartBody624141913936500601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_33_3093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/776591ec9ce12ea4e218e78444a7b045.jpg","text":"TemporaryFile(/tmp/multipartBody4176262719946199588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_38_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/27/28ce0e50a75009ace580640ec185e4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7586186799380957477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220464098,"filename":"image_21112025_19_43_37_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396360321","file1":"1396360247","file0":"1396360175","file4":"1396360488","file5":"1396360600","file3":"1396360394"},"map_files_photo_id_array":[{"photo_id":"1396360600","filename":"file5"},{"photo_id":"1396360321","filename":"file2"},{"photo_id":"1396360488","filename":"file4"},{"photo_id":"1396360247","filename":"file1"},{"photo_id":"1396360175","filename":"file0"},{"photo_id":"1396360394","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396360394":["hashtag1","hashtag2"]},{"1396360175":["hashtag1","hashtag2"]},{"1396360247":["hashtag1","hashtag2"]},{"1396360321":["hashtag1","hashtag2"]},{"1396360600":["hashtag1","hashtag2"]},{"1396360488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396360394, 1396360175, 1396360247, 1396360321, 1396360600, 1396360488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48776340484619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:14:03.183321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_40_1617.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_41_1549.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_43_1715.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_45_1596.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_48_2925.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_49_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_40_1617.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_41_1549.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_43_1715.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_45_1596.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_48_2925.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_49_1675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396361286","1396361088","1396361214","1396360989","1396361477","1396361369"],"photo_ids_order":["1396360989","1396361088","1396361214","1396361286","1396361369","1396361477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85dc842bf11911a150e70d9723a31719.jpg","text":"TemporaryFile(/tmp/multipartBody6960607270732840958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_45_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/27/c383f12dfb91ce181edf715cc19a7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6838595540285274846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_41_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/27/132df9e3f536785b65ca12bde6463b9c.jpg","text":"TemporaryFile(/tmp/multipartBody556886644285515617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_43_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/27/bc19710e0bc1856c45d58e4ece2bcd0b.jpg","text":"TemporaryFile(/tmp/multipartBody2012485065963963825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_40_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/27/c2d667e382fde6403c146ed4fc902201.jpg","text":"TemporaryFile(/tmp/multipartBody6774216479513155255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_49_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/27/5adb6b58ead24b1b98cd7eb9b5323236.jpg","text":"TemporaryFile(/tmp/multipartBody767997617816985583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220504422,"filename":"image_21112025_19_43_48_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396361214","file1":"1396361088","file0":"1396360989","file4":"1396361369","file5":"1396361477","file3":"1396361286"},"map_files_photo_id_array":[{"photo_id":"1396361477","filename":"file5"},{"photo_id":"1396361214","filename":"file2"},{"photo_id":"1396361369","filename":"file4"},{"photo_id":"1396361088","filename":"file1"},{"photo_id":"1396360989","filename":"file0"},{"photo_id":"1396361286","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396361286":["hashtag1","hashtag2"]},{"1396361088":["hashtag1","hashtag2"]},{"1396361214":["hashtag1","hashtag2"]},{"1396360989":["hashtag1","hashtag2"]},{"1396361477":["hashtag1","hashtag2"]},{"1396361369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396361286, 1396361088, 1396361214, 1396360989, 1396361477, 1396361369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05788445472717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:14:42.549348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/51/image_30102025_21_51_03_3657.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_09_2693.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_12_3575.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_15_2714.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_21_3524.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_30_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_03_3657.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_09_2693.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_12_3575.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_15_2714.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_21_3524.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_30_3808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396361711","1396361659","1396361845","1396361926","1396361787","1396361750"],"photo_ids_order":["1396361659","1396361711","1396361750","1396361787","1396361845","1396361926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83027aea5966f8a82827fd0d8d7c31ad.jpg","text":"TemporaryFile(/tmp/multipartBody8219957294742778454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_09_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/27/2c80704f9a389064453f255ad336c828.jpg","text":"TemporaryFile(/tmp/multipartBody5495376225191211641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_03_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/27/2f2cda911ac5c41eff3f64e212fe2331.jpg","text":"TemporaryFile(/tmp/multipartBody6236946746015250885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_21_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/27/09acb11d238576d71981484babc9873f.jpg","text":"TemporaryFile(/tmp/multipartBody1264036162304430280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_30_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/27/5547f5432903ec122a868266f227005e.jpg","text":"TemporaryFile(/tmp/multipartBody499442698793748240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_15_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/27/fdc2ea2b1c677a130c7f80e295aed9e2.jpg","text":"TemporaryFile(/tmp/multipartBody3659500145823177565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220543881,"filename":"image_30102025_21_51_12_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396361750","file1":"1396361711","file0":"1396361659","file4":"1396361845","file5":"1396361926","file3":"1396361787"},"map_files_photo_id_array":[{"photo_id":"1396361926","filename":"file5"},{"photo_id":"1396361750","filename":"file2"},{"photo_id":"1396361845","filename":"file4"},{"photo_id":"1396361711","filename":"file1"},{"photo_id":"1396361659","filename":"file0"},{"photo_id":"1396361787","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396361711":["hashtag1","hashtag2"]},{"1396361659":["hashtag1","hashtag2"]},{"1396361845":["hashtag1","hashtag2"]},{"1396361926":["hashtag1","hashtag2"]},{"1396361787":["hashtag1","hashtag2"]},{"1396361750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396361711, 1396361659, 1396361845, 1396361926, 1396361787, 1396361750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.248255252838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:15:22.745693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/11/image_27112025_06_11_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/11/image_27112025_06_11_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396362167"],"photo_id":"1396362167","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07de5637adeeac6f38b1a127de5e0266.jpg","text":"TemporaryFile(/tmp/multipartBody1355278479498856715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220583294,"filename":"image_27112025_06_11_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396362167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396362167"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.433869361877441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:15:42.744893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/51/image_30102025_21_51_36_2608.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_39_3589.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_42_2760.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_45_2845.jpg', '/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_48_2920.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_09_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_36_2608.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_39_3589.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_42_2760.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_45_2845.jpg
/home/pi/Desktop/images/30102025/21/51/image_30102025_21_51_48_2920.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_09_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396362800","1396362760","1396362661","1396362502","1396362594","1396362725"],"photo_ids_order":["1396362502","1396362594","1396362661","1396362725","1396362760","1396362800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea0696218038a75ff7b1bd13c9c4635f.jpg","text":"TemporaryFile(/tmp/multipartBody6456713507711093490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_52_09_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/27/865afdd8f04815f2df0e7a3dba864b58.jpg","text":"TemporaryFile(/tmp/multipartBody955177564029655435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_51_48_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9196084d00bbfc092c12eb51f586b079.jpg","text":"TemporaryFile(/tmp/multipartBody3538917331268032229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_51_42_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/27/8765be414cffc7e3e6014ce8bd4f8610.jpg","text":"TemporaryFile(/tmp/multipartBody8689452413750838858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_51_36_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/27/5e5a210df9a0356da27da7f05e5a626c.jpg","text":"TemporaryFile(/tmp/multipartBody137544086310218645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_51_39_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/27/038e3c7afd8b57ab4302f88650bd6a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1254639950313767213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220604162,"filename":"image_30102025_21_51_45_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396362661","file1":"1396362594","file0":"1396362502","file4":"1396362760","file5":"1396362800","file3":"1396362725"},"map_files_photo_id_array":[{"photo_id":"1396362800","filename":"file5"},{"photo_id":"1396362661","filename":"file2"},{"photo_id":"1396362760","filename":"file4"},{"photo_id":"1396362594","filename":"file1"},{"photo_id":"1396362502","filename":"file0"},{"photo_id":"1396362725","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396362800":["hashtag1","hashtag2"]},{"1396362760":["hashtag1","hashtag2"]},{"1396362661":["hashtag1","hashtag2"]},{"1396362502":["hashtag1","hashtag2"]},{"1396362594":["hashtag1","hashtag2"]},{"1396362725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396362800, 1396362760, 1396362661, 1396362502, 1396362594, 1396362725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39269232749939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:16:21.952372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_51_1514.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_53_1912.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_54_1542.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_56_1620.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_57_1577.jpg', '/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_59_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_51_1514.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_53_1912.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_54_1542.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_56_1620.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_57_1577.jpg
/home/pi/Desktop/images/21112025/19/43/image_21112025_19_43_59_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363222","1396363284","1396363191","1396363155","1396363236","1396363079"],"photo_ids_order":["1396363079","1396363155","1396363191","1396363222","1396363236","1396363284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c45e863687871aff3000f41130104cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8026622994597258684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_56_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/27/ae24bf00e1a6289e3c933f2089469323.jpg","text":"TemporaryFile(/tmp/multipartBody730933426920120098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_59_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47104dc9ed129f6bca5639a268550723.jpg","text":"TemporaryFile(/tmp/multipartBody7027031182165926708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_54_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/27/5e0838d31741fc610809c0267af12ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4956904952512032356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_53_1912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f40b19c68656764dacfe554af7180af.jpg","text":"TemporaryFile(/tmp/multipartBody5237577608245615897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_57_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/27/86d3ee0711f45ecebb1afe9ed61d037c.jpg","text":"TemporaryFile(/tmp/multipartBody5354774069687448643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220643846,"filename":"image_21112025_19_43_51_1514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363191","file1":"1396363155","file0":"1396363079","file4":"1396363236","file5":"1396363284","file3":"1396363222"},"map_files_photo_id_array":[{"photo_id":"1396363284","filename":"file5"},{"photo_id":"1396363191","filename":"file2"},{"photo_id":"1396363236","filename":"file4"},{"photo_id":"1396363155","filename":"file1"},{"photo_id":"1396363079","filename":"file0"},{"photo_id":"1396363222","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396363222":["hashtag1","hashtag2"]},{"1396363284":["hashtag1","hashtag2"]},{"1396363191":["hashtag1","hashtag2"]},{"1396363155":["hashtag1","hashtag2"]},{"1396363236":["hashtag1","hashtag2"]},{"1396363079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396363222, 1396363284, 1396363191, 1396363155, 1396363236, 1396363079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3086884021759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:17:02.875678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_01_1682.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_07_5846.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_08_1722.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_10_1667.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_12_1608.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_13_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_01_1682.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_07_5846.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_08_1722.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_10_1667.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_12_1608.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_13_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363357","1396363356","1396363361","1396363355","1396363364","1396363358"],"photo_ids_order":["1396363355","1396363356","1396363357","1396363358","1396363361","1396363364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc6557a186a6c7a4945aaddb05c22920.jpg","text":"TemporaryFile(/tmp/multipartBody2140876009557292247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_08_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d175c65b33ac4cd24472e30a1ed9f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8457348381383825987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_07_5846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a9ae74f5c76368e1f8df8ff8160c19e.jpg","text":"TemporaryFile(/tmp/multipartBody6450581801905670951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_12_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae0d0844b7afe455902106b1556dde46.jpg","text":"TemporaryFile(/tmp/multipartBody4169982522227371164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_01_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/27/ec31164098cd924671b155193d8e6b77.jpg","text":"TemporaryFile(/tmp/multipartBody1634107601144348505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_13_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af67aeffc42556f548ea86e0dfcc48c6.jpg","text":"TemporaryFile(/tmp/multipartBody7373878975951537294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220684170,"filename":"image_21112025_19_44_10_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363357","file1":"1396363356","file0":"1396363355","file4":"1396363361","file5":"1396363364","file3":"1396363358"},"map_files_photo_id_array":[{"photo_id":"1396363364","filename":"file5"},{"photo_id":"1396363357","filename":"file2"},{"photo_id":"1396363361","filename":"file4"},{"photo_id":"1396363356","filename":"file1"},{"photo_id":"1396363355","filename":"file0"},{"photo_id":"1396363358","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396363357":["hashtag1","hashtag2"]},{"1396363356":["hashtag1","hashtag2"]},{"1396363361":["hashtag1","hashtag2"]},{"1396363355":["hashtag1","hashtag2"]},{"1396363364":["hashtag1","hashtag2"]},{"1396363358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396363357, 1396363356, 1396363361, 1396363355, 1396363364, 1396363358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68369269371033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:17:42.075410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/52/image_30102025_21_52_12_2693.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_15_2823.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_24_3563.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_36_2564.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_45_2735.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_48_3459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_12_2693.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_15_2823.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_24_3563.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_36_2564.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_45_2735.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_48_3459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363386","1396363385","1396363388","1396363384","1396363387","1396363372"],"photo_ids_order":["1396363372","1396363384","1396363385","1396363386","1396363387","1396363388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac2000c98abc7451c46e53b7d46738dd.jpg","text":"TemporaryFile(/tmp/multipartBody4254134881193248026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_36_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/27/214a88893658519fb45f482650005447.jpg","text":"TemporaryFile(/tmp/multipartBody1422990040653947333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_24_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/27/f0989e79b717f058787633c3d9143104.jpg","text":"TemporaryFile(/tmp/multipartBody2218797627245911643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_48_3459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7953566d800dbd70fe8d2157e874a43e.jpg","text":"TemporaryFile(/tmp/multipartBody3183828126972951802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_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/27/177951fd3819fd880953386a6d9ab0b2.jpg","text":"TemporaryFile(/tmp/multipartBody98103920172945085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_45_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/27/e59b070ac92d4235776ed43338ad20b2.jpg","text":"TemporaryFile(/tmp/multipartBody1241226870048077105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220723400,"filename":"image_30102025_21_52_12_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363385","file1":"1396363384","file0":"1396363372","file4":"1396363387","file5":"1396363388","file3":"1396363386"},"map_files_photo_id_array":[{"photo_id":"1396363388","filename":"file5"},{"photo_id":"1396363385","filename":"file2"},{"photo_id":"1396363387","filename":"file4"},{"photo_id":"1396363384","filename":"file1"},{"photo_id":"1396363372","filename":"file0"},{"photo_id":"1396363386","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396363386":["hashtag1","hashtag2"]},{"1396363385":["hashtag1","hashtag2"]},{"1396363388":["hashtag1","hashtag2"]},{"1396363384":["hashtag1","hashtag2"]},{"1396363387":["hashtag1","hashtag2"]},{"1396363372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396363386, 1396363385, 1396363388, 1396363384, 1396363387, 1396363372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80299639701843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:18:22.255891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/15/image_27112025_06_15_34_9708.jpg', '/home/pi/Desktop/images/27112025/06/17/image_27112025_06_17_15_9715.jpg', '/home/pi/Desktop/images/27112025/06/17/image_27112025_06_17_45_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/15/image_27112025_06_15_34_9708.jpg
/home/pi/Desktop/images/27112025/06/17/image_27112025_06_17_15_9715.jpg
/home/pi/Desktop/images/27112025/06/17/image_27112025_06_17_45_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363392","1396363407","1396363403"],"photo_ids_order":["1396363392","1396363403","1396363407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a4ff76fb9c842eb20e37d2cf5202a31.jpg","text":"TemporaryFile(/tmp/multipartBody1383376193254516925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220762882,"filename":"image_27112025_06_15_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13d007bcbe5743ec1bfe8f0456460bc6.jpg","text":"TemporaryFile(/tmp/multipartBody9213166874316617862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220762882,"filename":"image_27112025_06_17_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d557e8031eafe03a44bfa980a0deb366.jpg","text":"TemporaryFile(/tmp/multipartBody6433421771636466552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220762882,"filename":"image_27112025_06_17_15_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363407","file1":"1396363403","file0":"1396363392"},"map_files_photo_id_array":[{"photo_id":"1396363407","filename":"file2"},{"photo_id":"1396363403","filename":"file1"},{"photo_id":"1396363392","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396363392":["hashtag1","hashtag2"]},{"1396363407":["hashtag1","hashtag2"]},{"1396363403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396363392, 1396363407, 1396363403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.94450831413269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:19:03.348552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_15_1750.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_17_1679.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_19_1663.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_21_2074.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_22_1798.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_24_2026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_15_1750.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_17_1679.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_19_1663.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_21_2074.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_22_1798.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_24_2026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363414","1396363423","1396363413","1396363416","1396363418","1396363415"],"photo_ids_order":["1396363413","1396363414","1396363415","1396363416","1396363418","1396363423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c522ff89b8b08f6e9a7d507e4f053bc.jpg","text":"TemporaryFile(/tmp/multipartBody4957352663343857300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_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/27/a57c2993b77b2e2e1c6409450908ee23.jpg","text":"TemporaryFile(/tmp/multipartBody6287336581023638736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_24_2026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2f0d8cc3f3a05108cb0d60652ef93f8.jpg","text":"TemporaryFile(/tmp/multipartBody6879005543562234464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_15_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/27/f9e3f3d9ea77852b784d90e4c23bacb7.jpg","text":"TemporaryFile(/tmp/multipartBody2836848755831882671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_21_2074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17c94fbc6b861333d3ff5f1604d1d174.jpg","text":"TemporaryFile(/tmp/multipartBody6930030162593247049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_22_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/27/2401934da11ff3b8a56d2999481c88d4.jpg","text":"TemporaryFile(/tmp/multipartBody5935702729933632467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220804677,"filename":"image_21112025_19_44_19_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363415","file1":"1396363414","file0":"1396363413","file4":"1396363418","file5":"1396363423","file3":"1396363416"},"map_files_photo_id_array":[{"photo_id":"1396363423","filename":"file5"},{"photo_id":"1396363415","filename":"file2"},{"photo_id":"1396363418","filename":"file4"},{"photo_id":"1396363414","filename":"file1"},{"photo_id":"1396363413","filename":"file0"},{"photo_id":"1396363416","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396363414":["hashtag1","hashtag2"]},{"1396363423":["hashtag1","hashtag2"]},{"1396363413":["hashtag1","hashtag2"]},{"1396363416":["hashtag1","hashtag2"]},{"1396363418":["hashtag1","hashtag2"]},{"1396363415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396363414, 1396363423, 1396363413, 1396363416, 1396363418, 1396363415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14786195755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:20:02.946686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/17/image_27112025_06_18_04_9845.jpg', '/home/pi/Desktop/images/27112025/06/19/image_27112025_06_19_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/17/image_27112025_06_18_04_9845.jpg
/home/pi/Desktop/images/27112025/06/19/image_27112025_06_19_24_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363431","1396363430"],"photo_ids_order":["1396363430","1396363431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd05c2e0eaa2f91e6a12887de52f2932.jpg","text":"TemporaryFile(/tmp/multipartBody1541678988837497583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220863558,"filename":"image_27112025_06_19_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2e31c1f96694bf2350009ee64f6f490.jpg","text":"TemporaryFile(/tmp/multipartBody369842431414861436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220863558,"filename":"image_27112025_06_18_04_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396363431","file0":"1396363430"},"map_files_photo_id_array":[{"photo_id":"1396363431","filename":"file1"},{"photo_id":"1396363430","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396363431":["hashtag1","hashtag2"]},{"1396363430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396363431, 1396363430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.84584331512451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:20:22.645473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/19/image_27112025_06_19_44_9632.jpg', '/home/pi/Desktop/images/27112025/06/19/image_27112025_06_20_04_9839.jpg', '/home/pi/Desktop/images/27112025/06/20/image_27112025_06_20_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/19/image_27112025_06_19_44_9632.jpg
/home/pi/Desktop/images/27112025/06/19/image_27112025_06_20_04_9839.jpg
/home/pi/Desktop/images/27112025/06/20/image_27112025_06_20_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363441","1396363437","1396363444"],"photo_ids_order":["1396363437","1396363441","1396363444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/284c0060697252282b4443b71000cf43.jpg","text":"TemporaryFile(/tmp/multipartBody872236481905797553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220883272,"filename":"image_27112025_06_20_04_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a93567050ca93cbd8fea67431a43ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody5345473662013968287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220883272,"filename":"image_27112025_06_19_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d635081a0f335e34696a7d4c04554247.jpg","text":"TemporaryFile(/tmp/multipartBody8704397576306358474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220883272,"filename":"image_27112025_06_20_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363444","file1":"1396363441","file0":"1396363437"},"map_files_photo_id_array":[{"photo_id":"1396363444","filename":"file2"},{"photo_id":"1396363441","filename":"file1"},{"photo_id":"1396363437","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396363441":["hashtag1","hashtag2"]},{"1396363437":["hashtag1","hashtag2"]},{"1396363444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396363441, 1396363437, 1396363444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.2483012676239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:21:03.441334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_26_1666.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_28_1752.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_29_1548.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_36_1708.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_54_18476.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_56_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_26_1666.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_28_1752.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_29_1548.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_36_1708.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_54_18476.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_56_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363456","1396363458","1396363460","1396363457","1396363465","1396363474"],"photo_ids_order":["1396363456","1396363457","1396363458","1396363460","1396363465","1396363474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6dcf81b97e60aa0a8873a225adf6e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1145661298875975650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_26_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/27/94f46e2ec666b4f1d10251c1ba4e7552.jpg","text":"TemporaryFile(/tmp/multipartBody8309538216738462806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_29_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/27/acb6ed56dd1ac1d01ad83147c4576f35.jpg","text":"TemporaryFile(/tmp/multipartBody5203120551575094717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_36_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/27/06bd4a1651cc2581d63d4256dba9b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4095796198054107585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_28_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/27/51b6fd75dd4595596086fe66a349433c.jpg","text":"TemporaryFile(/tmp/multipartBody154936481009916890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_54_18476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebbaca8858759a32f7cdecff09383fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6374397217298922099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220924735,"filename":"image_21112025_19_44_56_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363458","file1":"1396363457","file0":"1396363456","file4":"1396363465","file5":"1396363474","file3":"1396363460"},"map_files_photo_id_array":[{"photo_id":"1396363474","filename":"file5"},{"photo_id":"1396363458","filename":"file2"},{"photo_id":"1396363465","filename":"file4"},{"photo_id":"1396363457","filename":"file1"},{"photo_id":"1396363456","filename":"file0"},{"photo_id":"1396363460","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396363456":["hashtag1","hashtag2"]},{"1396363458":["hashtag1","hashtag2"]},{"1396363460":["hashtag1","hashtag2"]},{"1396363457":["hashtag1","hashtag2"]},{"1396363465":["hashtag1","hashtag2"]},{"1396363474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396363456, 1396363458, 1396363460, 1396363457, 1396363465, 1396363474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21826410293579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:21:42.683707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/52/image_30102025_21_52_57_3700.jpg', '/home/pi/Desktop/images/30102025/21/52/image_30102025_21_53_00_2652.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_03_2525.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_06_3690.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_09_2893.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_12_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_52_57_3700.jpg
/home/pi/Desktop/images/30102025/21/52/image_30102025_21_53_00_2652.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_03_2525.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_06_3690.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_09_2893.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_12_2782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363609","1396363725","1396363647","1396363687","1396363762","1396363570"],"photo_ids_order":["1396363570","1396363609","1396363647","1396363687","1396363725","1396363762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c566b2becab66aa935fe51ca9d106fd.jpg","text":"TemporaryFile(/tmp/multipartBody4873985389450341875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_53_00_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/27/3efb96cbe716db3d53848145d1509fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3033201980110400417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_53_09_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/27/0e59e6c5eac8b0c5cd747a1462c496ff.jpg","text":"TemporaryFile(/tmp/multipartBody9029791172281888162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_53_03_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/27/86049c3ef5c5c3693683c7fb99549e75.jpg","text":"TemporaryFile(/tmp/multipartBody2875215596820772895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_53_06_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/27/3df616ddc166e49665f635ad6ccb2a07.jpg","text":"TemporaryFile(/tmp/multipartBody216321685192505480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_53_12_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/27/47477278ae01232c12ce9d67ceeb29f1.jpg","text":"TemporaryFile(/tmp/multipartBody8153068350436143341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764220964005,"filename":"image_30102025_21_52_57_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396363647","file1":"1396363609","file0":"1396363570","file4":"1396363725","file5":"1396363762","file3":"1396363687"},"map_files_photo_id_array":[{"photo_id":"1396363762","filename":"file5"},{"photo_id":"1396363647","filename":"file2"},{"photo_id":"1396363725","filename":"file4"},{"photo_id":"1396363609","filename":"file1"},{"photo_id":"1396363570","filename":"file0"},{"photo_id":"1396363687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396363609":["hashtag1","hashtag2"]},{"1396363725":["hashtag1","hashtag2"]},{"1396363647":["hashtag1","hashtag2"]},{"1396363687":["hashtag1","hashtag2"]},{"1396363762":["hashtag1","hashtag2"]},{"1396363570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396363609, 1396363725, 1396363647, 1396363687, 1396363762, 1396363570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88970923423767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:22:21.869101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/20/image_27112025_06_20_24_9669.jpg', '/home/pi/Desktop/images/27112025/06/21/image_27112025_06_21_14_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/20/image_27112025_06_20_24_9669.jpg
/home/pi/Desktop/images/27112025/06/21/image_27112025_06_21_14_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396363911","1396363877"],"photo_ids_order":["1396363877","1396363911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7432627c4ad3f2f7b2d7d079eeeab09.jpg","text":"TemporaryFile(/tmp/multipartBody3547964833818336617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221002471,"filename":"image_27112025_06_21_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/285e473bb53b772c01ebe0f94256a13b.jpg","text":"TemporaryFile(/tmp/multipartBody3955489383307766914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221002471,"filename":"image_27112025_06_20_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396363911","file0":"1396363877"},"map_files_photo_id_array":[{"photo_id":"1396363911","filename":"file1"},{"photo_id":"1396363877","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396363911":["hashtag1","hashtag2"]},{"1396363877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396363911, 1396363877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.326570749282837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:22:41.867175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/53/image_30102025_21_53_21_3622.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_29_2652.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_33_3589.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_45_2746.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_03_2704.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_17_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_21_3622.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_29_2652.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_33_3589.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_45_2746.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_03_2704.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_17_2730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2283375263214111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:23:02.764238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_57_1622.jpg', '/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_59_1655.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_01_1579.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_02_1636.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_04_1651.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_06_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_57_1622.jpg
/home/pi/Desktop/images/21112025/19/44/image_21112025_19_44_59_1655.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_01_1579.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_02_1636.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_04_1651.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_06_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364205","1396364208","1396364202","1396364201","1396364200","1396364203"],"photo_ids_order":["1396364200","1396364201","1396364202","1396364203","1396364205","1396364208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3dc817c833040c3dda33a8d4bc7caa44.jpg","text":"TemporaryFile(/tmp/multipartBody5297523886421001471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_45_04_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/27/7513cf576499f946b5813f9abbdf1486.jpg","text":"TemporaryFile(/tmp/multipartBody1180724684703505528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_45_06_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/27/414d14eb5501e37924a66c6149a717fe.jpg","text":"TemporaryFile(/tmp/multipartBody4603917578839733518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_45_01_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/27/d1fcc2f641b453b3237ceef996f23763.jpg","text":"TemporaryFile(/tmp/multipartBody797306918646773569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_44_59_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/27/77e891c9d50c1ec7d6e8bda199241ffa.jpg","text":"TemporaryFile(/tmp/multipartBody7608474511800973582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_44_57_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/27/11827cad8611f1bed7e8cae8dfa38600.jpg","text":"TemporaryFile(/tmp/multipartBody7776795625220228435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221044049,"filename":"image_21112025_19_45_02_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364202","file1":"1396364201","file0":"1396364200","file4":"1396364205","file5":"1396364208","file3":"1396364203"},"map_files_photo_id_array":[{"photo_id":"1396364208","filename":"file5"},{"photo_id":"1396364202","filename":"file2"},{"photo_id":"1396364205","filename":"file4"},{"photo_id":"1396364201","filename":"file1"},{"photo_id":"1396364200","filename":"file0"},{"photo_id":"1396364203","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364205":["hashtag1","hashtag2"]},{"1396364208":["hashtag1","hashtag2"]},{"1396364202":["hashtag1","hashtag2"]},{"1396364201":["hashtag1","hashtag2"]},{"1396364200":["hashtag1","hashtag2"]},{"1396364203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364205, 1396364208, 1396364202, 1396364201, 1396364200, 1396364203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44872832298279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:23:42.055983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/53/image_30102025_21_53_21_3622.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_29_2652.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_33_3589.jpg', '/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_45_2746.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_03_2704.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_17_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_21_3622.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_29_2652.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_33_3589.jpg
/home/pi/Desktop/images/30102025/21/53/image_30102025_21_53_45_2746.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_03_2704.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_17_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364295","1396364382","1396364381","1396364334","1396364392","1396364368"],"photo_ids_order":["1396364295","1396364334","1396364368","1396364381","1396364382","1396364392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a74c3874aeaf3d25d2b7a62e09d61dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6017664040684367943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_53_21_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/27/d4d02d65ec3f146bc6d19bd585d34bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2124762572016864477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_54_03_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/27/0d3a072cea624967cb65dc383b0cac64.jpg","text":"TemporaryFile(/tmp/multipartBody4364050873333585609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_53_45_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/27/6336aea3e1af8a75a9d8a389608ef3af.jpg","text":"TemporaryFile(/tmp/multipartBody5659569866729193461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_53_29_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/27/0560aae3a25e7b47e01de895810a9bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3597493742408466377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_54_17_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/27/769664c2c6db32d83b9a85602305301c.jpg","text":"TemporaryFile(/tmp/multipartBody6585178073521371974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221083254,"filename":"image_30102025_21_53_33_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364368","file1":"1396364334","file0":"1396364295","file4":"1396364382","file5":"1396364392","file3":"1396364381"},"map_files_photo_id_array":[{"photo_id":"1396364392","filename":"file5"},{"photo_id":"1396364368","filename":"file2"},{"photo_id":"1396364382","filename":"file4"},{"photo_id":"1396364334","filename":"file1"},{"photo_id":"1396364295","filename":"file0"},{"photo_id":"1396364381","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364295":["hashtag1","hashtag2"]},{"1396364382":["hashtag1","hashtag2"]},{"1396364381":["hashtag1","hashtag2"]},{"1396364334":["hashtag1","hashtag2"]},{"1396364392":["hashtag1","hashtag2"]},{"1396364368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364295, 1396364382, 1396364381, 1396364334, 1396364392, 1396364368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60562753677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:24:22.271897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/22/image_27112025_06_22_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/22/image_27112025_06_22_34_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364447"],"photo_id":"1396364447","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00547b41dec0500b0e7c4cdb869a7161.jpg","text":"TemporaryFile(/tmp/multipartBody4209012908393458500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221122815,"filename":"image_27112025_06_22_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396364447"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396364447"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.074679374694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:24:42.214726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/54/image_30102025_21_54_27_2680.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_38_5679.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_54_1557.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_56_1604.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_58_1554.jpg', '/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_59_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/21/54/image_30102025_21_54_27_2680.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_38_5679.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_54_1557.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_56_1604.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_58_1554.jpg
/home/pi/Desktop/images/30102025/21/54/image_30102025_21_54_59_1614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364463","1396364462","1396364465","1396364461","1396364464","1396364458"],"photo_ids_order":["1396364458","1396364461","1396364462","1396364463","1396364464","1396364465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cbd49add0493c4a3e96dab0870f0bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1164632263551803778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_56_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/27/02f9d61b4f719c24b609aabc9ad4ae97.jpg","text":"TemporaryFile(/tmp/multipartBody8456226022594913299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_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/27/2d829ea76ca7d7201c3f386296bebe37.jpg","text":"TemporaryFile(/tmp/multipartBody7585213074160715720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_59_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/27/186470712e71474bff79ca1ab07b5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody7788799792427958925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_38_5679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e6a66561efa1dca988819fdc7822cca.jpg","text":"TemporaryFile(/tmp/multipartBody5011472456697117467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_58_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/27/65187890e2086a4ce95a89bee8f36f88.jpg","text":"TemporaryFile(/tmp/multipartBody563861686347166028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221143531,"filename":"image_30102025_21_54_27_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364462","file1":"1396364461","file0":"1396364458","file4":"1396364464","file5":"1396364465","file3":"1396364463"},"map_files_photo_id_array":[{"photo_id":"1396364465","filename":"file5"},{"photo_id":"1396364462","filename":"file2"},{"photo_id":"1396364464","filename":"file4"},{"photo_id":"1396364461","filename":"file1"},{"photo_id":"1396364458","filename":"file0"},{"photo_id":"1396364463","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364463":["hashtag1","hashtag2"]},{"1396364462":["hashtag1","hashtag2"]},{"1396364465":["hashtag1","hashtag2"]},{"1396364461":["hashtag1","hashtag2"]},{"1396364464":["hashtag1","hashtag2"]},{"1396364458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364463, 1396364462, 1396364465, 1396364461, 1396364464, 1396364458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75389647483826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:25:22.392499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/23/image_27112025_06_23_14_9794.jpg', '/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_35_10865.jpg', '/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_45_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/23/image_27112025_06_23_14_9794.jpg
/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_35_10865.jpg
/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_45_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364472","1396364468","1396364470"],"photo_ids_order":["1396364468","1396364470","1396364472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d4cd072b10832896956ce4aca69c8d59.jpg","text":"TemporaryFile(/tmp/multipartBody3111248179161216041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221183026,"filename":"image_27112025_06_25_45_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d4a1afb1283808d4f971c905917f89d.jpg","text":"TemporaryFile(/tmp/multipartBody6945682418789989669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221183026,"filename":"image_27112025_06_23_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0887617eadd5ab291f12b7551db4e81f.jpg","text":"TemporaryFile(/tmp/multipartBody4146109703930674568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221183026,"filename":"image_27112025_06_25_35_10865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364472","file1":"1396364470","file0":"1396364468"},"map_files_photo_id_array":[{"photo_id":"1396364472","filename":"file2"},{"photo_id":"1396364470","filename":"file1"},{"photo_id":"1396364468","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364472":["hashtag1","hashtag2"]},{"1396364468":["hashtag1","hashtag2"]},{"1396364470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364472, 1396364468, 1396364470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.09957480430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:26:02.946342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_07_1631.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_09_1652.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_11_1748.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_12_1687.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_14_1658.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_16_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_07_1631.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_09_1652.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_11_1748.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_12_1687.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_14_1658.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_16_1668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364480","1396364488","1396364482","1396364479","1396364484","1396364478"],"photo_ids_order":["1396364478","1396364479","1396364480","1396364482","1396364484","1396364488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56a3bdda4ed58750004cdcb5f4e40b29.jpg","text":"TemporaryFile(/tmp/multipartBody4558588649137111064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_11_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/27/05e38dc98f5ac5c7d07e85eaaac1f238.jpg","text":"TemporaryFile(/tmp/multipartBody8004851148387504026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_16_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/27/af82827ea53c66c58d3cd247861bbca8.jpg","text":"TemporaryFile(/tmp/multipartBody919828695464806285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_12_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/27/5de1d0cd71c7ffa26714552cacfeb4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8391520618029770081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_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/27/36f4a7603ccf78aa5ef72f54ecca4086.jpg","text":"TemporaryFile(/tmp/multipartBody2263440131555154853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_14_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/27/62d69ee51189b4a82a903b368ce81135.jpg","text":"TemporaryFile(/tmp/multipartBody2362554343109515647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221225567,"filename":"image_21112025_19_45_07_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364480","file1":"1396364479","file0":"1396364478","file4":"1396364484","file5":"1396364488","file3":"1396364482"},"map_files_photo_id_array":[{"photo_id":"1396364488","filename":"file5"},{"photo_id":"1396364480","filename":"file2"},{"photo_id":"1396364484","filename":"file4"},{"photo_id":"1396364479","filename":"file1"},{"photo_id":"1396364478","filename":"file0"},{"photo_id":"1396364482","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364480":["hashtag1","hashtag2"]},{"1396364488":["hashtag1","hashtag2"]},{"1396364482":["hashtag1","hashtag2"]},{"1396364479":["hashtag1","hashtag2"]},{"1396364484":["hashtag1","hashtag2"]},{"1396364478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364480, 1396364488, 1396364482, 1396364479, 1396364484, 1396364478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76759338378906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:26:42.643156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/55/image_30102025_21_55_01_1777.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_07_1706.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_08_1736.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_15_2681.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_20_2566.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_24_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/21/55/image_30102025_21_55_01_1777.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_07_1706.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_08_1736.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_15_2681.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_20_2566.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_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":["1396364498","1396364501","1396364494","1396364497","1396364500","1396364499"],"photo_ids_order":["1396364494","1396364497","1396364498","1396364499","1396364500","1396364501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29ba9e63058e3b29391c2b846a1a15b9.jpg","text":"TemporaryFile(/tmp/multipartBody7095769479874432227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_08_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/27/dc0c7c8f61e8047d92d51551e679aacf.jpg","text":"TemporaryFile(/tmp/multipartBody1448715561648772471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_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/27/eb4f365d22ce604247e0eda2bb092dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8623493999225121007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_01_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b57a7c530350735ef02d68ff8d157f16.jpg","text":"TemporaryFile(/tmp/multipartBody4467443042607811326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_07_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/27/18f25678069d2ebc59ab2b20205e48da.jpg","text":"TemporaryFile(/tmp/multipartBody7728205940438676498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_20_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/27/35f4128d11648f7c6913b44501b6261b.jpg","text":"TemporaryFile(/tmp/multipartBody3870159399398023052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221264023,"filename":"image_30102025_21_55_15_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364498","file1":"1396364497","file0":"1396364494","file4":"1396364500","file5":"1396364501","file3":"1396364499"},"map_files_photo_id_array":[{"photo_id":"1396364501","filename":"file5"},{"photo_id":"1396364498","filename":"file2"},{"photo_id":"1396364500","filename":"file4"},{"photo_id":"1396364497","filename":"file1"},{"photo_id":"1396364494","filename":"file0"},{"photo_id":"1396364499","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364498":["hashtag1","hashtag2"]},{"1396364501":["hashtag1","hashtag2"]},{"1396364494":["hashtag1","hashtag2"]},{"1396364497":["hashtag1","hashtag2"]},{"1396364500":["hashtag1","hashtag2"]},{"1396364499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364498, 1396364501, 1396364494, 1396364497, 1396364500, 1396364499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.986748695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:27:22.842033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_54_9603.jpg', '/home/pi/Desktop/images/27112025/06/25/image_27112025_06_26_04_10016.jpg', '/home/pi/Desktop/images/27112025/06/26/image_27112025_06_26_14_9657.jpg', '/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_34_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/25/image_27112025_06_25_54_9603.jpg
/home/pi/Desktop/images/27112025/06/25/image_27112025_06_26_04_10016.jpg
/home/pi/Desktop/images/27112025/06/26/image_27112025_06_26_14_9657.jpg
/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_34_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364511","1396364505","1396364508","1396364513"],"photo_ids_order":["1396364505","1396364508","1396364511","1396364513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31f1b27e07bc7893d71e1abb61d1bad3.jpg","text":"TemporaryFile(/tmp/multipartBody3539304588995765506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221303516,"filename":"image_27112025_06_26_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a705189e5bc38adad30ff6a6888dee5.jpg","text":"TemporaryFile(/tmp/multipartBody4554263111401573087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221303516,"filename":"image_27112025_06_25_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a449523ed4026e2b67b375b3b493f185.jpg","text":"TemporaryFile(/tmp/multipartBody5384130899529745612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221303516,"filename":"image_27112025_06_26_04_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86d6e1a22e409f17cf506ce70aa0ee28.jpg","text":"TemporaryFile(/tmp/multipartBody7822381178530679889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221303516,"filename":"image_27112025_06_27_34_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364511","file1":"1396364508","file0":"1396364505","file3":"1396364513"},"map_files_photo_id_array":[{"photo_id":"1396364511","filename":"file2"},{"photo_id":"1396364508","filename":"file1"},{"photo_id":"1396364505","filename":"file0"},{"photo_id":"1396364513","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364511":["hashtag1","hashtag2"]},{"1396364505":["hashtag1","hashtag2"]},{"1396364508":["hashtag1","hashtag2"]},{"1396364513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364511, 1396364505, 1396364508, 1396364513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.659368991851807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:28:02.516243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_17_1590.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_19_1674.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_22_2665.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_24_2844.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_27_2842.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_30_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_17_1590.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_19_1674.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_22_2665.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_24_2844.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_27_2842.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_30_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364517","1396364525","1396364522","1396364516","1396364519","1396364518"],"photo_ids_order":["1396364516","1396364517","1396364518","1396364519","1396364522","1396364525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bb5d532e878111099723596e682ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody153035303288580620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_45_19_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/27/27df4b64ea2d6c7afa55c69e48611fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8727426924883481194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_45_30_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/27/db44859cb2e24b923909a37b13d0bc52.jpg","text":"TemporaryFile(/tmp/multipartBody7549584220742797651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_45_27_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9e442cea71ae47958be5e6b64c03c42.jpg","text":"TemporaryFile(/tmp/multipartBody5230973405042086575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_45_17_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/27/7d694ecab722bbd37e5ffa3f79d1521a.jpg","text":"TemporaryFile(/tmp/multipartBody7163136893222252010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_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/27/65204246f1fc14e0070f47e18178e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5239509563792284985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221343717,"filename":"image_21112025_19_45_22_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364518","file1":"1396364517","file0":"1396364516","file4":"1396364522","file5":"1396364525","file3":"1396364519"},"map_files_photo_id_array":[{"photo_id":"1396364525","filename":"file5"},{"photo_id":"1396364518","filename":"file2"},{"photo_id":"1396364522","filename":"file4"},{"photo_id":"1396364517","filename":"file1"},{"photo_id":"1396364516","filename":"file0"},{"photo_id":"1396364519","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364517":["hashtag1","hashtag2"]},{"1396364525":["hashtag1","hashtag2"]},{"1396364522":["hashtag1","hashtag2"]},{"1396364516":["hashtag1","hashtag2"]},{"1396364519":["hashtag1","hashtag2"]},{"1396364518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364517, 1396364525, 1396364522, 1396364516, 1396364519, 1396364518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33327031135559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:28:42.141721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/55/image_30102025_21_55_30_3534.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_33_2609.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_54_20753.jpg', '/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_57_3154.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_02_1605.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_03_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_30_3534.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_33_2609.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_54_20753.jpg
/home/pi/Desktop/images/30102025/21/55/image_30102025_21_55_57_3154.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_02_1605.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_03_1694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364544","1396364543","1396364555","1396364542","1396364545","1396364539"],"photo_ids_order":["1396364539","1396364542","1396364543","1396364544","1396364545","1396364555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2dfe9966866c6dd5b45b438e282b48a.jpg","text":"TemporaryFile(/tmp/multipartBody6897998741189577932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_55_57_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcbe06c5bb774687d37cc460adc5256c.jpg","text":"TemporaryFile(/tmp/multipartBody5702396741744847516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_55_54_20753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1a9981f2ea40ee154eaa18b5254a3be.jpg","text":"TemporaryFile(/tmp/multipartBody1639417773609016268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_56_03_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/27/be05b6cdd88d8e6736d228c975b3d54e.jpg","text":"TemporaryFile(/tmp/multipartBody6712478395677204866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_55_33_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/27/c85d268cf1b1ae2bf5026f6212ea3e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2778683204983737888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_56_02_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/27/cdbf2e0384761ad92d7c652d8d193c97.jpg","text":"TemporaryFile(/tmp/multipartBody5506779016051767399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221383460,"filename":"image_30102025_21_55_30_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364543","file1":"1396364542","file0":"1396364539","file4":"1396364545","file5":"1396364555","file3":"1396364544"},"map_files_photo_id_array":[{"photo_id":"1396364555","filename":"file5"},{"photo_id":"1396364543","filename":"file2"},{"photo_id":"1396364545","filename":"file4"},{"photo_id":"1396364542","filename":"file1"},{"photo_id":"1396364539","filename":"file0"},{"photo_id":"1396364544","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364544":["hashtag1","hashtag2"]},{"1396364543":["hashtag1","hashtag2"]},{"1396364555":["hashtag1","hashtag2"]},{"1396364542":["hashtag1","hashtag2"]},{"1396364545":["hashtag1","hashtag2"]},{"1396364539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364544, 1396364543, 1396364555, 1396364542, 1396364545, 1396364539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87014436721802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:29:22.284067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_34_3519.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_36_2617.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_39_2635.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_42_3671.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_45_2789.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_48_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_34_3519.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_36_2617.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_39_2635.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_42_3671.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_45_2789.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_48_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":["1396364579","1396364570","1396364564","1396364567","1396364572","1396364560"],"photo_ids_order":["1396364560","1396364564","1396364567","1396364570","1396364572","1396364579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1895934f70700253c2c52cc10c91596.jpg","text":"TemporaryFile(/tmp/multipartBody3113693641896942280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_48_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/27/b60d20608a2f41106c8a308c51a71ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3569983931959281856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_42_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/27/5f964f7c4c71f4919df2bc408a746cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8589457696580955659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_36_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/27/b657aebeac57d71005872ca458551d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1548485027299287194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_39_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/27/f3c0fc350ec9b912e26d233df0f64e22.jpg","text":"TemporaryFile(/tmp/multipartBody7816057253480088141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_45_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/27/1491829ded5a54d88efcd4779d9235cd.jpg","text":"TemporaryFile(/tmp/multipartBody6693140004496558770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221424154,"filename":"image_21112025_19_45_34_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364567","file1":"1396364564","file0":"1396364560","file4":"1396364572","file5":"1396364579","file3":"1396364570"},"map_files_photo_id_array":[{"photo_id":"1396364579","filename":"file5"},{"photo_id":"1396364567","filename":"file2"},{"photo_id":"1396364572","filename":"file4"},{"photo_id":"1396364564","filename":"file1"},{"photo_id":"1396364560","filename":"file0"},{"photo_id":"1396364570","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364579":["hashtag1","hashtag2"]},{"1396364570":["hashtag1","hashtag2"]},{"1396364564":["hashtag1","hashtag2"]},{"1396364567":["hashtag1","hashtag2"]},{"1396364572":["hashtag1","hashtag2"]},{"1396364560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364579, 1396364570, 1396364564, 1396364567, 1396364572, 1396364560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64666223526001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:30:02.942396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_51_3604.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_54_2704.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_57_2669.jpg', '/home/pi/Desktop/images/21112025/19/45/image_21112025_19_46_01_3689.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_03_2818.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_06_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_51_3604.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_54_2704.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_45_57_2669.jpg
/home/pi/Desktop/images/21112025/19/45/image_21112025_19_46_01_3689.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_03_2818.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_06_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364580","1396364582","1396364585","1396364587","1396364581","1396364583"],"photo_ids_order":["1396364580","1396364581","1396364582","1396364583","1396364585","1396364587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61eade410153248b809fb4175b047a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6272449053933738729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_45_51_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/27/e909b8b1b45dd4e4cc69d851aee1e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4234283208738551656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_45_57_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/27/373deacdc16214aacaa7a873b13262ff.jpg","text":"TemporaryFile(/tmp/multipartBody1573479268796557731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_46_03_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/27/f9e480614c330349c732d35e074c233f.jpg","text":"TemporaryFile(/tmp/multipartBody5206993201851452789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_46_06_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/27/148035cd8d3437bd978251480eaa1afa.jpg","text":"TemporaryFile(/tmp/multipartBody6382068510789141141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_45_54_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/27/b14f42ddea44aa99686c97b103388567.jpg","text":"TemporaryFile(/tmp/multipartBody5320604498646587160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221464150,"filename":"image_21112025_19_46_01_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364582","file1":"1396364581","file0":"1396364580","file4":"1396364585","file5":"1396364587","file3":"1396364583"},"map_files_photo_id_array":[{"photo_id":"1396364587","filename":"file5"},{"photo_id":"1396364582","filename":"file2"},{"photo_id":"1396364585","filename":"file4"},{"photo_id":"1396364581","filename":"file1"},{"photo_id":"1396364580","filename":"file0"},{"photo_id":"1396364583","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364580":["hashtag1","hashtag2"]},{"1396364582":["hashtag1","hashtag2"]},{"1396364585":["hashtag1","hashtag2"]},{"1396364587":["hashtag1","hashtag2"]},{"1396364581":["hashtag1","hashtag2"]},{"1396364583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364580, 1396364582, 1396364585, 1396364587, 1396364581, 1396364583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99791717529297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:30:42.519691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/56/image_30102025_21_56_07_1576.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_10_3897.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_15_1576.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_19_3919.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_21_1817.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_38_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_07_1576.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_10_3897.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_15_1576.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_19_3919.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_21_1817.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_38_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364597","1396364600","1396364599","1396364593","1396364596","1396364598"],"photo_ids_order":["1396364593","1396364596","1396364597","1396364598","1396364599","1396364600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/425296fe55623bd11314c8e54d02d523.jpg","text":"TemporaryFile(/tmp/multipartBody2859727436712700100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_15_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/27/2dbb696d6cb3ab754851e9a100ff36ce.jpg","text":"TemporaryFile(/tmp/multipartBody810930889448306727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_38_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/27/5e40ddbec45589c2c60f996e8c9a89e1.jpg","text":"TemporaryFile(/tmp/multipartBody4060855625282086164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_21_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5073fcd862c6d460071b4b2feff0f465.jpg","text":"TemporaryFile(/tmp/multipartBody9150396477283805875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_07_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/27/854f241ef3c7d660c312d86dc57bf33a.jpg","text":"TemporaryFile(/tmp/multipartBody3948849896479755593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_10_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ebf40c1b12212bc75b4973e0ab8e974.jpg","text":"TemporaryFile(/tmp/multipartBody6099546421202993177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221503872,"filename":"image_30102025_21_56_19_3919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364597","file1":"1396364596","file0":"1396364593","file4":"1396364599","file5":"1396364600","file3":"1396364598"},"map_files_photo_id_array":[{"photo_id":"1396364600","filename":"file5"},{"photo_id":"1396364597","filename":"file2"},{"photo_id":"1396364599","filename":"file4"},{"photo_id":"1396364596","filename":"file1"},{"photo_id":"1396364593","filename":"file0"},{"photo_id":"1396364598","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364597":["hashtag1","hashtag2"]},{"1396364600":["hashtag1","hashtag2"]},{"1396364599":["hashtag1","hashtag2"]},{"1396364593":["hashtag1","hashtag2"]},{"1396364596":["hashtag1","hashtag2"]},{"1396364598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364597, 1396364600, 1396364599, 1396364593, 1396364596, 1396364598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.860727310180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:31:22.806699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_55_10581.jpg', '/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_55_10581.jpg
/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_44_9797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5048506259918213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:31:32.717228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_10_3700.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_12_2754.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_15_2522.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_19_3630.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_21_2805.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_24_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_10_3700.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_12_2754.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_15_2522.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_19_3630.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_21_2805.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_24_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":["1396364619","1396364612","1396364609","1396364618","1396364617","1396364614"],"photo_ids_order":["1396364609","1396364612","1396364614","1396364617","1396364618","1396364619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa05606c42484d3b74e8152cef08c04e.jpg","text":"TemporaryFile(/tmp/multipartBody1693744967947685097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_24_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/27/f7005c37e475cf27f562b3c347bd366d.jpg","text":"TemporaryFile(/tmp/multipartBody1622713800748162931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_12_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/27/3f5d44d8856cabb6a1aade6a77682071.jpg","text":"TemporaryFile(/tmp/multipartBody770313072295896851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_10_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/27/9cab2860886145a7676bedcad2dfe4a4.jpg","text":"TemporaryFile(/tmp/multipartBody9151170821276417767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_21_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/27/3c978bd460646e9cc949fd3c8171aae7.jpg","text":"TemporaryFile(/tmp/multipartBody8335925451752491451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_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/27/9b68bc4bc5c791b88c14bab542f2939c.jpg","text":"TemporaryFile(/tmp/multipartBody7428781536300618650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221554617,"filename":"image_21112025_19_46_15_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364614","file1":"1396364612","file0":"1396364609","file4":"1396364618","file5":"1396364619","file3":"1396364617"},"map_files_photo_id_array":[{"photo_id":"1396364619","filename":"file5"},{"photo_id":"1396364614","filename":"file2"},{"photo_id":"1396364618","filename":"file4"},{"photo_id":"1396364612","filename":"file1"},{"photo_id":"1396364609","filename":"file0"},{"photo_id":"1396364617","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364619":["hashtag1","hashtag2"]},{"1396364612":["hashtag1","hashtag2"]},{"1396364609":["hashtag1","hashtag2"]},{"1396364618":["hashtag1","hashtag2"]},{"1396364617":["hashtag1","hashtag2"]},{"1396364614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364619, 1396364612, 1396364609, 1396364618, 1396364617, 1396364614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71143865585327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:32:11.949518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_27_2889.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_31_3698.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_36_5619.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_38_1661.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_45_7110.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_47_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_27_2889.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_31_3698.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_36_5619.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_38_1661.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_45_7110.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_47_1582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364631","1396364634","1396364628","1396364624","1396364621","1396364620"],"photo_ids_order":["1396364620","1396364621","1396364624","1396364628","1396364631","1396364634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0bce250ef7765fe361162c01cd2df6c.jpg","text":"TemporaryFile(/tmp/multipartBody7161398094245038802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_45_7110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e86be69d485e5619e28f19ddc2fa002d.jpg","text":"TemporaryFile(/tmp/multipartBody5837165864894586787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_47_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/27/14159f23b6d5e4985c50ddf3a7a19521.jpg","text":"TemporaryFile(/tmp/multipartBody541698430678182744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_38_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/27/1296e6aa6a889b3b4d3c91ac64f6ee17.jpg","text":"TemporaryFile(/tmp/multipartBody8197279817683868172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_36_5619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70d908de6652718c51df252788421f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5642911625398165049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_31_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/27/550feb7deda5698dfb30caeebf5e4f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3415670180827311659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221593753,"filename":"image_21112025_19_46_27_2889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364624","file1":"1396364621","file0":"1396364620","file4":"1396364631","file5":"1396364634","file3":"1396364628"},"map_files_photo_id_array":[{"photo_id":"1396364634","filename":"file5"},{"photo_id":"1396364624","filename":"file2"},{"photo_id":"1396364631","filename":"file4"},{"photo_id":"1396364621","filename":"file1"},{"photo_id":"1396364620","filename":"file0"},{"photo_id":"1396364628","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364631":["hashtag1","hashtag2"]},{"1396364634":["hashtag1","hashtag2"]},{"1396364628":["hashtag1","hashtag2"]},{"1396364624":["hashtag1","hashtag2"]},{"1396364621":["hashtag1","hashtag2"]},{"1396364620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364631, 1396364634, 1396364628, 1396364624, 1396364621, 1396364620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19880247116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:33:02.756236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_55_10581.jpg', '/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_44_9797.jpg', '/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_55_10692.jpg', '/home/pi/Desktop/images/27112025/06/32/image_27112025_06_32_14_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/27/image_27112025_06_27_55_10581.jpg
/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_44_9797.jpg
/home/pi/Desktop/images/27112025/06/30/image_27112025_06_30_55_10692.jpg
/home/pi/Desktop/images/27112025/06/32/image_27112025_06_32_14_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364655","1396364643","1396364656","1396364650"],"photo_ids_order":["1396364643","1396364650","1396364655","1396364656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82fe97d9cd2728199fc755063bbc0fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8261112977261261257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221643512,"filename":"image_27112025_06_30_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a3c4452dc4bacf631031b4b9da565fc.jpg","text":"TemporaryFile(/tmp/multipartBody4928567617759045110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221643512,"filename":"image_27112025_06_27_55_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbdba1b3873e11e87519da20cad86954.jpg","text":"TemporaryFile(/tmp/multipartBody2556424210089312228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221643512,"filename":"image_27112025_06_32_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91ac6c1199e640398b10c3e53e64e19e.jpg","text":"TemporaryFile(/tmp/multipartBody3152109821468709314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221643512,"filename":"image_27112025_06_30_44_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364655","file1":"1396364650","file0":"1396364643","file3":"1396364656"},"map_files_photo_id_array":[{"photo_id":"1396364655","filename":"file2"},{"photo_id":"1396364650","filename":"file1"},{"photo_id":"1396364643","filename":"file0"},{"photo_id":"1396364656","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364655":["hashtag1","hashtag2"]},{"1396364643":["hashtag1","hashtag2"]},{"1396364656":["hashtag1","hashtag2"]},{"1396364650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364655, 1396364643, 1396364656, 1396364650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.263054132461548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:33:32.164085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_48_1694.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_50_1664.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_56_5775.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_59_2770.jpg', '/home/pi/Desktop/images/21112025/19/46/image_21112025_19_47_00_1831.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_02_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_48_1694.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_50_1664.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_56_5775.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_46_59_2770.jpg
/home/pi/Desktop/images/21112025/19/46/image_21112025_19_47_00_1831.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_02_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364664","1396364673","1396364667","1396364675","1396364671","1396364674"],"photo_ids_order":["1396364664","1396364667","1396364671","1396364673","1396364674","1396364675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad9c169ed346230bc3514107aca03ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1426120167035051981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_46_48_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/27/80490584a801e80f2f88846df89cd28a.jpg","text":"TemporaryFile(/tmp/multipartBody1808752067642066923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_46_59_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/27/e2f4e9106cf3277f018f718ffde6e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4000107959784047076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_46_50_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/27/528a852b4e31d0a5deae4446535bcca0.jpg","text":"TemporaryFile(/tmp/multipartBody2766110090369647033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_47_02_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/27/c609bb80fc3bb621928fadafc8177785.jpg","text":"TemporaryFile(/tmp/multipartBody7613785371034308095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_46_56_5775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0070915aeaf699244d51dc8a0dab4642.jpg","text":"TemporaryFile(/tmp/multipartBody1103920867694844077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221674013,"filename":"image_21112025_19_47_00_1831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364671","file1":"1396364667","file0":"1396364664","file4":"1396364674","file5":"1396364675","file3":"1396364673"},"map_files_photo_id_array":[{"photo_id":"1396364675","filename":"file5"},{"photo_id":"1396364671","filename":"file2"},{"photo_id":"1396364674","filename":"file4"},{"photo_id":"1396364667","filename":"file1"},{"photo_id":"1396364664","filename":"file0"},{"photo_id":"1396364673","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364664":["hashtag1","hashtag2"]},{"1396364673":["hashtag1","hashtag2"]},{"1396364667":["hashtag1","hashtag2"]},{"1396364675":["hashtag1","hashtag2"]},{"1396364671":["hashtag1","hashtag2"]},{"1396364674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364664, 1396364673, 1396364667, 1396364675, 1396364671, 1396364674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75592041015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:34:12.198234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_04_1640.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_06_2616.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_09_2749.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_15_3043.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_18_3742.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_21_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_04_1640.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_06_2616.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_09_2749.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_15_3043.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_18_3742.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_21_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364684","1396364686","1396364680","1396364677","1396364682","1396364676"],"photo_ids_order":["1396364676","1396364677","1396364680","1396364682","1396364684","1396364686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a2bd84cb0732f2f676093b104f540ec.jpg","text":"TemporaryFile(/tmp/multipartBody7790302629219787186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_18_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/27/61c0e79cb45934581e883f2ed5c6db6b.jpg","text":"TemporaryFile(/tmp/multipartBody3156733111149440420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_21_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/27/e7b894e8215b783aa5eadd385e8dce1e.jpg","text":"TemporaryFile(/tmp/multipartBody5074511035895475856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_09_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/27/6170c2cf80c23aa8df48ba9e91ca0f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2244739867324130878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_06_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/27/daafba92b894ce58e68546388344e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody7967250269832906631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_15_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a86a18baf2fef5f6a279aae745618b0b.jpg","text":"TemporaryFile(/tmp/multipartBody404440411050788583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221713953,"filename":"image_21112025_19_47_04_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364680","file1":"1396364677","file0":"1396364676","file4":"1396364684","file5":"1396364686","file3":"1396364682"},"map_files_photo_id_array":[{"photo_id":"1396364686","filename":"file5"},{"photo_id":"1396364680","filename":"file2"},{"photo_id":"1396364684","filename":"file4"},{"photo_id":"1396364677","filename":"file1"},{"photo_id":"1396364676","filename":"file0"},{"photo_id":"1396364682","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364684":["hashtag1","hashtag2"]},{"1396364686":["hashtag1","hashtag2"]},{"1396364680":["hashtag1","hashtag2"]},{"1396364677":["hashtag1","hashtag2"]},{"1396364682":["hashtag1","hashtag2"]},{"1396364676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364684, 1396364686, 1396364680, 1396364677, 1396364682, 1396364676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.430012941360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:35:03.080462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/32/image_27112025_06_32_24_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/32/image_27112025_06_32_24_9985.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364695"],"photo_id":"1396364695","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7a4afb8d2ef8346b3a1497e8d094564.jpg","text":"TemporaryFile(/tmp/multipartBody5403014341402681789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221763658,"filename":"image_27112025_06_32_24_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396364695"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396364695"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.185336351394653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:35:22.438723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/33/image_27112025_06_34_04_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/33/image_27112025_06_34_04_9737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364697"],"photo_id":"1396364697","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db983440b82a8ab5ae1907d4bfe94ad9.jpg","text":"TemporaryFile(/tmp/multipartBody120600875660882073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221782979,"filename":"image_27112025_06_34_04_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396364697"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396364697"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.061976909637451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:35:42.444336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/56/image_30102025_21_56_40_1926.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_45_1684.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_53_2617.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_56_2684.jpg', '/home/pi/Desktop/images/30102025/21/56/image_30102025_21_57_00_3723.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_09_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_40_1926.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_45_1684.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_53_2617.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_56_56_2684.jpg
/home/pi/Desktop/images/30102025/21/56/image_30102025_21_57_00_3723.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_09_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364715","1396364705","1396364714","1396364704","1396364713","1396364707"],"photo_ids_order":["1396364704","1396364705","1396364707","1396364713","1396364714","1396364715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc2ea59eeb0dc1d86f9069e793edb5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2287581720162037055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_57_09_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/27/7a6e788aa19d411b411ed8eecb70a436.jpg","text":"TemporaryFile(/tmp/multipartBody510470580321584321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_56_45_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/27/3ecfdf2e289e000768b8029391e3dadb.jpg","text":"TemporaryFile(/tmp/multipartBody87715077250297593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_57_00_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/27/631ecd90bfd0b7278e65a0057dacdb50.jpg","text":"TemporaryFile(/tmp/multipartBody7250317934548653874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_56_40_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/27/48f0966e0b2efd919c8a3f8a1f41cb4b.jpg","text":"TemporaryFile(/tmp/multipartBody763355677567321713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_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/27/e16fa04b244b6bdf0b89f64579717ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4094900169478911592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221803772,"filename":"image_30102025_21_56_53_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364707","file1":"1396364705","file0":"1396364704","file4":"1396364714","file5":"1396364715","file3":"1396364713"},"map_files_photo_id_array":[{"photo_id":"1396364715","filename":"file5"},{"photo_id":"1396364707","filename":"file2"},{"photo_id":"1396364714","filename":"file4"},{"photo_id":"1396364705","filename":"file1"},{"photo_id":"1396364704","filename":"file0"},{"photo_id":"1396364713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364715":["hashtag1","hashtag2"]},{"1396364705":["hashtag1","hashtag2"]},{"1396364714":["hashtag1","hashtag2"]},{"1396364704":["hashtag1","hashtag2"]},{"1396364713":["hashtag1","hashtag2"]},{"1396364707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364715, 1396364705, 1396364714, 1396364704, 1396364713, 1396364707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.37667727470398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:36:32.665105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_24_2703.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_27_3547.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_32_4598.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_34_1557.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_46_12432.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_49_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_24_2703.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_27_3547.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_32_4598.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_34_1557.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_46_12432.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_49_3023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364730","1396364727","1396364724","1396364738","1396364735","1396364737"],"photo_ids_order":["1396364724","1396364727","1396364730","1396364735","1396364737","1396364738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73fa0a76e00bc84d2b57d69f5056b306.jpg","text":"TemporaryFile(/tmp/multipartBody3574909666997804406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_32_4598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afc00892239803c1502d5d4a64ac92f8.jpg","text":"TemporaryFile(/tmp/multipartBody3616870976603895335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_27_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/27/fdd2376335b230baaac3d52037b9336d.jpg","text":"TemporaryFile(/tmp/multipartBody3924699542971594222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_24_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/27/5d7b0f5dcd27407cedf7971a303b372c.jpg","text":"TemporaryFile(/tmp/multipartBody7227499249223181937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_49_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/27/8aaa68a099f4b214848289306afd0b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4918929004232318094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_34_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/27/4de282b7f43596c3b8361925df0d9eca.jpg","text":"TemporaryFile(/tmp/multipartBody3148091281688138633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221854529,"filename":"image_21112025_19_47_46_12432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364730","file1":"1396364727","file0":"1396364724","file4":"1396364737","file5":"1396364738","file3":"1396364735"},"map_files_photo_id_array":[{"photo_id":"1396364738","filename":"file5"},{"photo_id":"1396364730","filename":"file2"},{"photo_id":"1396364737","filename":"file4"},{"photo_id":"1396364727","filename":"file1"},{"photo_id":"1396364724","filename":"file0"},{"photo_id":"1396364735","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364730":["hashtag1","hashtag2"]},{"1396364727":["hashtag1","hashtag2"]},{"1396364724":["hashtag1","hashtag2"]},{"1396364738":["hashtag1","hashtag2"]},{"1396364735":["hashtag1","hashtag2"]},{"1396364737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364730, 1396364727, 1396364724, 1396364738, 1396364735, 1396364737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053725481033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:37:12.769217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_51_1579.jpg', '/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_52_1766.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_06_3012.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_10_3708.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_12_2563.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_15_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_51_1579.jpg
/home/pi/Desktop/images/21112025/19/47/image_21112025_19_47_52_1766.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_06_3012.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_10_3708.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_12_2563.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_15_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364742","1396364750","1396364744","1396364747","1396364752","1396364740"],"photo_ids_order":["1396364740","1396364742","1396364744","1396364747","1396364750","1396364752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f993799b0ff132c9a1b64cb2d3584354.jpg","text":"TemporaryFile(/tmp/multipartBody2901502164236796298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_47_52_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/27/1fef89e747e9f0a3fc0f2fff34f960bd.jpg","text":"TemporaryFile(/tmp/multipartBody7412766439514375936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_49_12_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/27/202bb0435d96b52b453a60ad54847057.jpg","text":"TemporaryFile(/tmp/multipartBody7868266118740048290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_49_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/27/681bd17899f07609244771d9e69bac02.jpg","text":"TemporaryFile(/tmp/multipartBody6213155247090613569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_49_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/27/c338573a25d21c0989ad97641c118d69.jpg","text":"TemporaryFile(/tmp/multipartBody3317175448390110647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_49_15_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/27/883e0f4c63fd0c885a033f33df37ca16.jpg","text":"TemporaryFile(/tmp/multipartBody1187990447558948662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221894543,"filename":"image_21112025_19_47_51_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364744","file1":"1396364742","file0":"1396364740","file4":"1396364750","file5":"1396364752","file3":"1396364747"},"map_files_photo_id_array":[{"photo_id":"1396364752","filename":"file5"},{"photo_id":"1396364744","filename":"file2"},{"photo_id":"1396364750","filename":"file4"},{"photo_id":"1396364742","filename":"file1"},{"photo_id":"1396364740","filename":"file0"},{"photo_id":"1396364747","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364742":["hashtag1","hashtag2"]},{"1396364750":["hashtag1","hashtag2"]},{"1396364744":["hashtag1","hashtag2"]},{"1396364747":["hashtag1","hashtag2"]},{"1396364752":["hashtag1","hashtag2"]},{"1396364740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364742, 1396364750, 1396364744, 1396364747, 1396364752, 1396364740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.075169801712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:38:02.493594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/35/image_27112025_06_35_24_9661.jpg', '/home/pi/Desktop/images/27112025/06/36/image_27112025_06_36_35_10582.jpg', '/home/pi/Desktop/images/27112025/06/36/image_27112025_06_36_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/35/image_27112025_06_35_24_9661.jpg
/home/pi/Desktop/images/27112025/06/36/image_27112025_06_36_35_10582.jpg
/home/pi/Desktop/images/27112025/06/36/image_27112025_06_36_54_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364760","1396364765","1396364764"],"photo_ids_order":["1396364760","1396364764","1396364765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a2dd16f022a4726f5fd8e0d8a6eeaaf.jpg","text":"TemporaryFile(/tmp/multipartBody6862450322905989853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221943168,"filename":"image_27112025_06_35_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06e5728b274c93a37ede3f81eee0c3a7.jpg","text":"TemporaryFile(/tmp/multipartBody6923630928002354936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221943168,"filename":"image_27112025_06_36_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e45755f1f59c7893a55a18886ff8a423.jpg","text":"TemporaryFile(/tmp/multipartBody7314232707330722265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221943168,"filename":"image_27112025_06_36_35_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364765","file1":"1396364764","file0":"1396364760"},"map_files_photo_id_array":[{"photo_id":"1396364765","filename":"file2"},{"photo_id":"1396364764","filename":"file1"},{"photo_id":"1396364760","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364760":["hashtag1","hashtag2"]},{"1396364765":["hashtag1","hashtag2"]},{"1396364764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364760, 1396364765, 1396364764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.990726947784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:38:31.982609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_19_3722.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_21_2580.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_27_5546.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_29_1788.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_31_1763.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_33_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_19_3722.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_21_2580.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_27_5546.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_29_1788.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_31_1763.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_33_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":["1396364784","1396364774","1396364783","1396364777","1396364785","1396364779"],"photo_ids_order":["1396364774","1396364777","1396364779","1396364783","1396364784","1396364785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0a21ca5aa679fa2cea7826e2821ca7c.jpg","text":"TemporaryFile(/tmp/multipartBody4715542011943159497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_31_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/27/039d8eb591700bd798f9c69e5328eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody6502828695153384589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_19_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/27/fdea5d5007c9d0faa39c07654013a96c.jpg","text":"TemporaryFile(/tmp/multipartBody404815039778867296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_29_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/27/39b558d4f1c2dbb77c209018e6506e59.jpg","text":"TemporaryFile(/tmp/multipartBody7267843096209730615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_21_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/27/fc6c84c885f2d7a5affe274c3d60bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody8976664942054444468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_33_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/27/9a93d0469cccf661c306cd330b7968ec.jpg","text":"TemporaryFile(/tmp/multipartBody9165828955426774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764221973833,"filename":"image_21112025_19_49_27_5546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364779","file1":"1396364777","file0":"1396364774","file4":"1396364784","file5":"1396364785","file3":"1396364783"},"map_files_photo_id_array":[{"photo_id":"1396364785","filename":"file5"},{"photo_id":"1396364779","filename":"file2"},{"photo_id":"1396364784","filename":"file4"},{"photo_id":"1396364777","filename":"file1"},{"photo_id":"1396364774","filename":"file0"},{"photo_id":"1396364783","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364784":["hashtag1","hashtag2"]},{"1396364774":["hashtag1","hashtag2"]},{"1396364783":["hashtag1","hashtag2"]},{"1396364777":["hashtag1","hashtag2"]},{"1396364785":["hashtag1","hashtag2"]},{"1396364779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364784, 1396364774, 1396364783, 1396364777, 1396364785, 1396364779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.330199003219604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:39:12.118245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_36_3168.jpg', '/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_40_3297.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_06_3011.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_12_2227.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_16_3519.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_19_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_36_3168.jpg
/home/pi/Desktop/images/21112025/19/49/image_21112025_19_49_40_3297.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_06_3011.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_12_2227.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_16_3519.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_19_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364787","1396364786","1396364797","1396364791","1396364794","1396364800"],"photo_ids_order":["1396364786","1396364787","1396364791","1396364794","1396364797","1396364800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a52d67ba4da2d519291ed1f123a7e46.jpg","text":"TemporaryFile(/tmp/multipartBody3988913013568994231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_49_40_3297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2be3d4034fdc122fcebcf34040a79043.jpg","text":"TemporaryFile(/tmp/multipartBody5678820921391685562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_49_36_3168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8ebe0a61f70613e41bbc865b5fb1b45.jpg","text":"TemporaryFile(/tmp/multipartBody5478264248443487467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_51_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/27/4da2bef0f07e0f995df26a9fb83ac4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7743700198774100456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_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/27/4c818e253798827830c7d97dbfe0f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody1427531884824320343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_51_12_2227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a89b7d38142c0c2903b88dcdf339ed9c.jpg","text":"TemporaryFile(/tmp/multipartBody5071591758902590708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222013904,"filename":"image_21112025_19_51_19_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364791","file1":"1396364787","file0":"1396364786","file4":"1396364797","file5":"1396364800","file3":"1396364794"},"map_files_photo_id_array":[{"photo_id":"1396364800","filename":"file5"},{"photo_id":"1396364791","filename":"file2"},{"photo_id":"1396364797","filename":"file4"},{"photo_id":"1396364787","filename":"file1"},{"photo_id":"1396364786","filename":"file0"},{"photo_id":"1396364794","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364787":["hashtag1","hashtag2"]},{"1396364786":["hashtag1","hashtag2"]},{"1396364797":["hashtag1","hashtag2"]},{"1396364791":["hashtag1","hashtag2"]},{"1396364794":["hashtag1","hashtag2"]},{"1396364800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364787, 1396364786, 1396364797, 1396364791, 1396364794, 1396364800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88347411155701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:40:02.826698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/37/image_27112025_06_37_45_10692.jpg', '/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_25_10722.jpg', '/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_34_9639.jpg', '/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_55_10694.jpg', '/home/pi/Desktop/images/27112025/06/38/image_27112025_06_39_04_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/37/image_27112025_06_37_45_10692.jpg
/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_25_10722.jpg
/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_34_9639.jpg
/home/pi/Desktop/images/27112025/06/38/image_27112025_06_38_55_10694.jpg
/home/pi/Desktop/images/27112025/06/38/image_27112025_06_39_04_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364808","1396364805","1396364810","1396364804","1396364806"],"photo_ids_order":["1396364804","1396364805","1396364806","1396364808","1396364810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/298a6afe24abbec52774d0a968e02f87.jpg","text":"TemporaryFile(/tmp/multipartBody7905280564199079880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222063583,"filename":"image_27112025_06_38_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb2ca9858515b40cadcbafd087eb0df3.jpg","text":"TemporaryFile(/tmp/multipartBody5172001540059533229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222063583,"filename":"image_27112025_06_38_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c53a0bfe7f5def3ce20f6ac9c66146aa.jpg","text":"TemporaryFile(/tmp/multipartBody5040421554358039474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222063583,"filename":"image_27112025_06_39_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f59c22c535baddcda7b0072c7e10fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody6493259036368003692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222063583,"filename":"image_27112025_06_37_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be474c5cc70c2a3ce343c9e87421c575.jpg","text":"TemporaryFile(/tmp/multipartBody5038645306822467501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222063583,"filename":"image_27112025_06_38_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364806","file1":"1396364805","file0":"1396364804","file4":"1396364810","file3":"1396364808"},"map_files_photo_id_array":[{"photo_id":"1396364806","filename":"file2"},{"photo_id":"1396364810","filename":"file4"},{"photo_id":"1396364805","filename":"file1"},{"photo_id":"1396364804","filename":"file0"},{"photo_id":"1396364808","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364808":["hashtag1","hashtag2"]},{"1396364805":["hashtag1","hashtag2"]},{"1396364810":["hashtag1","hashtag2"]},{"1396364804":["hashtag1","hashtag2"]},{"1396364806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364808, 1396364805, 1396364810, 1396364804, 1396364806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.903892040252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:40:42.317226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/57/image_30102025_21_57_14_2656.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_20_5419.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_31_6089.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_34_1731.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_36_1655.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_38_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/21/57/image_30102025_21_57_14_2656.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_20_5419.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_31_6089.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_34_1731.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_36_1655.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_38_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364826","1396364825","1396364828","1396364827","1396364821","1396364824"],"photo_ids_order":["1396364821","1396364824","1396364825","1396364826","1396364827","1396364828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1613330c07d3e7121076b4ef75f013a5.jpg","text":"TemporaryFile(/tmp/multipartBody176528513647182172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_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/27/78cddc2fcfe4e527e443504f752ca835.jpg","text":"TemporaryFile(/tmp/multipartBody220269941344840753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_31_6089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b8c09c0ec9c8297a4a9746a95875535.jpg","text":"TemporaryFile(/tmp/multipartBody1281703342547423067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_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/27/f0914d77dd9c3b6a3a6426b85a04492f.jpg","text":"TemporaryFile(/tmp/multipartBody6215807197111599826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_36_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/27/d7764a89b758d51237d06d01b0c23e34.jpg","text":"TemporaryFile(/tmp/multipartBody1621684146974076648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_14_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/27/4a549f1b09eee221cd8f0e563a1e790d.jpg","text":"TemporaryFile(/tmp/multipartBody3079279867762870307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222103657,"filename":"image_30102025_21_57_20_5419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364825","file1":"1396364824","file0":"1396364821","file4":"1396364827","file5":"1396364828","file3":"1396364826"},"map_files_photo_id_array":[{"photo_id":"1396364828","filename":"file5"},{"photo_id":"1396364825","filename":"file2"},{"photo_id":"1396364827","filename":"file4"},{"photo_id":"1396364824","filename":"file1"},{"photo_id":"1396364821","filename":"file0"},{"photo_id":"1396364826","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364826":["hashtag1","hashtag2"]},{"1396364825":["hashtag1","hashtag2"]},{"1396364828":["hashtag1","hashtag2"]},{"1396364827":["hashtag1","hashtag2"]},{"1396364821":["hashtag1","hashtag2"]},{"1396364824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364826, 1396364825, 1396364828, 1396364827, 1396364821, 1396364824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5834436416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:41:22.603723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/39/image_27112025_06_39_25_10722.jpg', '/home/pi/Desktop/images/27112025/06/40/image_27112025_06_40_44_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/39/image_27112025_06_39_25_10722.jpg
/home/pi/Desktop/images/27112025/06/40/image_27112025_06_40_44_9602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364870","1396364858"],"photo_ids_order":["1396364858","1396364870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ef22e8be26cd161f1959ba5991a01a5.jpg","text":"TemporaryFile(/tmp/multipartBody5025835048120983885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222143192,"filename":"image_27112025_06_40_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3971ad04b65fb7e1827b8daafc08dd6c.jpg","text":"TemporaryFile(/tmp/multipartBody7140819980291900494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222143192,"filename":"image_27112025_06_39_25_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396364870","file0":"1396364858"},"map_files_photo_id_array":[{"photo_id":"1396364870","filename":"file1"},{"photo_id":"1396364858","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364870":["hashtag1","hashtag2"]},{"1396364858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364870, 1396364858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.181573152542114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:41:42.504844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/57/image_30102025_21_57_41_2618.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_45_3697.jpg', '/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_59_2754.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_02_2770.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_09_2997.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_14_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/21/57/image_30102025_21_57_41_2618.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_45_3697.jpg
/home/pi/Desktop/images/30102025/21/57/image_30102025_21_57_59_2754.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_02_2770.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_09_2997.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_14_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364901","1396364903","1396364900","1396364899","1396364902","1396364895"],"photo_ids_order":["1396364895","1396364899","1396364900","1396364901","1396364902","1396364903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/714ef7e34da9fd9b23ac3ab76ba5df37.jpg","text":"TemporaryFile(/tmp/multipartBody8501593231369882974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_58_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/27/fa59756fa19a62c4cfbf30faebd69cc0.jpg","text":"TemporaryFile(/tmp/multipartBody6922363199079903270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_58_14_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/27/4005513c088f2b8b605093da52094e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3256788142838024607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_57_59_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/27/ecbef22f03bbed1f211011fd132757f6.jpg","text":"TemporaryFile(/tmp/multipartBody3088034962215232309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_57_45_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/27/2eabc1de4d8a1296498142023477808c.jpg","text":"TemporaryFile(/tmp/multipartBody3859211147622251094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_58_09_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45f006a44e91327f2067a1fda8c0d713.jpg","text":"TemporaryFile(/tmp/multipartBody3445421556382990209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222163951,"filename":"image_30102025_21_57_41_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364900","file1":"1396364899","file0":"1396364895","file4":"1396364902","file5":"1396364903","file3":"1396364901"},"map_files_photo_id_array":[{"photo_id":"1396364903","filename":"file5"},{"photo_id":"1396364900","filename":"file2"},{"photo_id":"1396364902","filename":"file4"},{"photo_id":"1396364899","filename":"file1"},{"photo_id":"1396364895","filename":"file0"},{"photo_id":"1396364901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364901":["hashtag1","hashtag2"]},{"1396364903":["hashtag1","hashtag2"]},{"1396364900":["hashtag1","hashtag2"]},{"1396364899":["hashtag1","hashtag2"]},{"1396364902":["hashtag1","hashtag2"]},{"1396364895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364901, 1396364903, 1396364900, 1396364899, 1396364902, 1396364895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.857807636260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:42:22.751088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/40/image_27112025_06_41_05_9817.jpg', '/home/pi/Desktop/images/27112025/06/42/image_27112025_06_42_34_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/40/image_27112025_06_41_05_9817.jpg
/home/pi/Desktop/images/27112025/06/42/image_27112025_06_42_34_9787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364907","1396364909"],"photo_ids_order":["1396364907","1396364909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d57301b8d50fc3a6698d495347afe71.jpg","text":"TemporaryFile(/tmp/multipartBody6619507236751158758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222203350,"filename":"image_27112025_06_41_05_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf2325bf0a53e7135e05de895ea54d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1875501762394023235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222203350,"filename":"image_27112025_06_42_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396364909","file0":"1396364907"},"map_files_photo_id_array":[{"photo_id":"1396364909","filename":"file1"},{"photo_id":"1396364907","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364907":["hashtag1","hashtag2"]},{"1396364909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364907, 1396364909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.66243863105774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:42:42.668886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/58/image_30102025_21_58_18_3657.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_20_2634.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_23_2729.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_39_3806.jpg', '/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_56_2833.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_01_4769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_18_3657.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_20_2634.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_23_2729.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_39_3806.jpg
/home/pi/Desktop/images/30102025/21/58/image_30102025_21_58_56_2833.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_01_4769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364925","1396364922","1396364921","1396364924","1396364918","1396364923"],"photo_ids_order":["1396364918","1396364921","1396364922","1396364923","1396364924","1396364925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/005b8f5850d6f5904ec2e30f41b78949.jpg","text":"TemporaryFile(/tmp/multipartBody6883562917943942805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_59_01_4769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/731caf72c8bf67b694876d09a6e13a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4203308200814789064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_58_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/27/ecc24c1026cbfa003328cbb3c7b67989.jpg","text":"TemporaryFile(/tmp/multipartBody5064169077640125891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_58_20_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/27/2276944c5ee5d84bef78c1889a20da4f.jpg","text":"TemporaryFile(/tmp/multipartBody3615218675824178787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_58_56_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/27/54e4dcd97f750cfc7046d0c29f99543a.jpg","text":"TemporaryFile(/tmp/multipartBody5085606113816948635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_58_18_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/27/ce7871ec43da71314a1e6165e0d665ee.jpg","text":"TemporaryFile(/tmp/multipartBody8164160580371397777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222223972,"filename":"image_30102025_21_58_39_3806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364922","file1":"1396364921","file0":"1396364918","file4":"1396364924","file5":"1396364925","file3":"1396364923"},"map_files_photo_id_array":[{"photo_id":"1396364925","filename":"file5"},{"photo_id":"1396364922","filename":"file2"},{"photo_id":"1396364924","filename":"file4"},{"photo_id":"1396364921","filename":"file1"},{"photo_id":"1396364918","filename":"file0"},{"photo_id":"1396364923","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364925":["hashtag1","hashtag2"]},{"1396364922":["hashtag1","hashtag2"]},{"1396364921":["hashtag1","hashtag2"]},{"1396364924":["hashtag1","hashtag2"]},{"1396364918":["hashtag1","hashtag2"]},{"1396364923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364925, 1396364922, 1396364921, 1396364924, 1396364918, 1396364923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17171049118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:43:21.891577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/42/image_27112025_06_42_45_10629.jpg', '/home/pi/Desktop/images/27112025/06/42/image_27112025_06_43_04_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/42/image_27112025_06_42_45_10629.jpg
/home/pi/Desktop/images/27112025/06/42/image_27112025_06_43_04_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364933","1396364927"],"photo_ids_order":["1396364927","1396364933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/643c2f0571f2eef1b67018ac20b7de22.jpg","text":"TemporaryFile(/tmp/multipartBody6477888202169231784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222262473,"filename":"image_27112025_06_43_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bae47c9126fad9a5cb68613f8e1fd6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6802959476230791766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222262473,"filename":"image_27112025_06_42_45_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396364933","file0":"1396364927"},"map_files_photo_id_array":[{"photo_id":"1396364933","filename":"file1"},{"photo_id":"1396364927","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396364933":["hashtag1","hashtag2"]},{"1396364927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396364933, 1396364927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.55878472328186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:43:41.836278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/59/image_30102025_21_59_11_2553.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_15_3693.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_18_2814.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_20_2650.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_29_2681.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_32_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/21/59/image_30102025_21_59_11_2553.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_15_3693.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_18_2814.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_20_2650.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_29_2681.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_32_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364976","1396364979","1396364978","1396364981","1396364980","1396364974"],"photo_ids_order":["1396364974","1396364976","1396364978","1396364979","1396364980","1396364981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5663ee6401e3950bef8ee3d6ac6791d.jpg","text":"TemporaryFile(/tmp/multipartBody6529832071062575444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_15_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/27/751473c721098018e4b332cfdf576732.jpg","text":"TemporaryFile(/tmp/multipartBody6342119955955211931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_20_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/27/cdee2ac10431d7208e1f63ad43408fce.jpg","text":"TemporaryFile(/tmp/multipartBody7679723865896338281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_18_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/27/7cae96d89e49f52c70c4399e829be578.jpg","text":"TemporaryFile(/tmp/multipartBody5662586577157551400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_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/27/0fcbc6409170b0e74439e491e191536b.jpg","text":"TemporaryFile(/tmp/multipartBody8067337302754155883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_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/27/c176d967339061a96cc3daa11e3976fa.jpg","text":"TemporaryFile(/tmp/multipartBody8938282953354324370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222283179,"filename":"image_30102025_21_59_11_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364978","file1":"1396364976","file0":"1396364974","file4":"1396364980","file5":"1396364981","file3":"1396364979"},"map_files_photo_id_array":[{"photo_id":"1396364981","filename":"file5"},{"photo_id":"1396364978","filename":"file2"},{"photo_id":"1396364980","filename":"file4"},{"photo_id":"1396364976","filename":"file1"},{"photo_id":"1396364974","filename":"file0"},{"photo_id":"1396364979","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396364976":["hashtag1","hashtag2"]},{"1396364979":["hashtag1","hashtag2"]},{"1396364978":["hashtag1","hashtag2"]},{"1396364981":["hashtag1","hashtag2"]},{"1396364980":["hashtag1","hashtag2"]},{"1396364974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396364976, 1396364979, 1396364978, 1396364981, 1396364980, 1396364974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06706500053406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:44:21.989238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_33_10623.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_35_1711.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_36_1738.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_38_1642.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_41_2924.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_44_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_33_10623.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_35_1711.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_36_1738.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_38_1642.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_41_2924.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_44_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396364997","1396365000","1396365003","1396364990","1396364993","1396364986"],"photo_ids_order":["1396364986","1396364990","1396364993","1396364997","1396365000","1396365003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45b15951a85ebf62ba1bd86c0d919c35.jpg","text":"TemporaryFile(/tmp/multipartBody559499868874796653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_38_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/27/8e97e77eb143ed27fd02604d226746d9.jpg","text":"TemporaryFile(/tmp/multipartBody6553326750640726973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_41_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/27/928797882a78e193c1f6e34807c7cd18.jpg","text":"TemporaryFile(/tmp/multipartBody7880067430759224763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_44_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/27/f14f2cb76b9e50b7eb475409633564a1.jpg","text":"TemporaryFile(/tmp/multipartBody3450575545638193595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_35_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a25b5efa280e6548668b9d177cf74f0.jpg","text":"TemporaryFile(/tmp/multipartBody1631292101087710081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_36_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/27/d365018b5083a08e59f6cf32cfde5d16.jpg","text":"TemporaryFile(/tmp/multipartBody6442357609538213460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222323832,"filename":"image_21112025_19_51_33_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396364993","file1":"1396364990","file0":"1396364986","file4":"1396365000","file5":"1396365003","file3":"1396364997"},"map_files_photo_id_array":[{"photo_id":"1396365003","filename":"file5"},{"photo_id":"1396364993","filename":"file2"},{"photo_id":"1396365000","filename":"file4"},{"photo_id":"1396364990","filename":"file1"},{"photo_id":"1396364986","filename":"file0"},{"photo_id":"1396364997","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396364997":["hashtag1","hashtag2"]},{"1396365000":["hashtag1","hashtag2"]},{"1396365003":["hashtag1","hashtag2"]},{"1396364990":["hashtag1","hashtag2"]},{"1396364993":["hashtag1","hashtag2"]},{"1396364986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396364997, 1396365000, 1396365003, 1396364990, 1396364993, 1396364986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30387282371521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:45:12.125652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_46_1789.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_48_2512.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_51_2789.jpg', '/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_55_3604.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_07_3011.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_10_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_46_1789.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_48_2512.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_51_2789.jpg
/home/pi/Desktop/images/21112025/19/51/image_21112025_19_51_55_3604.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_07_3011.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_10_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365006","1396365017","1396365025","1396365028","1396365022","1396365019"],"photo_ids_order":["1396365006","1396365017","1396365019","1396365022","1396365025","1396365028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9527a4b1b103b8b682b097e45d4470f.jpg","text":"TemporaryFile(/tmp/multipartBody2368105736610567293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_51_46_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d66496ae6fe287e79985a742ac5d3ac.jpg","text":"TemporaryFile(/tmp/multipartBody7343710818621137643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_51_48_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/27/5530494a1e8174ab02294a3a1ec0c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody9120956661200357698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_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/27/8547784ea0aa9da33a0ef21b81d02527.jpg","text":"TemporaryFile(/tmp/multipartBody7470327649158547611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_53_10_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/27/4b1c5c9565fe4ffa4d94976be08d20bd.jpg","text":"TemporaryFile(/tmp/multipartBody8850039902876377018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_51_55_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/27/a19ebf0a97692a7addf13adefe68c6fd.jpg","text":"TemporaryFile(/tmp/multipartBody9038215162923842938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222373903,"filename":"image_21112025_19_51_51_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365019","file1":"1396365017","file0":"1396365006","file4":"1396365025","file5":"1396365028","file3":"1396365022"},"map_files_photo_id_array":[{"photo_id":"1396365028","filename":"file5"},{"photo_id":"1396365019","filename":"file2"},{"photo_id":"1396365025","filename":"file4"},{"photo_id":"1396365017","filename":"file1"},{"photo_id":"1396365006","filename":"file0"},{"photo_id":"1396365022","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365006":["hashtag1","hashtag2"]},{"1396365017":["hashtag1","hashtag2"]},{"1396365025":["hashtag1","hashtag2"]},{"1396365028":["hashtag1","hashtag2"]},{"1396365022":["hashtag1","hashtag2"]},{"1396365019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365006, 1396365017, 1396365025, 1396365028, 1396365022, 1396365019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06550359725952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:46:02.821066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/43/image_27112025_06_43_34_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/43/image_27112025_06_43_34_9825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365034"],"photo_id":"1396365034","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2252d106fb1fb324ef7f59f2ca81fc24.jpg","text":"TemporaryFile(/tmp/multipartBody5260970937660397975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222423384,"filename":"image_27112025_06_43_34_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396365034"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396365034"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.16628384590149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:46:22.337514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/45/image_27112025_06_45_24_9854.jpg', '/home/pi/Desktop/images/27112025/06/46/image_27112025_06_46_44_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/45/image_27112025_06_45_24_9854.jpg
/home/pi/Desktop/images/27112025/06/46/image_27112025_06_46_44_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365041","1396365038"],"photo_ids_order":["1396365038","1396365041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c73f8c924801d356e5c3678151861ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4445336869802773207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222442941,"filename":"image_27112025_06_46_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d9cc29e8bf78632cdc5bad88a51dec6.jpg","text":"TemporaryFile(/tmp/multipartBody1780422978175732061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222442941,"filename":"image_27112025_06_45_24_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396365041","file0":"1396365038"},"map_files_photo_id_array":[{"photo_id":"1396365041","filename":"file1"},{"photo_id":"1396365038","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396365041":["hashtag1","hashtag2"]},{"1396365038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396365041, 1396365038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.350988149642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:46:42.301167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/59/image_30102025_21_59_38_2574.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_41_3105.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_44_2611.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_47_3592.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_50_2722.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_53_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_38_2574.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_41_3105.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_44_2611.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_47_3592.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_50_2722.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_53_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365059","1396365056","1396365061","1396365052","1396365060","1396365063"],"photo_ids_order":["1396365052","1396365056","1396365059","1396365060","1396365061","1396365063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c9c587e475342f860b486923ebffa55.jpg","text":"TemporaryFile(/tmp/multipartBody2231277932974960900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_44_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/27/56981c854cfeccad4f81e4d87d31f87a.jpg","text":"TemporaryFile(/tmp/multipartBody3560449378578287912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_41_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/27/1c582616c33f3e60557048d77bf8719d.jpg","text":"TemporaryFile(/tmp/multipartBody8337955874004768619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_50_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/27/e70a1846f20cbf7d661aca5db7cd49b1.jpg","text":"TemporaryFile(/tmp/multipartBody4636179072105063605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_38_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/27/4beffbd1278e38529288a0d3edcf7650.jpg","text":"TemporaryFile(/tmp/multipartBody7941805439361179625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_47_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/27/92a06e70a3949a5e729ca92104730c5b.jpg","text":"TemporaryFile(/tmp/multipartBody191995495965436084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222463629,"filename":"image_30102025_21_59_53_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365059","file1":"1396365056","file0":"1396365052","file4":"1396365061","file5":"1396365063","file3":"1396365060"},"map_files_photo_id_array":[{"photo_id":"1396365063","filename":"file5"},{"photo_id":"1396365059","filename":"file2"},{"photo_id":"1396365061","filename":"file4"},{"photo_id":"1396365056","filename":"file1"},{"photo_id":"1396365052","filename":"file0"},{"photo_id":"1396365060","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396365059":["hashtag1","hashtag2"]},{"1396365056":["hashtag1","hashtag2"]},{"1396365061":["hashtag1","hashtag2"]},{"1396365052":["hashtag1","hashtag2"]},{"1396365060":["hashtag1","hashtag2"]},{"1396365063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396365059, 1396365056, 1396365061, 1396365052, 1396365060, 1396365063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41600847244263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:47:22.439283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/46/image_27112025_06_46_55_10860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/46/image_27112025_06_46_55_10860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365066"],"photo_id":"1396365066","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/594e88a7c07dab8873b525dacfaeb0b4.jpg","text":"TemporaryFile(/tmp/multipartBody5970855560517411649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222502983,"filename":"image_27112025_06_46_55_10860.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396365066"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396365066"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.833899021148682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:47:42.578766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/21/59/image_30102025_21_59_57_3641.jpg', '/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_59_2800.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_07_3012.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_11_3688.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_13_2635.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_16_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_57_3641.jpg
/home/pi/Desktop/images/30102025/21/59/image_30102025_21_59_59_2800.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_07_3012.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_11_3688.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_13_2635.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_16_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365101","1396365097","1396365082","1396365076","1396365099","1396365103"],"photo_ids_order":["1396365076","1396365082","1396365097","1396365099","1396365101","1396365103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bed6759348a12e606e7bdbf0668caf6.jpg","text":"TemporaryFile(/tmp/multipartBody6203313368625102932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_22_00_13_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/27/bf60ba5826af8ecc0102943b31a49e25.jpg","text":"TemporaryFile(/tmp/multipartBody1293253232301307403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_22_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/27/3ef81377ea60abff8133dd10b66bfe98.jpg","text":"TemporaryFile(/tmp/multipartBody2680698271190480222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_21_59_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/27/fde83e933bf8d8c939e9387f2153fccf.jpg","text":"TemporaryFile(/tmp/multipartBody1459059551104362759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_21_59_57_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/27/082063466a57dbac96c54ae7fc069f55.jpg","text":"TemporaryFile(/tmp/multipartBody101810250870315140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_22_00_11_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/27/57db58011ad7286c2ccb6e9f43b76f36.jpg","text":"TemporaryFile(/tmp/multipartBody7018015974739803307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222523956,"filename":"image_30102025_22_00_16_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365097","file1":"1396365082","file0":"1396365076","file4":"1396365101","file5":"1396365103","file3":"1396365099"},"map_files_photo_id_array":[{"photo_id":"1396365103","filename":"file5"},{"photo_id":"1396365097","filename":"file2"},{"photo_id":"1396365101","filename":"file4"},{"photo_id":"1396365082","filename":"file1"},{"photo_id":"1396365076","filename":"file0"},{"photo_id":"1396365099","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396365101":["hashtag1","hashtag2"]},{"1396365097":["hashtag1","hashtag2"]},{"1396365082":["hashtag1","hashtag2"]},{"1396365076":["hashtag1","hashtag2"]},{"1396365099":["hashtag1","hashtag2"]},{"1396365103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396365101, 1396365097, 1396365082, 1396365076, 1396365099, 1396365103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28500843048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:48:22.735316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/47/image_27112025_06_47_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/47/image_27112025_06_47_54_9611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44522762298583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:48:32.755808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_16_2857.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_20_3725.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_22_2551.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_25_2600.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_34_2605.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_38_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_16_2857.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_20_3725.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_22_2551.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_25_2600.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_34_2605.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_38_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365123","1396365122","1396365112","1396365121","1396365115","1396365118"],"photo_ids_order":["1396365112","1396365115","1396365118","1396365121","1396365122","1396365123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68fe13fd08a85f6afcb0c4ba7a8e5e51.jpg","text":"TemporaryFile(/tmp/multipartBody3429578794314075412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_38_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/27/0666e07a37ef570b6798f561fe1a619a.jpg","text":"TemporaryFile(/tmp/multipartBody4198457611856673008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_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/27/1b757c6988cd5b149bc0bbecb47cc2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1895606221138482351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_16_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/27/740d08cfcbc4e3c02c5e22834755784d.jpg","text":"TemporaryFile(/tmp/multipartBody2570261836034199238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_25_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/27/b649630326cf4f675a57c7d9308915ea.jpg","text":"TemporaryFile(/tmp/multipartBody4414113513933758349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_20_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/27/7aa86e06979faface9b50cae4e006852.jpg","text":"TemporaryFile(/tmp/multipartBody5918937249953779992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222574613,"filename":"image_21112025_19_53_22_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365118","file1":"1396365115","file0":"1396365112","file4":"1396365122","file5":"1396365123","file3":"1396365121"},"map_files_photo_id_array":[{"photo_id":"1396365123","filename":"file5"},{"photo_id":"1396365118","filename":"file2"},{"photo_id":"1396365122","filename":"file4"},{"photo_id":"1396365115","filename":"file1"},{"photo_id":"1396365112","filename":"file0"},{"photo_id":"1396365121","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365123":["hashtag1","hashtag2"]},{"1396365122":["hashtag1","hashtag2"]},{"1396365112":["hashtag1","hashtag2"]},{"1396365121":["hashtag1","hashtag2"]},{"1396365115":["hashtag1","hashtag2"]},{"1396365118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365123, 1396365122, 1396365112, 1396365121, 1396365115, 1396365118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02438831329346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:49:11.926234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_40_2659.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_43_2557.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_47_3792.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_49_2041.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_52_3808.jpg', '/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_55_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_40_2659.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_43_2557.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_47_3792.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_49_2041.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_52_3808.jpg
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_55_2878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365138","1396365132","1396365131","1396365142","1396365145","1396365135"],"photo_ids_order":["1396365131","1396365132","1396365135","1396365138","1396365142","1396365145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e08c2fb3ca0738bf9ea24a009a06a05d.jpg","text":"TemporaryFile(/tmp/multipartBody1328702293038789534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_49_2041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1565c5d3c171afa02a46d57f3cf7dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody1895049008644146636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_43_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/27/7fbf6306e4c8994a113083312a0da7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4479656997967516026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_40_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/27/556dc69fae0aa47580a668fca103ba92.jpg","text":"TemporaryFile(/tmp/multipartBody2187387557862327637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_52_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/27/1b2f7a4f3582c67733ef28a74156c456.jpg","text":"TemporaryFile(/tmp/multipartBody342382664701343135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_55_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/27/c60137235e0197b75e73651884ce3ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4097705524707986447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222613683,"filename":"image_21112025_19_53_47_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365135","file1":"1396365132","file0":"1396365131","file4":"1396365142","file5":"1396365145","file3":"1396365138"},"map_files_photo_id_array":[{"photo_id":"1396365145","filename":"file5"},{"photo_id":"1396365135","filename":"file2"},{"photo_id":"1396365142","filename":"file4"},{"photo_id":"1396365132","filename":"file1"},{"photo_id":"1396365131","filename":"file0"},{"photo_id":"1396365138","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365138":["hashtag1","hashtag2"]},{"1396365132":["hashtag1","hashtag2"]},{"1396365131":["hashtag1","hashtag2"]},{"1396365142":["hashtag1","hashtag2"]},{"1396365145":["hashtag1","hashtag2"]},{"1396365135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365138, 1396365132, 1396365131, 1396365142, 1396365145, 1396365135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09717059135437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:50:02.723589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/47/image_27112025_06_47_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/47/image_27112025_06_47_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365150"],"photo_id":"1396365150","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/845a88c703eef5f0d44c6519e7d52ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1363227604498403391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222663280,"filename":"image_27112025_06_47_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396365150"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396365150"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.047319412231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:50:22.201322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_58_2790.jpg', '/home/pi/Desktop/images/21112025/19/54/image_21112025_19_54_01_2572.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_06_3016.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_10_3780.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_14_4041.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_16_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/53/image_21112025_19_53_58_2790.jpg
/home/pi/Desktop/images/21112025/19/54/image_21112025_19_54_01_2572.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_06_3016.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_10_3780.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_14_4041.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_16_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365170","1396365160","1396365163","1396365157","1396365166","1396365154"],"photo_ids_order":["1396365154","1396365157","1396365160","1396365163","1396365166","1396365170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5947c0c68526af33c21545e5f49df663.jpg","text":"TemporaryFile(/tmp/multipartBody1641580309827072564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_55_16_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/27/6161ec4da47ae72cc3fe2910e222966e.jpg","text":"TemporaryFile(/tmp/multipartBody1488200471713967285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_55_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/27/8f16b071f3b96f2cdaec7a64a0dce490.jpg","text":"TemporaryFile(/tmp/multipartBody1343904674305317281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_55_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/27/1f214a89fd2cb53b12eb7adce2b62864.jpg","text":"TemporaryFile(/tmp/multipartBody1666049990479804877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_54_01_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/27/4698fb2468f4ec256570a6d4be11747d.jpg","text":"TemporaryFile(/tmp/multipartBody9184705247318111900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_55_14_4041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86b6414d78796fae7af1950beb945498.jpg","text":"TemporaryFile(/tmp/multipartBody3485296076334878592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222684056,"filename":"image_21112025_19_53_58_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365160","file1":"1396365157","file0":"1396365154","file4":"1396365166","file5":"1396365170","file3":"1396365163"},"map_files_photo_id_array":[{"photo_id":"1396365170","filename":"file5"},{"photo_id":"1396365160","filename":"file2"},{"photo_id":"1396365166","filename":"file4"},{"photo_id":"1396365157","filename":"file1"},{"photo_id":"1396365154","filename":"file0"},{"photo_id":"1396365163","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365170":["hashtag1","hashtag2"]},{"1396365160":["hashtag1","hashtag2"]},{"1396365163":["hashtag1","hashtag2"]},{"1396365157":["hashtag1","hashtag2"]},{"1396365166":["hashtag1","hashtag2"]},{"1396365154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365170, 1396365160, 1396365163, 1396365157, 1396365166, 1396365154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75936579704285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:51:02.989049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_18_2575.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_22_3673.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_25_2892.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_27_2555.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_31_3653.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_34_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_18_2575.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_22_3673.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_25_2892.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_27_2555.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_31_3653.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_34_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365191","1396365199","1396365193","1396365192","1396365171","1396365195"],"photo_ids_order":["1396365171","1396365191","1396365192","1396365193","1396365195","1396365199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2453fbb513c3b857b300447fff9fbd73.jpg","text":"TemporaryFile(/tmp/multipartBody2702181904246314378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_22_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/27/23b4f00e1253871c084cbb4f52d4da0a.jpg","text":"TemporaryFile(/tmp/multipartBody2696836240759088279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_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/27/7b2fac7ac90cc9cc16239feae3c52db6.jpg","text":"TemporaryFile(/tmp/multipartBody7241152918296429099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_27_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/27/26916fa74bd348a91080251cee952a64.jpg","text":"TemporaryFile(/tmp/multipartBody2719480604911744760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_25_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25b43fb99d96e23e4d612856af11a956.jpg","text":"TemporaryFile(/tmp/multipartBody42321703125601483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_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/27/0c542d5f7335d740e2ec19cf32f1a746.jpg","text":"TemporaryFile(/tmp/multipartBody1355763257996638435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222724259,"filename":"image_21112025_19_55_31_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365192","file1":"1396365191","file0":"1396365171","file4":"1396365195","file5":"1396365199","file3":"1396365193"},"map_files_photo_id_array":[{"photo_id":"1396365199","filename":"file5"},{"photo_id":"1396365192","filename":"file2"},{"photo_id":"1396365195","filename":"file4"},{"photo_id":"1396365191","filename":"file1"},{"photo_id":"1396365171","filename":"file0"},{"photo_id":"1396365193","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365191":["hashtag1","hashtag2"]},{"1396365199":["hashtag1","hashtag2"]},{"1396365193":["hashtag1","hashtag2"]},{"1396365192":["hashtag1","hashtag2"]},{"1396365171":["hashtag1","hashtag2"]},{"1396365195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365191, 1396365199, 1396365193, 1396365192, 1396365171, 1396365195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05656933784485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:51:42.375449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/00/image_30102025_22_00_25_2689.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_34_2790.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_38_3648.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_41_2714.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_47_3688.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_49_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_25_2689.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_34_2790.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_38_3648.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_41_2714.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_47_3688.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_49_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365293","1396365219","1396365210","1396365207","1396365248","1396365209"],"photo_ids_order":["1396365207","1396365209","1396365210","1396365219","1396365248","1396365293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/102690ee887a600d71fd930174e5d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7916403281882864027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_49_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/27/a6e3c4419e7ab39c6efd45aa2b5ae19b.jpg","text":"TemporaryFile(/tmp/multipartBody1580676289528005027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_41_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/27/bf3bca00163491daae756efa1f6fac74.jpg","text":"TemporaryFile(/tmp/multipartBody1900986549807897445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_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/27/741354f76e20ac6e4854e1c35aa6741a.jpg","text":"TemporaryFile(/tmp/multipartBody1655881817668544287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_25_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/27/d64e4cb2717063f8d73ddc791a928192.jpg","text":"TemporaryFile(/tmp/multipartBody5448176327073277343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_47_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/27/fab2b5fb56d1ee5392cd5a4305d82d19.jpg","text":"TemporaryFile(/tmp/multipartBody3566022660269998968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222763713,"filename":"image_30102025_22_00_34_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365210","file1":"1396365209","file0":"1396365207","file4":"1396365248","file5":"1396365293","file3":"1396365219"},"map_files_photo_id_array":[{"photo_id":"1396365293","filename":"file5"},{"photo_id":"1396365210","filename":"file2"},{"photo_id":"1396365248","filename":"file4"},{"photo_id":"1396365209","filename":"file1"},{"photo_id":"1396365207","filename":"file0"},{"photo_id":"1396365219","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396365293":["hashtag1","hashtag2"]},{"1396365219":["hashtag1","hashtag2"]},{"1396365210":["hashtag1","hashtag2"]},{"1396365207":["hashtag1","hashtag2"]},{"1396365248":["hashtag1","hashtag2"]},{"1396365209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396365293, 1396365219, 1396365210, 1396365207, 1396365248, 1396365209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.635213136672974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 06:52:22.541428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_36_2684.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_39_2890.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_43_4010.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_46_2567.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_49_2782.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_51_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_36_2684.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_39_2890.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_43_4010.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_46_2567.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_49_2782.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_51_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365411","1396365397","1396365415","1396365418","1396365406","1396365409"],"photo_ids_order":["1396365397","1396365406","1396365409","1396365411","1396365415","1396365418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bb60914542bf7b9144b56d72486a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody8193990459289397768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_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/27/b68b837064897f1a68a833f4c331deae.jpg","text":"TemporaryFile(/tmp/multipartBody1123934845216151458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_36_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/27/90126152a3751da28c0bc44313092236.jpg","text":"TemporaryFile(/tmp/multipartBody6928158880914846434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_49_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/27/8bade5bffa56befd900d0d506b81b4d2.jpg","text":"TemporaryFile(/tmp/multipartBody8764303278035054194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_51_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/27/87aac74a881e0ceb43a2f441b8fda7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3292043372635163400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_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/27/94cc6e58147b245ff03551565d3e5e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4866394533178603708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222804391,"filename":"image_21112025_19_55_43_4010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365409","file1":"1396365406","file0":"1396365397","file4":"1396365415","file5":"1396365418","file3":"1396365411"},"map_files_photo_id_array":[{"photo_id":"1396365418","filename":"file5"},{"photo_id":"1396365409","filename":"file2"},{"photo_id":"1396365415","filename":"file4"},{"photo_id":"1396365406","filename":"file1"},{"photo_id":"1396365397","filename":"file0"},{"photo_id":"1396365411","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365411":["hashtag1","hashtag2"]},{"1396365397":["hashtag1","hashtag2"]},{"1396365415":["hashtag1","hashtag2"]},{"1396365418":["hashtag1","hashtag2"]},{"1396365406":["hashtag1","hashtag2"]},{"1396365409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365411, 1396365397, 1396365415, 1396365418, 1396365406, 1396365409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64494609832764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:53:03.498859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_55_3672.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_58_2685.jpg', '/home/pi/Desktop/images/21112025/19/55/image_21112025_19_56_00_2837.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_04_3201.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_06_2736.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_10_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_55_3672.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_55_58_2685.jpg
/home/pi/Desktop/images/21112025/19/55/image_21112025_19_56_00_2837.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_04_3201.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_06_2736.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_10_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365429","1396365420","1396365422","1396365421","1396365424","1396365426"],"photo_ids_order":["1396365420","1396365421","1396365422","1396365424","1396365426","1396365429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1fef67f1d51e798b118bd9bd34e70737.jpg","text":"TemporaryFile(/tmp/multipartBody2687385386723068070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_56_10_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/27/80f1ccd001c3e153254ac16f882c4871.jpg","text":"TemporaryFile(/tmp/multipartBody5400174617674275385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_55_55_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/27/1a50871cb3bd30282283d69541ea2cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8375735584560166497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_56_00_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/27/555cf00f7d215ac76a6d49a3c37ed8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8758216745788132059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_55_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/27/d7f598a3849e2ecfe578ffd3a5045b11.jpg","text":"TemporaryFile(/tmp/multipartBody5045811204203725144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_56_04_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/143cf9730030570ef84f01ea944ee119.jpg","text":"TemporaryFile(/tmp/multipartBody9176330602409818419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222844785,"filename":"image_21112025_19_56_06_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365422","file1":"1396365421","file0":"1396365420","file4":"1396365426","file5":"1396365429","file3":"1396365424"},"map_files_photo_id_array":[{"photo_id":"1396365429","filename":"file5"},{"photo_id":"1396365422","filename":"file2"},{"photo_id":"1396365426","filename":"file4"},{"photo_id":"1396365421","filename":"file1"},{"photo_id":"1396365420","filename":"file0"},{"photo_id":"1396365424","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365429":["hashtag1","hashtag2"]},{"1396365420":["hashtag1","hashtag2"]},{"1396365422":["hashtag1","hashtag2"]},{"1396365421":["hashtag1","hashtag2"]},{"1396365424":["hashtag1","hashtag2"]},{"1396365426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365429, 1396365420, 1396365422, 1396365421, 1396365424, 1396365426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670671463012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 06:53:42.790054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/00/image_30102025_22_00_52_2702.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_56_3749.jpg', '/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_59_2725.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_01_2684.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_07_2864.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_12_5038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_52_2702.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_56_3749.jpg
/home/pi/Desktop/images/30102025/22/00/image_30102025_22_00_59_2725.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_01_2684.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_07_2864.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_12_5038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365441","1396365438","1396365443","1396365440","1396365442","1396365445"],"photo_ids_order":["1396365438","1396365440","1396365441","1396365442","1396365443","1396365445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/888ede0e8849c725b507b8c45e10ed99.jpg","text":"TemporaryFile(/tmp/multipartBody6767575701356781923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_00_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/27/0d16e61ea23e094f886227da02a9948b.jpg","text":"TemporaryFile(/tmp/multipartBody8454392437529038189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_00_52_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/27/81d1748eb765a02894a325647ee75f12.jpg","text":"TemporaryFile(/tmp/multipartBody5056873660678014575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_01_07_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/27/53e34dce2890800e5cdc223427e2c4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2604274393999152396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_00_56_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/27/e09407a527021623bdd5ab2eb483c79e.jpg","text":"TemporaryFile(/tmp/multipartBody1772013451157749514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_01_01_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/27/c41664c47b351812dc020e0c2ea49862.jpg","text":"TemporaryFile(/tmp/multipartBody9056781586169589426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222884103,"filename":"image_30102025_22_01_12_5038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365441","file1":"1396365440","file0":"1396365438","file4":"1396365443","file5":"1396365445","file3":"1396365442"},"map_files_photo_id_array":[{"photo_id":"1396365445","filename":"file5"},{"photo_id":"1396365441","filename":"file2"},{"photo_id":"1396365443","filename":"file4"},{"photo_id":"1396365440","filename":"file1"},{"photo_id":"1396365438","filename":"file0"},{"photo_id":"1396365442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396365441":["hashtag1","hashtag2"]},{"1396365438":["hashtag1","hashtag2"]},{"1396365443":["hashtag1","hashtag2"]},{"1396365440":["hashtag1","hashtag2"]},{"1396365442":["hashtag1","hashtag2"]},{"1396365445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396365441, 1396365438, 1396365443, 1396365440, 1396365442, 1396365445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82941007614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:54:31.960130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_13_2516.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_16_3595.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_19_2735.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_21_2505.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_24_2777.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_28_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_13_2516.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_16_3595.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_19_2735.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_21_2505.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_24_2777.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_28_3677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365461","1396365470","1396365458","1396365466","1396365454","1396365468"],"photo_ids_order":["1396365454","1396365458","1396365461","1396365466","1396365468","1396365470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5c8a5530692af51031cc2ddf0f122f4.jpg","text":"TemporaryFile(/tmp/multipartBody1273596350311353060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_19_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/27/286ee203151f05c4bc70137117b17a19.jpg","text":"TemporaryFile(/tmp/multipartBody3098314658076607073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_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/27/3a854b0a098d29e299074115bcd75da3.jpg","text":"TemporaryFile(/tmp/multipartBody210505859782920891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_16_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/27/74f2c85cc552fc7416109f8d0a6af800.jpg","text":"TemporaryFile(/tmp/multipartBody1438420195267862153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_21_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/27/99968a576e69817ebba1a7198d245e95.jpg","text":"TemporaryFile(/tmp/multipartBody105455106877746237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_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/27/1619079e36274a41c3ad95b10caf93db.jpg","text":"TemporaryFile(/tmp/multipartBody8760691550109896741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222933868,"filename":"image_21112025_19_56_24_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365461","file1":"1396365458","file0":"1396365454","file4":"1396365468","file5":"1396365470","file3":"1396365466"},"map_files_photo_id_array":[{"photo_id":"1396365470","filename":"file5"},{"photo_id":"1396365461","filename":"file2"},{"photo_id":"1396365468","filename":"file4"},{"photo_id":"1396365458","filename":"file1"},{"photo_id":"1396365454","filename":"file0"},{"photo_id":"1396365466","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365461":["hashtag1","hashtag2"]},{"1396365470":["hashtag1","hashtag2"]},{"1396365458":["hashtag1","hashtag2"]},{"1396365466":["hashtag1","hashtag2"]},{"1396365454":["hashtag1","hashtag2"]},{"1396365468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365461, 1396365470, 1396365458, 1396365466, 1396365454, 1396365468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.165719985961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:55:12.200776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_45_17061.jpg', '/home/pi/Desktop/images/21112025/19/56/image_21112025_19_57_00_14661.jpg', '/home/pi/Desktop/images/21112025/19/57/image_21112025_19_57_01_1567.jpg', '/home/pi/Desktop/images/21112025/19/57/image_21112025_19_57_03_1689.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_07_3019.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_11_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_56_45_17061.jpg
/home/pi/Desktop/images/21112025/19/56/image_21112025_19_57_00_14661.jpg
/home/pi/Desktop/images/21112025/19/57/image_21112025_19_57_01_1567.jpg
/home/pi/Desktop/images/21112025/19/57/image_21112025_19_57_03_1689.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_07_3019.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_11_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365484","1396365487","1396365472","1396365480","1396365477","1396365474"],"photo_ids_order":["1396365472","1396365474","1396365477","1396365480","1396365484","1396365487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43cd938c293345af058a7900362b2bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3678542156031959950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_58_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/27/0bdb692976c791773eb2adb93f73564f.jpg","text":"TemporaryFile(/tmp/multipartBody5686368070881646791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_58_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/27/cbb04e8e1a430eff2b9dff50c266947a.jpg","text":"TemporaryFile(/tmp/multipartBody3138563450423385891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_56_45_17061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d93af31af8a4602ac20b3b339d13b22.jpg","text":"TemporaryFile(/tmp/multipartBody837732306968336731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_57_03_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/27/765b621bce37da0624744b48ba8beebb.jpg","text":"TemporaryFile(/tmp/multipartBody7832811148378673235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_57_01_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/27/bfa61144b1cd30465e9ab0df72ce1e40.jpg","text":"TemporaryFile(/tmp/multipartBody6918287261146289354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764222973954,"filename":"image_21112025_19_57_00_14661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365477","file1":"1396365474","file0":"1396365472","file4":"1396365484","file5":"1396365487","file3":"1396365480"},"map_files_photo_id_array":[{"photo_id":"1396365487","filename":"file5"},{"photo_id":"1396365477","filename":"file2"},{"photo_id":"1396365484","filename":"file4"},{"photo_id":"1396365474","filename":"file1"},{"photo_id":"1396365472","filename":"file0"},{"photo_id":"1396365480","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365484":["hashtag1","hashtag2"]},{"1396365487":["hashtag1","hashtag2"]},{"1396365472":["hashtag1","hashtag2"]},{"1396365480":["hashtag1","hashtag2"]},{"1396365477":["hashtag1","hashtag2"]},{"1396365474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365484, 1396365487, 1396365472, 1396365480, 1396365477, 1396365474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59818696975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:56:02.821130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/48/image_27112025_06_48_14_9740.jpg', '/home/pi/Desktop/images/27112025/06/53/image_27112025_06_53_34_9792.jpg', '/home/pi/Desktop/images/27112025/06/53/image_27112025_06_53_44_9799.jpg', '/home/pi/Desktop/images/27112025/06/54/image_27112025_06_54_35_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/48/image_27112025_06_48_14_9740.jpg
/home/pi/Desktop/images/27112025/06/53/image_27112025_06_53_34_9792.jpg
/home/pi/Desktop/images/27112025/06/53/image_27112025_06_53_44_9799.jpg
/home/pi/Desktop/images/27112025/06/54/image_27112025_06_54_35_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365497","1396365499","1396365493","1396365495"],"photo_ids_order":["1396365493","1396365495","1396365497","1396365499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f8a3bbb5df1d6c2ea4873f5c83157e0.jpg","text":"TemporaryFile(/tmp/multipartBody7999743718949871800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223023532,"filename":"image_27112025_06_53_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ea294fabf1fd3eb6613fdf04694a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody247771292917101755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223023532,"filename":"image_27112025_06_54_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35975cd1c05686eaf9b0911cc6d21a71.jpg","text":"TemporaryFile(/tmp/multipartBody6811960044104456225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223023532,"filename":"image_27112025_06_48_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/466aa9351e71a0faaed19ff574e600e9.jpg","text":"TemporaryFile(/tmp/multipartBody3147038963061276667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223023532,"filename":"image_27112025_06_53_34_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365497","file1":"1396365495","file0":"1396365493","file3":"1396365499"},"map_files_photo_id_array":[{"photo_id":"1396365497","filename":"file2"},{"photo_id":"1396365495","filename":"file1"},{"photo_id":"1396365493","filename":"file0"},{"photo_id":"1396365499","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396365497":["hashtag1","hashtag2"]},{"1396365499":["hashtag1","hashtag2"]},{"1396365493":["hashtag1","hashtag2"]},{"1396365495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396365497, 1396365499, 1396365493, 1396365495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.066827297210693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:56:32.525787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_13_2746.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_16_2643.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_20_3677.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_22_2669.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_25_2669.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_29_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_13_2746.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_16_2643.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_20_3677.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_22_2669.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_25_2669.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_29_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":["1396365507","1396365516","1396365510","1396365512","1396365515","1396365514"],"photo_ids_order":["1396365507","1396365510","1396365512","1396365514","1396365515","1396365516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cac62fcdaf8d44cdc6bce8040961991d.jpg","text":"TemporaryFile(/tmp/multipartBody2274571660401735723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_13_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/27/c97d5324069dac60a03d55b6bd27ab9d.jpg","text":"TemporaryFile(/tmp/multipartBody9172108191854780011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_29_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/27/f44d5f7d5804823caa3097404d567b19.jpg","text":"TemporaryFile(/tmp/multipartBody5628734834412301581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_16_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/27/f407ea8a94583bde6e55e65b696c4179.jpg","text":"TemporaryFile(/tmp/multipartBody6290343880370189675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_20_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/27/ecdf68ededd916b87f1f65c2b7bff918.jpg","text":"TemporaryFile(/tmp/multipartBody5113227641639619159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_25_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/27/1b14e534fc706940200e389dc98fae5b.jpg","text":"TemporaryFile(/tmp/multipartBody1177090312467421207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223054533,"filename":"image_21112025_19_58_22_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365512","file1":"1396365510","file0":"1396365507","file4":"1396365515","file5":"1396365516","file3":"1396365514"},"map_files_photo_id_array":[{"photo_id":"1396365516","filename":"file5"},{"photo_id":"1396365512","filename":"file2"},{"photo_id":"1396365515","filename":"file4"},{"photo_id":"1396365510","filename":"file1"},{"photo_id":"1396365507","filename":"file0"},{"photo_id":"1396365514","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365507":["hashtag1","hashtag2"]},{"1396365516":["hashtag1","hashtag2"]},{"1396365510":["hashtag1","hashtag2"]},{"1396365512":["hashtag1","hashtag2"]},{"1396365515":["hashtag1","hashtag2"]},{"1396365514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365507, 1396365516, 1396365510, 1396365512, 1396365515, 1396365514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99057984352112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:57:12.682896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_31_2609.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_40_9167.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_42_1658.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_44_1657.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_45_1591.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_47_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_31_2609.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_40_9167.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_42_1658.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_44_1657.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_45_1591.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_47_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365534","1396365528","1396365536","1396365524","1396365521","1396365531"],"photo_ids_order":["1396365521","1396365524","1396365528","1396365531","1396365534","1396365536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7239c34e474f86f7cab75e72ded4eb52.jpg","text":"TemporaryFile(/tmp/multipartBody3211779064245850979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_45_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/27/1a467d999417efd1af4f67a326c042dc.jpg","text":"TemporaryFile(/tmp/multipartBody1018253364151236706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_42_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/27/5fb9fa5e4067faedf0a1298aaa3d4c32.jpg","text":"TemporaryFile(/tmp/multipartBody6131082435761147168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_47_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/27/6dde2b7832002ed5b5b323a553ff0570.jpg","text":"TemporaryFile(/tmp/multipartBody4619730364480222478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_40_9167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c580608a5de0298a4a81f835b7b01b78.jpg","text":"TemporaryFile(/tmp/multipartBody6800150198700088290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_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/27/a30ffec291a116bb38e4b7162ce229fc.jpg","text":"TemporaryFile(/tmp/multipartBody1014014711028263290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223094429,"filename":"image_21112025_19_58_44_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365528","file1":"1396365524","file0":"1396365521","file4":"1396365534","file5":"1396365536","file3":"1396365531"},"map_files_photo_id_array":[{"photo_id":"1396365536","filename":"file5"},{"photo_id":"1396365528","filename":"file2"},{"photo_id":"1396365534","filename":"file4"},{"photo_id":"1396365524","filename":"file1"},{"photo_id":"1396365521","filename":"file0"},{"photo_id":"1396365531","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396365534":["hashtag1","hashtag2"]},{"1396365528":["hashtag1","hashtag2"]},{"1396365536":["hashtag1","hashtag2"]},{"1396365524":["hashtag1","hashtag2"]},{"1396365521":["hashtag1","hashtag2"]},{"1396365531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396365534, 1396365528, 1396365536, 1396365524, 1396365521, 1396365531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94807767868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 06:59:03.084514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/54/image_27112025_06_54_54_9686.jpg', '/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_14_10622.jpg', '/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_25_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/54/image_27112025_06_54_54_9686.jpg
/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_14_10622.jpg
/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_25_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396365600","1396365677","1396365639"],"photo_ids_order":["1396365600","1396365639","1396365677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9f15141dd506b8522b6930797da408b.jpg","text":"TemporaryFile(/tmp/multipartBody7252794529633512823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223203918,"filename":"image_27112025_06_54_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e62eefbfd0a2a4ff7ac1bbdd69d3bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5913048832278364413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223203918,"filename":"image_27112025_06_58_25_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a812cee60326db094c67168131e50605.jpg","text":"TemporaryFile(/tmp/multipartBody778873824172720017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223203918,"filename":"image_27112025_06_58_14_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365677","file1":"1396365639","file0":"1396365600"},"map_files_photo_id_array":[{"photo_id":"1396365677","filename":"file2"},{"photo_id":"1396365639","filename":"file1"},{"photo_id":"1396365600","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396365600":["hashtag1","hashtag2"]},{"1396365677":["hashtag1","hashtag2"]},{"1396365639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396365600, 1396365677, 1396365639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.76492214202881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 06:59:32.112178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_50_2586.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_52_2611.jpg', '/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_55_2704.jpg', '/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_11_3672.jpg', '/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_14_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_50_2586.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_52_2611.jpg
/home/pi/Desktop/images/21112025/19/58/image_21112025_19_58_55_2704.jpg
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_07_3011.jpg
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_11_3672.jpg
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_14_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366028","1396365959","1396365851","1396365923","1396365994","1396365889"],"photo_ids_order":["1396365851","1396365889","1396365923","1396365959","1396365994","1396366028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f89ffc6abaed279690da4fc35fd704b9.jpg","text":"TemporaryFile(/tmp/multipartBody6123187298338418795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_20_00_14_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/27/e22a62b3e31b55d484205789e86fdcc0.jpg","text":"TemporaryFile(/tmp/multipartBody4012488133699382887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_20_00_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/27/1c7bc69c62c979432218818d065bd252.jpg","text":"TemporaryFile(/tmp/multipartBody3692162567367146312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_19_58_50_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/27/ed39babee3c8f1c987c7e4408bba9a8d.jpg","text":"TemporaryFile(/tmp/multipartBody799858123817388268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_19_58_55_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/27/dd8cdfa492c0ff766c63d2af9d074be0.jpg","text":"TemporaryFile(/tmp/multipartBody5550431645717075676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_20_00_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/27/b5f87b29abc149ed436f07c7a9b719bb.jpg","text":"TemporaryFile(/tmp/multipartBody7325641722986281570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223233969,"filename":"image_21112025_19_58_52_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396365923","file1":"1396365889","file0":"1396365851","file4":"1396365994","file5":"1396366028","file3":"1396365959"},"map_files_photo_id_array":[{"photo_id":"1396366028","filename":"file5"},{"photo_id":"1396365923","filename":"file2"},{"photo_id":"1396365994","filename":"file4"},{"photo_id":"1396365889","filename":"file1"},{"photo_id":"1396365851","filename":"file0"},{"photo_id":"1396365959","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396366028":["hashtag1","hashtag2"]},{"1396365959":["hashtag1","hashtag2"]},{"1396365851":["hashtag1","hashtag2"]},{"1396365923":["hashtag1","hashtag2"]},{"1396365994":["hashtag1","hashtag2"]},{"1396365889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396366028, 1396365959, 1396365851, 1396365923, 1396365994, 1396365889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91621017456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:00:12.250599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_17_3698.jpg', '/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_20_2619.jpg', '/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_23_2702.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_07_3012.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_11_3593.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_17_3698.jpg
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_20_2619.jpg
/home/pi/Desktop/images/21112025/20/00/image_21112025_20_00_23_2702.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_07_3012.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_11_3593.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_13_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366178","1396366121","1396366099","1396366138","1396366108","1396366125"],"photo_ids_order":["1396366099","1396366108","1396366121","1396366125","1396366138","1396366178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba34ef0d9ba56aa63725805634ea746d.jpg","text":"TemporaryFile(/tmp/multipartBody2821554771596947740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_02_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/27/ad9f666ded1377639a79db9573331ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1585342490878118557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_00_23_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/27/f1b53299d443117a4aec37a6d7bc0351.jpg","text":"TemporaryFile(/tmp/multipartBody7922788581246666866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_00_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/27/06e701922e1dc76644459441c2914b52.jpg","text":"TemporaryFile(/tmp/multipartBody7917466359213068641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_02_11_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/27/addc8fbeff0fc4081af5c4b680e3d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody5950048059744406947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_00_20_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/27/6350704fc997b5224bfda911634cf9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7600812816798091962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223274041,"filename":"image_21112025_20_02_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396366121","file1":"1396366108","file0":"1396366099","file4":"1396366138","file5":"1396366178","file3":"1396366125"},"map_files_photo_id_array":[{"photo_id":"1396366178","filename":"file5"},{"photo_id":"1396366121","filename":"file2"},{"photo_id":"1396366138","filename":"file4"},{"photo_id":"1396366108","filename":"file1"},{"photo_id":"1396366099","filename":"file0"},{"photo_id":"1396366125","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396366178":["hashtag1","hashtag2"]},{"1396366121":["hashtag1","hashtag2"]},{"1396366099":["hashtag1","hashtag2"]},{"1396366138":["hashtag1","hashtag2"]},{"1396366108":["hashtag1","hashtag2"]},{"1396366125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396366178, 1396366121, 1396366099, 1396366138, 1396366108, 1396366125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5556743144989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:01:03.091273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_55_9686.jpg', '/home/pi/Desktop/images/27112025/06/59/image_27112025_06_59_54_9629.jpg', '/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_15_9768.jpg', '/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_24_9740.jpg', '/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/06/58/image_27112025_06_58_55_9686.jpg
/home/pi/Desktop/images/27112025/06/59/image_27112025_06_59_54_9629.jpg
/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_15_9768.jpg
/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_24_9740.jpg
/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_34_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366403","1396366372","1396366332","1396366428","1396366397"],"photo_ids_order":["1396366332","1396366372","1396366397","1396366403","1396366428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a231b4e23d79ddb3e7348d3b42dc7840.jpg","text":"TemporaryFile(/tmp/multipartBody8998679432508343925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223323917,"filename":"image_27112025_07_00_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5f72b2b013cad193d50c415d0448d95.jpg","text":"TemporaryFile(/tmp/multipartBody1015038922132239849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223323917,"filename":"image_27112025_06_59_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b1a494e1f1b135ab953da42f18f58533.jpg","text":"TemporaryFile(/tmp/multipartBody4726527874702401475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223323917,"filename":"image_27112025_06_58_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b55e8ef8af1341b0f5c7d888284ff42.jpg","text":"TemporaryFile(/tmp/multipartBody2308544640969669305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223323917,"filename":"image_27112025_07_00_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa7fbbab8a44caafdff44819a087e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody7078080525137647768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223323917,"filename":"image_27112025_07_00_15_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396366397","file1":"1396366372","file0":"1396366332","file4":"1396366428","file3":"1396366403"},"map_files_photo_id_array":[{"photo_id":"1396366397","filename":"file2"},{"photo_id":"1396366428","filename":"file4"},{"photo_id":"1396366372","filename":"file1"},{"photo_id":"1396366332","filename":"file0"},{"photo_id":"1396366403","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396366403":["hashtag1","hashtag2"]},{"1396366372":["hashtag1","hashtag2"]},{"1396366332":["hashtag1","hashtag2"]},{"1396366428":["hashtag1","hashtag2"]},{"1396366397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396366403, 1396366372, 1396366332, 1396366428, 1396366397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.45329689979553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:01:42.353521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/01/image_30102025_22_01_14_1553.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_20_6542.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_22_1562.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_29_3918.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_34_2613.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_38_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_14_1553.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_20_6542.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_22_1562.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_29_3918.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_34_2613.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_38_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366559","1396366472","1396366475","1396366477","1396366491","1396366524"],"photo_ids_order":["1396366472","1396366475","1396366477","1396366491","1396366524","1396366559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2c1415fe2ba0a52cdf42c3f9976133d.jpg","text":"TemporaryFile(/tmp/multipartBody5286191960994225831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_38_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/27/34a1484252b1e9016d0c6d4e71076b40.jpg","text":"TemporaryFile(/tmp/multipartBody781429131614278310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_14_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/27/aae774a3892caf210658112919ff191c.jpg","text":"TemporaryFile(/tmp/multipartBody3824455272532063328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_20_6542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cea6376361ad44e8055d6a4f324246a6.jpg","text":"TemporaryFile(/tmp/multipartBody943261244358536350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_22_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/27/dfa5fd4f028f191959796721b6502865.jpg","text":"TemporaryFile(/tmp/multipartBody3709648592248476197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_29_3918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a6b8fc305a9a09d3d085bd0c98f0aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6016078186249816386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223363666,"filename":"image_30102025_22_01_34_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396366477","file1":"1396366475","file0":"1396366472","file4":"1396366524","file5":"1396366559","file3":"1396366491"},"map_files_photo_id_array":[{"photo_id":"1396366559","filename":"file5"},{"photo_id":"1396366477","filename":"file2"},{"photo_id":"1396366524","filename":"file4"},{"photo_id":"1396366475","filename":"file1"},{"photo_id":"1396366472","filename":"file0"},{"photo_id":"1396366491","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396366559":["hashtag1","hashtag2"]},{"1396366472":["hashtag1","hashtag2"]},{"1396366475":["hashtag1","hashtag2"]},{"1396366477":["hashtag1","hashtag2"]},{"1396366491":["hashtag1","hashtag2"]},{"1396366524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396366559, 1396366472, 1396366475, 1396366477, 1396366491, 1396366524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.252350091934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:02:22.513774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/00/image_27112025_07_00_45_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366698"],"photo_id":"1396366698","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74610fe42e500ec13a39c2792bd88caf.jpg","text":"TemporaryFile(/tmp/multipartBody8739144363175309645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223403054,"filename":"image_27112025_07_00_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396366698"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396366698"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.248301982879639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:02:42.524692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/01/image_30102025_22_01_40_2660.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_43_2576.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_47_3797.jpg', '/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_55_2637.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_04_2670.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_08_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/22/01/image_30102025_22_01_40_2660.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_43_2576.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_47_3797.jpg
/home/pi/Desktop/images/30102025/22/01/image_30102025_22_01_55_2637.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_04_2670.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_08_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396366910","1396367017","1396367055","1396366983","1396366950","1396366872"],"photo_ids_order":["1396366872","1396366910","1396366950","1396366983","1396367017","1396367055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a847e82dddf6c16d05b87fec5219331.jpg","text":"TemporaryFile(/tmp/multipartBody3722928017726397617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_01_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/27/400fb55bfed4666bfd53105fd37c3e40.jpg","text":"TemporaryFile(/tmp/multipartBody9139018535121096946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_02_04_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/27/f7a730b54ffd9d73688a87939cb3cde7.jpg","text":"TemporaryFile(/tmp/multipartBody3431054225306303095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_02_08_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/27/0fb7a5a6f4616703641d48d910b4df10.jpg","text":"TemporaryFile(/tmp/multipartBody8267046237630487856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_01_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/27/7fa332293f6f996e35d30320ddc23224.jpg","text":"TemporaryFile(/tmp/multipartBody6888653492942709516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_01_47_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/27/74cb22e8c6bc3e95d3b336a2c4446998.jpg","text":"TemporaryFile(/tmp/multipartBody4934777054484478880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223423873,"filename":"image_30102025_22_01_40_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396366950","file1":"1396366910","file0":"1396366872","file4":"1396367017","file5":"1396367055","file3":"1396366983"},"map_files_photo_id_array":[{"photo_id":"1396367055","filename":"file5"},{"photo_id":"1396366950","filename":"file2"},{"photo_id":"1396367017","filename":"file4"},{"photo_id":"1396366910","filename":"file1"},{"photo_id":"1396366872","filename":"file0"},{"photo_id":"1396366983","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396366910":["hashtag1","hashtag2"]},{"1396367017":["hashtag1","hashtag2"]},{"1396367055":["hashtag1","hashtag2"]},{"1396366983":["hashtag1","hashtag2"]},{"1396366950":["hashtag1","hashtag2"]},{"1396366872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396366910, 1396367017, 1396367055, 1396366983, 1396366950, 1396366872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52551794052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:03:22.766948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/01/image_27112025_07_01_44_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/01/image_27112025_07_01_44_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367186"],"photo_id":"1396367186","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7317f418214743a46bdc6fd71dae6007.jpg","text":"TemporaryFile(/tmp/multipartBody2842546995392955566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223463311,"filename":"image_27112025_07_01_44_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396367186"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396367186"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.668989658355713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:03:42.736615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/02/image_30102025_22_02_10_2681.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_17_3678.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_22_2703.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_28_2630.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_31_2603.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_34_3524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_10_2681.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_17_3678.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_22_2703.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_28_2630.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_31_2603.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_34_3524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367423","1396367455","1396367490","1396367388","1396367510","1396367354"],"photo_ids_order":["1396367354","1396367388","1396367423","1396367455","1396367490","1396367510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc7f329ffe5a2a954ad4a052cdc87046.jpg","text":"TemporaryFile(/tmp/multipartBody90876525289979164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_22_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/27/9c55bbcc6eae7b6f3f2cb8905ff074b4.jpg","text":"TemporaryFile(/tmp/multipartBody4842901193515453727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_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/27/035a552a755380989519ab9c80141282.jpg","text":"TemporaryFile(/tmp/multipartBody7147474510511545194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_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/27/76dd13d4027823018f20310f95104961.jpg","text":"TemporaryFile(/tmp/multipartBody676641749597519457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_17_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/27/5115f4ab1391d047974b3c17fe0b32a2.jpg","text":"TemporaryFile(/tmp/multipartBody291422536539161212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_34_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/27/a61c0d724fba252146244c122cd307c4.jpg","text":"TemporaryFile(/tmp/multipartBody2162120988694212670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223484079,"filename":"image_30102025_22_02_10_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396367423","file1":"1396367388","file0":"1396367354","file4":"1396367490","file5":"1396367510","file3":"1396367455"},"map_files_photo_id_array":[{"photo_id":"1396367510","filename":"file5"},{"photo_id":"1396367423","filename":"file2"},{"photo_id":"1396367490","filename":"file4"},{"photo_id":"1396367388","filename":"file1"},{"photo_id":"1396367354","filename":"file0"},{"photo_id":"1396367455","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396367423":["hashtag1","hashtag2"]},{"1396367455":["hashtag1","hashtag2"]},{"1396367490":["hashtag1","hashtag2"]},{"1396367388":["hashtag1","hashtag2"]},{"1396367510":["hashtag1","hashtag2"]},{"1396367354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396367423, 1396367455, 1396367490, 1396367388, 1396367510, 1396367354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21505308151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:04:21.931412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/03/image_27112025_07_03_34_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/03/image_27112025_07_03_34_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367513"],"photo_id":"1396367513","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ebbb50be1def752b2b179647154e83e.jpg","text":"TemporaryFile(/tmp/multipartBody4305087855039067963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223522475,"filename":"image_27112025_07_03_34_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396367513"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396367513"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.730370283126831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:04:41.928130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/02/image_30102025_22_02_40_2658.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_44_3605.jpg', '/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_58_2732.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_04_2636.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_32_3776.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_35_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_40_2658.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_44_3605.jpg
/home/pi/Desktop/images/30102025/22/02/image_30102025_22_02_58_2732.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_04_2636.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_32_3776.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_35_2861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367612","1396367716","1396367650","1396367710","1396367676","1396367574"],"photo_ids_order":["1396367574","1396367612","1396367650","1396367676","1396367710","1396367716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e35ce6e3dc8f4e1967683667e17c1668.jpg","text":"TemporaryFile(/tmp/multipartBody3968956141708445952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_02_44_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/27/6cd6b78282ec0f9f7930fd414ca154a6.jpg","text":"TemporaryFile(/tmp/multipartBody6490037050616585338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_03_35_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/27/8645f5606e003e333613fef6d1613fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3821391492823164890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_02_58_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/27/4d01c6bf2773225c908089ec592f1d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6083266794244868611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_03_32_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/27/13857a7ef2a486138b67dd4ecfe118ab.jpg","text":"TemporaryFile(/tmp/multipartBody587162321536532992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_03_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/27/a398a0c652dd4a96aa52893f68030aef.jpg","text":"TemporaryFile(/tmp/multipartBody5003274765932639718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223543234,"filename":"image_30102025_22_02_40_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396367650","file1":"1396367612","file0":"1396367574","file4":"1396367710","file5":"1396367716","file3":"1396367676"},"map_files_photo_id_array":[{"photo_id":"1396367716","filename":"file5"},{"photo_id":"1396367650","filename":"file2"},{"photo_id":"1396367710","filename":"file4"},{"photo_id":"1396367612","filename":"file1"},{"photo_id":"1396367574","filename":"file0"},{"photo_id":"1396367676","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396367612":["hashtag1","hashtag2"]},{"1396367716":["hashtag1","hashtag2"]},{"1396367650":["hashtag1","hashtag2"]},{"1396367710":["hashtag1","hashtag2"]},{"1396367676":["hashtag1","hashtag2"]},{"1396367574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396367612, 1396367716, 1396367650, 1396367710, 1396367676, 1396367574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.505913734436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:05:22.185152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/04/image_27112025_07_04_45_10619.jpg', '/home/pi/Desktop/images/27112025/07/04/image_27112025_07_05_04_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/04/image_27112025_07_04_45_10619.jpg
/home/pi/Desktop/images/27112025/07/04/image_27112025_07_05_04_9827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367792","1396367765"],"photo_ids_order":["1396367765","1396367792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63bdc5de9538e035a168d4231e1f56d8.jpg","text":"TemporaryFile(/tmp/multipartBody8604590063683156781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223582781,"filename":"image_27112025_07_05_04_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9cd74f3d402a7792ec229865ffb997e6.jpg","text":"TemporaryFile(/tmp/multipartBody590006869835563418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223582781,"filename":"image_27112025_07_04_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396367792","file0":"1396367765"},"map_files_photo_id_array":[{"photo_id":"1396367792","filename":"file1"},{"photo_id":"1396367765","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396367792":["hashtag1","hashtag2"]},{"1396367765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396367792, 1396367765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.527955532073975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:05:42.136318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/03/image_30102025_22_03_37_2748.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_49_2664.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_53_3791.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_55_2775.jpg', '/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_58_2682.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_01_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_37_2748.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_49_2664.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_53_3791.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_55_2775.jpg
/home/pi/Desktop/images/30102025/22/03/image_30102025_22_03_58_2682.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_01_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":["1396367804","1396367813","1396367807","1396367815","1396367809","1396367811"],"photo_ids_order":["1396367804","1396367807","1396367809","1396367811","1396367813","1396367815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36b93ef080fa76c4b7291421d6db4a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7115020868457395823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_03_37_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/27/a178fc1dd9c12723a917e16433827115.jpg","text":"TemporaryFile(/tmp/multipartBody3160535632359124092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_03_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/27/2a4a035a59464af966972908230dbc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7677305201302324243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_03_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/27/fb394c725541db75062bee60041aaaf9.jpg","text":"TemporaryFile(/tmp/multipartBody1577438761901772083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_04_01_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/27/c758cb71ae750bdf6bb1415eb07bbbdc.jpg","text":"TemporaryFile(/tmp/multipartBody6398391277742977065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_03_53_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/27/7129b1947e4aabccc7c5e871b2a57e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2590383573680180377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223603479,"filename":"image_30102025_22_03_55_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396367809","file1":"1396367807","file0":"1396367804","file4":"1396367813","file5":"1396367815","file3":"1396367811"},"map_files_photo_id_array":[{"photo_id":"1396367815","filename":"file5"},{"photo_id":"1396367809","filename":"file2"},{"photo_id":"1396367813","filename":"file4"},{"photo_id":"1396367807","filename":"file1"},{"photo_id":"1396367804","filename":"file0"},{"photo_id":"1396367811","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396367804":["hashtag1","hashtag2"]},{"1396367813":["hashtag1","hashtag2"]},{"1396367807":["hashtag1","hashtag2"]},{"1396367815":["hashtag1","hashtag2"]},{"1396367809":["hashtag1","hashtag2"]},{"1396367811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396367804, 1396367813, 1396367807, 1396367815, 1396367809, 1396367811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57269358634949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:06:22.365612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/05/image_27112025_07_05_34_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/05/image_27112025_07_05_34_9593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396367822"],"photo_id":"1396367822","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df3bc78f5319f3269475a531d0b2391e.jpg","text":"TemporaryFile(/tmp/multipartBody2281536949409205910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223642918,"filename":"image_27112025_07_05_34_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396367822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396367822"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.242908716201782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:06:42.346955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/04/image_30102025_22_04_04_3703.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_07_2567.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_10_2755.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_13_3737.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_16_2575.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_22_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_04_3703.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_07_2567.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_10_2755.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_13_3737.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_16_2575.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_22_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":["1396367980","1396367836","1396367862","1396367943","1396367901","1396367834"],"photo_ids_order":["1396367834","1396367836","1396367862","1396367901","1396367943","1396367980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41d5a17a9d4f126ad22166fc6aed6a68.jpg","text":"TemporaryFile(/tmp/multipartBody6517963612128543032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_22_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/27/27933b9e8346c03ba21aa42855aa2c97.jpg","text":"TemporaryFile(/tmp/multipartBody356977612223008836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_07_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/27/74fe407f1b889e08d985783df3b44130.jpg","text":"TemporaryFile(/tmp/multipartBody8372052664136374887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_10_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/27/5164c1af4a711eef1d0f13e7085f2a72.jpg","text":"TemporaryFile(/tmp/multipartBody2963849291543555491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_16_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/27/90a4de7e78108d2b253090d11f42adf6.jpg","text":"TemporaryFile(/tmp/multipartBody7952296605265491012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_13_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/27/3c29ffa2172a184d8e8cd53d2a7e4864.jpg","text":"TemporaryFile(/tmp/multipartBody1125550109903118426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223663648,"filename":"image_30102025_22_04_04_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396367862","file1":"1396367836","file0":"1396367834","file4":"1396367943","file5":"1396367980","file3":"1396367901"},"map_files_photo_id_array":[{"photo_id":"1396367980","filename":"file5"},{"photo_id":"1396367862","filename":"file2"},{"photo_id":"1396367943","filename":"file4"},{"photo_id":"1396367836","filename":"file1"},{"photo_id":"1396367834","filename":"file0"},{"photo_id":"1396367901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396367980":["hashtag1","hashtag2"]},{"1396367836":["hashtag1","hashtag2"]},{"1396367862":["hashtag1","hashtag2"]},{"1396367943":["hashtag1","hashtag2"]},{"1396367901":["hashtag1","hashtag2"]},{"1396367834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396367980, 1396367836, 1396367862, 1396367943, 1396367901, 1396367834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285982608795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:07:22.624095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/06/image_27112025_07_06_54_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/06/image_27112025_07_06_54_9580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396368118"],"photo_id":"1396368118","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f6a3b15cfe2a5aa0f0dfd79abb99981.jpg","text":"TemporaryFile(/tmp/multipartBody5676143378503192508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223703160,"filename":"image_27112025_07_06_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396368118"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396368118"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.963136434555054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:07:42.614601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/04/image_30102025_22_04_25_2667.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_34_2695.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_43_2635.jpg', '/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_53_3440.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_13_2781.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_17_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_25_2667.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_34_2695.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_43_2635.jpg
/home/pi/Desktop/images/30102025/22/04/image_30102025_22_04_53_3440.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_13_2781.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_17_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":["1396368337","1396368294","1396368473","1396368440","1396368371","1396368404"],"photo_ids_order":["1396368294","1396368337","1396368371","1396368404","1396368440","1396368473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fb51e16aaaa576bbf4319810524e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2162304929123609882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_04_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/27/a87c5693f1a475a0d0056ca3d5649001.jpg","text":"TemporaryFile(/tmp/multipartBody8464162218605018280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_04_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/27/9f365723847820b0e6f860ad6e90378d.jpg","text":"TemporaryFile(/tmp/multipartBody8399352705363457130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_05_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/27/e97b1e2555db1f80e2786a5f20d7b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody4293746027693040494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_05_13_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/27/39b8803f61f370ecc5c2c90dca3222f7.jpg","text":"TemporaryFile(/tmp/multipartBody2097342236282761320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_04_43_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/27/0ef6e268639d28762c948cf5dfcc1504.jpg","text":"TemporaryFile(/tmp/multipartBody721415066482691916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223723957,"filename":"image_30102025_22_04_53_3440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396368371","file1":"1396368337","file0":"1396368294","file4":"1396368440","file5":"1396368473","file3":"1396368404"},"map_files_photo_id_array":[{"photo_id":"1396368473","filename":"file5"},{"photo_id":"1396368371","filename":"file2"},{"photo_id":"1396368440","filename":"file4"},{"photo_id":"1396368337","filename":"file1"},{"photo_id":"1396368294","filename":"file0"},{"photo_id":"1396368404","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396368337":["hashtag1","hashtag2"]},{"1396368294":["hashtag1","hashtag2"]},{"1396368473":["hashtag1","hashtag2"]},{"1396368440":["hashtag1","hashtag2"]},{"1396368371":["hashtag1","hashtag2"]},{"1396368404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396368337, 1396368294, 1396368473, 1396368440, 1396368371, 1396368404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78220343589783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:08:22.806947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/07/image_27112025_07_07_24_9747.jpg', '/home/pi/Desktop/images/27112025/07/08/image_27112025_07_08_15_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/07/image_27112025_07_07_24_9747.jpg
/home/pi/Desktop/images/27112025/07/08/image_27112025_07_08_15_10641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396368612","1396368647"],"photo_ids_order":["1396368612","1396368647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95b33002b9c85adc038dae5ef507e209.jpg","text":"TemporaryFile(/tmp/multipartBody249066204862820121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223763406,"filename":"image_27112025_07_07_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/578c944bc80dabff1bc51f4509a756bd.jpg","text":"TemporaryFile(/tmp/multipartBody5107847692652374854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223763406,"filename":"image_27112025_07_08_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396368647","file0":"1396368612"},"map_files_photo_id_array":[{"photo_id":"1396368647","filename":"file1"},{"photo_id":"1396368612","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396368612":["hashtag1","hashtag2"]},{"1396368647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396368612, 1396368647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.289486169815063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:08:42.797190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/05/image_30102025_22_05_19_2681.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_23_3648.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_26_2758.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_31_2582.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_38_3724.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_41_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_19_2681.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_23_3648.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_26_2758.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_31_2582.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_38_3724.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_41_2708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2113628387451172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:09:02.911039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_17_3514.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_20_2574.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_23_3643.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_26_2724.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_29_2681.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_31_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_17_3514.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_20_2574.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_23_3643.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_26_2724.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_29_2681.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_31_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396368742","1396368706","1396368677","1396368779","1396368674","1396368815"],"photo_ids_order":["1396368674","1396368677","1396368706","1396368742","1396368779","1396368815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1055c2a72d23ef893a649155836332f8.jpg","text":"TemporaryFile(/tmp/multipartBody9056696026622772336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_26_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/27/0bccc1d507cf9c044364f5ccc0150fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7051149985222268704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_23_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/27/0da0c27dd92c60ac17c4c32831691c82.jpg","text":"TemporaryFile(/tmp/multipartBody6110503631592699443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_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/27/0418f22bd240a9bfcdd0e403db038ff6.jpg","text":"TemporaryFile(/tmp/multipartBody646250290405215365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_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/27/20e4691bd2f3dcee7ab1fb5f510a97ae.jpg","text":"TemporaryFile(/tmp/multipartBody4849920723482538257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_17_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/27/dda470b8a90529018fbd9d30b1e721a5.jpg","text":"TemporaryFile(/tmp/multipartBody4578877298692453032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223804280,"filename":"image_21112025_20_02_31_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396368706","file1":"1396368677","file0":"1396368674","file4":"1396368779","file5":"1396368815","file3":"1396368742"},"map_files_photo_id_array":[{"photo_id":"1396368815","filename":"file5"},{"photo_id":"1396368706","filename":"file2"},{"photo_id":"1396368779","filename":"file4"},{"photo_id":"1396368677","filename":"file1"},{"photo_id":"1396368674","filename":"file0"},{"photo_id":"1396368742","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396368742":["hashtag1","hashtag2"]},{"1396368706":["hashtag1","hashtag2"]},{"1396368677":["hashtag1","hashtag2"]},{"1396368779":["hashtag1","hashtag2"]},{"1396368674":["hashtag1","hashtag2"]},{"1396368815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396368742, 1396368706, 1396368677, 1396368779, 1396368674, 1396368815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.956756591796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:09:41.974151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/05/image_30102025_22_05_19_2681.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_23_3648.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_26_2758.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_31_2582.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_38_3724.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_41_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_19_2681.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_23_3648.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_26_2758.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_31_2582.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_38_3724.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_41_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396369111","1396369053","1396369014","1396369273","1396369174","1396369213"],"photo_ids_order":["1396369014","1396369053","1396369111","1396369174","1396369213","1396369273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a307181faab500c06c71c57264f17dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6730102686749556712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_26_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/27/f5797774e58001798d6a7e2148528b21.jpg","text":"TemporaryFile(/tmp/multipartBody3612969314125482462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_23_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/27/47f105762129e913300ec87072fc57d1.jpg","text":"TemporaryFile(/tmp/multipartBody8243555702541011488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_19_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/27/9795c59b055a552bf063b8593c9a2b31.jpg","text":"TemporaryFile(/tmp/multipartBody8369447501163227925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_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/27/c2d6450de7f1af980de13e10dcb66236.jpg","text":"TemporaryFile(/tmp/multipartBody1552365102917754893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_31_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/27/735a6b73050b7e38d3cced1737d986f7.jpg","text":"TemporaryFile(/tmp/multipartBody7536525285399561820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223843160,"filename":"image_30102025_22_05_38_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396369111","file1":"1396369053","file0":"1396369014","file4":"1396369213","file5":"1396369273","file3":"1396369174"},"map_files_photo_id_array":[{"photo_id":"1396369273","filename":"file5"},{"photo_id":"1396369111","filename":"file2"},{"photo_id":"1396369213","filename":"file4"},{"photo_id":"1396369053","filename":"file1"},{"photo_id":"1396369014","filename":"file0"},{"photo_id":"1396369174","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396369111":["hashtag1","hashtag2"]},{"1396369053":["hashtag1","hashtag2"]},{"1396369014":["hashtag1","hashtag2"]},{"1396369273":["hashtag1","hashtag2"]},{"1396369174":["hashtag1","hashtag2"]},{"1396369213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396369111, 1396369053, 1396369014, 1396369273, 1396369174, 1396369213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60722088813782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:10:22.218439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/08/image_27112025_07_08_25_9867.jpg', '/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_14_9721.jpg', '/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_24_9699.jpg', '/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_34_9901.jpg', '/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_14_9683.jpg', '/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/08/image_27112025_07_08_25_9867.jpg
/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_14_9721.jpg
/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_24_9699.jpg
/home/pi/Desktop/images/27112025/07/09/image_27112025_07_09_34_9901.jpg
/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_14_9683.jpg
/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_44_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396369485","1396369650","1396369524","1396369611","1396369445","1396369570"],"photo_ids_order":["1396369445","1396369485","1396369524","1396369570","1396369611","1396369650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26b700c8fe38cf71770c3be09fba935b.jpg","text":"TemporaryFile(/tmp/multipartBody5056647850050356752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_09_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cad1e43a9f3f0c43ce3ed086eb49e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5821942642505263398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_10_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0ab524e3c852f703d6c15420831fe84.jpg","text":"TemporaryFile(/tmp/multipartBody9204362635373557315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_09_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ed7611b981702bce266cdb92e31928e.jpg","text":"TemporaryFile(/tmp/multipartBody7757360101460462020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_10_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/002294b77278cb90394ea0bdfeb61565.jpg","text":"TemporaryFile(/tmp/multipartBody4209234220714826876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_08_25_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a17ea9e745bfc4b1440e5dcf32a1d9f7.jpg","text":"TemporaryFile(/tmp/multipartBody7484474167510183605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223882993,"filename":"image_27112025_07_09_34_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396369524","file1":"1396369485","file0":"1396369445","file4":"1396369611","file5":"1396369650","file3":"1396369570"},"map_files_photo_id_array":[{"photo_id":"1396369650","filename":"file5"},{"photo_id":"1396369524","filename":"file2"},{"photo_id":"1396369611","filename":"file4"},{"photo_id":"1396369485","filename":"file1"},{"photo_id":"1396369445","filename":"file0"},{"photo_id":"1396369570","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396369485":["hashtag1","hashtag2"]},{"1396369650":["hashtag1","hashtag2"]},{"1396369524":["hashtag1","hashtag2"]},{"1396369611":["hashtag1","hashtag2"]},{"1396369445":["hashtag1","hashtag2"]},{"1396369570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396369485, 1396369650, 1396369524, 1396369611, 1396369445, 1396369570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70512366294861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:11:03.060129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_35_3561.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_38_2607.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_41_3523.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_47_1630.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_49_2565.jpg', '/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_53_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_35_3561.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_38_2607.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_41_3523.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_47_1630.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_49_2565.jpg
/home/pi/Desktop/images/21112025/20/02/image_21112025_20_02_53_3763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396369731","1396369713","1396369719","1396369727","1396369721","1396369723"],"photo_ids_order":["1396369713","1396369719","1396369721","1396369723","1396369727","1396369731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a02c34a12a4398d2a8508ae31390d69b.jpg","text":"TemporaryFile(/tmp/multipartBody1489075508781768912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_53_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/27/02c7bd376f6ed5a60a38a4286e37cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4441289345313664483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_35_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/27/724b0f79be2c943905cc4eb73b8bafb5.jpg","text":"TemporaryFile(/tmp/multipartBody8426213952738205013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_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/27/58cd71c2f708cc66e9a277abd25b7458.jpg","text":"TemporaryFile(/tmp/multipartBody412070512389026130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_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/27/9da547c5dea0b3073f0aec9b83ea959e.jpg","text":"TemporaryFile(/tmp/multipartBody6198455346737715138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_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/27/e84cf66881a4dd00f0f2cc12b34999b7.jpg","text":"TemporaryFile(/tmp/multipartBody3051855033179339077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223924310,"filename":"image_21112025_20_02_47_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396369721","file1":"1396369719","file0":"1396369713","file4":"1396369727","file5":"1396369731","file3":"1396369723"},"map_files_photo_id_array":[{"photo_id":"1396369731","filename":"file5"},{"photo_id":"1396369721","filename":"file2"},{"photo_id":"1396369727","filename":"file4"},{"photo_id":"1396369719","filename":"file1"},{"photo_id":"1396369713","filename":"file0"},{"photo_id":"1396369723","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396369731":["hashtag1","hashtag2"]},{"1396369713":["hashtag1","hashtag2"]},{"1396369719":["hashtag1","hashtag2"]},{"1396369727":["hashtag1","hashtag2"]},{"1396369721":["hashtag1","hashtag2"]},{"1396369723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396369731, 1396369713, 1396369719, 1396369727, 1396369721, 1396369723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.892008781433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:11:42.355580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/05/image_30102025_22_05_43_2552.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_47_3703.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_52_2562.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_56_3643.jpg', '/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_58_2813.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_16_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_43_2552.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_47_3703.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_52_2562.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_56_3643.jpg
/home/pi/Desktop/images/30102025/22/05/image_30102025_22_05_58_2813.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_16_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":["1396369944","1396369866","1396369761","1396369796","1396369829","1396369901"],"photo_ids_order":["1396369761","1396369796","1396369829","1396369866","1396369901","1396369944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/163d9159ef52587ef4a7ed5357880bee.jpg","text":"TemporaryFile(/tmp/multipartBody589917480224199734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_06_16_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/27/7250ce1a80050534db6c804e6113c564.jpg","text":"TemporaryFile(/tmp/multipartBody8657022352544008287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_05_56_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/27/92aab5e40cecb3393e10f0d50ce387de.jpg","text":"TemporaryFile(/tmp/multipartBody2286195269702567311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_05_43_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/27/35d66d6782fd3496ba4173bcab856cdc.jpg","text":"TemporaryFile(/tmp/multipartBody659597512077196395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_05_47_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/27/ac62316b826ab1bd94af92fed4cc4149.jpg","text":"TemporaryFile(/tmp/multipartBody4914740019928246472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_05_52_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/27/b5a917ebcb86e36854ad394454f0edd6.jpg","text":"TemporaryFile(/tmp/multipartBody6373464894286108157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764223963669,"filename":"image_30102025_22_05_58_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396369829","file1":"1396369796","file0":"1396369761","file4":"1396369901","file5":"1396369944","file3":"1396369866"},"map_files_photo_id_array":[{"photo_id":"1396369944","filename":"file5"},{"photo_id":"1396369829","filename":"file2"},{"photo_id":"1396369901","filename":"file4"},{"photo_id":"1396369796","filename":"file1"},{"photo_id":"1396369761","filename":"file0"},{"photo_id":"1396369866","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396369944":["hashtag1","hashtag2"]},{"1396369866":["hashtag1","hashtag2"]},{"1396369761":["hashtag1","hashtag2"]},{"1396369796":["hashtag1","hashtag2"]},{"1396369829":["hashtag1","hashtag2"]},{"1396369901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396369944, 1396369866, 1396369761, 1396369796, 1396369829, 1396369901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46823477745056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:12:22.728575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_55_10634.jpg', '/home/pi/Desktop/images/27112025/07/10/image_27112025_07_11_04_9766.jpg', '/home/pi/Desktop/images/27112025/07/11/image_27112025_07_11_25_10651.jpg', '/home/pi/Desktop/images/27112025/07/11/image_27112025_07_11_55_10728.jpg', '/home/pi/Desktop/images/27112025/07/11/image_27112025_07_12_04_9707.jpg', '/home/pi/Desktop/images/27112025/07/12/image_27112025_07_12_24_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/10/image_27112025_07_10_55_10634.jpg
/home/pi/Desktop/images/27112025/07/10/image_27112025_07_11_04_9766.jpg
/home/pi/Desktop/images/27112025/07/11/image_27112025_07_11_25_10651.jpg
/home/pi/Desktop/images/27112025/07/11/image_27112025_07_11_55_10728.jpg
/home/pi/Desktop/images/27112025/07/11/image_27112025_07_12_04_9707.jpg
/home/pi/Desktop/images/27112025/07/12/image_27112025_07_12_24_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370092","1396370065","1396370104","1396370026","1396370061","1396369999"],"photo_ids_order":["1396369999","1396370026","1396370061","1396370065","1396370092","1396370104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/674aa065cbaeeaa00ba885e02be5dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody1537808463393323559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_12_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6323f68c5b1c28bb9b9595e9fc5f560e.jpg","text":"TemporaryFile(/tmp/multipartBody3461712350159355216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_11_55_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c0cac0abcf2cf184ccbf902dca18c55.jpg","text":"TemporaryFile(/tmp/multipartBody5939399618374414026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_12_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9261b127f570aa4dc55b6dd0059de1c.jpg","text":"TemporaryFile(/tmp/multipartBody8089512250740812154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_11_04_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdbca34ab6a8c301a028302ce29b4aec.jpg","text":"TemporaryFile(/tmp/multipartBody1201742212322564244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_11_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b06c5eb0a10267e692289eb4da3d54a.jpg","text":"TemporaryFile(/tmp/multipartBody3796419014573164714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224003505,"filename":"image_27112025_07_10_55_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370061","file1":"1396370026","file0":"1396369999","file4":"1396370092","file5":"1396370104","file3":"1396370065"},"map_files_photo_id_array":[{"photo_id":"1396370104","filename":"file5"},{"photo_id":"1396370061","filename":"file2"},{"photo_id":"1396370092","filename":"file4"},{"photo_id":"1396370026","filename":"file1"},{"photo_id":"1396369999","filename":"file0"},{"photo_id":"1396370065","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370092":["hashtag1","hashtag2"]},{"1396370065":["hashtag1","hashtag2"]},{"1396370104":["hashtag1","hashtag2"]},{"1396370026":["hashtag1","hashtag2"]},{"1396370061":["hashtag1","hashtag2"]},{"1396369999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370092, 1396370065, 1396370104, 1396370026, 1396370061, 1396369999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09129738807678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:13:03.392915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_06_3011.jpg', '/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_10_3654.jpg', '/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_13_2636.jpg', '/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_15_2839.jpg', '/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_19_3820.jpg', '/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_22_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_06_3011.jpg
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_10_3654.jpg
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_13_2636.jpg
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_15_2839.jpg
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_19_3820.jpg
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_22_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370116","1396370151","1396370139","1396370118","1396370147","1396370132"],"photo_ids_order":["1396370116","1396370118","1396370132","1396370139","1396370147","1396370151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/720292c767ad6ce62150aa15269baced.jpg","text":"TemporaryFile(/tmp/multipartBody8426829438127527357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_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/27/d408aef9d2a4a5e17c0b5a591a78c099.jpg","text":"TemporaryFile(/tmp/multipartBody5052319605145166538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_22_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/27/59aea00ec8541cd3b420eb05f13bb648.jpg","text":"TemporaryFile(/tmp/multipartBody8188393847453841975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_15_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/27/50360bf6ca927f25526432ab1aba90db.jpg","text":"TemporaryFile(/tmp/multipartBody618964377615993159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_10_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/27/e643d2d378f7511c4823ddc36bbc6bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3536699275857749947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_19_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/27/d6c70a402967627ae97775c069297b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6672546802089164744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224044688,"filename":"image_21112025_20_04_13_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370132","file1":"1396370118","file0":"1396370116","file4":"1396370147","file5":"1396370151","file3":"1396370139"},"map_files_photo_id_array":[{"photo_id":"1396370151","filename":"file5"},{"photo_id":"1396370132","filename":"file2"},{"photo_id":"1396370147","filename":"file4"},{"photo_id":"1396370118","filename":"file1"},{"photo_id":"1396370116","filename":"file0"},{"photo_id":"1396370139","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370116":["hashtag1","hashtag2"]},{"1396370151":["hashtag1","hashtag2"]},{"1396370139":["hashtag1","hashtag2"]},{"1396370118":["hashtag1","hashtag2"]},{"1396370147":["hashtag1","hashtag2"]},{"1396370132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370116, 1396370151, 1396370139, 1396370118, 1396370147, 1396370132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92323088645935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:13:42.640546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/06/image_30102025_22_06_19_2832.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_23_3713.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_26_2683.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_28_2602.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_35_3259.jpg', '/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_40_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_19_2832.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_23_3713.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_26_2683.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_28_2602.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_35_3259.jpg
/home/pi/Desktop/images/30102025/22/06/image_30102025_22_06_40_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370164","1396370167","1396370161","1396370163","1396370166","1396370165"],"photo_ids_order":["1396370161","1396370163","1396370164","1396370165","1396370166","1396370167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/224f1601b2265db78e99ec62bb1d2786.jpg","text":"TemporaryFile(/tmp/multipartBody1612254404950122916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_06_26_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/27/c3ca3be046ed75e7af91ec3fd0641945.jpg","text":"TemporaryFile(/tmp/multipartBody3133872450803950163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_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/27/bf6f46f5c8322c220f8d029e2269a9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4641256082225487941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_06_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/27/b966a05766bbd910e734642abc2406fc.jpg","text":"TemporaryFile(/tmp/multipartBody8975396729944095731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_06_23_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/27/26df95a64adeedcff7045f056efffa26.jpg","text":"TemporaryFile(/tmp/multipartBody506613241360513437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_06_35_3259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0b6c387fb818c3119cbae484ac62406.jpg","text":"TemporaryFile(/tmp/multipartBody783241201324118408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224083997,"filename":"image_30102025_22_06_28_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370164","file1":"1396370163","file0":"1396370161","file4":"1396370166","file5":"1396370167","file3":"1396370165"},"map_files_photo_id_array":[{"photo_id":"1396370167","filename":"file5"},{"photo_id":"1396370164","filename":"file2"},{"photo_id":"1396370166","filename":"file4"},{"photo_id":"1396370163","filename":"file1"},{"photo_id":"1396370161","filename":"file0"},{"photo_id":"1396370165","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370164":["hashtag1","hashtag2"]},{"1396370167":["hashtag1","hashtag2"]},{"1396370161":["hashtag1","hashtag2"]},{"1396370163":["hashtag1","hashtag2"]},{"1396370166":["hashtag1","hashtag2"]},{"1396370165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370164, 1396370167, 1396370161, 1396370163, 1396370166, 1396370165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.426589250564575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:14:22.873728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/12/image_27112025_07_12_54_9739.jpg', '/home/pi/Desktop/images/27112025/07/12/image_27112025_07_13_04_9698.jpg', '/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_15_10788.jpg', '/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_24_9578.jpg', '/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_34_9649.jpg', '/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_45_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/12/image_27112025_07_12_54_9739.jpg
/home/pi/Desktop/images/27112025/07/12/image_27112025_07_13_04_9698.jpg
/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_15_10788.jpg
/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_24_9578.jpg
/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_34_9649.jpg
/home/pi/Desktop/images/27112025/07/13/image_27112025_07_13_45_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370200","1396370183","1396370195","1396370189","1396370180","1396370177"],"photo_ids_order":["1396370177","1396370180","1396370183","1396370189","1396370195","1396370200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bb178dd7970ec0809c0be23b2e1823b.jpg","text":"TemporaryFile(/tmp/multipartBody8182030563615240053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_13_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3301ebbaa44d522c6d9eb8d9121a6c45.jpg","text":"TemporaryFile(/tmp/multipartBody2046364543549523576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_13_15_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fbb9eea3915930f96b8edb52cdcdeeb.jpg","text":"TemporaryFile(/tmp/multipartBody3937474088193324459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_13_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/382ec5871b7fd7cc793c5eb205565a50.jpg","text":"TemporaryFile(/tmp/multipartBody715918264227736842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_13_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0f631a9d5cfeb9e629a7436f0852839.jpg","text":"TemporaryFile(/tmp/multipartBody8128332107894477445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_13_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14fbf055e09dd9043dda7ac1e8e0af1c.jpg","text":"TemporaryFile(/tmp/multipartBody3534330243610319857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224123652,"filename":"image_27112025_07_12_54_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370183","file1":"1396370180","file0":"1396370177","file4":"1396370195","file5":"1396370200","file3":"1396370189"},"map_files_photo_id_array":[{"photo_id":"1396370200","filename":"file5"},{"photo_id":"1396370183","filename":"file2"},{"photo_id":"1396370195","filename":"file4"},{"photo_id":"1396370180","filename":"file1"},{"photo_id":"1396370177","filename":"file0"},{"photo_id":"1396370189","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370200":["hashtag1","hashtag2"]},{"1396370183":["hashtag1","hashtag2"]},{"1396370195":["hashtag1","hashtag2"]},{"1396370189":["hashtag1","hashtag2"]},{"1396370180":["hashtag1","hashtag2"]},{"1396370177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370200, 1396370183, 1396370195, 1396370189, 1396370180, 1396370177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.423152685165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:15:02.543253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_34_9632.jpg', '/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_45_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_34_9632.jpg
/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_45_10637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370204","1396370207"],"photo_ids_order":["1396370204","1396370207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2f6be0cc2b7becd62e4770bdc7f3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2725761694429867491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224163203,"filename":"image_27112025_07_14_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e40ddc3efdca8eaa411cf60152a0449d.jpg","text":"TemporaryFile(/tmp/multipartBody5135915555321394411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224163203,"filename":"image_27112025_07_14_45_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396370207","file0":"1396370204"},"map_files_photo_id_array":[{"photo_id":"1396370207","filename":"file1"},{"photo_id":"1396370204","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370204":["hashtag1","hashtag2"]},{"1396370207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370204, 1396370207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.34183406829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:15:21.998189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_54_9646.jpg', '/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_34_9757.jpg', '/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/14/image_27112025_07_14_54_9646.jpg
/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_34_9757.jpg
/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_44_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370222","1396370225","1396370219"],"photo_ids_order":["1396370219","1396370222","1396370225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7d0bcd51d7d22ffacedffc873d53da1.jpg","text":"TemporaryFile(/tmp/multipartBody636662887162699485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224182627,"filename":"image_27112025_07_15_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04e85c7629ffec91e2866be99773a8cd.jpg","text":"TemporaryFile(/tmp/multipartBody2391755090404476878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224182627,"filename":"image_27112025_07_15_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ff3578bd12647aa0cddef4e541d0bab.jpg","text":"TemporaryFile(/tmp/multipartBody7537140746495734565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224182627,"filename":"image_27112025_07_14_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370225","file1":"1396370222","file0":"1396370219"},"map_files_photo_id_array":[{"photo_id":"1396370225","filename":"file2"},{"photo_id":"1396370222","filename":"file1"},{"photo_id":"1396370219","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370222":["hashtag1","hashtag2"]},{"1396370225":["hashtag1","hashtag2"]},{"1396370219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370222, 1396370225, 1396370219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.812846422195435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:16:02.607442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_24_2585.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_13_2730.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_16_2758.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_20_3713.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_23_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/04/image_21112025_20_04_24_2585.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_07_3018.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_13_2730.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_16_2758.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_20_3713.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_23_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370233","1396370271","1396370253","1396370235","1396370243","1396370237"],"photo_ids_order":["1396370233","1396370235","1396370237","1396370243","1396370253","1396370271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9fd5710baf0bfda53c31a681d992711b.jpg","text":"TemporaryFile(/tmp/multipartBody7390700095417945485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_04_24_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/27/34428da0e9f607a724b9824e4fb952dc.jpg","text":"TemporaryFile(/tmp/multipartBody3466373700015998329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_06_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/27/1a0b1029f61da2a18d5732e20a036f3c.jpg","text":"TemporaryFile(/tmp/multipartBody637024620507227544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_06_20_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/27/085db978c8c805bf6d594afd16eca440.jpg","text":"TemporaryFile(/tmp/multipartBody8677032940438865967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_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/27/37e8701c5b2895526817c0325eca61b0.jpg","text":"TemporaryFile(/tmp/multipartBody3318324939105842170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_06_16_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/27/748ccce89ecd03d5092abb5d70fef07b.jpg","text":"TemporaryFile(/tmp/multipartBody3077572539133116944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224223847,"filename":"image_21112025_20_06_13_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370237","file1":"1396370235","file0":"1396370233","file4":"1396370253","file5":"1396370271","file3":"1396370243"},"map_files_photo_id_array":[{"photo_id":"1396370271","filename":"file5"},{"photo_id":"1396370237","filename":"file2"},{"photo_id":"1396370253","filename":"file4"},{"photo_id":"1396370235","filename":"file1"},{"photo_id":"1396370233","filename":"file0"},{"photo_id":"1396370243","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370233":["hashtag1","hashtag2"]},{"1396370271":["hashtag1","hashtag2"]},{"1396370253":["hashtag1","hashtag2"]},{"1396370235":["hashtag1","hashtag2"]},{"1396370243":["hashtag1","hashtag2"]},{"1396370237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370233, 1396370271, 1396370253, 1396370235, 1396370243, 1396370237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03498721122742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:16:42.109916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/06/image_30102025_22_06_56_3578.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_05_3640.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_07_2669.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_14_3564.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_16_2570.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_19_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/22/06/image_30102025_22_06_56_3578.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_05_3640.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_07_2669.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_14_3564.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_16_2570.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_19_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":["1396370311","1396370314","1396370310","1396370313","1396370307","1396370312"],"photo_ids_order":["1396370307","1396370310","1396370311","1396370312","1396370313","1396370314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a55f0938331e13b83ef42f079fbcb239.jpg","text":"TemporaryFile(/tmp/multipartBody569514330721331070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_07_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/27/72046026cf68a8c496ff3c58b5de76b8.jpg","text":"TemporaryFile(/tmp/multipartBody5347851672324485496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_07_19_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/27/78f78455678433b5c5660433c7b191c8.jpg","text":"TemporaryFile(/tmp/multipartBody484783967947925677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_07_05_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/27/8ec4d82f6a54f44eba9c6c07c673b72b.jpg","text":"TemporaryFile(/tmp/multipartBody8050823449631023918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_07_16_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/27/208badcaaabb366b76de6bf2ff5c267b.jpg","text":"TemporaryFile(/tmp/multipartBody1480763389836897077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_06_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/27/3a71652464da7f45bd6696014a31ac14.jpg","text":"TemporaryFile(/tmp/multipartBody2159747758525048455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224263424,"filename":"image_30102025_22_07_14_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370311","file1":"1396370310","file0":"1396370307","file4":"1396370313","file5":"1396370314","file3":"1396370312"},"map_files_photo_id_array":[{"photo_id":"1396370314","filename":"file5"},{"photo_id":"1396370311","filename":"file2"},{"photo_id":"1396370313","filename":"file4"},{"photo_id":"1396370310","filename":"file1"},{"photo_id":"1396370307","filename":"file0"},{"photo_id":"1396370312","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370311":["hashtag1","hashtag2"]},{"1396370314":["hashtag1","hashtag2"]},{"1396370310":["hashtag1","hashtag2"]},{"1396370313":["hashtag1","hashtag2"]},{"1396370307":["hashtag1","hashtag2"]},{"1396370312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370311, 1396370314, 1396370310, 1396370313, 1396370307, 1396370312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2599356174469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:17:22.310774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_55_10593.jpg', '/home/pi/Desktop/images/27112025/07/15/image_27112025_07_16_04_9362.jpg', '/home/pi/Desktop/images/27112025/07/16/image_27112025_07_16_45_10600.jpg', '/home/pi/Desktop/images/27112025/07/16/image_27112025_07_17_05_10704.jpg', '/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_14_9666.jpg', '/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_24_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/15/image_27112025_07_15_55_10593.jpg
/home/pi/Desktop/images/27112025/07/15/image_27112025_07_16_04_9362.jpg
/home/pi/Desktop/images/27112025/07/16/image_27112025_07_16_45_10600.jpg
/home/pi/Desktop/images/27112025/07/16/image_27112025_07_17_05_10704.jpg
/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_14_9666.jpg
/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_24_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370383","1396370391","1396370360","1396370386","1396370389","1396370380"],"photo_ids_order":["1396370360","1396370380","1396370383","1396370386","1396370389","1396370391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11078ff1ce61711ec8c5858a34f15ecd.jpg","text":"TemporaryFile(/tmp/multipartBody612797949695156429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_16_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/225b7552c75a55c39588b51061769508.jpg","text":"TemporaryFile(/tmp/multipartBody3169502077226697355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_17_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69f80356f5596aab14ec8db0c1ebae55.jpg","text":"TemporaryFile(/tmp/multipartBody1875070482586255097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_15_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce781bb6eb682c0d72207fbfa39a681a.jpg","text":"TemporaryFile(/tmp/multipartBody6670892398021674877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_17_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7b88dff586b19d0544246dff5809833.jpg","text":"TemporaryFile(/tmp/multipartBody965089399059524040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_17_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab60b04f28c51a011c371e53c38e38a8.jpg","text":"TemporaryFile(/tmp/multipartBody6138521120864464637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224303124,"filename":"image_27112025_07_16_04_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370383","file1":"1396370380","file0":"1396370360","file4":"1396370389","file5":"1396370391","file3":"1396370386"},"map_files_photo_id_array":[{"photo_id":"1396370391","filename":"file5"},{"photo_id":"1396370383","filename":"file2"},{"photo_id":"1396370389","filename":"file4"},{"photo_id":"1396370380","filename":"file1"},{"photo_id":"1396370360","filename":"file0"},{"photo_id":"1396370386","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370383":["hashtag1","hashtag2"]},{"1396370391":["hashtag1","hashtag2"]},{"1396370360":["hashtag1","hashtag2"]},{"1396370386":["hashtag1","hashtag2"]},{"1396370389":["hashtag1","hashtag2"]},{"1396370380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370383, 1396370391, 1396370360, 1396370386, 1396370389, 1396370380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64846348762512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:18:02.985778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_34_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_34_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370393"],"photo_id":"1396370393","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/835bedecb3ec00c893ac61c721fc6fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5071968293925295780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224343546,"filename":"image_27112025_07_17_34_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396370393"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396370393"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.290924072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:18:22.547383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_26_2914.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_28_2783.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_31_2632.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_35_3674.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_37_2527.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_40_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_26_2914.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_28_2783.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_31_2632.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_35_3674.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_37_2527.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_40_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370398","1396370410","1396370404","1396370401","1396370412","1396370408"],"photo_ids_order":["1396370398","1396370401","1396370404","1396370408","1396370410","1396370412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a754a9b2bce637883985271894d07773.jpg","text":"TemporaryFile(/tmp/multipartBody7398140654885719153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_26_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/27/52b89f491523e0aa1d019556879e8285.jpg","text":"TemporaryFile(/tmp/multipartBody2294994146780124565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_37_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/27/0def5cfd908396998ec8620c14d83b17.jpg","text":"TemporaryFile(/tmp/multipartBody5209557589902738377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_31_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/27/28a5d9e0679f7cb0b4b6933a4d4bbc0e.jpg","text":"TemporaryFile(/tmp/multipartBody1786751786100001672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_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/27/030aca9df247237aa7cf26fd4691d13d.jpg","text":"TemporaryFile(/tmp/multipartBody8390408274066767385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_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/27/5bbc8309237aed81cf6064c25fb71969.jpg","text":"TemporaryFile(/tmp/multipartBody5444859553725181027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224364394,"filename":"image_21112025_20_06_35_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370404","file1":"1396370401","file0":"1396370398","file4":"1396370410","file5":"1396370412","file3":"1396370408"},"map_files_photo_id_array":[{"photo_id":"1396370412","filename":"file5"},{"photo_id":"1396370404","filename":"file2"},{"photo_id":"1396370410","filename":"file4"},{"photo_id":"1396370401","filename":"file1"},{"photo_id":"1396370398","filename":"file0"},{"photo_id":"1396370408","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370398":["hashtag1","hashtag2"]},{"1396370410":["hashtag1","hashtag2"]},{"1396370404":["hashtag1","hashtag2"]},{"1396370401":["hashtag1","hashtag2"]},{"1396370412":["hashtag1","hashtag2"]},{"1396370408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370398, 1396370410, 1396370404, 1396370401, 1396370412, 1396370408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14091658592224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:19:12.784886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_43_3634.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_46_2553.jpg', '/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_50_3666.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_12_3014.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_20_8457.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_22_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_43_3634.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_46_2553.jpg
/home/pi/Desktop/images/21112025/20/06/image_21112025_20_06_50_3666.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_12_3014.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_20_8457.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_22_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370440","1396370437","1396370419","1396370416","1396370432","1396370423"],"photo_ids_order":["1396370416","1396370419","1396370423","1396370432","1396370437","1396370440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66178142483a8bcb0da7fee0df710056.jpg","text":"TemporaryFile(/tmp/multipartBody1384514905639634993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_08_22_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7600bddded38fed301a49e4ae8a87c9.jpg","text":"TemporaryFile(/tmp/multipartBody6050723034067053446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_08_20_8457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2b6b5bd0142d6ab2fa24821a33491ac.jpg","text":"TemporaryFile(/tmp/multipartBody8210881743490383807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_06_46_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/27/da73591c521510ee2eb9ea7df9e9f69a.jpg","text":"TemporaryFile(/tmp/multipartBody6010349186535510052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_06_43_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/27/ea87cf84af8a6ef7fa6b6546ab2e18fe.jpg","text":"TemporaryFile(/tmp/multipartBody7400924743435114872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_08_12_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/27/0766aa9802fe30dc81e7e3d61bcb92c6.jpg","text":"TemporaryFile(/tmp/multipartBody1086027623370800739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224414598,"filename":"image_21112025_20_06_50_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370423","file1":"1396370419","file0":"1396370416","file4":"1396370437","file5":"1396370440","file3":"1396370432"},"map_files_photo_id_array":[{"photo_id":"1396370440","filename":"file5"},{"photo_id":"1396370423","filename":"file2"},{"photo_id":"1396370437","filename":"file4"},{"photo_id":"1396370419","filename":"file1"},{"photo_id":"1396370416","filename":"file0"},{"photo_id":"1396370432","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370440":["hashtag1","hashtag2"]},{"1396370437":["hashtag1","hashtag2"]},{"1396370419":["hashtag1","hashtag2"]},{"1396370416":["hashtag1","hashtag2"]},{"1396370432":["hashtag1","hashtag2"]},{"1396370423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370440, 1396370437, 1396370419, 1396370416, 1396370432, 1396370423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51837110519409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:20:02.507439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_23_1602.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_25_1663.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_28_2655.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_30_2661.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_46_15522.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_50_4645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_23_1602.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_25_1663.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_28_2655.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_30_2661.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_46_15522.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_50_4645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370446","1396370448","1396370457","1396370450","1396370444","1396370453"],"photo_ids_order":["1396370444","1396370446","1396370448","1396370450","1396370453","1396370457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df530118ba477e5c81e6f55a42c458c5.jpg","text":"TemporaryFile(/tmp/multipartBody6373667689782689951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_25_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/27/7746e382ee21c4fab9f811f809d0341e.jpg","text":"TemporaryFile(/tmp/multipartBody2481162947564901667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_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/27/bb2f3ca87ab2f785592d0111c9f71954.jpg","text":"TemporaryFile(/tmp/multipartBody3065877872672490846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_50_4645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1303a636e33310023aa257b26805db5.jpg","text":"TemporaryFile(/tmp/multipartBody3547412683685136782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_30_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/27/37a305d4122b3fdc66931c3daec9e74c.jpg","text":"TemporaryFile(/tmp/multipartBody7632071912557869786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_23_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/27/2c4e09510120e5ea66c333c07a8f63af.jpg","text":"TemporaryFile(/tmp/multipartBody3107373870602122612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224463741,"filename":"image_21112025_20_08_46_15522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370448","file1":"1396370446","file0":"1396370444","file4":"1396370453","file5":"1396370457","file3":"1396370450"},"map_files_photo_id_array":[{"photo_id":"1396370457","filename":"file5"},{"photo_id":"1396370448","filename":"file2"},{"photo_id":"1396370453","filename":"file4"},{"photo_id":"1396370446","filename":"file1"},{"photo_id":"1396370444","filename":"file0"},{"photo_id":"1396370450","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370446":["hashtag1","hashtag2"]},{"1396370448":["hashtag1","hashtag2"]},{"1396370457":["hashtag1","hashtag2"]},{"1396370450":["hashtag1","hashtag2"]},{"1396370444":["hashtag1","hashtag2"]},{"1396370453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370446, 1396370448, 1396370457, 1396370450, 1396370444, 1396370453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24653649330139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:20:42.061037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/07/image_30102025_22_07_25_2810.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_34_2635.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_41_3588.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_46_2723.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_50_3631.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_52_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_25_2810.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_34_2635.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_41_3588.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_46_2723.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_50_3631.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_52_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370472","1396370469","1396370474","1396370471","1396370473","1396370467"],"photo_ids_order":["1396370467","1396370469","1396370471","1396370472","1396370473","1396370474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63424970a3fea9552c1547ce330efdef.jpg","text":"TemporaryFile(/tmp/multipartBody3176629455103493904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_46_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/27/013198d4fa5b88a3ff5cb0f96258845e.jpg","text":"TemporaryFile(/tmp/multipartBody9136538541719064213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_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/27/6f05b8beabeff60a61dae06a2c5a2294.jpg","text":"TemporaryFile(/tmp/multipartBody5226952202891374629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_52_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/27/3e1867a9c0ef090f426a06c53603074a.jpg","text":"TemporaryFile(/tmp/multipartBody7740734695261355803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_41_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/27/c1850f241bb38d7bd4f6c20a8e6b7cea.jpg","text":"TemporaryFile(/tmp/multipartBody5965468441276400021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_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/27/cbda005d7aea4126f75c1c9df8f35888.jpg","text":"TemporaryFile(/tmp/multipartBody1635705675947695619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224503382,"filename":"image_30102025_22_07_25_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370471","file1":"1396370469","file0":"1396370467","file4":"1396370473","file5":"1396370474","file3":"1396370472"},"map_files_photo_id_array":[{"photo_id":"1396370474","filename":"file5"},{"photo_id":"1396370471","filename":"file2"},{"photo_id":"1396370473","filename":"file4"},{"photo_id":"1396370469","filename":"file1"},{"photo_id":"1396370467","filename":"file0"},{"photo_id":"1396370472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370472":["hashtag1","hashtag2"]},{"1396370469":["hashtag1","hashtag2"]},{"1396370474":["hashtag1","hashtag2"]},{"1396370471":["hashtag1","hashtag2"]},{"1396370473":["hashtag1","hashtag2"]},{"1396370467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370472, 1396370469, 1396370474, 1396370471, 1396370473, 1396370467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.135926246643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:21:22.206712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_45_10661.jpg', '/home/pi/Desktop/images/27112025/07/19/image_27112025_07_20_04_9699.jpg', '/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_34_9585.jpg', '/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_44_9791.jpg', '/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_55_10559.jpg', '/home/pi/Desktop/images/27112025/07/21/image_27112025_07_21_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/17/image_27112025_07_17_45_10661.jpg
/home/pi/Desktop/images/27112025/07/19/image_27112025_07_20_04_9699.jpg
/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_34_9585.jpg
/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_44_9791.jpg
/home/pi/Desktop/images/27112025/07/20/image_27112025_07_20_55_10559.jpg
/home/pi/Desktop/images/27112025/07/21/image_27112025_07_21_14_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370479","1396370484","1396370498","1396370501","1396370494","1396370488"],"photo_ids_order":["1396370479","1396370484","1396370488","1396370494","1396370498","1396370501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cdbead02dd402349db91325e2d9bd57a.jpg","text":"TemporaryFile(/tmp/multipartBody1824077782098324569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_17_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80943da054afcb667573133d7e466ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8028085756312444025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_20_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d1c13884b7620bf4d9dcc3d01a38834.jpg","text":"TemporaryFile(/tmp/multipartBody8337330758022914328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_20_55_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1783011611687560d7be6244e46b0131.jpg","text":"TemporaryFile(/tmp/multipartBody2372472181482842023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_21_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c9436125180fde01125c12ac25653a3.jpg","text":"TemporaryFile(/tmp/multipartBody8234312578510843209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_20_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/595932c3cb8561fd910fd1becd1d4ab1.jpg","text":"TemporaryFile(/tmp/multipartBody741332926580384431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224543025,"filename":"image_27112025_07_20_34_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370488","file1":"1396370484","file0":"1396370479","file4":"1396370498","file5":"1396370501","file3":"1396370494"},"map_files_photo_id_array":[{"photo_id":"1396370501","filename":"file5"},{"photo_id":"1396370488","filename":"file2"},{"photo_id":"1396370498","filename":"file4"},{"photo_id":"1396370484","filename":"file1"},{"photo_id":"1396370479","filename":"file0"},{"photo_id":"1396370494","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370479":["hashtag1","hashtag2"]},{"1396370484":["hashtag1","hashtag2"]},{"1396370498":["hashtag1","hashtag2"]},{"1396370501":["hashtag1","hashtag2"]},{"1396370494":["hashtag1","hashtag2"]},{"1396370488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370479, 1396370484, 1396370498, 1396370501, 1396370494, 1396370488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862273931503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:22:02.817844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_52_1662.jpg', '/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_54_1743.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_07_3009.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_11_3902.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_14_2787.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_20_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_52_1662.jpg
/home/pi/Desktop/images/21112025/20/08/image_21112025_20_08_54_1743.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_07_3009.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_11_3902.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_14_2787.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_20_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370511","1396370508","1396370513","1396370516","1396370510","1396370504"],"photo_ids_order":["1396370504","1396370508","1396370510","1396370511","1396370513","1396370516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41dfe242b349e8d6b29627a1df755d0c.jpg","text":"TemporaryFile(/tmp/multipartBody3405843289285892559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_10_11_3902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b2033274b16a97060d6ced8cdf25c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6455224903204401133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_08_54_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/27/c5743ce586e251ff6d81545129c07251.jpg","text":"TemporaryFile(/tmp/multipartBody2593328770559361870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_10_14_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/27/fdb42250866d61748ffda1b64191bccd.jpg","text":"TemporaryFile(/tmp/multipartBody996798225789838528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_10_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/27/fd9cfb6d7db00411fdb5e4d3db320acf.jpg","text":"TemporaryFile(/tmp/multipartBody3539244941353466949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_10_07_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/27/ce0c99b0335f7ee1945d6ed3453e2eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2085190182524730817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224584055,"filename":"image_21112025_20_08_52_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370510","file1":"1396370508","file0":"1396370504","file4":"1396370513","file5":"1396370516","file3":"1396370511"},"map_files_photo_id_array":[{"photo_id":"1396370516","filename":"file5"},{"photo_id":"1396370510","filename":"file2"},{"photo_id":"1396370513","filename":"file4"},{"photo_id":"1396370508","filename":"file1"},{"photo_id":"1396370504","filename":"file0"},{"photo_id":"1396370511","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370511":["hashtag1","hashtag2"]},{"1396370508":["hashtag1","hashtag2"]},{"1396370513":["hashtag1","hashtag2"]},{"1396370516":["hashtag1","hashtag2"]},{"1396370510":["hashtag1","hashtag2"]},{"1396370504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370511, 1396370508, 1396370513, 1396370516, 1396370510, 1396370504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46741533279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:22:42.513253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/07/image_30102025_22_07_56_3525.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_59_2862.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_01_2618.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_05_3596.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_07_2715.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_10_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_56_3525.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_59_2862.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_01_2618.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_05_3596.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_07_2715.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_10_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: 1.2179877758026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:23:03.308138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/21/image_27112025_07_21_35_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/21/image_27112025_07_21_35_10688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370539"],"photo_id":"1396370539","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6b75f7583fe3b31bd0e50b49820058c.jpg","text":"TemporaryFile(/tmp/multipartBody8252803439296805120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224643897,"filename":"image_27112025_07_21_35_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396370539"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396370539"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.856288433074951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:23:22.693110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/22/image_27112025_07_22_44_9700.jpg', '/home/pi/Desktop/images/27112025/07/23/image_27112025_07_23_14_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/22/image_27112025_07_22_44_9700.jpg
/home/pi/Desktop/images/27112025/07/23/image_27112025_07_23_14_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370543","1396370546"],"photo_ids_order":["1396370543","1396370546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6cb299e045261ea59be68c549fbc494a.jpg","text":"TemporaryFile(/tmp/multipartBody4404241406380565812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224663277,"filename":"image_27112025_07_22_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4cc65e09a0d88e25dbbbbf0b9e82d018.jpg","text":"TemporaryFile(/tmp/multipartBody6102270947821760331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224663277,"filename":"image_27112025_07_23_14_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396370546","file0":"1396370543"},"map_files_photo_id_array":[{"photo_id":"1396370546","filename":"file1"},{"photo_id":"1396370543","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370543":["hashtag1","hashtag2"]},{"1396370546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370543, 1396370546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.769175052642822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:23:42.734691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/07/image_30102025_22_07_56_3525.jpg', '/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_59_2862.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_01_2618.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_05_3596.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_07_2715.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_10_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_56_3525.jpg
/home/pi/Desktop/images/30102025/22/07/image_30102025_22_07_59_2862.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_01_2618.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_05_3596.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_07_2715.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_10_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370563","1396370557","1396370565","1396370561","1396370564","1396370566"],"photo_ids_order":["1396370557","1396370561","1396370563","1396370564","1396370565","1396370566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3386b79864fcb2ac67945dd788a8e978.jpg","text":"TemporaryFile(/tmp/multipartBody9195869667713418783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_08_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/27/c5917483c65be570ce7b5fa40feb51c3.jpg","text":"TemporaryFile(/tmp/multipartBody8665301077898071105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_07_56_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/27/7aa892891878a514cd454442c854ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody1230413846953019073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_08_07_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/27/bd0e00e8d8cb4c97438b0cdbb9840f8f.jpg","text":"TemporaryFile(/tmp/multipartBody8145377309695591510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_07_59_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/27/25462b3a0308f78bdcabca84441f950f.jpg","text":"TemporaryFile(/tmp/multipartBody1214114145835402166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_08_05_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/27/e0aad3f607d54ea43007bbcae4927935.jpg","text":"TemporaryFile(/tmp/multipartBody2929045389977757958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224683963,"filename":"image_30102025_22_08_10_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370563","file1":"1396370561","file0":"1396370557","file4":"1396370565","file5":"1396370566","file3":"1396370564"},"map_files_photo_id_array":[{"photo_id":"1396370566","filename":"file5"},{"photo_id":"1396370563","filename":"file2"},{"photo_id":"1396370565","filename":"file4"},{"photo_id":"1396370561","filename":"file1"},{"photo_id":"1396370557","filename":"file0"},{"photo_id":"1396370564","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370563":["hashtag1","hashtag2"]},{"1396370557":["hashtag1","hashtag2"]},{"1396370565":["hashtag1","hashtag2"]},{"1396370561":["hashtag1","hashtag2"]},{"1396370564":["hashtag1","hashtag2"]},{"1396370566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370563, 1396370557, 1396370565, 1396370561, 1396370564, 1396370566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.337194204330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:24:21.901636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_23_2620.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_25_2678.jpg', '/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_29_3596.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_07_3012.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_11_3662.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_13_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_23_2620.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_25_2678.jpg
/home/pi/Desktop/images/21112025/20/10/image_21112025_20_10_29_3596.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_07_3012.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_11_3662.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_13_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370581","1396370578","1396370595","1396370589","1396370573","1396370576"],"photo_ids_order":["1396370573","1396370576","1396370578","1396370581","1396370589","1396370595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/008ee7299c8aff4955197d33be7975ac.jpg","text":"TemporaryFile(/tmp/multipartBody3970208557807894614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_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/27/38749e83a0cd51f4008aea45015ba0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5301917071797174996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_10_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/27/57fda63dca1f139c3ab1c083a45a4b6f.jpg","text":"TemporaryFile(/tmp/multipartBody9001580024804364854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_12_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/27/b5016b1d29d59e67a8d551636e3f717c.jpg","text":"TemporaryFile(/tmp/multipartBody5521589785854520094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_12_11_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/27/5a9750ac026689a01ba5aa0fe0b58e1a.jpg","text":"TemporaryFile(/tmp/multipartBody4832662407008606282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_10_23_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/27/c108c3b1e7fa0af415e34af7ba582d56.jpg","text":"TemporaryFile(/tmp/multipartBody1865317676392603575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224723787,"filename":"image_21112025_20_10_25_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370578","file1":"1396370576","file0":"1396370573","file4":"1396370589","file5":"1396370595","file3":"1396370581"},"map_files_photo_id_array":[{"photo_id":"1396370595","filename":"file5"},{"photo_id":"1396370578","filename":"file2"},{"photo_id":"1396370589","filename":"file4"},{"photo_id":"1396370576","filename":"file1"},{"photo_id":"1396370573","filename":"file0"},{"photo_id":"1396370581","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370581":["hashtag1","hashtag2"]},{"1396370578":["hashtag1","hashtag2"]},{"1396370595":["hashtag1","hashtag2"]},{"1396370589":["hashtag1","hashtag2"]},{"1396370573":["hashtag1","hashtag2"]},{"1396370576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370581, 1396370578, 1396370595, 1396370589, 1396370573, 1396370576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86486220359802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:25:02.858389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_17_3565.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_20_2627.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_22_2655.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_26_3679.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_29_2616.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_31_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_17_3565.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_20_2627.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_22_2655.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_26_3679.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_29_2616.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_31_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370605","1396370613","1396370607","1396370615","1396370609","1396370603"],"photo_ids_order":["1396370603","1396370605","1396370607","1396370609","1396370613","1396370615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9de4b96dbc97a002da33413d604b4dac.jpg","text":"TemporaryFile(/tmp/multipartBody7957462197465355257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_20_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/27/6ea607f5b67ce3982dda95d7217c3f12.jpg","text":"TemporaryFile(/tmp/multipartBody4982754195500654141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_29_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/27/4e3d3143f68e55bf7e6dc0d163631faf.jpg","text":"TemporaryFile(/tmp/multipartBody5788181114464074527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_22_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/27/ea0b68e98a6bb20280bde37b3e7c0db5.jpg","text":"TemporaryFile(/tmp/multipartBody3655937061569874756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_31_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/27/9a77dccac007e38df12fec093e4cc863.jpg","text":"TemporaryFile(/tmp/multipartBody2511588816103960933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_26_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/27/d1d28521c66dae66441369227f34fa75.jpg","text":"TemporaryFile(/tmp/multipartBody6356511159878549755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224764156,"filename":"image_21112025_20_12_17_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370607","file1":"1396370605","file0":"1396370603","file4":"1396370613","file5":"1396370615","file3":"1396370609"},"map_files_photo_id_array":[{"photo_id":"1396370615","filename":"file5"},{"photo_id":"1396370607","filename":"file2"},{"photo_id":"1396370613","filename":"file4"},{"photo_id":"1396370605","filename":"file1"},{"photo_id":"1396370603","filename":"file0"},{"photo_id":"1396370609","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370605":["hashtag1","hashtag2"]},{"1396370613":["hashtag1","hashtag2"]},{"1396370607":["hashtag1","hashtag2"]},{"1396370615":["hashtag1","hashtag2"]},{"1396370609":["hashtag1","hashtag2"]},{"1396370603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370605, 1396370613, 1396370607, 1396370615, 1396370609, 1396370603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.701037883758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:25:42.235437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/08/image_30102025_22_08_14_3571.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_16_2637.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_19_2591.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_22_2877.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_25_3620.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_28_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_14_3571.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_16_2637.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_19_2591.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_22_2877.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_25_3620.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_28_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370629","1396370623","1396370626","1396370628","1396370625","1396370627"],"photo_ids_order":["1396370623","1396370625","1396370626","1396370627","1396370628","1396370629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2644cee71ea6e3fa982fc1d963940e9.jpg","text":"TemporaryFile(/tmp/multipartBody7248978780786166370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_28_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/27/e7b374e106a2153e3dfe77faa6b96cde.jpg","text":"TemporaryFile(/tmp/multipartBody7812348265743523824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_14_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/27/e4a413fa386f377fea371f690d155e21.jpg","text":"TemporaryFile(/tmp/multipartBody1160476408141293443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_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/27/2be24818125351904afad654e2317d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2900193785084961628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_25_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/27/1ee6414bba52c8b84f7cfe95437f2982.jpg","text":"TemporaryFile(/tmp/multipartBody5794601104406831129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_16_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/27/852334e90dfc75d8a872245440cce881.jpg","text":"TemporaryFile(/tmp/multipartBody5476308208402237213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224803549,"filename":"image_30102025_22_08_22_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370626","file1":"1396370625","file0":"1396370623","file4":"1396370628","file5":"1396370629","file3":"1396370627"},"map_files_photo_id_array":[{"photo_id":"1396370629","filename":"file5"},{"photo_id":"1396370626","filename":"file2"},{"photo_id":"1396370628","filename":"file4"},{"photo_id":"1396370625","filename":"file1"},{"photo_id":"1396370623","filename":"file0"},{"photo_id":"1396370627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370629":["hashtag1","hashtag2"]},{"1396370623":["hashtag1","hashtag2"]},{"1396370626":["hashtag1","hashtag2"]},{"1396370628":["hashtag1","hashtag2"]},{"1396370625":["hashtag1","hashtag2"]},{"1396370627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370629, 1396370623, 1396370626, 1396370628, 1396370625, 1396370627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73004174232483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:26:22.395460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/23/image_27112025_07_23_24_9765.jpg', '/home/pi/Desktop/images/27112025/07/24/image_27112025_07_25_04_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/23/image_27112025_07_23_24_9765.jpg
/home/pi/Desktop/images/27112025/07/24/image_27112025_07_25_04_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370638","1396370634"],"photo_ids_order":["1396370634","1396370638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd405c6d7b5b1be77f55c21794b23b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3092451998026540097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224842990,"filename":"image_27112025_07_25_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c760f5e752b23bd632cc567980e80c26.jpg","text":"TemporaryFile(/tmp/multipartBody5689512165010942792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224842990,"filename":"image_27112025_07_23_24_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396370638","file0":"1396370634"},"map_files_photo_id_array":[{"photo_id":"1396370638","filename":"file1"},{"photo_id":"1396370634","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370638":["hashtag1","hashtag2"]},{"1396370634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370638, 1396370634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.50955605506897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:26:42.398103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/08/image_30102025_22_08_31_2756.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_34_3565.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_46_2829.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_49_2666.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_52_2969.jpg', '/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_55_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_31_2756.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_34_3565.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_46_2829.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_49_2666.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_52_2969.jpg
/home/pi/Desktop/images/30102025/22/08/image_30102025_22_08_55_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370647","1396370650","1396370646","1396370649","1396370651","1396370648"],"photo_ids_order":["1396370646","1396370647","1396370648","1396370649","1396370650","1396370651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5932622be5ab6d11fb4facd2fb546ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5851378545989774268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_08_34_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/27/bfc5858e5949f08bb844f7c4abc51d2d.jpg","text":"TemporaryFile(/tmp/multipartBody2536723210862608947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_08_52_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39fb5b7ba6f692245ac0cc130d646672.jpg","text":"TemporaryFile(/tmp/multipartBody3703401968868107536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_08_31_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/27/6bc5d77c410ef97f9537820516864481.jpg","text":"TemporaryFile(/tmp/multipartBody4224390319125293464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_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/27/8b6788dc17c735b0016936d8471bd981.jpg","text":"TemporaryFile(/tmp/multipartBody4133827895930295192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_08_55_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/27/f347f4d6f5403d2cd05f384ed409317b.jpg","text":"TemporaryFile(/tmp/multipartBody4410420800867362820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224863711,"filename":"image_30102025_22_08_46_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370648","file1":"1396370647","file0":"1396370646","file4":"1396370650","file5":"1396370651","file3":"1396370649"},"map_files_photo_id_array":[{"photo_id":"1396370651","filename":"file5"},{"photo_id":"1396370648","filename":"file2"},{"photo_id":"1396370650","filename":"file4"},{"photo_id":"1396370647","filename":"file1"},{"photo_id":"1396370646","filename":"file0"},{"photo_id":"1396370649","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370647":["hashtag1","hashtag2"]},{"1396370650":["hashtag1","hashtag2"]},{"1396370646":["hashtag1","hashtag2"]},{"1396370649":["hashtag1","hashtag2"]},{"1396370651":["hashtag1","hashtag2"]},{"1396370648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370647, 1396370650, 1396370646, 1396370649, 1396370651, 1396370648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.714444637298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:27:22.551610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/26/image_27112025_07_26_34_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/26/image_27112025_07_26_34_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370659"],"photo_id":"1396370659","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/515457acf5d242dd500e6e5243641026.jpg","text":"TemporaryFile(/tmp/multipartBody8561556000900803991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224903086,"filename":"image_27112025_07_26_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396370659"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396370659"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.448431491851807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:27:42.570439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/09/image_30102025_22_09_01_2683.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_10_2656.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_14_3720.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_19_2731.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_25_2795.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_31_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_01_2683.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_10_2656.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_14_3720.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_19_2731.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_25_2795.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_31_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370680","1396370677","1396370682","1396370672","1396370675","1396370678"],"photo_ids_order":["1396370672","1396370675","1396370677","1396370678","1396370680","1396370682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73b459d74ac3cfaf2201728cbc005425.jpg","text":"TemporaryFile(/tmp/multipartBody2898284311851110995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_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/27/4f3cefaaf74473be364ec52259836398.jpg","text":"TemporaryFile(/tmp/multipartBody6470240827637314538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_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/27/f07b6f67302ae70d681aea3d15470332.jpg","text":"TemporaryFile(/tmp/multipartBody6605361251115325022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_31_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/27/7d8401514d2ec4907bb4895ab8702d59.jpg","text":"TemporaryFile(/tmp/multipartBody7226247050613803075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_01_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/27/a7a577f65a6451a9ba7a462f3ab0daed.jpg","text":"TemporaryFile(/tmp/multipartBody2753125507156323755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_10_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/27/75d225f55d2d661e8507605ca886d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3983278621332798000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224923931,"filename":"image_30102025_22_09_19_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370677","file1":"1396370675","file0":"1396370672","file4":"1396370680","file5":"1396370682","file3":"1396370678"},"map_files_photo_id_array":[{"photo_id":"1396370682","filename":"file5"},{"photo_id":"1396370677","filename":"file2"},{"photo_id":"1396370680","filename":"file4"},{"photo_id":"1396370675","filename":"file1"},{"photo_id":"1396370672","filename":"file0"},{"photo_id":"1396370678","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370680":["hashtag1","hashtag2"]},{"1396370677":["hashtag1","hashtag2"]},{"1396370682":["hashtag1","hashtag2"]},{"1396370672":["hashtag1","hashtag2"]},{"1396370675":["hashtag1","hashtag2"]},{"1396370678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370680, 1396370677, 1396370682, 1396370672, 1396370675, 1396370678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.859134912490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:28:22.798839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/27/image_27112025_07_27_34_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/27/image_27112025_07_27_34_9773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370688"],"photo_id":"1396370688","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13bc4c68491a0cd37d80cdcdf58d38b2.jpg","text":"TemporaryFile(/tmp/multipartBody8150777214382301612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224963343,"filename":"image_27112025_07_27_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396370688"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396370688"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.675581216812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:28:42.825787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/09/image_30102025_22_09_37_2639.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_41_3596.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_43_2560.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_46_2673.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_49_2853.jpg', '/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_55_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/22/09/image_30102025_22_09_37_2639.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_41_3596.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_43_2560.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_46_2673.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_49_2853.jpg
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_55_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370701","1396370707","1396370700","1396370703","1396370698","1396370702"],"photo_ids_order":["1396370698","1396370700","1396370701","1396370702","1396370703","1396370707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a635eb5479ac58d375c21be2b76ed22.jpg","text":"TemporaryFile(/tmp/multipartBody5050292627399642526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_43_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/27/e66deb968e64742a4c70c944a116aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody7179483013286572266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_55_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/27/1dba6880a4d9eaf18b92b629c75e43e6.jpg","text":"TemporaryFile(/tmp/multipartBody6521605946341451732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_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/27/0f4ccad7371f30d66ffc95a8e3c95205.jpg","text":"TemporaryFile(/tmp/multipartBody3235242223955816123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_49_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/27/4f637e39b1066224bc9c1987f0324379.jpg","text":"TemporaryFile(/tmp/multipartBody8013452609115076411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_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/27/2642c9944ab4dc7a10daafa513d0fef3.jpg","text":"TemporaryFile(/tmp/multipartBody6924566199329100755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764224984152,"filename":"image_30102025_22_09_46_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370701","file1":"1396370700","file0":"1396370698","file4":"1396370703","file5":"1396370707","file3":"1396370702"},"map_files_photo_id_array":[{"photo_id":"1396370707","filename":"file5"},{"photo_id":"1396370701","filename":"file2"},{"photo_id":"1396370703","filename":"file4"},{"photo_id":"1396370700","filename":"file1"},{"photo_id":"1396370698","filename":"file0"},{"photo_id":"1396370702","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370701":["hashtag1","hashtag2"]},{"1396370707":["hashtag1","hashtag2"]},{"1396370700":["hashtag1","hashtag2"]},{"1396370703":["hashtag1","hashtag2"]},{"1396370698":["hashtag1","hashtag2"]},{"1396370702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370701, 1396370707, 1396370700, 1396370703, 1396370698, 1396370702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.056649684906006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:29:22.002981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/28/image_27112025_07_28_45_9814.jpg', '/home/pi/Desktop/images/27112025/07/29/image_27112025_07_29_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/28/image_27112025_07_28_45_9814.jpg
/home/pi/Desktop/images/27112025/07/29/image_27112025_07_29_14_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370717","1396370720"],"photo_ids_order":["1396370717","1396370720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81ade889c34495ac4e86b5c6cb4f1f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6804987363349331207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225022607,"filename":"image_27112025_07_28_45_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cb5a6d834e909e445fd474e46f605e5.jpg","text":"TemporaryFile(/tmp/multipartBody8803958649152542147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225022607,"filename":"image_27112025_07_29_14_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396370720","file0":"1396370717"},"map_files_photo_id_array":[{"photo_id":"1396370720","filename":"file1"},{"photo_id":"1396370717","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370717":["hashtag1","hashtag2"]},{"1396370720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370717, 1396370720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.94889760017395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:29:42.011163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/09/image_30102025_22_09_58_2553.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_07_3015.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_11_3637.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_17_3601.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_20_2717.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_22_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/09/image_30102025_22_09_58_2553.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_07_3015.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_11_3637.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_17_3601.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_20_2717.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_22_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370734","1396370731","1396370730","1396370733","1396370732","1396370729"],"photo_ids_order":["1396370729","1396370730","1396370731","1396370732","1396370733","1396370734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5a872a67799342931045d3d25164a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3569217229610472986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_11_22_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/27/6920363fd062f23938a0ec6adf1ef86c.jpg","text":"TemporaryFile(/tmp/multipartBody914990287454704228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_11_11_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/27/a898b51565706e1945707c5372dd8526.jpg","text":"TemporaryFile(/tmp/multipartBody2086783261518753514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_11_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/27/fc3ef27488c08019234e10bfea4f4350.jpg","text":"TemporaryFile(/tmp/multipartBody7230450244406021735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_11_20_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/27/d9419c94e4855ce4f89198e1952a0afb.jpg","text":"TemporaryFile(/tmp/multipartBody7968639714800687049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_11_17_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/27/1a0436ecfa374498299c2545adb1401d.jpg","text":"TemporaryFile(/tmp/multipartBody3502841267735636560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225043323,"filename":"image_30102025_22_09_58_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370731","file1":"1396370730","file0":"1396370729","file4":"1396370733","file5":"1396370734","file3":"1396370732"},"map_files_photo_id_array":[{"photo_id":"1396370734","filename":"file5"},{"photo_id":"1396370731","filename":"file2"},{"photo_id":"1396370733","filename":"file4"},{"photo_id":"1396370730","filename":"file1"},{"photo_id":"1396370729","filename":"file0"},{"photo_id":"1396370732","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370734":["hashtag1","hashtag2"]},{"1396370731":["hashtag1","hashtag2"]},{"1396370730":["hashtag1","hashtag2"]},{"1396370733":["hashtag1","hashtag2"]},{"1396370732":["hashtag1","hashtag2"]},{"1396370729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370734, 1396370731, 1396370730, 1396370733, 1396370732, 1396370729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26657843589783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:30:22.260317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_35_3723.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_38_2643.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_40_2697.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_44_3667.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_47_2611.jpg', '/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_49_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_35_3723.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_38_2643.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_40_2697.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_44_3667.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_47_2611.jpg
/home/pi/Desktop/images/21112025/20/12/image_21112025_20_12_49_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370761","1396370742","1396370745","1396370750","1396370747","1396370770"],"photo_ids_order":["1396370742","1396370745","1396370747","1396370750","1396370761","1396370770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2565bacee891793f3ec8c7a9a5b5fad.jpg","text":"TemporaryFile(/tmp/multipartBody8951160054786852611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_47_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/27/d493023f6b6c421818f94ac58016ab12.jpg","text":"TemporaryFile(/tmp/multipartBody4598064431652890878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_35_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/27/250f877a5ade1e7f253597cec962f80a.jpg","text":"TemporaryFile(/tmp/multipartBody7773638180700174493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_38_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/27/aa511909f8c0e99765859093698a3d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5778515606732595408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_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/27/d9a2aa1856288ed8a7d1ed0a01d95904.jpg","text":"TemporaryFile(/tmp/multipartBody6856931059991295968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_40_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/27/58ace1a790484068ba1ea25eaea9380a.jpg","text":"TemporaryFile(/tmp/multipartBody6250142475451973049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225084118,"filename":"image_21112025_20_12_49_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370747","file1":"1396370745","file0":"1396370742","file4":"1396370761","file5":"1396370770","file3":"1396370750"},"map_files_photo_id_array":[{"photo_id":"1396370770","filename":"file5"},{"photo_id":"1396370747","filename":"file2"},{"photo_id":"1396370761","filename":"file4"},{"photo_id":"1396370745","filename":"file1"},{"photo_id":"1396370742","filename":"file0"},{"photo_id":"1396370750","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370761":["hashtag1","hashtag2"]},{"1396370742":["hashtag1","hashtag2"]},{"1396370745":["hashtag1","hashtag2"]},{"1396370750":["hashtag1","hashtag2"]},{"1396370747":["hashtag1","hashtag2"]},{"1396370770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370761, 1396370742, 1396370745, 1396370750, 1396370747, 1396370770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16850543022156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:31:02.803228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_06_16286.jpg', '/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_07_1603.jpg', '/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_09_1593.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_07_3019.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_11_3567.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_13_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_06_16286.jpg
/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_07_1603.jpg
/home/pi/Desktop/images/21112025/20/13/image_21112025_20_13_09_1593.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_07_3019.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_11_3567.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_13_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370776","1396370781","1396370784","1396370778","1396370772","1396370774"],"photo_ids_order":["1396370772","1396370774","1396370776","1396370778","1396370781","1396370784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/762793515cfac8ca65635334ff934668.jpg","text":"TemporaryFile(/tmp/multipartBody5145413631581176139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_13_09_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/27/66e5d779b847018e715986f36a24a3ee.jpg","text":"TemporaryFile(/tmp/multipartBody3907020791471848715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_14_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/27/7ca9fc219b0e02eaf96d8db955af81f0.jpg","text":"TemporaryFile(/tmp/multipartBody1782550876594250861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_14_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/27/e453e8f4193b2590101d1fcd40e14a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6889446120311807479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_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/27/03f412739553957d0016dd0aa6bfc819.jpg","text":"TemporaryFile(/tmp/multipartBody7583869787086763571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_13_06_16286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6b1e727086975c7526998199af87fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3417582359996075160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225124113,"filename":"image_21112025_20_13_07_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370776","file1":"1396370774","file0":"1396370772","file4":"1396370781","file5":"1396370784","file3":"1396370778"},"map_files_photo_id_array":[{"photo_id":"1396370784","filename":"file5"},{"photo_id":"1396370776","filename":"file2"},{"photo_id":"1396370781","filename":"file4"},{"photo_id":"1396370774","filename":"file1"},{"photo_id":"1396370772","filename":"file0"},{"photo_id":"1396370778","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370776":["hashtag1","hashtag2"]},{"1396370781":["hashtag1","hashtag2"]},{"1396370784":["hashtag1","hashtag2"]},{"1396370778":["hashtag1","hashtag2"]},{"1396370772":["hashtag1","hashtag2"]},{"1396370774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370776, 1396370781, 1396370784, 1396370778, 1396370772, 1396370774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23834991455078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:31:42.356642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/11/image_30102025_22_11_25_2819.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_29_3738.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_32_2681.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_38_3608.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_41_2715.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_50_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_25_2819.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_29_3738.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_32_2681.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_38_3608.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_41_2715.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_50_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370800","1396370796","1396370798","1396370795","1396370794","1396370797"],"photo_ids_order":["1396370794","1396370795","1396370796","1396370797","1396370798","1396370800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e442131ac2b9a59416813d5bc1ab2b24.jpg","text":"TemporaryFile(/tmp/multipartBody6027483164334078955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_50_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/27/868260f685e99a3c3b3d2cdd2eaad153.jpg","text":"TemporaryFile(/tmp/multipartBody3145085029789042328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_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/27/6ef927f0da5d890823dfb12ae8b3c357.jpg","text":"TemporaryFile(/tmp/multipartBody8931102300982047094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_41_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/27/e3af571a17b794c1ca6ed9b3fc842737.jpg","text":"TemporaryFile(/tmp/multipartBody1789901565884116566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_29_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/27/1dfa7817cd1dc8d8f124624422a5803b.jpg","text":"TemporaryFile(/tmp/multipartBody9120513622560567047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_25_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/27/6b22551b9703bfde6c9accd6a3a61105.jpg","text":"TemporaryFile(/tmp/multipartBody7554346192698232886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225163846,"filename":"image_30102025_22_11_38_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370796","file1":"1396370795","file0":"1396370794","file4":"1396370798","file5":"1396370800","file3":"1396370797"},"map_files_photo_id_array":[{"photo_id":"1396370800","filename":"file5"},{"photo_id":"1396370796","filename":"file2"},{"photo_id":"1396370798","filename":"file4"},{"photo_id":"1396370795","filename":"file1"},{"photo_id":"1396370794","filename":"file0"},{"photo_id":"1396370797","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370800":["hashtag1","hashtag2"]},{"1396370796":["hashtag1","hashtag2"]},{"1396370798":["hashtag1","hashtag2"]},{"1396370795":["hashtag1","hashtag2"]},{"1396370794":["hashtag1","hashtag2"]},{"1396370797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370800, 1396370796, 1396370798, 1396370795, 1396370794, 1396370797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6979124546051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:32:22.550765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/29/image_27112025_07_29_54_9707.jpg', '/home/pi/Desktop/images/27112025/07/31/image_27112025_07_31_15_10714.jpg', '/home/pi/Desktop/images/27112025/07/31/image_27112025_07_32_05_9852.jpg', '/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_35_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/29/image_27112025_07_29_54_9707.jpg
/home/pi/Desktop/images/27112025/07/31/image_27112025_07_31_15_10714.jpg
/home/pi/Desktop/images/27112025/07/31/image_27112025_07_32_05_9852.jpg
/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_35_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370818","1396370814","1396370810","1396370807"],"photo_ids_order":["1396370807","1396370810","1396370814","1396370818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4682d597577183478fe8bc3d2e10d597.jpg","text":"TemporaryFile(/tmp/multipartBody6480707526120521148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225203256,"filename":"image_27112025_07_32_35_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7eea4a574ac575e590be6e7288101a1f.jpg","text":"TemporaryFile(/tmp/multipartBody5536004833024318761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225203256,"filename":"image_27112025_07_32_05_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9edd45af4c70be2c31fda40bfe3cce0e.jpg","text":"TemporaryFile(/tmp/multipartBody8993377474253384158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225203256,"filename":"image_27112025_07_31_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2dec99549d13ffb40c3c96f4e946dd5e.jpg","text":"TemporaryFile(/tmp/multipartBody9080356545072522313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225203256,"filename":"image_27112025_07_29_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370814","file1":"1396370810","file0":"1396370807","file3":"1396370818"},"map_files_photo_id_array":[{"photo_id":"1396370814","filename":"file2"},{"photo_id":"1396370810","filename":"file1"},{"photo_id":"1396370807","filename":"file0"},{"photo_id":"1396370818","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370818":["hashtag1","hashtag2"]},{"1396370814":["hashtag1","hashtag2"]},{"1396370810":["hashtag1","hashtag2"]},{"1396370807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370818, 1396370814, 1396370810, 1396370807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.558619260787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:33:03.373855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_17_3670.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_20_2755.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_22_2592.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_26_3582.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_28_2653.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_31_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_17_3670.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_20_2755.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_22_2592.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_26_3582.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_28_2653.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_31_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370833","1396370827","1396370821","1396370830","1396370823","1396370825"],"photo_ids_order":["1396370821","1396370823","1396370825","1396370827","1396370830","1396370833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d9e4534baaa24cf4685b1d1bb73cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5608920883676038511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_31_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/27/3ca1dbb9fd4e11b5f93f04749e002ede.jpg","text":"TemporaryFile(/tmp/multipartBody4277727435821903833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_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/27/a4270e02cb5dc19b6119d717ae62da67.jpg","text":"TemporaryFile(/tmp/multipartBody3760849369022931747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_17_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/27/86980fc983735b588e1f9036d8a38965.jpg","text":"TemporaryFile(/tmp/multipartBody4379027201473168736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_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/27/0706418ae8f04c1161b31c34c0f24af5.jpg","text":"TemporaryFile(/tmp/multipartBody8846102161586030211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_20_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/27/50044a29651bb4dfa037d0c83747f279.jpg","text":"TemporaryFile(/tmp/multipartBody3935842299659636815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225244652,"filename":"image_21112025_20_14_22_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370825","file1":"1396370823","file0":"1396370821","file4":"1396370830","file5":"1396370833","file3":"1396370827"},"map_files_photo_id_array":[{"photo_id":"1396370833","filename":"file5"},{"photo_id":"1396370825","filename":"file2"},{"photo_id":"1396370830","filename":"file4"},{"photo_id":"1396370823","filename":"file1"},{"photo_id":"1396370821","filename":"file0"},{"photo_id":"1396370827","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370833":["hashtag1","hashtag2"]},{"1396370827":["hashtag1","hashtag2"]},{"1396370821":["hashtag1","hashtag2"]},{"1396370830":["hashtag1","hashtag2"]},{"1396370823":["hashtag1","hashtag2"]},{"1396370825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370833, 1396370827, 1396370821, 1396370830, 1396370823, 1396370825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70515990257263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:33:42.750375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/11/image_30102025_22_11_53_3003.jpg', '/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_58_2803.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_02_3533.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_05_2859.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_07_2628.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_11_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_53_3003.jpg
/home/pi/Desktop/images/30102025/22/11/image_30102025_22_11_58_2803.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_02_3533.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_05_2859.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_07_2628.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_11_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370856","1396370859","1396370844","1396370847","1396370861","1396370849"],"photo_ids_order":["1396370844","1396370847","1396370849","1396370856","1396370859","1396370861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8701bac658d8c9cf920e2e68967bf91.jpg","text":"TemporaryFile(/tmp/multipartBody2651037931365218336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_12_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/27/9304c9dc7254bf1236c7162a25c3d7ce.jpg","text":"TemporaryFile(/tmp/multipartBody2678200300388700848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_12_07_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/27/090e4a1b2895099f61f915a50cb00e04.jpg","text":"TemporaryFile(/tmp/multipartBody3446640149792932395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_11_53_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20f237adebe7462cb114f02722c0fe65.jpg","text":"TemporaryFile(/tmp/multipartBody1258797578574855107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_11_58_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/27/a825212fc056751843a76b35e3cb5104.jpg","text":"TemporaryFile(/tmp/multipartBody3609083029946210005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_12_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/27/df13c86cdea90c0003b8c8e9af9f053a.jpg","text":"TemporaryFile(/tmp/multipartBody496525203775327246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225284116,"filename":"image_30102025_22_12_02_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370849","file1":"1396370847","file0":"1396370844","file4":"1396370859","file5":"1396370861","file3":"1396370856"},"map_files_photo_id_array":[{"photo_id":"1396370861","filename":"file5"},{"photo_id":"1396370849","filename":"file2"},{"photo_id":"1396370859","filename":"file4"},{"photo_id":"1396370847","filename":"file1"},{"photo_id":"1396370844","filename":"file0"},{"photo_id":"1396370856","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396370856":["hashtag1","hashtag2"]},{"1396370859":["hashtag1","hashtag2"]},{"1396370844":["hashtag1","hashtag2"]},{"1396370847":["hashtag1","hashtag2"]},{"1396370861":["hashtag1","hashtag2"]},{"1396370849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396370856, 1396370859, 1396370844, 1396370847, 1396370861, 1396370849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.979572772979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:34:21.933024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_54_9569.jpg', '/home/pi/Desktop/images/27112025/07/32/image_27112025_07_33_04_9707.jpg', '/home/pi/Desktop/images/27112025/07/33/image_27112025_07_34_04_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_54_9569.jpg
/home/pi/Desktop/images/27112025/07/32/image_27112025_07_33_04_9707.jpg
/home/pi/Desktop/images/27112025/07/33/image_27112025_07_34_04_9801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5660574436187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:34:31.921662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_35_3666.jpg', '/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_58_20403.jpg', '/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_01_1636.jpg', '/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_11_10345.jpg', '/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_13_1719.jpg', '/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_15_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_35_3666.jpg
/home/pi/Desktop/images/21112025/20/14/image_21112025_20_14_58_20403.jpg
/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_01_1636.jpg
/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_11_10345.jpg
/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_13_1719.jpg
/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_15_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370886","1396370895","1396370880","1396370891","1396370890","1396370884"],"photo_ids_order":["1396370880","1396370884","1396370886","1396370890","1396370891","1396370895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2f282d5ebcaaa78fb1b9e06c5389de5.jpg","text":"TemporaryFile(/tmp/multipartBody2558341281859962692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_15_01_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/27/33e0e0116810eacccaea951ca0c0c552.jpg","text":"TemporaryFile(/tmp/multipartBody4925101224130432585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_15_15_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/27/d918a5c4e96b3d5b7262a1e77cbdff77.jpg","text":"TemporaryFile(/tmp/multipartBody561265769936316523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_14_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/27/5a65e355a859c82e646527630b5ef167.jpg","text":"TemporaryFile(/tmp/multipartBody7490903374710087675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_15_13_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/27/0ae8614b7c3ee2806077bd1f59de18a7.jpg","text":"TemporaryFile(/tmp/multipartBody8248320843911425447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_15_11_10345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52b6fe6909133e3b0adea3d4f8b93321.jpg","text":"TemporaryFile(/tmp/multipartBody622312747210589892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225334136,"filename":"image_21112025_20_14_58_20403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370886","file1":"1396370884","file0":"1396370880","file4":"1396370891","file5":"1396370895","file3":"1396370890"},"map_files_photo_id_array":[{"photo_id":"1396370895","filename":"file5"},{"photo_id":"1396370886","filename":"file2"},{"photo_id":"1396370891","filename":"file4"},{"photo_id":"1396370884","filename":"file1"},{"photo_id":"1396370880","filename":"file0"},{"photo_id":"1396370890","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370886":["hashtag1","hashtag2"]},{"1396370895":["hashtag1","hashtag2"]},{"1396370880":["hashtag1","hashtag2"]},{"1396370891":["hashtag1","hashtag2"]},{"1396370890":["hashtag1","hashtag2"]},{"1396370884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370886, 1396370895, 1396370880, 1396370891, 1396370890, 1396370884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11703634262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:35:12.171024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_16_1595.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_11_3668.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_17_3775.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_19_2599.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_22_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/15/image_21112025_20_15_16_1595.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_07_3018.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_11_3668.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_17_3775.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_19_2599.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_22_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370907","1396370921","1396370915","1396370924","1396370918","1396370927"],"photo_ids_order":["1396370907","1396370915","1396370918","1396370921","1396370924","1396370927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a16989b952ca462a16574abfe7c2ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2434427344964623040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_15_16_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/27/48239e9b151982fb63631486e6f4b775.jpg","text":"TemporaryFile(/tmp/multipartBody5971031607663320396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_16_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/27/ad5b92c2c51938554b6bcece062a011a.jpg","text":"TemporaryFile(/tmp/multipartBody2595700352123055409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_16_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/27/c4921e9279b9c16598d950084b6c135e.jpg","text":"TemporaryFile(/tmp/multipartBody2508544559863312537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_16_19_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/27/02a6c154d49f917f9b69741c2fd5959d.jpg","text":"TemporaryFile(/tmp/multipartBody4695274359155420273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_16_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/27/63c28b2153ae1113668896fbabe86cbe.jpg","text":"TemporaryFile(/tmp/multipartBody2704234181899864834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225373937,"filename":"image_21112025_20_16_22_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370918","file1":"1396370915","file0":"1396370907","file4":"1396370924","file5":"1396370927","file3":"1396370921"},"map_files_photo_id_array":[{"photo_id":"1396370927","filename":"file5"},{"photo_id":"1396370918","filename":"file2"},{"photo_id":"1396370924","filename":"file4"},{"photo_id":"1396370915","filename":"file1"},{"photo_id":"1396370907","filename":"file0"},{"photo_id":"1396370921","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370907":["hashtag1","hashtag2"]},{"1396370921":["hashtag1","hashtag2"]},{"1396370915":["hashtag1","hashtag2"]},{"1396370924":["hashtag1","hashtag2"]},{"1396370918":["hashtag1","hashtag2"]},{"1396370927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370907, 1396370921, 1396370915, 1396370924, 1396370918, 1396370927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05239963531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:36:02.789190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_54_9569.jpg', '/home/pi/Desktop/images/27112025/07/32/image_27112025_07_33_04_9707.jpg', '/home/pi/Desktop/images/27112025/07/33/image_27112025_07_34_04_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/32/image_27112025_07_32_54_9569.jpg
/home/pi/Desktop/images/27112025/07/32/image_27112025_07_33_04_9707.jpg
/home/pi/Desktop/images/27112025/07/33/image_27112025_07_34_04_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370935","1396370937","1396370933"],"photo_ids_order":["1396370933","1396370935","1396370937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0897ab334508516f5a6dfdd123e0527a.jpg","text":"TemporaryFile(/tmp/multipartBody71738024067204853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225423444,"filename":"image_27112025_07_33_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1cf7f944b59fa40d3236a054d9f7ff9.jpg","text":"TemporaryFile(/tmp/multipartBody6250508115171028107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225423444,"filename":"image_27112025_07_34_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3a764eb5ac4c25577dc1102454b307a.jpg","text":"TemporaryFile(/tmp/multipartBody3952683291294217708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225423444,"filename":"image_27112025_07_32_54_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370937","file1":"1396370935","file0":"1396370933"},"map_files_photo_id_array":[{"photo_id":"1396370937","filename":"file2"},{"photo_id":"1396370935","filename":"file1"},{"photo_id":"1396370933","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370935":["hashtag1","hashtag2"]},{"1396370937":["hashtag1","hashtag2"]},{"1396370933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370935, 1396370937, 1396370933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.56844687461853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:36:32.337912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_25_2803.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_28_2894.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_32_3822.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_34_2585.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_37_2607.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_41_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_25_2803.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_28_2894.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_32_3822.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_34_2585.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_37_2607.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_41_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370953","1396370955","1396370958","1396370951","1396370948","1396370957"],"photo_ids_order":["1396370948","1396370951","1396370953","1396370955","1396370957","1396370958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ac3489a48ec9d468bf00f8dec7f3b10.jpg","text":"TemporaryFile(/tmp/multipartBody2960289645691704304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_32_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/27/ffb13c53e184ac30fe9610be50f83d74.jpg","text":"TemporaryFile(/tmp/multipartBody1316759568396831466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_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/27/0b33461566387c9151135421b218cfab.jpg","text":"TemporaryFile(/tmp/multipartBody405069430737225584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_41_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/27/cf890976570489d3c8c3f6d5fa1c9e78.jpg","text":"TemporaryFile(/tmp/multipartBody1400999976176120210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_28_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/27/7a25f8f1c639aefad856d9304af90620.jpg","text":"TemporaryFile(/tmp/multipartBody4306589456476569265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_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/27/0070c2f710fd06576dcc02bc8da6a2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8800780920462112508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225454192,"filename":"image_21112025_20_16_37_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370953","file1":"1396370951","file0":"1396370948","file4":"1396370957","file5":"1396370958","file3":"1396370955"},"map_files_photo_id_array":[{"photo_id":"1396370958","filename":"file5"},{"photo_id":"1396370953","filename":"file2"},{"photo_id":"1396370957","filename":"file4"},{"photo_id":"1396370951","filename":"file1"},{"photo_id":"1396370948","filename":"file0"},{"photo_id":"1396370955","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370953":["hashtag1","hashtag2"]},{"1396370955":["hashtag1","hashtag2"]},{"1396370958":["hashtag1","hashtag2"]},{"1396370951":["hashtag1","hashtag2"]},{"1396370948":["hashtag1","hashtag2"]},{"1396370957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370953, 1396370955, 1396370958, 1396370951, 1396370948, 1396370957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80531430244446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:37:12.540550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_43_2635.jpg', '/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_46_2693.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_07_3139.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_11_3582.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_13_2554.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_16_2970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_43_2635.jpg
/home/pi/Desktop/images/21112025/20/16/image_21112025_20_16_46_2693.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_07_3139.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_11_3582.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_13_2554.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_16_2970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370973","1396370967","1396370976","1396370970","1396370980","1396370983"],"photo_ids_order":["1396370967","1396370970","1396370973","1396370976","1396370980","1396370983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de183872ef52b73ca581e1a8daab5ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8485254015996148488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_19_07_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/27/e5208ffd7486d61830e3f296866ff293.jpg","text":"TemporaryFile(/tmp/multipartBody6825913783222149486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_16_43_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/27/2345f2b47f326ecd98035c125217c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody563973700970379892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_19_11_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/27/6ddcf25c90280c16cfcd54154279a0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5226885053603913563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_16_46_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/27/cdb034a6717c65f253c6ef2e1fe92c57.jpg","text":"TemporaryFile(/tmp/multipartBody6420719333965811716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_19_13_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/27/499edae896fbaf49e7f9ab837c9386c8.jpg","text":"TemporaryFile(/tmp/multipartBody2786897771074755085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225494344,"filename":"image_21112025_20_19_16_2970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396370973","file1":"1396370970","file0":"1396370967","file4":"1396370980","file5":"1396370983","file3":"1396370976"},"map_files_photo_id_array":[{"photo_id":"1396370983","filename":"file5"},{"photo_id":"1396370973","filename":"file2"},{"photo_id":"1396370980","filename":"file4"},{"photo_id":"1396370970","filename":"file1"},{"photo_id":"1396370967","filename":"file0"},{"photo_id":"1396370976","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396370973":["hashtag1","hashtag2"]},{"1396370967":["hashtag1","hashtag2"]},{"1396370976":["hashtag1","hashtag2"]},{"1396370970":["hashtag1","hashtag2"]},{"1396370980":["hashtag1","hashtag2"]},{"1396370983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396370973, 1396370967, 1396370976, 1396370970, 1396370980, 1396370983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.088797092437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:38:03.343547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/34/image_27112025_07_34_14_9766.jpg', '/home/pi/Desktop/images/27112025/07/36/image_27112025_07_36_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/34/image_27112025_07_34_14_9766.jpg
/home/pi/Desktop/images/27112025/07/36/image_27112025_07_36_45_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396370988","1396370990"],"photo_ids_order":["1396370988","1396370990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1b7cb5e0d617e916f15c15a3cdd97d8.jpg","text":"TemporaryFile(/tmp/multipartBody7186408136741793363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225543947,"filename":"image_27112025_07_34_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93058b84b2485831f7dd08b0fcdc8f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4029500155251164031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225543947,"filename":"image_27112025_07_36_45_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396370990","file0":"1396370988"},"map_files_photo_id_array":[{"photo_id":"1396370990","filename":"file1"},{"photo_id":"1396370988","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396370988":["hashtag1","hashtag2"]},{"1396370990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396370988, 1396370990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.255042791366577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:38:22.832928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/37/image_27112025_07_37_15_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/37/image_27112025_07_37_15_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371004"],"photo_id":"1396371004","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/debd6d8d4c2e801e370fb3e1bcad6ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6309562875736815757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225563376,"filename":"image_27112025_07_37_15_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396371004"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396371004"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.156753301620483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:38:42.827356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/12/image_30102025_22_12_14_2683.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_20_3822.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_23_2651.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_31_2536.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_34_2825.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_38_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_14_2683.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_20_3822.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_23_2651.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_31_2536.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_34_2825.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_38_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371022","1396371021","1396371018","1396371015","1396371020","1396371019"],"photo_ids_order":["1396371015","1396371018","1396371019","1396371020","1396371021","1396371022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ff266428f886b3d1223726cfbc8cf11.jpg","text":"TemporaryFile(/tmp/multipartBody2108625432916135354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_38_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/27/10b344ee18570a5592bc81c9fd679390.jpg","text":"TemporaryFile(/tmp/multipartBody2904014619582699317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_34_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/27/faf06b7776abc793d68c460a116f4945.jpg","text":"TemporaryFile(/tmp/multipartBody7113221653624491376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_20_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/27/bbbacfe1f10598356692b84b309f9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody9112705790937833520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_14_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/27/c1517296894437ef1f3440e919dac90c.jpg","text":"TemporaryFile(/tmp/multipartBody2689192107590122654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_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/27/4a6a91f3b18d1b94e3f2d7ada078c26d.jpg","text":"TemporaryFile(/tmp/multipartBody8809704580082378414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225584167,"filename":"image_30102025_22_12_23_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371019","file1":"1396371018","file0":"1396371015","file4":"1396371021","file5":"1396371022","file3":"1396371020"},"map_files_photo_id_array":[{"photo_id":"1396371022","filename":"file5"},{"photo_id":"1396371019","filename":"file2"},{"photo_id":"1396371021","filename":"file4"},{"photo_id":"1396371018","filename":"file1"},{"photo_id":"1396371015","filename":"file0"},{"photo_id":"1396371020","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396371022":["hashtag1","hashtag2"]},{"1396371021":["hashtag1","hashtag2"]},{"1396371018":["hashtag1","hashtag2"]},{"1396371015":["hashtag1","hashtag2"]},{"1396371020":["hashtag1","hashtag2"]},{"1396371019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396371022, 1396371021, 1396371018, 1396371015, 1396371020, 1396371019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1298143863678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:39:21.946206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/38/image_27112025_07_38_45_10734.jpg', '/home/pi/Desktop/images/27112025/07/39/image_27112025_07_39_25_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/38/image_27112025_07_38_45_10734.jpg
/home/pi/Desktop/images/27112025/07/39/image_27112025_07_39_25_10748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371049","1396371038"],"photo_ids_order":["1396371038","1396371049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bd504a328f522ef0541ca69d8a357db.jpg","text":"TemporaryFile(/tmp/multipartBody3929690276765457248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225622543,"filename":"image_27112025_07_39_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02103c81ade0a4f851018c4259a5de37.jpg","text":"TemporaryFile(/tmp/multipartBody3273635435991425293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225622543,"filename":"image_27112025_07_38_45_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396371049","file0":"1396371038"},"map_files_photo_id_array":[{"photo_id":"1396371049","filename":"file1"},{"photo_id":"1396371038","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396371049":["hashtag1","hashtag2"]},{"1396371038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396371049, 1396371038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.802886486053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:39:42.092245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/12/image_30102025_22_12_44_3686.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_52_2676.jpg', '/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_59_3125.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_01_2708.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_04_2550.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_08_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_44_3686.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_52_2676.jpg
/home/pi/Desktop/images/30102025/22/12/image_30102025_22_12_59_3125.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_01_2708.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_04_2550.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_08_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371063","1396371065","1396371062","1396371061","1396371064","1396371058"],"photo_ids_order":["1396371058","1396371061","1396371062","1396371063","1396371064","1396371065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70c0c2c73e408d88d0318671d3404eed.jpg","text":"TemporaryFile(/tmp/multipartBody3634795829374772469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_13_01_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/27/9db96466cbc6b92a996a09d90da712c6.jpg","text":"TemporaryFile(/tmp/multipartBody5554592647346561887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_13_08_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/27/044c2797f3fff53884e323b57fca8551.jpg","text":"TemporaryFile(/tmp/multipartBody3774414182855207962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_12_59_3125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae9a3a551c3bc1a449598f27b810b736.jpg","text":"TemporaryFile(/tmp/multipartBody4352881996845873557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_12_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/27/447c85120994d231fce4399b555df648.jpg","text":"TemporaryFile(/tmp/multipartBody4329199528293083241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_13_04_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/27/0a94101d57db4f3d4843eb5b24f9d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody8878010122526433793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225643403,"filename":"image_30102025_22_12_44_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371062","file1":"1396371061","file0":"1396371058","file4":"1396371064","file5":"1396371065","file3":"1396371063"},"map_files_photo_id_array":[{"photo_id":"1396371065","filename":"file5"},{"photo_id":"1396371062","filename":"file2"},{"photo_id":"1396371064","filename":"file4"},{"photo_id":"1396371061","filename":"file1"},{"photo_id":"1396371058","filename":"file0"},{"photo_id":"1396371063","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396371063":["hashtag1","hashtag2"]},{"1396371065":["hashtag1","hashtag2"]},{"1396371062":["hashtag1","hashtag2"]},{"1396371061":["hashtag1","hashtag2"]},{"1396371064":["hashtag1","hashtag2"]},{"1396371058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396371063, 1396371065, 1396371062, 1396371061, 1396371064, 1396371058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80964159965515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:40:22.331329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/39/image_27112025_07_39_44_9734.jpg', '/home/pi/Desktop/images/27112025/07/39/image_27112025_07_40_04_9613.jpg', '/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_14_9587.jpg', '/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_24_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/39/image_27112025_07_39_44_9734.jpg
/home/pi/Desktop/images/27112025/07/39/image_27112025_07_40_04_9613.jpg
/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_14_9587.jpg
/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_24_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371075","1396371078","1396371083","1396371071"],"photo_ids_order":["1396371071","1396371075","1396371078","1396371083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efc8663cf8f29bb41ac9c46604044cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2036060144632821215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225683014,"filename":"image_27112025_07_40_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a25b6c3436b3af76d7471523cf69e58.jpg","text":"TemporaryFile(/tmp/multipartBody3694030463309791557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225683014,"filename":"image_27112025_07_40_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b4531feef2c302937a3e4477acbc2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1826322945113046892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225683014,"filename":"image_27112025_07_40_24_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2efa614482a95dfee4cbf6ea04e2ad78.jpg","text":"TemporaryFile(/tmp/multipartBody4890096856831170424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225683014,"filename":"image_27112025_07_39_44_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371078","file1":"1396371075","file0":"1396371071","file3":"1396371083"},"map_files_photo_id_array":[{"photo_id":"1396371078","filename":"file2"},{"photo_id":"1396371075","filename":"file1"},{"photo_id":"1396371071","filename":"file0"},{"photo_id":"1396371083","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396371075":["hashtag1","hashtag2"]},{"1396371078":["hashtag1","hashtag2"]},{"1396371083":["hashtag1","hashtag2"]},{"1396371071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396371075, 1396371078, 1396371083, 1396371071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.28571891784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:41:03.059267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_20_3594.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_22_2659.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_25_2799.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_28_3000.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_33_4670.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_35_1798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_20_3594.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_22_2659.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_25_2799.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_28_3000.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_33_4670.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_35_1798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371109","1396371103","1396371111","1396371105","1396371114","1396371107"],"photo_ids_order":["1396371103","1396371105","1396371107","1396371109","1396371111","1396371114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/733ad70c5c5b43ac426f7f317420ac93.jpg","text":"TemporaryFile(/tmp/multipartBody1812523430030812032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_28_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c864b089c3086e115cf4d9a81df95d1.jpg","text":"TemporaryFile(/tmp/multipartBody9068338759904454663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_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/27/275afc7087509df432a6e67cc07c1981.jpg","text":"TemporaryFile(/tmp/multipartBody193918736317868497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_33_4670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85db9ef1fce33690eb63820d6a516a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7621059285775600400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_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/27/c9404b3eade8237335f5d9abd61c4617.jpg","text":"TemporaryFile(/tmp/multipartBody5970617218478947073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_35_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/27/b3b969d102374886c1ac82fb9a5b7594.jpg","text":"TemporaryFile(/tmp/multipartBody1198303224326931937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225724339,"filename":"image_21112025_20_19_25_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371107","file1":"1396371105","file0":"1396371103","file4":"1396371111","file5":"1396371114","file3":"1396371109"},"map_files_photo_id_array":[{"photo_id":"1396371114","filename":"file5"},{"photo_id":"1396371107","filename":"file2"},{"photo_id":"1396371111","filename":"file4"},{"photo_id":"1396371105","filename":"file1"},{"photo_id":"1396371103","filename":"file0"},{"photo_id":"1396371109","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371109":["hashtag1","hashtag2"]},{"1396371103":["hashtag1","hashtag2"]},{"1396371111":["hashtag1","hashtag2"]},{"1396371105":["hashtag1","hashtag2"]},{"1396371114":["hashtag1","hashtag2"]},{"1396371107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371109, 1396371103, 1396371111, 1396371105, 1396371114, 1396371107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.916845083236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:41:42.419229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/13/image_30102025_22_13_20_3779.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_22_2671.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_25_2625.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_29_3719.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_31_2668.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_34_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_20_3779.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_22_2671.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_25_2625.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_29_3719.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_31_2668.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_34_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371133","1396371123","1396371132","1396371126","1396371128","1396371130"],"photo_ids_order":["1396371123","1396371126","1396371128","1396371130","1396371132","1396371133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f55b862900ab5e737db3b063a4efe3d.jpg","text":"TemporaryFile(/tmp/multipartBody7106417442530600383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_34_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/27/ffd928326941f9725e139fd76882259d.jpg","text":"TemporaryFile(/tmp/multipartBody1970099520237971398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_20_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/27/0aa93c9f5325a8788d8d97211c05120d.jpg","text":"TemporaryFile(/tmp/multipartBody1224814936427475884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_31_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/27/ce05c3700488d94cfb7642379503b123.jpg","text":"TemporaryFile(/tmp/multipartBody6339222910669350973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_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/27/a23cc73811f2be58f8001844bbdd3839.jpg","text":"TemporaryFile(/tmp/multipartBody6814064425017810312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_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/27/494c81d31c26c0353414409898952c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1825880852821252834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225763722,"filename":"image_30102025_22_13_29_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371128","file1":"1396371126","file0":"1396371123","file4":"1396371132","file5":"1396371133","file3":"1396371130"},"map_files_photo_id_array":[{"photo_id":"1396371133","filename":"file5"},{"photo_id":"1396371128","filename":"file2"},{"photo_id":"1396371132","filename":"file4"},{"photo_id":"1396371126","filename":"file1"},{"photo_id":"1396371123","filename":"file0"},{"photo_id":"1396371130","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396371133":["hashtag1","hashtag2"]},{"1396371123":["hashtag1","hashtag2"]},{"1396371132":["hashtag1","hashtag2"]},{"1396371126":["hashtag1","hashtag2"]},{"1396371128":["hashtag1","hashtag2"]},{"1396371130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396371133, 1396371123, 1396371132, 1396371126, 1396371128, 1396371130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.24661922454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:42:32.665407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_37_2614.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_40_2644.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_44_3586.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_46_2574.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_50_3584.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_52_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_37_2614.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_40_2644.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_44_3586.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_46_2574.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_50_3584.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_52_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371148","1396371156","1396371155","1396371154","1396371151","1396371145"],"photo_ids_order":["1396371145","1396371148","1396371151","1396371154","1396371155","1396371156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d64602a74dab1035d669f1eb6fd67b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2798895642245869106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_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/27/9e37ed81119ec83042e8c78df270fda0.jpg","text":"TemporaryFile(/tmp/multipartBody2920104160281436842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_52_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/27/add0f9619b678008ab5ec0de75bd21c2.jpg","text":"TemporaryFile(/tmp/multipartBody3597163095301584207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_50_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/27/e51f9f87717eca6f4a09b9b442b8a578.jpg","text":"TemporaryFile(/tmp/multipartBody4857152913036486714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_46_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/27/cacf7b5902d50d396f90ec57d8ac562f.jpg","text":"TemporaryFile(/tmp/multipartBody6354332525143703969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_44_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/27/dfae6f2dd4f30a7670e0685e6a3cd5cf.jpg","text":"TemporaryFile(/tmp/multipartBody31761449073558028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225814511,"filename":"image_21112025_20_19_37_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371151","file1":"1396371148","file0":"1396371145","file4":"1396371155","file5":"1396371156","file3":"1396371154"},"map_files_photo_id_array":[{"photo_id":"1396371156","filename":"file5"},{"photo_id":"1396371151","filename":"file2"},{"photo_id":"1396371155","filename":"file4"},{"photo_id":"1396371148","filename":"file1"},{"photo_id":"1396371145","filename":"file0"},{"photo_id":"1396371154","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371148":["hashtag1","hashtag2"]},{"1396371156":["hashtag1","hashtag2"]},{"1396371155":["hashtag1","hashtag2"]},{"1396371154":["hashtag1","hashtag2"]},{"1396371151":["hashtag1","hashtag2"]},{"1396371145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371148, 1396371156, 1396371155, 1396371154, 1396371151, 1396371145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57939624786377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:43:11.778728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_55_2727.jpg', '/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_59_3701.jpg', '/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_02_2802.jpg', '/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_04_2643.jpg', '/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_08_3685.jpg', '/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_11_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_55_2727.jpg
/home/pi/Desktop/images/21112025/20/19/image_21112025_20_19_59_3701.jpg
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_02_2802.jpg
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_04_2643.jpg
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_08_3685.jpg
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_11_2800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371182","1396371185","1396371179","1396371173","1396371172","1396371175"],"photo_ids_order":["1396371172","1396371173","1396371175","1396371179","1396371182","1396371185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4df61b249aeb8d542edaed4787b5722b.jpg","text":"TemporaryFile(/tmp/multipartBody8273658087890534275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_20_08_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/27/ab8dbf35ce97260d985994026b6443be.jpg","text":"TemporaryFile(/tmp/multipartBody8611663333446220197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_20_11_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/27/4d767aded86f91bf517f88ddb2547a03.jpg","text":"TemporaryFile(/tmp/multipartBody8045398146015363767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_20_04_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/27/2cd124221d6658e25d9c6f3974351568.jpg","text":"TemporaryFile(/tmp/multipartBody416266947952742721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_19_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/27/bf77407d93ebdaac58fe9d3d774b38c9.jpg","text":"TemporaryFile(/tmp/multipartBody1690675493181273041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_19_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/27/6be94d50894614f07491e57c6a160194.jpg","text":"TemporaryFile(/tmp/multipartBody4367514883877182219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225853826,"filename":"image_21112025_20_20_02_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371175","file1":"1396371173","file0":"1396371172","file4":"1396371182","file5":"1396371185","file3":"1396371179"},"map_files_photo_id_array":[{"photo_id":"1396371185","filename":"file5"},{"photo_id":"1396371175","filename":"file2"},{"photo_id":"1396371182","filename":"file4"},{"photo_id":"1396371173","filename":"file1"},{"photo_id":"1396371172","filename":"file0"},{"photo_id":"1396371179","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371182":["hashtag1","hashtag2"]},{"1396371185":["hashtag1","hashtag2"]},{"1396371179":["hashtag1","hashtag2"]},{"1396371173":["hashtag1","hashtag2"]},{"1396371172":["hashtag1","hashtag2"]},{"1396371175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371182, 1396371185, 1396371179, 1396371173, 1396371172, 1396371175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.448853731155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:44:02.810740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_44_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/40/image_27112025_07_40_44_9540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371190"],"photo_id":"1396371190","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6510280b74ff8b215e66149e0ab9792.jpg","text":"TemporaryFile(/tmp/multipartBody6793680024555021457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225903393,"filename":"image_27112025_07_40_44_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396371190"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396371190"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.241687297821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:44:22.179571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_13_2740.jpg', '/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_16_2576.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_11_3643.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_13_2670.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_17_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_13_2740.jpg
/home/pi/Desktop/images/21112025/20/20/image_21112025_20_20_16_2576.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_07_3018.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_11_3643.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_13_2670.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_17_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371205","1396371208","1396371212","1396371215","1396371200","1396371217"],"photo_ids_order":["1396371200","1396371205","1396371208","1396371212","1396371215","1396371217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7601cdfb4c837b128f7753347759e176.jpg","text":"TemporaryFile(/tmp/multipartBody2109616119389500509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_20_16_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/27/3406047f2cbbc4352a322f38345e8124.jpg","text":"TemporaryFile(/tmp/multipartBody1936713334375579588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_21_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/27/2ff22c2ec77cb8f80fad643eb3143fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6835756026934088012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_21_11_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/27/a5eac8ecff410617beb8ce0376dcc34d.jpg","text":"TemporaryFile(/tmp/multipartBody8106025109044834757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_21_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/27/cc78c43af894548d0a482cd5ed73b568.jpg","text":"TemporaryFile(/tmp/multipartBody5967295492699489082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_20_13_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/27/d6084ab083dc8a4c39aff97c745d38c9.jpg","text":"TemporaryFile(/tmp/multipartBody563026246194388384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225924080,"filename":"image_21112025_20_21_17_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371208","file1":"1396371205","file0":"1396371200","file4":"1396371215","file5":"1396371217","file3":"1396371212"},"map_files_photo_id_array":[{"photo_id":"1396371217","filename":"file5"},{"photo_id":"1396371208","filename":"file2"},{"photo_id":"1396371215","filename":"file4"},{"photo_id":"1396371205","filename":"file1"},{"photo_id":"1396371200","filename":"file0"},{"photo_id":"1396371212","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371205":["hashtag1","hashtag2"]},{"1396371208":["hashtag1","hashtag2"]},{"1396371212":["hashtag1","hashtag2"]},{"1396371215":["hashtag1","hashtag2"]},{"1396371200":["hashtag1","hashtag2"]},{"1396371217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371205, 1396371208, 1396371212, 1396371215, 1396371200, 1396371217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60300612449646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:45:02.993037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_19_2658.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_22_2829.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_25_2658.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_29_3810.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_32_2822.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_36_4630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_19_2658.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_22_2829.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_25_2658.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_29_3810.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_32_2822.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_36_4630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371228","1396371237","1396371231","1396371230","1396371233","1396371241"],"photo_ids_order":["1396371228","1396371230","1396371231","1396371233","1396371237","1396371241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c73a9d6965bb0839b57f7bf139dfb4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2150521181490773858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_19_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/27/8ac64b3b4f15a8c69c48e0c64a4bb02c.jpg","text":"TemporaryFile(/tmp/multipartBody331783616069148409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_32_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/27/be65057f56aaca67d641368cd66bb6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4581202310844711524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_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/27/7c10369d5909ac6fc854fc21d0fc10f7.jpg","text":"TemporaryFile(/tmp/multipartBody3685773353370282598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_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/27/2cd3a448aa7419c8b7db6013f6e037dc.jpg","text":"TemporaryFile(/tmp/multipartBody4204427721710146404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_29_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/27/e02226ecc5f9326912fd893234ddce27.jpg","text":"TemporaryFile(/tmp/multipartBody5366539082575156815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764225964343,"filename":"image_21112025_20_21_36_4630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371231","file1":"1396371230","file0":"1396371228","file4":"1396371237","file5":"1396371241","file3":"1396371233"},"map_files_photo_id_array":[{"photo_id":"1396371241","filename":"file5"},{"photo_id":"1396371231","filename":"file2"},{"photo_id":"1396371237","filename":"file4"},{"photo_id":"1396371230","filename":"file1"},{"photo_id":"1396371228","filename":"file0"},{"photo_id":"1396371233","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371228":["hashtag1","hashtag2"]},{"1396371237":["hashtag1","hashtag2"]},{"1396371231":["hashtag1","hashtag2"]},{"1396371230":["hashtag1","hashtag2"]},{"1396371233":["hashtag1","hashtag2"]},{"1396371241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371228, 1396371237, 1396371231, 1396371230, 1396371233, 1396371241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3543496131897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:45:42.280904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/13/image_30102025_22_13_37_3527.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_40_2656.jpg', '/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_49_2738.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_07_2691.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_11_3580.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_19_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_37_3527.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_40_2656.jpg
/home/pi/Desktop/images/30102025/22/13/image_30102025_22_13_49_2738.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_07_2691.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_11_3580.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_19_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371252","1396371255","1396371249","1396371251","1396371254","1396371253"],"photo_ids_order":["1396371249","1396371251","1396371252","1396371253","1396371254","1396371255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6403cf6f3104ec366d56116fa83fa501.jpg","text":"TemporaryFile(/tmp/multipartBody8905596849944924582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_13_49_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/27/962dfa8f562c911cd6907a001219611d.jpg","text":"TemporaryFile(/tmp/multipartBody5821027193307705527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_14_19_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/27/3894b45385c32b53155770ddd9273662.jpg","text":"TemporaryFile(/tmp/multipartBody964672754269254254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_13_37_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/27/a21144a3764514926948f393fea9214e.jpg","text":"TemporaryFile(/tmp/multipartBody2739608627940582603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_13_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/27/5bb3c0b3e24cea9dfa15ff8ff4f62c34.jpg","text":"TemporaryFile(/tmp/multipartBody8908201859396455980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_14_11_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/27/484dad84f95ba6d05b3eddf04a37f705.jpg","text":"TemporaryFile(/tmp/multipartBody8341926024117159097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226003584,"filename":"image_30102025_22_14_07_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371252","file1":"1396371251","file0":"1396371249","file4":"1396371254","file5":"1396371255","file3":"1396371253"},"map_files_photo_id_array":[{"photo_id":"1396371255","filename":"file5"},{"photo_id":"1396371252","filename":"file2"},{"photo_id":"1396371254","filename":"file4"},{"photo_id":"1396371251","filename":"file1"},{"photo_id":"1396371249","filename":"file0"},{"photo_id":"1396371253","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396371252":["hashtag1","hashtag2"]},{"1396371255":["hashtag1","hashtag2"]},{"1396371249":["hashtag1","hashtag2"]},{"1396371251":["hashtag1","hashtag2"]},{"1396371254":["hashtag1","hashtag2"]},{"1396371253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396371252, 1396371255, 1396371249, 1396371251, 1396371254, 1396371253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7541823387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:46:22.435095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/41/image_27112025_07_41_34_9550.jpg', '/home/pi/Desktop/images/27112025/07/44/image_27112025_07_45_05_9832.jpg', '/home/pi/Desktop/images/27112025/07/45/image_27112025_07_45_24_9627.jpg', '/home/pi/Desktop/images/27112025/07/45/image_27112025_07_46_05_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/41/image_27112025_07_41_34_9550.jpg
/home/pi/Desktop/images/27112025/07/44/image_27112025_07_45_05_9832.jpg
/home/pi/Desktop/images/27112025/07/45/image_27112025_07_45_24_9627.jpg
/home/pi/Desktop/images/27112025/07/45/image_27112025_07_46_05_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371276","1396371270","1396371273","1396371284"],"photo_ids_order":["1396371270","1396371273","1396371276","1396371284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eeee465fa1d9d35d0f97991202030f66.jpg","text":"TemporaryFile(/tmp/multipartBody4691404117645018559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226043112,"filename":"image_27112025_07_45_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc3249039c00fcebe3a3c5a197f5c713.jpg","text":"TemporaryFile(/tmp/multipartBody7567251306872463686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226043112,"filename":"image_27112025_07_41_34_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7af93df004a2115da6c03c17311396d7.jpg","text":"TemporaryFile(/tmp/multipartBody5661843574688926780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226043112,"filename":"image_27112025_07_45_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b21e95bfec99f5f66a609358c4a8396.jpg","text":"TemporaryFile(/tmp/multipartBody2748427460257650515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226043112,"filename":"image_27112025_07_46_05_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371276","file1":"1396371273","file0":"1396371270","file3":"1396371284"},"map_files_photo_id_array":[{"photo_id":"1396371276","filename":"file2"},{"photo_id":"1396371273","filename":"file1"},{"photo_id":"1396371270","filename":"file0"},{"photo_id":"1396371284","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396371276":["hashtag1","hashtag2"]},{"1396371270":["hashtag1","hashtag2"]},{"1396371273":["hashtag1","hashtag2"]},{"1396371284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396371276, 1396371270, 1396371273, 1396371284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.96557092666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:47:03.385531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_38_1631.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_40_2518.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_43_2617.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_47_3720.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_49_2601.jpg', '/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_52_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_38_1631.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_40_2518.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_43_2617.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_47_3720.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_49_2601.jpg
/home/pi/Desktop/images/21112025/20/21/image_21112025_20_21_52_2837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371310","1396371304","1396371307","1396371297","1396371301","1396371315"],"photo_ids_order":["1396371297","1396371301","1396371304","1396371307","1396371310","1396371315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c539a5bef210086b57344d88c3b57f0.jpg","text":"TemporaryFile(/tmp/multipartBody7846750818845919803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_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/27/61ce5412d477e26822ce38d01f3a8c94.jpg","text":"TemporaryFile(/tmp/multipartBody1753708117203664363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_43_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/27/258889b600cb8dddee0431740bc10b01.jpg","text":"TemporaryFile(/tmp/multipartBody8491024430800844173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_47_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/27/5f218386e679997c129ad3d529e4076c.jpg","text":"TemporaryFile(/tmp/multipartBody7227601493842582785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_38_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/27/7276383536e10b680cddb8a5fe5ab0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6485744074036743599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_40_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/27/f8499dbff893b7397cb4fdc580d282d0.jpg","text":"TemporaryFile(/tmp/multipartBody2140632404195194853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226084684,"filename":"image_21112025_20_21_52_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371304","file1":"1396371301","file0":"1396371297","file4":"1396371310","file5":"1396371315","file3":"1396371307"},"map_files_photo_id_array":[{"photo_id":"1396371315","filename":"file5"},{"photo_id":"1396371304","filename":"file2"},{"photo_id":"1396371310","filename":"file4"},{"photo_id":"1396371301","filename":"file1"},{"photo_id":"1396371297","filename":"file0"},{"photo_id":"1396371307","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371310":["hashtag1","hashtag2"]},{"1396371304":["hashtag1","hashtag2"]},{"1396371307":["hashtag1","hashtag2"]},{"1396371297":["hashtag1","hashtag2"]},{"1396371301":["hashtag1","hashtag2"]},{"1396371315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371310, 1396371304, 1396371307, 1396371297, 1396371301, 1396371315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45071840286255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:47:42.725150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/14/image_30102025_22_14_23_3661.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_32_3638.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_37_2627.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_40_2642.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_46_2671.jpg', '/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_52_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/22/14/image_30102025_22_14_23_3661.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_32_3638.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_37_2627.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_40_2642.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_46_2671.jpg
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_52_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371570","1396371432","1396371398","1396371500","1396371466","1396371535"],"photo_ids_order":["1396371398","1396371432","1396371466","1396371500","1396371535","1396371570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9589d92875a5d95210bb34fa265ee01.jpg","text":"TemporaryFile(/tmp/multipartBody7584949243109878740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_52_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/27/badc4c9d93432c0edd899e77297459f1.jpg","text":"TemporaryFile(/tmp/multipartBody9065194738544326546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_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/27/f7d02300804781c25fba1827551c5169.jpg","text":"TemporaryFile(/tmp/multipartBody4554997080387429213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_23_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/27/11c15c6d8524562a363987a2d0b157ea.jpg","text":"TemporaryFile(/tmp/multipartBody5670296850160561377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_40_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/27/f90f4c480c45408f33c46a8bb714637a.jpg","text":"TemporaryFile(/tmp/multipartBody2819267178447479231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_37_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/27/c6784e7c50881b68f7387515262951ef.jpg","text":"TemporaryFile(/tmp/multipartBody2780784966434729442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226124071,"filename":"image_30102025_22_14_46_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371466","file1":"1396371432","file0":"1396371398","file4":"1396371535","file5":"1396371570","file3":"1396371500"},"map_files_photo_id_array":[{"photo_id":"1396371570","filename":"file5"},{"photo_id":"1396371466","filename":"file2"},{"photo_id":"1396371535","filename":"file4"},{"photo_id":"1396371432","filename":"file1"},{"photo_id":"1396371398","filename":"file0"},{"photo_id":"1396371500","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396371570":["hashtag1","hashtag2"]},{"1396371432":["hashtag1","hashtag2"]},{"1396371398":["hashtag1","hashtag2"]},{"1396371500":["hashtag1","hashtag2"]},{"1396371466":["hashtag1","hashtag2"]},{"1396371535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396371570, 1396371432, 1396371398, 1396371500, 1396371466, 1396371535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.184398889541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:48:21.880320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_11_3667.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_14_2974.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_16_2626.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_20_3383.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_22_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_07_3011.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_11_3667.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_14_2974.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_16_2626.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_20_3383.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_22_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371792","1396371828","1396371854","1396371716","1396371865","1396371754"],"photo_ids_order":["1396371716","1396371754","1396371792","1396371828","1396371854","1396371865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/beb0eb7175febe86cf7433fd078ecb82.jpg","text":"TemporaryFile(/tmp/multipartBody6054895133263576512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_23_14_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8432a0f18dfbb038119f231dda3d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7012930323179982030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_23_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/27/4df31505aa5991652bb44afa308ba151.jpg","text":"TemporaryFile(/tmp/multipartBody5726772437159215016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_23_20_3383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46db8584c43ef69b8b7f816f833aacee.jpg","text":"TemporaryFile(/tmp/multipartBody2593127133052648745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_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/27/94551e76e5377a061e59e02f3b4000fa.jpg","text":"TemporaryFile(/tmp/multipartBody2785827560016780140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_23_22_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/27/50135caa061604b5f5bb791687a1a380.jpg","text":"TemporaryFile(/tmp/multipartBody181566500700868511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226163713,"filename":"image_21112025_20_23_11_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371792","file1":"1396371754","file0":"1396371716","file4":"1396371854","file5":"1396371865","file3":"1396371828"},"map_files_photo_id_array":[{"photo_id":"1396371865","filename":"file5"},{"photo_id":"1396371792","filename":"file2"},{"photo_id":"1396371854","filename":"file4"},{"photo_id":"1396371754","filename":"file1"},{"photo_id":"1396371716","filename":"file0"},{"photo_id":"1396371828","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371792":["hashtag1","hashtag2"]},{"1396371828":["hashtag1","hashtag2"]},{"1396371854":["hashtag1","hashtag2"]},{"1396371716":["hashtag1","hashtag2"]},{"1396371865":["hashtag1","hashtag2"]},{"1396371754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371792, 1396371828, 1396371854, 1396371716, 1396371865, 1396371754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04026794433594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:49:03.185236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_25_2680.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_39_10360.jpg', '/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_48_8619.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_10_3612.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_13_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_25_2680.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_39_10360.jpg
/home/pi/Desktop/images/21112025/20/23/image_21112025_20_23_48_8619.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_07_3011.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_10_3612.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_13_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396371978","1396372020","1396372011","1396371903","1396371874","1396371943"],"photo_ids_order":["1396371874","1396371903","1396371943","1396371978","1396372011","1396372020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c696752210fa727ccd539323d021e44.jpg","text":"TemporaryFile(/tmp/multipartBody8789917598491626806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_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/27/de5eab07c5ae96e69a44201171656950.jpg","text":"TemporaryFile(/tmp/multipartBody27761713008922943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_25_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/27/455dc3a15ec6cef479a5a0dac1fb1e4a.jpg","text":"TemporaryFile(/tmp/multipartBody5444407112702585922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_25_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/27/a112e504333907d81b9dff1d1371618d.jpg","text":"TemporaryFile(/tmp/multipartBody7703413305478339139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_23_39_10360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f0028c0ea10747615157cfe70e4b631.jpg","text":"TemporaryFile(/tmp/multipartBody7944277733128749056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_23_25_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/27/198a8057c4b31acb3f0771143dcd568e.jpg","text":"TemporaryFile(/tmp/multipartBody5157295300751930870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226204525,"filename":"image_21112025_20_23_48_8619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396371943","file1":"1396371903","file0":"1396371874","file4":"1396372011","file5":"1396372020","file3":"1396371978"},"map_files_photo_id_array":[{"photo_id":"1396372020","filename":"file5"},{"photo_id":"1396371943","filename":"file2"},{"photo_id":"1396372011","filename":"file4"},{"photo_id":"1396371903","filename":"file1"},{"photo_id":"1396371874","filename":"file0"},{"photo_id":"1396371978","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396371978":["hashtag1","hashtag2"]},{"1396372020":["hashtag1","hashtag2"]},{"1396372011":["hashtag1","hashtag2"]},{"1396371903":["hashtag1","hashtag2"]},{"1396371874":["hashtag1","hashtag2"]},{"1396371943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396371978, 1396372020, 1396372011, 1396371903, 1396371874, 1396371943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98418068885803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:49:42.074100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/14/image_30102025_22_14_58_2828.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_07_3017.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_14_2650.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_32_2730.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_38_2564.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_47_9240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_58_2828.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_07_3017.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_14_2650.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_32_2730.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_38_2564.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_47_9240.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2114462852478027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:50:02.723189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_16_3011.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_27_10873.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_28_1657.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_30_1589.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_34_1833.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_35_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_16_3011.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_27_10873.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_28_1657.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_30_1589.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_34_1833.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_35_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372113","1396372122","1396372119","1396372115","1396372117","1396372126"],"photo_ids_order":["1396372113","1396372115","1396372117","1396372119","1396372122","1396372126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/618eefba4507738b2f3d378843ca0d28.jpg","text":"TemporaryFile(/tmp/multipartBody5149402149632103421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_16_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/27/3a427d8d89832851c7fb90d10039b616.jpg","text":"TemporaryFile(/tmp/multipartBody3321168881256722599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_34_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb479c63e6ce5be0c610e467285eaf3b.jpg","text":"TemporaryFile(/tmp/multipartBody6380204300554302355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_30_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/27/57215139a8b1a6bf79244b549768f0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7493227147180437744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_27_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9575947224c1a42ce7b66c87bbe831cb.jpg","text":"TemporaryFile(/tmp/multipartBody2691734928010266186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_28_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/27/74999583664ab7ab604fb6fc8d379385.jpg","text":"TemporaryFile(/tmp/multipartBody3781266903893424406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226263982,"filename":"image_21112025_20_25_35_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372117","file1":"1396372115","file0":"1396372113","file4":"1396372122","file5":"1396372126","file3":"1396372119"},"map_files_photo_id_array":[{"photo_id":"1396372126","filename":"file5"},{"photo_id":"1396372117","filename":"file2"},{"photo_id":"1396372122","filename":"file4"},{"photo_id":"1396372115","filename":"file1"},{"photo_id":"1396372113","filename":"file0"},{"photo_id":"1396372119","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372113":["hashtag1","hashtag2"]},{"1396372122":["hashtag1","hashtag2"]},{"1396372119":["hashtag1","hashtag2"]},{"1396372115":["hashtag1","hashtag2"]},{"1396372117":["hashtag1","hashtag2"]},{"1396372126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372113, 1396372122, 1396372119, 1396372115, 1396372117, 1396372126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.985987424850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:50:42.218317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/14/image_30102025_22_14_58_2828.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_07_3017.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_14_2650.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_32_2730.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_38_2564.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_47_9240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/14/image_30102025_22_14_58_2828.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_07_3017.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_14_2650.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_32_2730.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_38_2564.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_47_9240.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372143","1396372137","1396372142","1396372139","1396372141","1396372144"],"photo_ids_order":["1396372137","1396372139","1396372141","1396372142","1396372143","1396372144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5f7bf8fd27723b74393e32a7378f248.jpg","text":"TemporaryFile(/tmp/multipartBody9210193365099966087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_15_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/27/78362d3cdc985fa949de623479234a16.jpg","text":"TemporaryFile(/tmp/multipartBody2357178531039329605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_14_58_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/27/37b2ae73ff17cc3ebd66edc0b4163c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7076885683195597814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_15_32_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/27/aab344090791c1dcbd8697557bfd59aa.jpg","text":"TemporaryFile(/tmp/multipartBody6591531370568604198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_15_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/27/a7508550a71d4b00bde5ec678c914a13.jpg","text":"TemporaryFile(/tmp/multipartBody5212753496586529160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_15_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/27/5214fb109085fa2921eb40a473515daa.jpg","text":"TemporaryFile(/tmp/multipartBody6553115190816226652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226303397,"filename":"image_30102025_22_15_47_9240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372141","file1":"1396372139","file0":"1396372137","file4":"1396372143","file5":"1396372144","file3":"1396372142"},"map_files_photo_id_array":[{"photo_id":"1396372144","filename":"file5"},{"photo_id":"1396372141","filename":"file2"},{"photo_id":"1396372143","filename":"file4"},{"photo_id":"1396372139","filename":"file1"},{"photo_id":"1396372137","filename":"file0"},{"photo_id":"1396372142","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396372143":["hashtag1","hashtag2"]},{"1396372137":["hashtag1","hashtag2"]},{"1396372142":["hashtag1","hashtag2"]},{"1396372139":["hashtag1","hashtag2"]},{"1396372141":["hashtag1","hashtag2"]},{"1396372144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396372143, 1396372137, 1396372142, 1396372139, 1396372141, 1396372144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19697427749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:51:22.491116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/46/image_27112025_07_46_34_9694.jpg', '/home/pi/Desktop/images/27112025/07/49/image_27112025_07_50_05_10693.jpg', '/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_14_9722.jpg', '/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_44_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/46/image_27112025_07_46_34_9694.jpg
/home/pi/Desktop/images/27112025/07/49/image_27112025_07_50_05_10693.jpg
/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_14_9722.jpg
/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_44_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372164","1396372172","1396372175","1396372153"],"photo_ids_order":["1396372153","1396372164","1396372172","1396372175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f883eae9ebd8b6c0535fc99b70718f8.jpg","text":"TemporaryFile(/tmp/multipartBody9162109185779396024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226343200,"filename":"image_27112025_07_50_05_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/255e6927288483181889ef07290bce24.jpg","text":"TemporaryFile(/tmp/multipartBody1707364103047851801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226343200,"filename":"image_27112025_07_50_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c349ee58778c87f56844723ff62a10ad.jpg","text":"TemporaryFile(/tmp/multipartBody7496350247855776397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226343200,"filename":"image_27112025_07_50_44_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac6d9f9ae387ce5bf85ed85de0fd02a4.jpg","text":"TemporaryFile(/tmp/multipartBody8253502219092196184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226343200,"filename":"image_27112025_07_46_34_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372172","file1":"1396372164","file0":"1396372153","file3":"1396372175"},"map_files_photo_id_array":[{"photo_id":"1396372172","filename":"file2"},{"photo_id":"1396372164","filename":"file1"},{"photo_id":"1396372153","filename":"file0"},{"photo_id":"1396372175","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396372164":["hashtag1","hashtag2"]},{"1396372172":["hashtag1","hashtag2"]},{"1396372175":["hashtag1","hashtag2"]},{"1396372153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396372164, 1396372172, 1396372175, 1396372153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.854941368103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:52:02.938306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_37_1524.jpg', '/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_40_3707.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_09_3302.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_22_13223.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_25_2868.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_45_20096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_37_1524.jpg
/home/pi/Desktop/images/21112025/20/25/image_21112025_20_25_40_3707.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_09_3302.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_22_13223.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_25_2868.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_45_20096.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372191","1396372185","1396372195","1396372180","1396372188","1396372182"],"photo_ids_order":["1396372180","1396372182","1396372185","1396372188","1396372191","1396372195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/892f2eca6ab0a66b39b7b98ce090ead1.jpg","text":"TemporaryFile(/tmp/multipartBody7249503230665852088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_28_25_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe70c88caf73298a9d7171d0240ce97d.jpg","text":"TemporaryFile(/tmp/multipartBody4847670967863522166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_28_09_3302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c8cd1751675124dbf4aaa41bb08245d.jpg","text":"TemporaryFile(/tmp/multipartBody5380702148885341128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_28_45_20096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4138fa17d494f9c97ca37550c99ddc99.jpg","text":"TemporaryFile(/tmp/multipartBody6512657464807437159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_25_37_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/27/e1c0a1f4779eaae1fa758e6932313820.jpg","text":"TemporaryFile(/tmp/multipartBody7957962643464502050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_28_22_13223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be738f4678b6ab7d6458837645d58ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1464034313921143523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226384151,"filename":"image_21112025_20_25_40_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372185","file1":"1396372182","file0":"1396372180","file4":"1396372191","file5":"1396372195","file3":"1396372188"},"map_files_photo_id_array":[{"photo_id":"1396372195","filename":"file5"},{"photo_id":"1396372185","filename":"file2"},{"photo_id":"1396372191","filename":"file4"},{"photo_id":"1396372182","filename":"file1"},{"photo_id":"1396372180","filename":"file0"},{"photo_id":"1396372188","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372191":["hashtag1","hashtag2"]},{"1396372185":["hashtag1","hashtag2"]},{"1396372195":["hashtag1","hashtag2"]},{"1396372180":["hashtag1","hashtag2"]},{"1396372188":["hashtag1","hashtag2"]},{"1396372182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372191, 1396372185, 1396372195, 1396372180, 1396372188, 1396372182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67045831680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 07:52:42.570264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/15/image_30102025_22_15_50_1649.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_52_1598.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_54_1745.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_55_1598.jpg', '/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_59_3596.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_02_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_50_1649.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_52_1598.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_54_1745.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_55_1598.jpg
/home/pi/Desktop/images/30102025/22/15/image_30102025_22_15_59_3596.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_02_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372209","1396372211","1396372205","1396372208","1396372210","1396372207"],"photo_ids_order":["1396372205","1396372207","1396372208","1396372209","1396372210","1396372211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85e61accf666601b083bb93439f88ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5653662964261787886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_15_55_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/27/2f3ab610752ad8b1b6cd285f4faf8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2471609194363725272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_16_02_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/27/1bf18cb9355518297b3a47caa1702168.jpg","text":"TemporaryFile(/tmp/multipartBody6331193536262830999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_15_50_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/27/d957d6c25f773191fa8d36e7cae48a15.jpg","text":"TemporaryFile(/tmp/multipartBody7918348103586200700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_15_54_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/27/7e6ea01b1ef06448970d6b3cb6dd152e.jpg","text":"TemporaryFile(/tmp/multipartBody5602795238117830398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_15_59_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/27/473df7aabdbef2db7a49f70e0878ecfb.jpg","text":"TemporaryFile(/tmp/multipartBody3064083354014706839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226423915,"filename":"image_30102025_22_15_52_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372208","file1":"1396372207","file0":"1396372205","file4":"1396372210","file5":"1396372211","file3":"1396372209"},"map_files_photo_id_array":[{"photo_id":"1396372211","filename":"file5"},{"photo_id":"1396372208","filename":"file2"},{"photo_id":"1396372210","filename":"file4"},{"photo_id":"1396372207","filename":"file1"},{"photo_id":"1396372205","filename":"file0"},{"photo_id":"1396372209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396372209":["hashtag1","hashtag2"]},{"1396372211":["hashtag1","hashtag2"]},{"1396372205":["hashtag1","hashtag2"]},{"1396372208":["hashtag1","hashtag2"]},{"1396372210":["hashtag1","hashtag2"]},{"1396372207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396372209, 1396372211, 1396372205, 1396372208, 1396372210, 1396372207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99290633201599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 07:53:22.750632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_54_9783.jpg', '/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_15_10817.jpg', '/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_24_9567.jpg', '/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_34_9707.jpg', '/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_45_10760.jpg', '/home/pi/Desktop/images/27112025/07/52/image_27112025_07_53_04_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/50/image_27112025_07_50_54_9783.jpg
/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_15_10817.jpg
/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_24_9567.jpg
/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_34_9707.jpg
/home/pi/Desktop/images/27112025/07/52/image_27112025_07_52_45_10760.jpg
/home/pi/Desktop/images/27112025/07/52/image_27112025_07_53_04_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372233","1396372229","1396372220","1396372240","1396372237","1396372225"],"photo_ids_order":["1396372220","1396372225","1396372229","1396372233","1396372237","1396372240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/342e0da0d76be2fdf1c16f0ff67ab55b.jpg","text":"TemporaryFile(/tmp/multipartBody249828333321684713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_52_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a14a8a3aeeba31f7af34848022d58ab.jpg","text":"TemporaryFile(/tmp/multipartBody6315855715100047433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_52_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/227fab56b0fcbe653c9329d07a9d70d8.jpg","text":"TemporaryFile(/tmp/multipartBody7378104463561340390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_50_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ac0bbbc075e4043b7f972a88a63c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody3399274710930332606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_53_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69daab17c5984019f1f65e7d0c2040e2.jpg","text":"TemporaryFile(/tmp/multipartBody5252567666364083130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_52_45_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b6a0ef1517b893380ee432da5de4148.jpg","text":"TemporaryFile(/tmp/multipartBody6799310846391898697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226463537,"filename":"image_27112025_07_52_15_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372229","file1":"1396372225","file0":"1396372220","file4":"1396372237","file5":"1396372240","file3":"1396372233"},"map_files_photo_id_array":[{"photo_id":"1396372240","filename":"file5"},{"photo_id":"1396372229","filename":"file2"},{"photo_id":"1396372237","filename":"file4"},{"photo_id":"1396372225","filename":"file1"},{"photo_id":"1396372220","filename":"file0"},{"photo_id":"1396372233","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396372233":["hashtag1","hashtag2"]},{"1396372229":["hashtag1","hashtag2"]},{"1396372220":["hashtag1","hashtag2"]},{"1396372240":["hashtag1","hashtag2"]},{"1396372237":["hashtag1","hashtag2"]},{"1396372225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396372233, 1396372229, 1396372220, 1396372240, 1396372237, 1396372225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18301224708557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:54:02.539648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_25_9792.jpg', '/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_34_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_25_9792.jpg
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_34_9683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5610876083374023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:54:11.868023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_47_1580.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_51_4218.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_53_1652.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_55_1767.jpg', '/home/pi/Desktop/images/21112025/20/28/image_21112025_20_29_00_1796.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_01_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_47_1580.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_51_4218.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_53_1652.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_28_55_1767.jpg
/home/pi/Desktop/images/21112025/20/28/image_21112025_20_29_00_1796.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_01_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372263","1396372271","1396372280","1396372276","1396372267","1396372261"],"photo_ids_order":["1396372261","1396372263","1396372267","1396372271","1396372276","1396372280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35914fe5cb7da8582e64f8128488fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody2074144908126363820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_28_51_4218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5aed9c110c9082da08f8967d8a36f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8561273025887748496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_28_55_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/27/f37134a823e2f920504d9fecbf2b0dec.jpg","text":"TemporaryFile(/tmp/multipartBody5380249526194569065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_29_01_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/27/45cb31ce44ea635ca5e59eb41c63aeeb.jpg","text":"TemporaryFile(/tmp/multipartBody8727191763236486613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_29_00_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a734e9cfc7ff6afc07092e92e20cdce2.jpg","text":"TemporaryFile(/tmp/multipartBody1244796026759546826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_28_53_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/27/125e21a0791be997ad25d5b374218b09.jpg","text":"TemporaryFile(/tmp/multipartBody8513661030743237613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226513736,"filename":"image_21112025_20_28_47_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372267","file1":"1396372263","file0":"1396372261","file4":"1396372276","file5":"1396372280","file3":"1396372271"},"map_files_photo_id_array":[{"photo_id":"1396372280","filename":"file5"},{"photo_id":"1396372267","filename":"file2"},{"photo_id":"1396372276","filename":"file4"},{"photo_id":"1396372263","filename":"file1"},{"photo_id":"1396372261","filename":"file0"},{"photo_id":"1396372271","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372263":["hashtag1","hashtag2"]},{"1396372271":["hashtag1","hashtag2"]},{"1396372280":["hashtag1","hashtag2"]},{"1396372276":["hashtag1","hashtag2"]},{"1396372267":["hashtag1","hashtag2"]},{"1396372261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372263, 1396372271, 1396372280, 1396372276, 1396372267, 1396372261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53783559799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:55:02.886550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_25_9792.jpg', '/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_34_9683.jpg', '/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_44_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_25_9792.jpg
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_34_9683.jpg
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_53_44_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372290","1396372292","1396372289"],"photo_ids_order":["1396372289","1396372290","1396372292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94c5a7efaa4788ae787f07d80deba86a.jpg","text":"TemporaryFile(/tmp/multipartBody6336173636804782562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226563680,"filename":"image_27112025_07_53_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16ee0a07df67b887593d7db8e80ee7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8260939323170247196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226563680,"filename":"image_27112025_07_53_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f2da1cfbd9334ce21bc818b009e0be4.jpg","text":"TemporaryFile(/tmp/multipartBody2640145429057471822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226563680,"filename":"image_27112025_07_53_25_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372292","file1":"1396372290","file0":"1396372289"},"map_files_photo_id_array":[{"photo_id":"1396372292","filename":"file2"},{"photo_id":"1396372290","filename":"file1"},{"photo_id":"1396372289","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396372290":["hashtag1","hashtag2"]},{"1396372292":["hashtag1","hashtag2"]},{"1396372289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396372290, 1396372292, 1396372289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.629638671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:55:32.326825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_03_1596.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_05_1621.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_06_1600.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_08_1714.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_10_1702.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_22_12412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_03_1596.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_05_1621.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_06_1600.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_08_1714.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_10_1702.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_22_12412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372314","1396372310","1396372313","1396372307","1396372312","1396372303"],"photo_ids_order":["1396372303","1396372307","1396372310","1396372312","1396372313","1396372314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38f0fb269326e61021077a1e93e2f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody418153868610596688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_22_12412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a20ed5ef8f7efc6c71fa6895038784cb.jpg","text":"TemporaryFile(/tmp/multipartBody1517607572396147285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_06_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/27/6a71a4af4f0f87acb203d60ba93852e3.jpg","text":"TemporaryFile(/tmp/multipartBody9038244785845405035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_10_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/27/36bac957a10708bcc9a850a2f055be27.jpg","text":"TemporaryFile(/tmp/multipartBody2270368820101795113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_05_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/27/9b8ea8790f5bbc22becf6f4537c53207.jpg","text":"TemporaryFile(/tmp/multipartBody6519017168014788679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_08_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/27/b20a57b8cbbd417687624a546da8b46f.jpg","text":"TemporaryFile(/tmp/multipartBody8965536449191464333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226594230,"filename":"image_21112025_20_29_03_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372310","file1":"1396372307","file0":"1396372303","file4":"1396372313","file5":"1396372314","file3":"1396372312"},"map_files_photo_id_array":[{"photo_id":"1396372314","filename":"file5"},{"photo_id":"1396372310","filename":"file2"},{"photo_id":"1396372313","filename":"file4"},{"photo_id":"1396372307","filename":"file1"},{"photo_id":"1396372303","filename":"file0"},{"photo_id":"1396372312","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372314":["hashtag1","hashtag2"]},{"1396372310":["hashtag1","hashtag2"]},{"1396372313":["hashtag1","hashtag2"]},{"1396372307":["hashtag1","hashtag2"]},{"1396372312":["hashtag1","hashtag2"]},{"1396372303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372314, 1396372310, 1396372313, 1396372307, 1396372312, 1396372303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81356644630432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:56:12.292716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_24_1572.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_25_1750.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_27_1542.jpg', '/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_58_31351.jpg', '/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_03_4671.jpg', '/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_05_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_24_1572.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_25_1750.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_27_1542.jpg
/home/pi/Desktop/images/21112025/20/29/image_21112025_20_29_58_31351.jpg
/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_03_4671.jpg
/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_05_1751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372317","1396372331","1396372363","1396372348","1396372321","1396372318"],"photo_ids_order":["1396372317","1396372318","1396372321","1396372331","1396372348","1396372363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3865aad97496344f000ddba790779a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5298750344303124035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_29_24_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/27/7623a7904823ea3dd937f0e87f2ea01f.jpg","text":"TemporaryFile(/tmp/multipartBody6469573220276601755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_29_58_31351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d1b081ddb1cf7c1b07a329d750498ca.jpg","text":"TemporaryFile(/tmp/multipartBody6675620116344403372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_30_05_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/27/802ac9f1b1b83c62191fc22116cebe46.jpg","text":"TemporaryFile(/tmp/multipartBody2734270638067849681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_30_03_4671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a95d436fe3570fafb55073f28beabd3.jpg","text":"TemporaryFile(/tmp/multipartBody3898397222680713034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_29_27_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/27/6114ff2ea4e01487ae6cf4a9194287f2.jpg","text":"TemporaryFile(/tmp/multipartBody6673924425667244792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226634056,"filename":"image_21112025_20_29_25_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372321","file1":"1396372318","file0":"1396372317","file4":"1396372348","file5":"1396372363","file3":"1396372331"},"map_files_photo_id_array":[{"photo_id":"1396372363","filename":"file5"},{"photo_id":"1396372321","filename":"file2"},{"photo_id":"1396372348","filename":"file4"},{"photo_id":"1396372318","filename":"file1"},{"photo_id":"1396372317","filename":"file0"},{"photo_id":"1396372331","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372317":["hashtag1","hashtag2"]},{"1396372331":["hashtag1","hashtag2"]},{"1396372363":["hashtag1","hashtag2"]},{"1396372348":["hashtag1","hashtag2"]},{"1396372321":["hashtag1","hashtag2"]},{"1396372318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372317, 1396372331, 1396372363, 1396372348, 1396372321, 1396372318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4260413646698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:57:03.190968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/53/image_27112025_07_54_04_9747.jpg', '/home/pi/Desktop/images/27112025/07/55/image_27112025_07_55_55_10761.jpg', '/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_14_9588.jpg', '/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_44_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/53/image_27112025_07_54_04_9747.jpg
/home/pi/Desktop/images/27112025/07/55/image_27112025_07_55_55_10761.jpg
/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_14_9588.jpg
/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_44_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372385","1396372384","1396372387","1396372386"],"photo_ids_order":["1396372384","1396372385","1396372386","1396372387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0f1cc23d0b93c358177fda8e82a76d3.jpg","text":"TemporaryFile(/tmp/multipartBody7696614146585582398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226683964,"filename":"image_27112025_07_55_55_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c97ddc7e691ba2e66bd7cb806245ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody6916269402726930442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226683964,"filename":"image_27112025_07_54_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03d7991b8024b3a7358c6c1e4f9ce68a.jpg","text":"TemporaryFile(/tmp/multipartBody9111778636995122275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226683964,"filename":"image_27112025_07_56_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d08ac295a8580af32df29f6a9393cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6985893546069691136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226683964,"filename":"image_27112025_07_56_14_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372386","file1":"1396372385","file0":"1396372384","file3":"1396372387"},"map_files_photo_id_array":[{"photo_id":"1396372386","filename":"file2"},{"photo_id":"1396372385","filename":"file1"},{"photo_id":"1396372384","filename":"file0"},{"photo_id":"1396372387","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396372385":["hashtag1","hashtag2"]},{"1396372384":["hashtag1","hashtag2"]},{"1396372387":["hashtag1","hashtag2"]},{"1396372386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396372385, 1396372384, 1396372387, 1396372386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.622504472732544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:57:32.557630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_07_1924.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_07_3012.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_11_3671.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_13_2638.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_16_2731.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_33_17045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/30/image_21112025_20_30_07_1924.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_07_3012.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_11_3671.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_13_2638.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_16_2731.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_33_17045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372404","1396372401","1396372406","1396372396","1396372399","1396372405"],"photo_ids_order":["1396372396","1396372399","1396372401","1396372404","1396372405","1396372406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec2a6494e35c33fd384934fb4a489943.jpg","text":"TemporaryFile(/tmp/multipartBody2255898264265182824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_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/27/f455536742e8441ddb9c9e4c00ad3b78.jpg","text":"TemporaryFile(/tmp/multipartBody516347778726746222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_32_11_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/27/0c36fc8ede77246fd214b2c8798f4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody854758917716082142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_32_33_17045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8c3d71724185873d9335372efa5f56a.jpg","text":"TemporaryFile(/tmp/multipartBody8154243752954395932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_30_07_1924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92a621003c06257629424aa1cb47b693.jpg","text":"TemporaryFile(/tmp/multipartBody5569540673160361811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_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/27/95d42793650efaaecc968d3384818ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3368527208590697192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226714420,"filename":"image_21112025_20_32_16_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372401","file1":"1396372399","file0":"1396372396","file4":"1396372405","file5":"1396372406","file3":"1396372404"},"map_files_photo_id_array":[{"photo_id":"1396372406","filename":"file5"},{"photo_id":"1396372401","filename":"file2"},{"photo_id":"1396372405","filename":"file4"},{"photo_id":"1396372399","filename":"file1"},{"photo_id":"1396372396","filename":"file0"},{"photo_id":"1396372404","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372404":["hashtag1","hashtag2"]},{"1396372401":["hashtag1","hashtag2"]},{"1396372406":["hashtag1","hashtag2"]},{"1396372396":["hashtag1","hashtag2"]},{"1396372399":["hashtag1","hashtag2"]},{"1396372405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372404, 1396372401, 1396372406, 1396372396, 1396372399, 1396372405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80348610877991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 07:59:03.838753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_55_10597.jpg', '/home/pi/Desktop/images/27112025/07/56/image_27112025_07_57_05_9857.jpg', '/home/pi/Desktop/images/27112025/07/57/image_27112025_07_57_24_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/56/image_27112025_07_56_55_10597.jpg
/home/pi/Desktop/images/27112025/07/56/image_27112025_07_57_05_9857.jpg
/home/pi/Desktop/images/27112025/07/57/image_27112025_07_57_24_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372413","1396372411","1396372417"],"photo_ids_order":["1396372411","1396372413","1396372417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/967d19ba8226581a5c99eb4620e772fe.jpg","text":"TemporaryFile(/tmp/multipartBody1760515612251191614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226804623,"filename":"image_27112025_07_57_05_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dda6279659346c7541473bd1983be626.jpg","text":"TemporaryFile(/tmp/multipartBody7341302210702071687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226804623,"filename":"image_27112025_07_56_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/846b07ce10219c6248df8ef7abdc6d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2923387016286297075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226804623,"filename":"image_27112025_07_57_24_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372417","file1":"1396372413","file0":"1396372411"},"map_files_photo_id_array":[{"photo_id":"1396372417","filename":"file2"},{"photo_id":"1396372413","filename":"file1"},{"photo_id":"1396372411","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396372413":["hashtag1","hashtag2"]},{"1396372411":["hashtag1","hashtag2"]},{"1396372417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396372413, 1396372411, 1396372417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.8602032661438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 07:59:32.891159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_37_1805.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_38_1769.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_40_1690.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_42_1699.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_43_1656.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_45_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_37_1805.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_38_1769.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_40_1690.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_42_1699.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_43_1656.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_45_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396372860","1396372565","1396372529","1396372777","1396372624","1396372695"],"photo_ids_order":["1396372529","1396372565","1396372624","1396372695","1396372777","1396372860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a13f6e98c86a6f2f88688334e5e75f1.jpg","text":"TemporaryFile(/tmp/multipartBody6685202115477568571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_45_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/27/92a380c2630bf1ad53e6147c4287b7a9.jpg","text":"TemporaryFile(/tmp/multipartBody1384845701489202471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_38_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/27/2e61b59e97b4421828632b50a6035373.jpg","text":"TemporaryFile(/tmp/multipartBody4339939895703966105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_37_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/149778597db43484f8598c3353b813bf.jpg","text":"TemporaryFile(/tmp/multipartBody1232081098243572761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_43_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/27/c78138409369816b641e93d77fdd0801.jpg","text":"TemporaryFile(/tmp/multipartBody2272504633691343054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_40_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/662fe6fe516e7f7fbf96d3e7713bdfcc.jpg","text":"TemporaryFile(/tmp/multipartBody4463636886886681706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226834752,"filename":"image_21112025_20_32_42_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396372624","file1":"1396372565","file0":"1396372529","file4":"1396372777","file5":"1396372860","file3":"1396372695"},"map_files_photo_id_array":[{"photo_id":"1396372860","filename":"file5"},{"photo_id":"1396372624","filename":"file2"},{"photo_id":"1396372777","filename":"file4"},{"photo_id":"1396372565","filename":"file1"},{"photo_id":"1396372529","filename":"file0"},{"photo_id":"1396372695","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396372860":["hashtag1","hashtag2"]},{"1396372565":["hashtag1","hashtag2"]},{"1396372529":["hashtag1","hashtag2"]},{"1396372777":["hashtag1","hashtag2"]},{"1396372624":["hashtag1","hashtag2"]},{"1396372695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396372860, 1396372565, 1396372529, 1396372777, 1396372624, 1396372695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49795722961426 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 10
2025-11-27 08:00:22.074140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_47_1730.jpg', '/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_53_1702.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_11_3771.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_13_2742.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_19_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_47_1730.jpg
/home/pi/Desktop/images/21112025/20/32/image_21112025_20_32_53_1702.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_07_3011.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_11_3771.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_13_2742.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_19_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396373399","1396373468","1396373240","1396373329","1396373200","1396373274"],"photo_ids_order":["1396373200","1396373240","1396373274","1396373329","1396373399","1396373468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20bf7d177a49a4b449f6f9af2f9f347e.jpg","text":"TemporaryFile(/tmp/multipartBody3873905886449760420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_34_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/27/8c2b356c5bb887c9c558ff085c182472.jpg","text":"TemporaryFile(/tmp/multipartBody1115898733694415607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_34_19_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/27/33bdec272316a0f16b75d098d118533e.jpg","text":"TemporaryFile(/tmp/multipartBody2386385445009127079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_32_53_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/27/b73e27cc634fa7abf6aeef47de1a8639.jpg","text":"TemporaryFile(/tmp/multipartBody1573738149820421350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_34_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/27/7efd097d91718c441c7bb5beb8db4b99.jpg","text":"TemporaryFile(/tmp/multipartBody5509550847340421112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_32_47_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/27/766e45fa4d88080e0f85fa9dd18d103c.jpg","text":"TemporaryFile(/tmp/multipartBody3310009132031051954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226883909,"filename":"image_21112025_20_34_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396373274","file1":"1396373240","file0":"1396373200","file4":"1396373399","file5":"1396373468","file3":"1396373329"},"map_files_photo_id_array":[{"photo_id":"1396373468","filename":"file5"},{"photo_id":"1396373274","filename":"file2"},{"photo_id":"1396373399","filename":"file4"},{"photo_id":"1396373240","filename":"file1"},{"photo_id":"1396373200","filename":"file0"},{"photo_id":"1396373329","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396373399":["hashtag1","hashtag2"]},{"1396373468":["hashtag1","hashtag2"]},{"1396373240":["hashtag1","hashtag2"]},{"1396373329":["hashtag1","hashtag2"]},{"1396373200":["hashtag1","hashtag2"]},{"1396373274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396373399, 1396373468, 1396373240, 1396373329, 1396373200, 1396373274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26919913291931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:01:03.051607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_23_3585.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_25_2694.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_28_2796.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_32_3616.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_34_2710.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_41_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_23_3585.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_25_2694.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_28_2796.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_32_3616.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_34_2710.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_41_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396373768","1396373770","1396373761","1396373749","1396373719","1396373682"],"photo_ids_order":["1396373682","1396373719","1396373749","1396373761","1396373768","1396373770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9cf37d2d4aa9638abb5339f3a50bded4.jpg","text":"TemporaryFile(/tmp/multipartBody7658876135805234086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_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/27/207e635537fa5742b5f08247b30b20d9.jpg","text":"TemporaryFile(/tmp/multipartBody4844551058728805015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_41_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/27/6beeebad9edc2fb4a2dbd318485ea023.jpg","text":"TemporaryFile(/tmp/multipartBody5781910572436122345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_32_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/27/232f1c0d9e0b6eb42870ecb18b999ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2034479086598936818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_28_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/27/9613d0b23e5cf05144697021caf8658d.jpg","text":"TemporaryFile(/tmp/multipartBody6914314952502749498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_25_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/27/802b01b4f0669fc9e57a2750f020eb57.jpg","text":"TemporaryFile(/tmp/multipartBody6975052780078895783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226926739,"filename":"image_21112025_20_34_23_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396373749","file1":"1396373719","file0":"1396373682","file4":"1396373768","file5":"1396373770","file3":"1396373761"},"map_files_photo_id_array":[{"photo_id":"1396373770","filename":"file5"},{"photo_id":"1396373749","filename":"file2"},{"photo_id":"1396373768","filename":"file4"},{"photo_id":"1396373719","filename":"file1"},{"photo_id":"1396373682","filename":"file0"},{"photo_id":"1396373761","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396373768":["hashtag1","hashtag2"]},{"1396373770":["hashtag1","hashtag2"]},{"1396373761":["hashtag1","hashtag2"]},{"1396373749":["hashtag1","hashtag2"]},{"1396373719":["hashtag1","hashtag2"]},{"1396373682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396373768, 1396373770, 1396373761, 1396373749, 1396373719, 1396373682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.657347440719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:02:03.120137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/07/57/image_27112025_07_57_35_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/07/57/image_27112025_07_57_35_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396373904"],"photo_id":"1396373904","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/196b32a10c74074874c396cdcb02d565.jpg","text":"TemporaryFile(/tmp/multipartBody7326495200739851211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764226983685,"filename":"image_27112025_07_57_35_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396373904"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396373904"}],"hashtags":[],"portfolio_id":"28941786","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.27371621131897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:02:23.693863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/01/image_27112025_08_01_35_9801.jpg', '/home/pi/Desktop/images/27112025/08/02/image_27112025_08_02_35_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/01/image_27112025_08_01_35_9801.jpg
/home/pi/Desktop/images/27112025/08/02/image_27112025_08_02_35_9827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374016","1396373991"],"photo_ids_order":["1396373991","1396374016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c2fed4546b676f69469417b1ed0a6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2090169301761775042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227004311,"filename":"image_27112025_08_02_35_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/792e48b1c0cc599110c9b4d280b1b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody1327750655272051846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227004311,"filename":"image_27112025_08_01_35_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396374016","file0":"1396373991"},"map_files_photo_id_array":[{"photo_id":"1396374016","filename":"file1"},{"photo_id":"1396373991","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374016":["hashtag1","hashtag2"]},{"1396373991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374016, 1396373991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.74222469329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:02:42.650535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/16/image_30102025_22_16_04_2550.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_13_2766.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_17_3697.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_20_2700.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_23_3073.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_26_3022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_04_2550.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_13_2766.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_17_3697.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_20_2700.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_23_3073.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_26_3022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374122","1396374101","1396374119","1396374061","1396374118","1396374120"],"photo_ids_order":["1396374061","1396374101","1396374118","1396374119","1396374120","1396374122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eeb933642e3a54057a1c08bb1b482805.jpg","text":"TemporaryFile(/tmp/multipartBody8250489821670043828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_26_3022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ace0459461722ff39bf0a0349e249578.jpg","text":"TemporaryFile(/tmp/multipartBody7593779852047484086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_13_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/27/72cb8d09570d645bd2500fe3571ace4b.jpg","text":"TemporaryFile(/tmp/multipartBody8948039215632427960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_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/27/cc5084ecf9f0faed7f8bf3da162d10f1.jpg","text":"TemporaryFile(/tmp/multipartBody5118830044365285343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_04_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/27/6ca0085a593c41c5f3ee1a38c15dc608.jpg","text":"TemporaryFile(/tmp/multipartBody5707362665827356813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_17_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/27/a7305a9ecb3d42865c1539aa552fce5f.jpg","text":"TemporaryFile(/tmp/multipartBody4830894268333861495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227023950,"filename":"image_30102025_22_16_23_3073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374118","file1":"1396374101","file0":"1396374061","file4":"1396374120","file5":"1396374122","file3":"1396374119"},"map_files_photo_id_array":[{"photo_id":"1396374122","filename":"file5"},{"photo_id":"1396374118","filename":"file2"},{"photo_id":"1396374120","filename":"file4"},{"photo_id":"1396374101","filename":"file1"},{"photo_id":"1396374061","filename":"file0"},{"photo_id":"1396374119","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396374122":["hashtag1","hashtag2"]},{"1396374101":["hashtag1","hashtag2"]},{"1396374119":["hashtag1","hashtag2"]},{"1396374061":["hashtag1","hashtag2"]},{"1396374118":["hashtag1","hashtag2"]},{"1396374120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396374122, 1396374101, 1396374119, 1396374061, 1396374118, 1396374120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3869366645813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:03:21.786828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/02/image_27112025_08_02_56_10658.jpg', '/home/pi/Desktop/images/27112025/08/02/image_27112025_08_03_05_9810.jpg', '/home/pi/Desktop/images/27112025/08/03/image_27112025_08_03_15_9731.jpg', '/home/pi/Desktop/images/27112025/08/03/image_27112025_08_03_25_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/02/image_27112025_08_02_56_10658.jpg
/home/pi/Desktop/images/27112025/08/02/image_27112025_08_03_05_9810.jpg
/home/pi/Desktop/images/27112025/08/03/image_27112025_08_03_15_9731.jpg
/home/pi/Desktop/images/27112025/08/03/image_27112025_08_03_25_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374154","1396374157","1396374150","1396374147"],"photo_ids_order":["1396374147","1396374150","1396374154","1396374157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ea98da552e99cadaf7d64dceb1ddb23.jpg","text":"TemporaryFile(/tmp/multipartBody3448505062217807360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227062463,"filename":"image_27112025_08_03_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d3216aba52f1545c0f7154f440a0883.jpg","text":"TemporaryFile(/tmp/multipartBody2406531370358026079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227062463,"filename":"image_27112025_08_03_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9af3b45e9e5b6a67c809abd0d3db6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody9171165308541058482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227062463,"filename":"image_27112025_08_03_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1879338cc26a108be918c31c1de52318.jpg","text":"TemporaryFile(/tmp/multipartBody296309690746912919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227062463,"filename":"image_27112025_08_02_56_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374154","file1":"1396374150","file0":"1396374147","file3":"1396374157"},"map_files_photo_id_array":[{"photo_id":"1396374154","filename":"file2"},{"photo_id":"1396374150","filename":"file1"},{"photo_id":"1396374147","filename":"file0"},{"photo_id":"1396374157","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374154":["hashtag1","hashtag2"]},{"1396374157":["hashtag1","hashtag2"]},{"1396374150":["hashtag1","hashtag2"]},{"1396374147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374154, 1396374157, 1396374150, 1396374147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.907729864120483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:04:02.654458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_43_2542.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_47_3528.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_49_2629.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_52_2692.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_56_3769.jpg', '/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_58_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_43_2542.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_47_3528.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_49_2629.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_52_2692.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_56_3769.jpg
/home/pi/Desktop/images/21112025/20/34/image_21112025_20_34_58_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374164","1396374167","1396374172","1396374166","1396374169","1396374165"],"photo_ids_order":["1396374164","1396374165","1396374166","1396374167","1396374169","1396374172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e30fc134944c0a5a8ae6c7fa3cbcd635.jpg","text":"TemporaryFile(/tmp/multipartBody5067507848560462747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_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/27/99e95615da799b889e390fd4cd31e28b.jpg","text":"TemporaryFile(/tmp/multipartBody3159848254553723650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_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/27/53c4181f3d2d32b795b696e519345586.jpg","text":"TemporaryFile(/tmp/multipartBody4564180681361188599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_58_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/27/1502d232aeb3210d18e351195cb364fa.jpg","text":"TemporaryFile(/tmp/multipartBody5248768199331179020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_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/27/de766b3657c04f34e738517a16f9a69b.jpg","text":"TemporaryFile(/tmp/multipartBody8666336188985582544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_56_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/27/9e065c9ba4076eedb5f5f5830ab72bff.jpg","text":"TemporaryFile(/tmp/multipartBody5917533253152559587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227103895,"filename":"image_21112025_20_34_47_3528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374166","file1":"1396374165","file0":"1396374164","file4":"1396374169","file5":"1396374172","file3":"1396374167"},"map_files_photo_id_array":[{"photo_id":"1396374172","filename":"file5"},{"photo_id":"1396374166","filename":"file2"},{"photo_id":"1396374169","filename":"file4"},{"photo_id":"1396374165","filename":"file1"},{"photo_id":"1396374164","filename":"file0"},{"photo_id":"1396374167","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396374164":["hashtag1","hashtag2"]},{"1396374167":["hashtag1","hashtag2"]},{"1396374172":["hashtag1","hashtag2"]},{"1396374166":["hashtag1","hashtag2"]},{"1396374169":["hashtag1","hashtag2"]},{"1396374165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396374164, 1396374167, 1396374172, 1396374166, 1396374169, 1396374165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83537197113037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:04:42.041506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/16/image_30102025_22_16_28_2690.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_35_3531.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_37_2591.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_40_2925.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_44_3630.jpg', '/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_47_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/22/16/image_30102025_22_16_28_2690.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_35_3531.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_37_2591.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_40_2925.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_44_3630.jpg
/home/pi/Desktop/images/30102025/22/16/image_30102025_22_16_47_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":["1396374185","1396374184","1396374193","1396374201","1396374197","1396374182"],"photo_ids_order":["1396374182","1396374184","1396374185","1396374193","1396374197","1396374201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3d114b68073e7903baec9df97a5436b.jpg","text":"TemporaryFile(/tmp/multipartBody1126432789096386945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_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/27/1bd6c7ed2a309a727d1e25f56fff3dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7852664671902745922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_35_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/27/9328feb04cf28c6f33a9e6ae2447b8f8.jpg","text":"TemporaryFile(/tmp/multipartBody443075928265535032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_40_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/27/186c33429ada9a9950563e23751f6a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5734272181324207277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_47_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/27/47865a504927d4c90e74c8c781f9b740.jpg","text":"TemporaryFile(/tmp/multipartBody8902880476949334066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_44_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/27/2b2abd4582efec66a67c114468d8028c.jpg","text":"TemporaryFile(/tmp/multipartBody3720284588637806114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227143345,"filename":"image_30102025_22_16_28_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374185","file1":"1396374184","file0":"1396374182","file4":"1396374197","file5":"1396374201","file3":"1396374193"},"map_files_photo_id_array":[{"photo_id":"1396374201","filename":"file5"},{"photo_id":"1396374185","filename":"file2"},{"photo_id":"1396374197","filename":"file4"},{"photo_id":"1396374184","filename":"file1"},{"photo_id":"1396374182","filename":"file0"},{"photo_id":"1396374193","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396374185":["hashtag1","hashtag2"]},{"1396374184":["hashtag1","hashtag2"]},{"1396374193":["hashtag1","hashtag2"]},{"1396374201":["hashtag1","hashtag2"]},{"1396374197":["hashtag1","hashtag2"]},{"1396374182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396374185, 1396374184, 1396374193, 1396374201, 1396374197, 1396374182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57020354270935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:05:22.239526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_25_9847.jpg', '/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_35_9662.jpg', '/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_45_10662.jpg', '/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_55_9662.jpg', '/home/pi/Desktop/images/27112025/08/04/image_27112025_08_05_05_9711.jpg', '/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_15_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_25_9847.jpg
/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_35_9662.jpg
/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_45_10662.jpg
/home/pi/Desktop/images/27112025/08/04/image_27112025_08_04_55_9662.jpg
/home/pi/Desktop/images/27112025/08/04/image_27112025_08_05_05_9711.jpg
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_15_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374209","1396374220","1396374223","1396374217","1396374226","1396374213"],"photo_ids_order":["1396374209","1396374213","1396374217","1396374220","1396374223","1396374226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f56a2fe1733217f7ed2c497f15336711.jpg","text":"TemporaryFile(/tmp/multipartBody625586875181203735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_04_25_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/211a66786a87e6bfd31d1034bcfd17ca.jpg","text":"TemporaryFile(/tmp/multipartBody3865415411790631710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_04_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35f579d770958027558dbcca12ff57b7.jpg","text":"TemporaryFile(/tmp/multipartBody5794033984703035129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_05_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95230d45cfcd9b0e67dcfca071032348.jpg","text":"TemporaryFile(/tmp/multipartBody3007405880449827022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_04_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da79b6efcc6b7d699726bbacf84a3458.jpg","text":"TemporaryFile(/tmp/multipartBody3030158837908549729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_05_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3327b8a5e5338e63e0d26c1c43fbd57.jpg","text":"TemporaryFile(/tmp/multipartBody2553725764265946466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227183091,"filename":"image_27112025_08_04_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374217","file1":"1396374213","file0":"1396374209","file4":"1396374223","file5":"1396374226","file3":"1396374220"},"map_files_photo_id_array":[{"photo_id":"1396374226","filename":"file5"},{"photo_id":"1396374217","filename":"file2"},{"photo_id":"1396374223","filename":"file4"},{"photo_id":"1396374213","filename":"file1"},{"photo_id":"1396374209","filename":"file0"},{"photo_id":"1396374220","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374209":["hashtag1","hashtag2"]},{"1396374220":["hashtag1","hashtag2"]},{"1396374223":["hashtag1","hashtag2"]},{"1396374217":["hashtag1","hashtag2"]},{"1396374226":["hashtag1","hashtag2"]},{"1396374213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374209, 1396374220, 1396374223, 1396374217, 1396374226, 1396374213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.945939779281616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:06:02.820525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_25_9662.jpg', '/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_36_10643.jpg', '/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_45_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_25_9662.jpg
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_36_10643.jpg
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_45_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374230","1396374229","1396374228"],"photo_ids_order":["1396374228","1396374229","1396374230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4df044cc7358e78c78ec84c208378241.jpg","text":"TemporaryFile(/tmp/multipartBody5556993356360213590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227223531,"filename":"image_27112025_08_05_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c45a5bf46c05a61062279ee2f575d41.jpg","text":"TemporaryFile(/tmp/multipartBody7507077021775961863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227223531,"filename":"image_27112025_08_05_36_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c579443fff322e918f3c691afdb33fa.jpg","text":"TemporaryFile(/tmp/multipartBody909765085833132496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227223531,"filename":"image_27112025_08_05_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374230","file1":"1396374229","file0":"1396374228"},"map_files_photo_id_array":[{"photo_id":"1396374230","filename":"file2"},{"photo_id":"1396374229","filename":"file1"},{"photo_id":"1396374228","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374230":["hashtag1","hashtag2"]},{"1396374229":["hashtag1","hashtag2"]},{"1396374228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374230, 1396374229, 1396374228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.019240856170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:06:32.546952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/35/image_21112025_20_35_01_2734.jpg', '/home/pi/Desktop/images/21112025/20/35/image_21112025_20_35_04_2779.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_11_3818.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_14_2639.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_17_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/35/image_21112025_20_35_01_2734.jpg
/home/pi/Desktop/images/21112025/20/35/image_21112025_20_35_04_2779.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_07_3018.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_11_3818.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_14_2639.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_17_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396374242","1396374239","1396374248","1396374247","1396374244","1396374249"],"photo_ids_order":["1396374239","1396374242","1396374244","1396374247","1396374248","1396374249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d934694a6e5c546677af7684c13ca7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1254077519194009611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_35_04_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/27/77f8bcf7e323f967f6967255045cc4d2.jpg","text":"TemporaryFile(/tmp/multipartBody2583976802006854993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_35_01_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/27/5a6f690d9149534fcb0f24aaa8e49e6f.jpg","text":"TemporaryFile(/tmp/multipartBody3051858678957801989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_36_14_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/27/e9c1ef404a947b08e83724247dedae1d.jpg","text":"TemporaryFile(/tmp/multipartBody1737552542241825951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_36_11_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/27/f2acd6bef8fa71c852755f597fcfc470.jpg","text":"TemporaryFile(/tmp/multipartBody7053959143350846273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_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/27/75eb76c81edc72f6443711415006feeb.jpg","text":"TemporaryFile(/tmp/multipartBody8942784188275243145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227254417,"filename":"image_21112025_20_36_17_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374244","file1":"1396374242","file0":"1396374239","file4":"1396374248","file5":"1396374249","file3":"1396374247"},"map_files_photo_id_array":[{"photo_id":"1396374249","filename":"file5"},{"photo_id":"1396374244","filename":"file2"},{"photo_id":"1396374248","filename":"file4"},{"photo_id":"1396374242","filename":"file1"},{"photo_id":"1396374239","filename":"file0"},{"photo_id":"1396374247","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396374242":["hashtag1","hashtag2"]},{"1396374239":["hashtag1","hashtag2"]},{"1396374248":["hashtag1","hashtag2"]},{"1396374247":["hashtag1","hashtag2"]},{"1396374244":["hashtag1","hashtag2"]},{"1396374249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396374242, 1396374239, 1396374248, 1396374247, 1396374244, 1396374249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.472636461257935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:07:22.666351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_55_9886.jpg', '/home/pi/Desktop/images/27112025/08/05/image_27112025_08_06_05_9813.jpg', '/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_15_9960.jpg', '/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_26_10726.jpg', '/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_35_9759.jpg', '/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_45_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_05_55_9886.jpg
/home/pi/Desktop/images/27112025/08/05/image_27112025_08_06_05_9813.jpg
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_15_9960.jpg
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_26_10726.jpg
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_35_9759.jpg
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_45_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374286","1396374282","1396374276","1396374279","1396374270","1396374273"],"photo_ids_order":["1396374270","1396374273","1396374276","1396374279","1396374282","1396374286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01c702eb6368bd4e343e2b37077bc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1233583382901977705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_06_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8820b4ad013a0e845ffe9863f91d175f.jpg","text":"TemporaryFile(/tmp/multipartBody4959659570435878518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_06_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/498e67f335cd16a00e4ca53228899e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6440731365084317859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_06_15_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c901ea1053a2dbb987ecfa0d2e3a5656.jpg","text":"TemporaryFile(/tmp/multipartBody5704911199045019372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_06_26_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc3faa61d4d05259b95e71952314f545.jpg","text":"TemporaryFile(/tmp/multipartBody3253064720036974307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_05_55_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/451fe2efc62c7337e8e01322e293f7d2.jpg","text":"TemporaryFile(/tmp/multipartBody430688862844376393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227304465,"filename":"image_27112025_08_06_05_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374276","file1":"1396374273","file0":"1396374270","file4":"1396374282","file5":"1396374286","file3":"1396374279"},"map_files_photo_id_array":[{"photo_id":"1396374286","filename":"file5"},{"photo_id":"1396374276","filename":"file2"},{"photo_id":"1396374282","filename":"file4"},{"photo_id":"1396374273","filename":"file1"},{"photo_id":"1396374270","filename":"file0"},{"photo_id":"1396374279","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374286":["hashtag1","hashtag2"]},{"1396374282":["hashtag1","hashtag2"]},{"1396374276":["hashtag1","hashtag2"]},{"1396374279":["hashtag1","hashtag2"]},{"1396374270":["hashtag1","hashtag2"]},{"1396374273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374286, 1396374282, 1396374276, 1396374279, 1396374270, 1396374273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83243727684021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:08:02.382342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_55_9621.jpg', '/home/pi/Desktop/images/27112025/08/06/image_27112025_08_07_05_10397.jpg', '/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_15_9718.jpg', '/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_26_10778.jpg', '/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_36_9997.jpg', '/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_06_55_9621.jpg
/home/pi/Desktop/images/27112025/08/06/image_27112025_08_07_05_10397.jpg
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_15_9718.jpg
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_26_10778.jpg
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_36_9997.jpg
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374291","1396374288","1396374300","1396374293","1396374287","1396374296"],"photo_ids_order":["1396374287","1396374288","1396374291","1396374293","1396374296","1396374300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b694754e14bbf7a0bd75db0539ef7ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2754047949136797843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_07_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52f46625888de49103b29c4443dcb86f.jpg","text":"TemporaryFile(/tmp/multipartBody7584208026694779396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_07_05_10397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8392631db72b13b0d7599bcdfb454474.jpg","text":"TemporaryFile(/tmp/multipartBody246449694592221256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_07_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a39e62c25c22c0b95cb835db56826a29.jpg","text":"TemporaryFile(/tmp/multipartBody561000624701270255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_07_26_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c41da71cb15dc257562f2887796a334f.jpg","text":"TemporaryFile(/tmp/multipartBody4074664829610515287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_06_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6accee7f97b49c109cf03d750cbc1899.jpg","text":"TemporaryFile(/tmp/multipartBody1226794872562866928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227343254,"filename":"image_27112025_08_07_36_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374291","file1":"1396374288","file0":"1396374287","file4":"1396374296","file5":"1396374300","file3":"1396374293"},"map_files_photo_id_array":[{"photo_id":"1396374300","filename":"file5"},{"photo_id":"1396374291","filename":"file2"},{"photo_id":"1396374296","filename":"file4"},{"photo_id":"1396374288","filename":"file1"},{"photo_id":"1396374287","filename":"file0"},{"photo_id":"1396374293","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374291":["hashtag1","hashtag2"]},{"1396374288":["hashtag1","hashtag2"]},{"1396374300":["hashtag1","hashtag2"]},{"1396374293":["hashtag1","hashtag2"]},{"1396374287":["hashtag1","hashtag2"]},{"1396374296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374291, 1396374288, 1396374300, 1396374293, 1396374287, 1396374296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72204351425171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:08:41.908316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/16/image_30102025_22_16_59_2671.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_05_3599.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_08_2660.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_10_2680.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_17_3695.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_19_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/22/16/image_30102025_22_16_59_2671.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_05_3599.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_08_2660.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_10_2680.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_17_3695.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_19_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":["1396374317","1396374314","1396374316","1396374310","1396374313","1396374315"],"photo_ids_order":["1396374310","1396374313","1396374314","1396374315","1396374316","1396374317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3aee1470c0f7ebd5362668aa6687555.jpg","text":"TemporaryFile(/tmp/multipartBody1349721486978517359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_17_19_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/27/1a3063579de5ed21f71fd3d5936d814d.jpg","text":"TemporaryFile(/tmp/multipartBody7111277858944736912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_17_08_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/27/f56d65b417950cfff00d445b2dfc8bf3.jpg","text":"TemporaryFile(/tmp/multipartBody215802772873803926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_17_17_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/27/6fa46b14838f3d423b5b0f7bc5dc9b79.jpg","text":"TemporaryFile(/tmp/multipartBody7523975656245554069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_16_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/27/dc2d54f5c2c1cef68889d3cf6eb3415f.jpg","text":"TemporaryFile(/tmp/multipartBody1457314398656368708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_17_05_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/27/040273e959905b3ef5c392cec6ca2fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1463820737889329712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227383137,"filename":"image_30102025_22_17_10_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374314","file1":"1396374313","file0":"1396374310","file4":"1396374316","file5":"1396374317","file3":"1396374315"},"map_files_photo_id_array":[{"photo_id":"1396374317","filename":"file5"},{"photo_id":"1396374314","filename":"file2"},{"photo_id":"1396374316","filename":"file4"},{"photo_id":"1396374313","filename":"file1"},{"photo_id":"1396374310","filename":"file0"},{"photo_id":"1396374315","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396374317":["hashtag1","hashtag2"]},{"1396374314":["hashtag1","hashtag2"]},{"1396374316":["hashtag1","hashtag2"]},{"1396374310":["hashtag1","hashtag2"]},{"1396374313":["hashtag1","hashtag2"]},{"1396374315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396374317, 1396374314, 1396374316, 1396374310, 1396374313, 1396374315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11590766906738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:09:22.160718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_55_9752.jpg', '/home/pi/Desktop/images/27112025/08/07/image_27112025_08_08_05_9932.jpg', '/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_16_11473.jpg', '/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_25_8654.jpg', '/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_35_9739.jpg', '/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_46_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_07_55_9752.jpg
/home/pi/Desktop/images/27112025/08/07/image_27112025_08_08_05_9932.jpg
/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_16_11473.jpg
/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_25_8654.jpg
/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_35_9739.jpg
/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_46_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374340","1396374334","1396374328","1396374337","1396374331","1396374325"],"photo_ids_order":["1396374325","1396374328","1396374331","1396374334","1396374337","1396374340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa0daea3a251c1b59a84aac248e440cf.jpg","text":"TemporaryFile(/tmp/multipartBody4663620580047035490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_08_46_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e11a64c0ce784c28effa4a65dc682434.jpg","text":"TemporaryFile(/tmp/multipartBody3192125343475933453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_08_25_8654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d31c9d0931dff4b8f47ffa7bd9dcbac.jpg","text":"TemporaryFile(/tmp/multipartBody1884812092507018043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_08_05_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbbab72df90ef2289739982b364302b0.jpg","text":"TemporaryFile(/tmp/multipartBody7381146489333071171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_08_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98b8aff1c1633225b7ecf144ca12199f.jpg","text":"TemporaryFile(/tmp/multipartBody6737979294425706433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_08_16_11473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42fcf7b734bb78ad937558d66476731c.jpg","text":"TemporaryFile(/tmp/multipartBody177898062110845991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227423021,"filename":"image_27112025_08_07_55_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374331","file1":"1396374328","file0":"1396374325","file4":"1396374337","file5":"1396374340","file3":"1396374334"},"map_files_photo_id_array":[{"photo_id":"1396374340","filename":"file5"},{"photo_id":"1396374331","filename":"file2"},{"photo_id":"1396374337","filename":"file4"},{"photo_id":"1396374328","filename":"file1"},{"photo_id":"1396374325","filename":"file0"},{"photo_id":"1396374334","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374340":["hashtag1","hashtag2"]},{"1396374334":["hashtag1","hashtag2"]},{"1396374328":["hashtag1","hashtag2"]},{"1396374337":["hashtag1","hashtag2"]},{"1396374331":["hashtag1","hashtag2"]},{"1396374325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374340, 1396374334, 1396374328, 1396374337, 1396374331, 1396374325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.656716108322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:10:02.794036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_58_12723.jpg', '/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_25_10634.jpg', '/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_35_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/08/image_27112025_08_08_58_12723.jpg
/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_25_10634.jpg
/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_35_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374344","1396374347","1396374343"],"photo_ids_order":["1396374343","1396374344","1396374347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87572c7f0c1f80a0643553b671351c01.jpg","text":"TemporaryFile(/tmp/multipartBody5806344249717736209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227463472,"filename":"image_27112025_08_09_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b49c873197592cae6ca56995fb7e37f6.jpg","text":"TemporaryFile(/tmp/multipartBody2630385150540529755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227463472,"filename":"image_27112025_08_09_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8af2bca37e22982ac8a34923eab7f22.jpg","text":"TemporaryFile(/tmp/multipartBody5226208265990392170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227463472,"filename":"image_27112025_08_08_58_12723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374347","file1":"1396374344","file0":"1396374343"},"map_files_photo_id_array":[{"photo_id":"1396374347","filename":"file2"},{"photo_id":"1396374344","filename":"file1"},{"photo_id":"1396374343","filename":"file0"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374344":["hashtag1","hashtag2"]},{"1396374347":["hashtag1","hashtag2"]},{"1396374343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374344, 1396374347, 1396374343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.786163806915283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:10:32.351344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_20_3644.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_23_2634.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_25_2576.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_29_3613.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_32_2699.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_35_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_20_3644.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_23_2634.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_25_2576.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_29_3613.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_32_2699.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_35_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374383","1396374390","1396374360","1396374392","1396374386","1396374374"],"photo_ids_order":["1396374360","1396374374","1396374383","1396374386","1396374390","1396374392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6799e59ff9eb71f536a69e3d2421747.jpg","text":"TemporaryFile(/tmp/multipartBody4797565714216383245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_25_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/27/d82b818e4f40c7bdca62b96dd2ecadd2.jpg","text":"TemporaryFile(/tmp/multipartBody8556725804438056360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_32_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/27/9af8d048c5668ef0a27205b7f8a9a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody6177763413048309470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_20_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/27/40e244d11ce05b25ed041adda03ec82f.jpg","text":"TemporaryFile(/tmp/multipartBody1178052504038618748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_35_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/27/582bc745c74ab02f16b68b0f35423870.jpg","text":"TemporaryFile(/tmp/multipartBody6313982656429837125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_29_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/27/0c273591e6b810902b4ec7fe517d14a7.jpg","text":"TemporaryFile(/tmp/multipartBody6370985869716934382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227494226,"filename":"image_21112025_20_36_23_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374383","file1":"1396374374","file0":"1396374360","file4":"1396374390","file5":"1396374392","file3":"1396374386"},"map_files_photo_id_array":[{"photo_id":"1396374392","filename":"file5"},{"photo_id":"1396374383","filename":"file2"},{"photo_id":"1396374390","filename":"file4"},{"photo_id":"1396374374","filename":"file1"},{"photo_id":"1396374360","filename":"file0"},{"photo_id":"1396374386","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396374383":["hashtag1","hashtag2"]},{"1396374390":["hashtag1","hashtag2"]},{"1396374360":["hashtag1","hashtag2"]},{"1396374392":["hashtag1","hashtag2"]},{"1396374386":["hashtag1","hashtag2"]},{"1396374374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396374383, 1396374390, 1396374360, 1396374392, 1396374386, 1396374374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43281316757202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:11:12.599085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_38_2525.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_41_2827.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_45_4073.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_46_1667.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_50_3647.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_53_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_38_2525.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_41_2827.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_45_4073.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_46_1667.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_50_3647.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_53_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374410","1396374404","1396374407","1396374401","1396374398","1396374395"],"photo_ids_order":["1396374395","1396374398","1396374401","1396374404","1396374407","1396374410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/396ef7527460da38629ea2037564ac29.jpg","text":"TemporaryFile(/tmp/multipartBody1822278200578561065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_53_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/27/ab38adac3e9f0f479276f8246e1634d9.jpg","text":"TemporaryFile(/tmp/multipartBody6580934582599655813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_46_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/27/7dafe816c0475f6aecce800a7daecfb4.jpg","text":"TemporaryFile(/tmp/multipartBody8154267968670669488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_50_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/27/26af596aa2dd767d6e42957e80b95caa.jpg","text":"TemporaryFile(/tmp/multipartBody2203132531677720498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_45_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/27/ed516e9579a6109f3d7d530499707594.jpg","text":"TemporaryFile(/tmp/multipartBody8315015169105689007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_41_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/27/4cd9f95bbb12653f44e330b4131b367b.jpg","text":"TemporaryFile(/tmp/multipartBody4448495806643989916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227534380,"filename":"image_21112025_20_36_38_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374401","file1":"1396374398","file0":"1396374395","file4":"1396374407","file5":"1396374410","file3":"1396374404"},"map_files_photo_id_array":[{"photo_id":"1396374410","filename":"file5"},{"photo_id":"1396374401","filename":"file2"},{"photo_id":"1396374407","filename":"file4"},{"photo_id":"1396374398","filename":"file1"},{"photo_id":"1396374395","filename":"file0"},{"photo_id":"1396374404","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396374410":["hashtag1","hashtag2"]},{"1396374404":["hashtag1","hashtag2"]},{"1396374407":["hashtag1","hashtag2"]},{"1396374401":["hashtag1","hashtag2"]},{"1396374398":["hashtag1","hashtag2"]},{"1396374395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396374410, 1396374404, 1396374407, 1396374401, 1396374398, 1396374395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.557212591171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:12:02.315707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_45_9701.jpg', '/home/pi/Desktop/images/27112025/08/09/image_27112025_08_10_05_9750.jpg', '/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_15_9852.jpg', '/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_26_10679.jpg', '/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_35_9625.jpg', '/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_45_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/09/image_27112025_08_09_45_9701.jpg
/home/pi/Desktop/images/27112025/08/09/image_27112025_08_10_05_9750.jpg
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_15_9852.jpg
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_26_10679.jpg
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_35_9625.jpg
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_45_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374434","1396374437","1396374431","1396374425","1396374429","1396374423"],"photo_ids_order":["1396374423","1396374425","1396374429","1396374431","1396374434","1396374437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38dedf6800b808879b7a69b6f7627179.jpg","text":"TemporaryFile(/tmp/multipartBody4435242399035466867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_10_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99edc2ac950331af25dbb4b3677c1192.jpg","text":"TemporaryFile(/tmp/multipartBody4181774198802558393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_10_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16b493e4502afcc52f5e6b1d447f57f1.jpg","text":"TemporaryFile(/tmp/multipartBody3487240378567536226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_10_26_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55d4fdeb552e9b04d340206fec0add97.jpg","text":"TemporaryFile(/tmp/multipartBody8937940126715480037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_10_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3ac6bd23f20a1932fd6afcf2f14ae23.jpg","text":"TemporaryFile(/tmp/multipartBody7418027243182794440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_10_15_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd46ff1d8cd537670f4547fffe58a374.jpg","text":"TemporaryFile(/tmp/multipartBody2143088048056076462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227583165,"filename":"image_27112025_08_09_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374429","file1":"1396374425","file0":"1396374423","file4":"1396374434","file5":"1396374437","file3":"1396374431"},"map_files_photo_id_array":[{"photo_id":"1396374437","filename":"file5"},{"photo_id":"1396374429","filename":"file2"},{"photo_id":"1396374434","filename":"file4"},{"photo_id":"1396374425","filename":"file1"},{"photo_id":"1396374423","filename":"file0"},{"photo_id":"1396374431","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374434":["hashtag1","hashtag2"]},{"1396374437":["hashtag1","hashtag2"]},{"1396374431":["hashtag1","hashtag2"]},{"1396374425":["hashtag1","hashtag2"]},{"1396374429":["hashtag1","hashtag2"]},{"1396374423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374434, 1396374437, 1396374431, 1396374425, 1396374429, 1396374423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78999471664429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:12:41.870197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/17/image_30102025_22_17_22_2624.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_26_3652.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_29_2966.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_31_2585.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_38_3604.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_40_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_22_2624.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_26_3652.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_29_2966.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_31_2585.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_38_3604.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_40_2641.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2008156776428223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:13:02.679131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_56_10588.jpg', '/home/pi/Desktop/images/27112025/08/10/image_27112025_08_11_05_9664.jpg', '/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_15_9746.jpg', '/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_26_10682.jpg', '/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_35_9222.jpg', '/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_46_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_10_56_10588.jpg
/home/pi/Desktop/images/27112025/08/10/image_27112025_08_11_05_9664.jpg
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_15_9746.jpg
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_26_10682.jpg
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_35_9222.jpg
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_46_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374476","1396374458","1396374460","1396374454","1396374456","1396374467"],"photo_ids_order":["1396374454","1396374456","1396374458","1396374460","1396374467","1396374476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9512ed8691a12fe05a998c7a75392b56.jpg","text":"TemporaryFile(/tmp/multipartBody3116662438840355311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_11_46_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c136a0a768ff1596661b4ffbaeb7c227.jpg","text":"TemporaryFile(/tmp/multipartBody7788706178533318744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_11_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d0a79d664b8ab7353c239ca4e561a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2320746794838050971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_11_26_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/070594a9c4f3a8c605202e34cf13fb41.jpg","text":"TemporaryFile(/tmp/multipartBody7684859290096179602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_10_56_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abefe99762fec0c3c0cd2c89f9c1b6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4202021192668761690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_11_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2343fd576187ccd678de8e4201c23b0.jpg","text":"TemporaryFile(/tmp/multipartBody6369695073446015266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227643644,"filename":"image_27112025_08_11_35_9222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374458","file1":"1396374456","file0":"1396374454","file4":"1396374467","file5":"1396374476","file3":"1396374460"},"map_files_photo_id_array":[{"photo_id":"1396374476","filename":"file5"},{"photo_id":"1396374458","filename":"file2"},{"photo_id":"1396374467","filename":"file4"},{"photo_id":"1396374456","filename":"file1"},{"photo_id":"1396374454","filename":"file0"},{"photo_id":"1396374460","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374476":["hashtag1","hashtag2"]},{"1396374458":["hashtag1","hashtag2"]},{"1396374460":["hashtag1","hashtag2"]},{"1396374454":["hashtag1","hashtag2"]},{"1396374456":["hashtag1","hashtag2"]},{"1396374467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374476, 1396374458, 1396374460, 1396374454, 1396374456, 1396374467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59031677246094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:13:42.140386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/17/image_30102025_22_17_22_2624.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_26_3652.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_29_2966.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_31_2585.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_38_3604.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_40_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_22_2624.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_26_3652.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_29_2966.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_31_2585.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_38_3604.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_40_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374490","1396374492","1396374486","1396374489","1396374491","1396374488"],"photo_ids_order":["1396374486","1396374488","1396374489","1396374490","1396374491","1396374492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e87e22f049daf2faa9b3a8cf5ad5eaaf.jpg","text":"TemporaryFile(/tmp/multipartBody7724649192293776930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_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/27/8929b392692f68a0d601dae72e90ebb1.jpg","text":"TemporaryFile(/tmp/multipartBody3450349005429599898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_40_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/27/563958bc5bcf7ff943f554f888f63a48.jpg","text":"TemporaryFile(/tmp/multipartBody2049426245362667873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_22_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/27/56141a605dc56e32d49f46a43a68b275.jpg","text":"TemporaryFile(/tmp/multipartBody4300190480381388915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_29_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/27/87a26cbadc1b910668fd07d245776ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6525812352646677485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_38_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/27/c2f17a27e704f5f9ec523e0718316f53.jpg","text":"TemporaryFile(/tmp/multipartBody486268178083379913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227683437,"filename":"image_30102025_22_17_26_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374489","file1":"1396374488","file0":"1396374486","file4":"1396374491","file5":"1396374492","file3":"1396374490"},"map_files_photo_id_array":[{"photo_id":"1396374492","filename":"file5"},{"photo_id":"1396374489","filename":"file2"},{"photo_id":"1396374491","filename":"file4"},{"photo_id":"1396374488","filename":"file1"},{"photo_id":"1396374486","filename":"file0"},{"photo_id":"1396374490","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396374490":["hashtag1","hashtag2"]},{"1396374492":["hashtag1","hashtag2"]},{"1396374486":["hashtag1","hashtag2"]},{"1396374489":["hashtag1","hashtag2"]},{"1396374491":["hashtag1","hashtag2"]},{"1396374488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396374490, 1396374492, 1396374486, 1396374489, 1396374491, 1396374488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433167934417725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:14:24.242285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_55_9765.jpg', '/home/pi/Desktop/images/27112025/08/11/image_27112025_08_12_05_9806.jpg', '/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_15_9623.jpg', '/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_26_10897.jpg', '/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_35_9727.jpg', '/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_11_55_9765.jpg
/home/pi/Desktop/images/27112025/08/11/image_27112025_08_12_05_9806.jpg
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_15_9623.jpg
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_26_10897.jpg
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_35_9727.jpg
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374521","1396374503","1396374508","1396374519","1396374513","1396374516"],"photo_ids_order":["1396374503","1396374508","1396374513","1396374516","1396374519","1396374521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f4f2c3c4e0dfc432f83acf2ef472c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3592472865188040494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_12_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7422343dfb77d459cc1fcd8e7c3e52e.jpg","text":"TemporaryFile(/tmp/multipartBody8059872985825982652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_11_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed2cb78c2e8a4245f8b2ab94e0acdbf9.jpg","text":"TemporaryFile(/tmp/multipartBody262153071094151154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_12_05_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aed4063014c1388440a6a4ab282730a3.jpg","text":"TemporaryFile(/tmp/multipartBody4682754677324478698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_12_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e39e1eccdfe3445211e20d7cc9fc4de7.jpg","text":"TemporaryFile(/tmp/multipartBody3272508507373476876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_12_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f56366b8b98592e821d25c18b4c40e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1428489004208208907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227725105,"filename":"image_27112025_08_12_26_10897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374513","file1":"1396374508","file0":"1396374503","file4":"1396374519","file5":"1396374521","file3":"1396374516"},"map_files_photo_id_array":[{"photo_id":"1396374521","filename":"file5"},{"photo_id":"1396374513","filename":"file2"},{"photo_id":"1396374519","filename":"file4"},{"photo_id":"1396374508","filename":"file1"},{"photo_id":"1396374503","filename":"file0"},{"photo_id":"1396374516","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374521":["hashtag1","hashtag2"]},{"1396374503":["hashtag1","hashtag2"]},{"1396374508":["hashtag1","hashtag2"]},{"1396374519":["hashtag1","hashtag2"]},{"1396374513":["hashtag1","hashtag2"]},{"1396374516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374521, 1396374503, 1396374508, 1396374519, 1396374513, 1396374516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87059426307678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:15:02.892097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_55_9704.jpg', '/home/pi/Desktop/images/27112025/08/12/image_27112025_08_13_05_10633.jpg', '/home/pi/Desktop/images/27112025/08/13/image_27112025_08_13_15_9638.jpg', '/home/pi/Desktop/images/27112025/08/13/image_27112025_08_13_35_10600.jpg', '/home/pi/Desktop/images/27112025/08/13/image_27112025_08_14_05_10622.jpg', '/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_12_55_9704.jpg
/home/pi/Desktop/images/27112025/08/12/image_27112025_08_13_05_10633.jpg
/home/pi/Desktop/images/27112025/08/13/image_27112025_08_13_15_9638.jpg
/home/pi/Desktop/images/27112025/08/13/image_27112025_08_13_35_10600.jpg
/home/pi/Desktop/images/27112025/08/13/image_27112025_08_14_05_10622.jpg
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374533","1396374542","1396374536","1396374539","1396374529","1396374531"],"photo_ids_order":["1396374529","1396374531","1396374533","1396374536","1396374539","1396374542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d90e8e79dcdddb69868a89e5d509389.jpg","text":"TemporaryFile(/tmp/multipartBody1120649134416367242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_13_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25baa15cd25e2e5c9da7ef2ebc6d0d43.jpg","text":"TemporaryFile(/tmp/multipartBody4685031476128417512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_14_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/228a81a4ab451d6ac6d9d63dd0ed1277.jpg","text":"TemporaryFile(/tmp/multipartBody4605868941284456828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_13_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/665b2cf892dc5851f6f9e3d5d4366846.jpg","text":"TemporaryFile(/tmp/multipartBody7931352854112599199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_14_05_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/935489d788a51dde5a71e0709c529ffa.jpg","text":"TemporaryFile(/tmp/multipartBody168477050532708402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_12_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15e9adb8d87b8e0a2732a912e03945f1.jpg","text":"TemporaryFile(/tmp/multipartBody6893486396585652068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227763782,"filename":"image_27112025_08_13_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374533","file1":"1396374531","file0":"1396374529","file4":"1396374539","file5":"1396374542","file3":"1396374536"},"map_files_photo_id_array":[{"photo_id":"1396374542","filename":"file5"},{"photo_id":"1396374533","filename":"file2"},{"photo_id":"1396374539","filename":"file4"},{"photo_id":"1396374531","filename":"file1"},{"photo_id":"1396374529","filename":"file0"},{"photo_id":"1396374536","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374533":["hashtag1","hashtag2"]},{"1396374542":["hashtag1","hashtag2"]},{"1396374536":["hashtag1","hashtag2"]},{"1396374539":["hashtag1","hashtag2"]},{"1396374529":["hashtag1","hashtag2"]},{"1396374531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374533, 1396374542, 1396374536, 1396374539, 1396374529, 1396374531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27887225151062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:16:03.037363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_25_9920.jpg', '/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_35_9694.jpg', '/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_46_10786.jpg', '/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_55_9864.jpg', '/home/pi/Desktop/images/27112025/08/14/image_27112025_08_15_05_9848.jpg', '/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_15_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_25_9920.jpg
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_35_9694.jpg
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_46_10786.jpg
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_14_55_9864.jpg
/home/pi/Desktop/images/27112025/08/14/image_27112025_08_15_05_9848.jpg
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_15_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374554","1396374565","1396374556","1396374561","1396374558","1396374552"],"photo_ids_order":["1396374552","1396374554","1396374556","1396374558","1396374561","1396374565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e40e65e23761e68afccdf6b8657fc312.jpg","text":"TemporaryFile(/tmp/multipartBody273300238317198125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_14_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c964a2827f8c4424aa801dbc2b6330fe.jpg","text":"TemporaryFile(/tmp/multipartBody8171522887351702452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_15_15_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb9a7a16726805b26a76d21d621a2918.jpg","text":"TemporaryFile(/tmp/multipartBody5590606571913530983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_14_46_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8b85bc56ac07123eb456c64310f62e3.jpg","text":"TemporaryFile(/tmp/multipartBody5112215173086609741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_15_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e36201f72e55f7d51f3d604f33dd0050.jpg","text":"TemporaryFile(/tmp/multipartBody1597676884194749014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_14_55_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2f6e8b77f0721bef227706337a917f5.jpg","text":"TemporaryFile(/tmp/multipartBody8361052616900284292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227823862,"filename":"image_27112025_08_14_25_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374556","file1":"1396374554","file0":"1396374552","file4":"1396374561","file5":"1396374565","file3":"1396374558"},"map_files_photo_id_array":[{"photo_id":"1396374565","filename":"file5"},{"photo_id":"1396374556","filename":"file2"},{"photo_id":"1396374561","filename":"file4"},{"photo_id":"1396374554","filename":"file1"},{"photo_id":"1396374552","filename":"file0"},{"photo_id":"1396374558","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374554":["hashtag1","hashtag2"]},{"1396374565":["hashtag1","hashtag2"]},{"1396374556":["hashtag1","hashtag2"]},{"1396374561":["hashtag1","hashtag2"]},{"1396374558":["hashtag1","hashtag2"]},{"1396374552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374554, 1396374565, 1396374556, 1396374561, 1396374558, 1396374552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.107694149017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:16:42.551702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/17/image_30102025_22_17_44_3647.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_49_2656.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_53_3535.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_55_2636.jpg', '/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_58_2576.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_02_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_44_3647.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_49_2656.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_53_3535.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_55_2636.jpg
/home/pi/Desktop/images/30102025/22/17/image_30102025_22_17_58_2576.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_02_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374577","1396374574","1396374582","1396374576","1396374596","1396374587"],"photo_ids_order":["1396374574","1396374576","1396374577","1396374582","1396374587","1396374596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc1691417d4ce811b7f678cbe7357ffa.jpg","text":"TemporaryFile(/tmp/multipartBody171207443524243193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_17_53_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/27/7f77d2a8a3fcb7ed5025ce72046d8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8950444300486073831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_17_44_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/27/979fd0604e13b094532364334c097313.jpg","text":"TemporaryFile(/tmp/multipartBody1173127116129157043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_17_55_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/27/cf43f8c36688d666f7b09b7fef84cf46.jpg","text":"TemporaryFile(/tmp/multipartBody5666820584019634005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_17_49_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/27/37257dc29d166a34785611fd623e9cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3635381709825778426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_18_02_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/27/b94a640e46b4b654f926ec161e36ad98.jpg","text":"TemporaryFile(/tmp/multipartBody607746790147072653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227863889,"filename":"image_30102025_22_17_58_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374577","file1":"1396374576","file0":"1396374574","file4":"1396374587","file5":"1396374596","file3":"1396374582"},"map_files_photo_id_array":[{"photo_id":"1396374596","filename":"file5"},{"photo_id":"1396374577","filename":"file2"},{"photo_id":"1396374587","filename":"file4"},{"photo_id":"1396374576","filename":"file1"},{"photo_id":"1396374574","filename":"file0"},{"photo_id":"1396374582","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396374577":["hashtag1","hashtag2"]},{"1396374574":["hashtag1","hashtag2"]},{"1396374582":["hashtag1","hashtag2"]},{"1396374576":["hashtag1","hashtag2"]},{"1396374596":["hashtag1","hashtag2"]},{"1396374587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396374577, 1396374574, 1396374582, 1396374576, 1396374596, 1396374587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98231744766235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:17:22.784666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_25_9629.jpg', '/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_35_10621.jpg', '/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_45_9867.jpg', '/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_55_9660.jpg', '/home/pi/Desktop/images/27112025/08/15/image_27112025_08_16_06_10714.jpg', '/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_16_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_25_9629.jpg
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_35_10621.jpg
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_45_9867.jpg
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_15_55_9660.jpg
/home/pi/Desktop/images/27112025/08/15/image_27112025_08_16_06_10714.jpg
/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_16_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374614","1396374617","1396374608","1396374621","1396374624","1396374612"],"photo_ids_order":["1396374608","1396374612","1396374614","1396374617","1396374621","1396374624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ae1a20cff06cd17f65085adfc8fa126.jpg","text":"TemporaryFile(/tmp/multipartBody9174880921677527698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_15_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eedf5cf2f3a885dcee349d518ac5d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody6277735859636645556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_15_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54a1415ff9333af7b14a4a47e84a8f72.jpg","text":"TemporaryFile(/tmp/multipartBody1468461038457486786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_15_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3b00a83bbabc4ee795f42a5a22e8bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3838394669793728246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_16_06_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9c166c49ef9b1d0e0ad9e98cf83ae33.jpg","text":"TemporaryFile(/tmp/multipartBody8612121951557915286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_16_16_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b8326a66de8e24a67e1fc348a0afe32.jpg","text":"TemporaryFile(/tmp/multipartBody3041846300683036352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227903591,"filename":"image_27112025_08_15_35_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374614","file1":"1396374612","file0":"1396374608","file4":"1396374621","file5":"1396374624","file3":"1396374617"},"map_files_photo_id_array":[{"photo_id":"1396374624","filename":"file5"},{"photo_id":"1396374614","filename":"file2"},{"photo_id":"1396374621","filename":"file4"},{"photo_id":"1396374612","filename":"file1"},{"photo_id":"1396374608","filename":"file0"},{"photo_id":"1396374617","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374614":["hashtag1","hashtag2"]},{"1396374617":["hashtag1","hashtag2"]},{"1396374608":["hashtag1","hashtag2"]},{"1396374621":["hashtag1","hashtag2"]},{"1396374624":["hashtag1","hashtag2"]},{"1396374612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374614, 1396374617, 1396374608, 1396374621, 1396374624, 1396374612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72963213920593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:18:02.349361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_25_9796.jpg', '/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_35_9692.jpg', '/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_55_10648.jpg', '/home/pi/Desktop/images/27112025/08/16/image_27112025_08_17_05_9662.jpg', '/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_15_9727.jpg', '/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_25_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_25_9796.jpg
/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_35_9692.jpg
/home/pi/Desktop/images/27112025/08/16/image_27112025_08_16_55_10648.jpg
/home/pi/Desktop/images/27112025/08/16/image_27112025_08_17_05_9662.jpg
/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_15_9727.jpg
/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_25_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396374638","1396374664","1396374739","1396374646","1396374636","1396374702"],"photo_ids_order":["1396374636","1396374638","1396374646","1396374664","1396374702","1396374739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ed4fa2378cd4dd5bcf152c1fd3f1387.jpg","text":"TemporaryFile(/tmp/multipartBody4504552321480043383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_16_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe683fb434442eb3bf66b1f38539d039.jpg","text":"TemporaryFile(/tmp/multipartBody4644795317189193450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_17_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4cd9773f6a9e6399340ac992b2ecf3d6.jpg","text":"TemporaryFile(/tmp/multipartBody6243660835090835228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_17_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6c87f33eb5562da6aace505f54dbaaf.jpg","text":"TemporaryFile(/tmp/multipartBody1957979170671630338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_16_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1875cb6a95109ee6a3d2ac2fd8d4ab11.jpg","text":"TemporaryFile(/tmp/multipartBody7951649187450850245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_16_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a45f54d1224e7555d80f69bdaff3a5a.jpg","text":"TemporaryFile(/tmp/multipartBody8149667638295694881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227943225,"filename":"image_27112025_08_17_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374646","file1":"1396374638","file0":"1396374636","file4":"1396374702","file5":"1396374739","file3":"1396374664"},"map_files_photo_id_array":[{"photo_id":"1396374739","filename":"file5"},{"photo_id":"1396374646","filename":"file2"},{"photo_id":"1396374702","filename":"file4"},{"photo_id":"1396374638","filename":"file1"},{"photo_id":"1396374636","filename":"file0"},{"photo_id":"1396374664","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396374638":["hashtag1","hashtag2"]},{"1396374664":["hashtag1","hashtag2"]},{"1396374739":["hashtag1","hashtag2"]},{"1396374646":["hashtag1","hashtag2"]},{"1396374636":["hashtag1","hashtag2"]},{"1396374702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396374638, 1396374664, 1396374739, 1396374646, 1396374636, 1396374702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43969535827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:18:41.994084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/18/image_30102025_22_18_04_2795.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_07_2634.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_11_3672.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_13_2684.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_16_2671.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_19_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_04_2795.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_07_2634.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_11_3672.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_13_2684.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_16_2671.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_19_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396375022","1396374953","1396375060","1396374986","1396374918","1396374884"],"photo_ids_order":["1396374884","1396374918","1396374953","1396374986","1396375022","1396375060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a75ed23f52fdd35a5cd12fff6b5141aa.jpg","text":"TemporaryFile(/tmp/multipartBody2244905752867539087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_16_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/27/482a374e31599f120c015681702581d1.jpg","text":"TemporaryFile(/tmp/multipartBody1241815352353299306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_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/27/67c39001d3f9125f472f64700fd279b9.jpg","text":"TemporaryFile(/tmp/multipartBody7261937655971551230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_19_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/27/28b0b96a82b22fc02c11db5c1f29dcd3.jpg","text":"TemporaryFile(/tmp/multipartBody2249327350374086264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_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/27/9e2e5753d7435c9c15693e7b48937714.jpg","text":"TemporaryFile(/tmp/multipartBody8305228366846761744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_07_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/27/ed7203297ec9c589092aa74afd6efa16.jpg","text":"TemporaryFile(/tmp/multipartBody4182757524504118095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764227983294,"filename":"image_30102025_22_18_04_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396374953","file1":"1396374918","file0":"1396374884","file4":"1396375022","file5":"1396375060","file3":"1396374986"},"map_files_photo_id_array":[{"photo_id":"1396375060","filename":"file5"},{"photo_id":"1396374953","filename":"file2"},{"photo_id":"1396375022","filename":"file4"},{"photo_id":"1396374918","filename":"file1"},{"photo_id":"1396374884","filename":"file0"},{"photo_id":"1396374986","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396375022":["hashtag1","hashtag2"]},{"1396374953":["hashtag1","hashtag2"]},{"1396375060":["hashtag1","hashtag2"]},{"1396374986":["hashtag1","hashtag2"]},{"1396374918":["hashtag1","hashtag2"]},{"1396374884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396375022, 1396374953, 1396375060, 1396374986, 1396374918, 1396374884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95873808860779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:19:22.191689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_35_9807.jpg', '/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_45_9641.jpg', '/home/pi/Desktop/images/27112025/08/17/image_27112025_08_18_05_9833.jpg', '/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_15_9637.jpg', '/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_25_9757.jpg', '/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_35_10250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_35_9807.jpg
/home/pi/Desktop/images/27112025/08/17/image_27112025_08_17_45_9641.jpg
/home/pi/Desktop/images/27112025/08/17/image_27112025_08_18_05_9833.jpg
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_15_9637.jpg
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_25_9757.jpg
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_35_10250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396375249","1396375324","1396375287","1396375204","1396375368","1396375385"],"photo_ids_order":["1396375204","1396375249","1396375287","1396375324","1396375368","1396375385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f8621f94b3995dd1181097051623ad8.jpg","text":"TemporaryFile(/tmp/multipartBody641895552823611913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_17_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4db229c7638b68151add2de5175c6f72.jpg","text":"TemporaryFile(/tmp/multipartBody8355833076281958062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_18_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca53070f8c8361d229bf013ecc55f687.jpg","text":"TemporaryFile(/tmp/multipartBody204796984786753377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_18_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/302ddb78687d2398ce245f1daf3f90d5.jpg","text":"TemporaryFile(/tmp/multipartBody7976719249991933439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_17_35_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2fba832db827b8d870bdf5930f37622.jpg","text":"TemporaryFile(/tmp/multipartBody8072439439640674640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_18_25_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf9e3b13d319c1a2ec863572a0c47e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4429788158381487861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228023002,"filename":"image_27112025_08_18_35_10250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396375287","file1":"1396375249","file0":"1396375204","file4":"1396375368","file5":"1396375385","file3":"1396375324"},"map_files_photo_id_array":[{"photo_id":"1396375385","filename":"file5"},{"photo_id":"1396375287","filename":"file2"},{"photo_id":"1396375368","filename":"file4"},{"photo_id":"1396375249","filename":"file1"},{"photo_id":"1396375204","filename":"file0"},{"photo_id":"1396375324","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396375249":["hashtag1","hashtag2"]},{"1396375324":["hashtag1","hashtag2"]},{"1396375287":["hashtag1","hashtag2"]},{"1396375204":["hashtag1","hashtag2"]},{"1396375368":["hashtag1","hashtag2"]},{"1396375385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396375249, 1396375324, 1396375287, 1396375204, 1396375368, 1396375385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41499853134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:20:02.932689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_45_9717.jpg', '/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_55_10646.jpg', '/home/pi/Desktop/images/27112025/08/18/image_27112025_08_19_05_9721.jpg', '/home/pi/Desktop/images/27112025/08/19/image_27112025_08_19_35_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_45_9717.jpg
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_18_55_10646.jpg
/home/pi/Desktop/images/27112025/08/18/image_27112025_08_19_05_9721.jpg
/home/pi/Desktop/images/27112025/08/19/image_27112025_08_19_35_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396375390","1396375389","1396375391","1396375388"],"photo_ids_order":["1396375388","1396375389","1396375390","1396375391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7668f4d71e34ec647d915456567c871.jpg","text":"TemporaryFile(/tmp/multipartBody5642018365576223445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228063705,"filename":"image_27112025_08_19_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dff38429d58b3da2f21c770290ab0d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7191240335398194277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228063705,"filename":"image_27112025_08_18_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef4a50b8c1eabaed315cdaaf0b0354cf.jpg","text":"TemporaryFile(/tmp/multipartBody5482636535808594444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228063705,"filename":"image_27112025_08_19_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef16437f691e090a9d309efea6121d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2298554950549492500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228063705,"filename":"image_27112025_08_18_45_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396375390","file1":"1396375389","file0":"1396375388","file3":"1396375391"},"map_files_photo_id_array":[{"photo_id":"1396375390","filename":"file2"},{"photo_id":"1396375389","filename":"file1"},{"photo_id":"1396375388","filename":"file0"},{"photo_id":"1396375391","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396375390":["hashtag1","hashtag2"]},{"1396375389":["hashtag1","hashtag2"]},{"1396375391":["hashtag1","hashtag2"]},{"1396375388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396375390, 1396375389, 1396375391, 1396375388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.231907606124878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:20:32.448243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_55_2721.jpg', '/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_59_3606.jpg', '/home/pi/Desktop/images/21112025/20/37/image_21112025_20_37_02_2630.jpg', '/home/pi/Desktop/images/21112025/20/37/image_21112025_20_37_05_3649.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_06_3018.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_10_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_55_2721.jpg
/home/pi/Desktop/images/21112025/20/36/image_21112025_20_36_59_3606.jpg
/home/pi/Desktop/images/21112025/20/37/image_21112025_20_37_02_2630.jpg
/home/pi/Desktop/images/21112025/20/37/image_21112025_20_37_05_3649.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_06_3018.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_10_3739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396375616","1396375525","1396375600","1396375569","1396375685","1396375649"],"photo_ids_order":["1396375525","1396375569","1396375600","1396375616","1396375649","1396375685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ced0fa64409fd179e7443a40bde4d18.jpg","text":"TemporaryFile(/tmp/multipartBody8827575903073351917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_37_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/27/ac289b5315a14db96462163b4a9f328a.jpg","text":"TemporaryFile(/tmp/multipartBody2456924938959603679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_36_55_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/27/9c55eedfe831778e947f06d0158efb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2116853763699938375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_37_02_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/27/16d219bc839168df391d0c5a609ff9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1555743834428865388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_36_59_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/27/fcba798c5e6a81880b54d96abd840a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7908701000189615772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_38_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/27/c8cb1cdafb884d2ffa515953d49c41a2.jpg","text":"TemporaryFile(/tmp/multipartBody6134064823542150400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228094344,"filename":"image_21112025_20_38_06_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396375600","file1":"1396375569","file0":"1396375525","file4":"1396375649","file5":"1396375685","file3":"1396375616"},"map_files_photo_id_array":[{"photo_id":"1396375685","filename":"file5"},{"photo_id":"1396375600","filename":"file2"},{"photo_id":"1396375649","filename":"file4"},{"photo_id":"1396375569","filename":"file1"},{"photo_id":"1396375525","filename":"file0"},{"photo_id":"1396375616","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396375616":["hashtag1","hashtag2"]},{"1396375525":["hashtag1","hashtag2"]},{"1396375600":["hashtag1","hashtag2"]},{"1396375569":["hashtag1","hashtag2"]},{"1396375685":["hashtag1","hashtag2"]},{"1396375649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396375616, 1396375525, 1396375600, 1396375569, 1396375685, 1396375649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24533653259277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:21:12.651741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_13_2757.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_16_2664.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_19_3559.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_22_2509.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_25_3667.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_28_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_13_2757.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_16_2664.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_19_3559.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_22_2509.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_25_3667.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_28_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396375963","1396376116","1396376040","1396375890","1396376077","1396376000"],"photo_ids_order":["1396375890","1396375963","1396376000","1396376040","1396376077","1396376116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a408b8cc06d267cd154e426bef0b559d.jpg","text":"TemporaryFile(/tmp/multipartBody8355686261736412174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_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/27/76d53d25e24e79a2bb383d6c3badd2bb.jpg","text":"TemporaryFile(/tmp/multipartBody749913117170538564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_28_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/27/f35dd91e920c792c523b6ec6dac11e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8300955091790098375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_22_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/27/ced1f82e1b2779b90dabec1e4a9d5a45.jpg","text":"TemporaryFile(/tmp/multipartBody5090409641161446221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_13_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/27/c53d0a9fb8538d4d37c049443d3f1ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3310648458003049191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_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/27/9578d9807e933fa5817cf011bc743ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3115487716506676951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228134412,"filename":"image_21112025_20_38_19_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396376000","file1":"1396375963","file0":"1396375890","file4":"1396376077","file5":"1396376116","file3":"1396376040"},"map_files_photo_id_array":[{"photo_id":"1396376116","filename":"file5"},{"photo_id":"1396376000","filename":"file2"},{"photo_id":"1396376077","filename":"file4"},{"photo_id":"1396375963","filename":"file1"},{"photo_id":"1396375890","filename":"file0"},{"photo_id":"1396376040","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396375963":["hashtag1","hashtag2"]},{"1396376116":["hashtag1","hashtag2"]},{"1396376040":["hashtag1","hashtag2"]},{"1396375890":["hashtag1","hashtag2"]},{"1396376077":["hashtag1","hashtag2"]},{"1396376000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396375963, 1396376116, 1396376040, 1396375890, 1396376077, 1396376000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.797770977020264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:22:02.380368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/19/image_27112025_08_19_45_9690.jpg', '/home/pi/Desktop/images/27112025/08/19/image_27112025_08_20_06_10879.jpg', '/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_15_9765.jpg', '/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_25_9830.jpg', '/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_45_10351.jpg', '/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/19/image_27112025_08_19_45_9690.jpg
/home/pi/Desktop/images/27112025/08/19/image_27112025_08_20_06_10879.jpg
/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_15_9765.jpg
/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_25_9830.jpg
/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_45_10351.jpg
/home/pi/Desktop/images/27112025/08/20/image_27112025_08_20_55_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396376329","1396376314","1396376316","1396376319","1396376324","1396376315"],"photo_ids_order":["1396376314","1396376315","1396376316","1396376319","1396376324","1396376329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19eb28b4b217aed9a8a0cccff56aeb74.jpg","text":"TemporaryFile(/tmp/multipartBody8825255278491295590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_20_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c25a98df38bc9f40eac3697e7ad1f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody6174995869123101504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_19_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff7b469bbf38a0bcfa9fba19681dbf49.jpg","text":"TemporaryFile(/tmp/multipartBody297692189721331850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_20_15_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91a07d085066a4fdadae47e80eb5ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody5467795999230471212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_20_25_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dac5b21c2f83b0a5e2e91e099ada86f7.jpg","text":"TemporaryFile(/tmp/multipartBody3851687349463670204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_20_45_10351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c7f49983ffa2b095e243cbdbff82984.jpg","text":"TemporaryFile(/tmp/multipartBody4566464337928351263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228183197,"filename":"image_27112025_08_20_06_10879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396376316","file1":"1396376315","file0":"1396376314","file4":"1396376324","file5":"1396376329","file3":"1396376319"},"map_files_photo_id_array":[{"photo_id":"1396376329","filename":"file5"},{"photo_id":"1396376316","filename":"file2"},{"photo_id":"1396376324","filename":"file4"},{"photo_id":"1396376315","filename":"file1"},{"photo_id":"1396376314","filename":"file0"},{"photo_id":"1396376319","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396376329":["hashtag1","hashtag2"]},{"1396376314":["hashtag1","hashtag2"]},{"1396376316":["hashtag1","hashtag2"]},{"1396376319":["hashtag1","hashtag2"]},{"1396376324":["hashtag1","hashtag2"]},{"1396376315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396376329, 1396376314, 1396376316, 1396376319, 1396376324, 1396376315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01158785820007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:22:41.873663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/18/image_30102025_22_18_23_3847.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_25_2705.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_28_2719.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_35_2811.jpg', '/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_47_4709.jpg', '/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_10_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_23_3847.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_25_2705.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_28_2719.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_35_2811.jpg
/home/pi/Desktop/images/30102025/22/18/image_30102025_22_18_47_4709.jpg
/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_10_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396376635","1396376679","1396376646","1396376553","1396376634","1396376615"],"photo_ids_order":["1396376553","1396376615","1396376634","1396376635","1396376646","1396376679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b16009449ce7651a2d20da2a2cecdd1.jpg","text":"TemporaryFile(/tmp/multipartBody479467530431783704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_18_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/27/aaf8981052e1bc93f08a13ffc9be9089.jpg","text":"TemporaryFile(/tmp/multipartBody5549652915479384717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_19_10_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/27/ea60d4dfa9a120e64e4fa963d08a1770.jpg","text":"TemporaryFile(/tmp/multipartBody1775489895573750358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_18_47_4709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c4d5ab9d9a4c6bc7f870d7b22bb283a.jpg","text":"TemporaryFile(/tmp/multipartBody4182331172325611473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_18_23_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/283b9a44cfdb37899f31c807d254f169.jpg","text":"TemporaryFile(/tmp/multipartBody2413540844965859955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_18_28_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/27/639e0971ca4be3c98734e9047917b631.jpg","text":"TemporaryFile(/tmp/multipartBody2478159199426571456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228223172,"filename":"image_30102025_22_18_25_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396376634","file1":"1396376615","file0":"1396376553","file4":"1396376646","file5":"1396376679","file3":"1396376635"},"map_files_photo_id_array":[{"photo_id":"1396376679","filename":"file5"},{"photo_id":"1396376634","filename":"file2"},{"photo_id":"1396376646","filename":"file4"},{"photo_id":"1396376615","filename":"file1"},{"photo_id":"1396376553","filename":"file0"},{"photo_id":"1396376635","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396376635":["hashtag1","hashtag2"]},{"1396376679":["hashtag1","hashtag2"]},{"1396376646":["hashtag1","hashtag2"]},{"1396376553":["hashtag1","hashtag2"]},{"1396376634":["hashtag1","hashtag2"]},{"1396376615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396376635, 1396376679, 1396376646, 1396376553, 1396376634, 1396376615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83959102630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:23:22.086866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/20/image_27112025_08_21_05_9830.jpg', '/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_16_10932.jpg', '/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_25_9759.jpg', '/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_55_9807.jpg', '/home/pi/Desktop/images/27112025/08/21/image_27112025_08_22_05_10585.jpg', '/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_15_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/20/image_27112025_08_21_05_9830.jpg
/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_16_10932.jpg
/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_25_9759.jpg
/home/pi/Desktop/images/27112025/08/21/image_27112025_08_21_55_9807.jpg
/home/pi/Desktop/images/27112025/08/21/image_27112025_08_22_05_10585.jpg
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_15_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396376926","1396376886","1396376850","1396376999","1396376963","1396377035"],"photo_ids_order":["1396376850","1396376886","1396376926","1396376963","1396376999","1396377035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a22983a1c67573b831b39ef02e475ea1.jpg","text":"TemporaryFile(/tmp/multipartBody5367069109501705801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_21_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b8f18ecb4607726009d7a3f6ffadfa8.jpg","text":"TemporaryFile(/tmp/multipartBody8625570872847168629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_21_16_10932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fb47edfe43fd121324f51432f08ad9c.jpg","text":"TemporaryFile(/tmp/multipartBody8253716166927844307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_21_05_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/047537c31540c97a95d0db47fdd06716.jpg","text":"TemporaryFile(/tmp/multipartBody4299396166139963142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_22_05_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef3c767e10c0a9a3746e7bdf1885de4a.jpg","text":"TemporaryFile(/tmp/multipartBody6380471854781037003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_21_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa5e9626ec4c97684b3690e90cf364f7.jpg","text":"TemporaryFile(/tmp/multipartBody6777771950606291539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228262945,"filename":"image_27112025_08_22_15_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396376926","file1":"1396376886","file0":"1396376850","file4":"1396376999","file5":"1396377035","file3":"1396376963"},"map_files_photo_id_array":[{"photo_id":"1396377035","filename":"file5"},{"photo_id":"1396376926","filename":"file2"},{"photo_id":"1396376999","filename":"file4"},{"photo_id":"1396376886","filename":"file1"},{"photo_id":"1396376850","filename":"file0"},{"photo_id":"1396376963","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396376926":["hashtag1","hashtag2"]},{"1396376886":["hashtag1","hashtag2"]},{"1396376850":["hashtag1","hashtag2"]},{"1396376999":["hashtag1","hashtag2"]},{"1396376963":["hashtag1","hashtag2"]},{"1396377035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396376926, 1396376886, 1396376850, 1396376999, 1396376963, 1396377035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52491283416748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:24:02.982647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_26_10680.jpg', '/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_35_9740.jpg', '/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_45_9900.jpg', '/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_55_9712.jpg', '/home/pi/Desktop/images/27112025/08/22/image_27112025_08_23_05_9689.jpg', '/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_26_10680.jpg
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_35_9740.jpg
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_45_9900.jpg
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_22_55_9712.jpg
/home/pi/Desktop/images/27112025/08/22/image_27112025_08_23_05_9689.jpg
/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_15_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377133","1396377132","1396377179","1396377131","1396377220","1396377142"],"photo_ids_order":["1396377131","1396377132","1396377133","1396377142","1396377179","1396377220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4e0d774ba021b35a4720bf7e799cc45.jpg","text":"TemporaryFile(/tmp/multipartBody5623928373986411094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_22_45_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d1619a5ba69dd6fc0a808d8af6e3826.jpg","text":"TemporaryFile(/tmp/multipartBody5752378044129374967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_22_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11d0d2daf24b46a683b7c7b1f149fc79.jpg","text":"TemporaryFile(/tmp/multipartBody8902694449903555282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_23_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32b8162934fba6202a3b8ac6002dff19.jpg","text":"TemporaryFile(/tmp/multipartBody466414921661432024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_22_26_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6f75167c6638d9ee143489654567cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2057041694143285921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_23_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa5404ad4d7eff7c77fc2af77d202bba.jpg","text":"TemporaryFile(/tmp/multipartBody9013696152487889951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228303838,"filename":"image_27112025_08_22_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377133","file1":"1396377132","file0":"1396377131","file4":"1396377179","file5":"1396377220","file3":"1396377142"},"map_files_photo_id_array":[{"photo_id":"1396377220","filename":"file5"},{"photo_id":"1396377133","filename":"file2"},{"photo_id":"1396377179","filename":"file4"},{"photo_id":"1396377132","filename":"file1"},{"photo_id":"1396377131","filename":"file0"},{"photo_id":"1396377142","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377133":["hashtag1","hashtag2"]},{"1396377132":["hashtag1","hashtag2"]},{"1396377179":["hashtag1","hashtag2"]},{"1396377131":["hashtag1","hashtag2"]},{"1396377220":["hashtag1","hashtag2"]},{"1396377142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377133, 1396377132, 1396377179, 1396377131, 1396377220, 1396377142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.168092250823975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:24:42.218804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/19/image_30102025_22_19_14_3579.jpg', '/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_25_2648.jpg', '/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_43_4297.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_34_3615.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_37_2659.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_39_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_14_3579.jpg
/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_25_2648.jpg
/home/pi/Desktop/images/30102025/22/19/image_30102025_22_19_43_4297.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_34_3615.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_37_2659.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_39_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377309","1396377344","1396377323","1396377347","1396377295","1396377337"],"photo_ids_order":["1396377295","1396377309","1396377323","1396377337","1396377344","1396377347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19deb3cf20feab8ce537267efb8c9a93.jpg","text":"TemporaryFile(/tmp/multipartBody4513054727841425879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_19_25_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/27/5dad631114357b3d809f6d5ee4b80a76.jpg","text":"TemporaryFile(/tmp/multipartBody4960085147145236188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_22_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/27/dfc16017b529db7e72033c0992ba9931.jpg","text":"TemporaryFile(/tmp/multipartBody204946683453873149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_19_43_4297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc29ff50ca09dd24bc7fed636f52909d.jpg","text":"TemporaryFile(/tmp/multipartBody1204466930174095002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_22_39_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/27/9a7f5fb6a5f2d5463aa05e8c250e326e.jpg","text":"TemporaryFile(/tmp/multipartBody7202887581427047709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_19_14_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/27/9f6d2bc46afa3ce30756e0dbdab7d435.jpg","text":"TemporaryFile(/tmp/multipartBody4125702917323475935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228343514,"filename":"image_30102025_22_22_34_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377323","file1":"1396377309","file0":"1396377295","file4":"1396377344","file5":"1396377347","file3":"1396377337"},"map_files_photo_id_array":[{"photo_id":"1396377347","filename":"file5"},{"photo_id":"1396377323","filename":"file2"},{"photo_id":"1396377344","filename":"file4"},{"photo_id":"1396377309","filename":"file1"},{"photo_id":"1396377295","filename":"file0"},{"photo_id":"1396377337","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396377309":["hashtag1","hashtag2"]},{"1396377344":["hashtag1","hashtag2"]},{"1396377323":["hashtag1","hashtag2"]},{"1396377347":["hashtag1","hashtag2"]},{"1396377295":["hashtag1","hashtag2"]},{"1396377337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396377309, 1396377344, 1396377323, 1396377347, 1396377295, 1396377337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.231168270111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:25:24.916942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_25_9717.jpg', '/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_46_9851.jpg', '/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_55_9662.jpg', '/home/pi/Desktop/images/27112025/08/23/image_27112025_08_24_05_9650.jpg', '/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_16_10797.jpg', '/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_25_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_25_9717.jpg
/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_46_9851.jpg
/home/pi/Desktop/images/27112025/08/23/image_27112025_08_23_55_9662.jpg
/home/pi/Desktop/images/27112025/08/23/image_27112025_08_24_05_9650.jpg
/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_16_10797.jpg
/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_25_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377369","1396377353","1396377364","1396377358","1396377367","1396377361"],"photo_ids_order":["1396377353","1396377358","1396377361","1396377364","1396377367","1396377369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64e6ac61242f792314a610c3981aebdd.jpg","text":"TemporaryFile(/tmp/multipartBody8576587599932450109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_24_25_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4618975e77eee4a0daf4cc2c63b587bf.jpg","text":"TemporaryFile(/tmp/multipartBody7067046281608346523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_23_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a791cbae58afa59a12dd8eefd9088e3c.jpg","text":"TemporaryFile(/tmp/multipartBody9212351804240163185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_24_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1baec163963006a3173bc586af9775d5.jpg","text":"TemporaryFile(/tmp/multipartBody2287388962014486121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_23_46_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1ea2c4451781362e4db4d0120736d7f.jpg","text":"TemporaryFile(/tmp/multipartBody5773034458045838564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_24_16_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b533dc51a63fcb9a781c15d86a80af48.jpg","text":"TemporaryFile(/tmp/multipartBody1273297813679636715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228385745,"filename":"image_27112025_08_23_55_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377361","file1":"1396377358","file0":"1396377353","file4":"1396377367","file5":"1396377369","file3":"1396377364"},"map_files_photo_id_array":[{"photo_id":"1396377369","filename":"file5"},{"photo_id":"1396377361","filename":"file2"},{"photo_id":"1396377367","filename":"file4"},{"photo_id":"1396377358","filename":"file1"},{"photo_id":"1396377353","filename":"file0"},{"photo_id":"1396377364","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377369":["hashtag1","hashtag2"]},{"1396377353":["hashtag1","hashtag2"]},{"1396377364":["hashtag1","hashtag2"]},{"1396377358":["hashtag1","hashtag2"]},{"1396377367":["hashtag1","hashtag2"]},{"1396377361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377369, 1396377353, 1396377364, 1396377358, 1396377367, 1396377361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.602903604507446 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 10 --only_old 1
2025-11-27 08:26:12.098710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_31_2655.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_34_3677.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_37_2662.jpg', '/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_40_2683.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_07_3013.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_10_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_31_2655.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_34_3677.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_37_2662.jpg
/home/pi/Desktop/images/21112025/20/38/image_21112025_20_38_40_2683.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_07_3013.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_10_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377403","1396377411","1396377398","1396377419","1396377407","1396377388"],"photo_ids_order":["1396377388","1396377398","1396377403","1396377407","1396377411","1396377419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8de30b62259d734b41f2b80928150f7.jpg","text":"TemporaryFile(/tmp/multipartBody8913783005428178297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_38_37_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/27/f42e36b9dc4eb279ef54bb0a6c03131a.jpg","text":"TemporaryFile(/tmp/multipartBody4711176886207190139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_40_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/27/51d0262eaffed936feaffe6d3a4dc501.jpg","text":"TemporaryFile(/tmp/multipartBody978642739221338803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_38_34_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/27/4d57cd1060b88467673c88dce99db1bd.jpg","text":"TemporaryFile(/tmp/multipartBody1368144323875943468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_40_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/27/e13c41f6d8fca49fa066cd8e6f5a7080.jpg","text":"TemporaryFile(/tmp/multipartBody7677482082325261414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_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/27/c2d75060f58fdcf1972cef0263d85c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4595756350120187893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228433918,"filename":"image_21112025_20_38_31_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377403","file1":"1396377398","file0":"1396377388","file4":"1396377411","file5":"1396377419","file3":"1396377407"},"map_files_photo_id_array":[{"photo_id":"1396377419","filename":"file5"},{"photo_id":"1396377403","filename":"file2"},{"photo_id":"1396377411","filename":"file4"},{"photo_id":"1396377398","filename":"file1"},{"photo_id":"1396377388","filename":"file0"},{"photo_id":"1396377407","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396377403":["hashtag1","hashtag2"]},{"1396377411":["hashtag1","hashtag2"]},{"1396377398":["hashtag1","hashtag2"]},{"1396377419":["hashtag1","hashtag2"]},{"1396377407":["hashtag1","hashtag2"]},{"1396377388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396377403, 1396377411, 1396377398, 1396377419, 1396377407, 1396377388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89629793167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:27:02.926684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_35_9810.jpg', '/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_45_9664.jpg', '/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_56_10555.jpg', '/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_15_9596.jpg', '/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_35_9572.jpg', '/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_45_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_35_9810.jpg
/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_45_9664.jpg
/home/pi/Desktop/images/27112025/08/24/image_27112025_08_24_56_10555.jpg
/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_15_9596.jpg
/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_35_9572.jpg
/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_45_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377441","1396377444","1396377470","1396377464","1396377455","1396377448"],"photo_ids_order":["1396377441","1396377444","1396377448","1396377455","1396377464","1396377470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7b57e9422072da68d85c86baf58b64b.jpg","text":"TemporaryFile(/tmp/multipartBody2941807851468348432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_24_35_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc964dd0796f283a8345ee55752dd042.jpg","text":"TemporaryFile(/tmp/multipartBody1802104256853105334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_24_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bb90503a14c49230eb11514ad93bd82.jpg","text":"TemporaryFile(/tmp/multipartBody3104969328270692133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_25_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ed6ba27d6e2ca8e09261fb78562001e.jpg","text":"TemporaryFile(/tmp/multipartBody2270470959246776613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_25_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb2d6b714cec4c4f2ce5d320ce1af9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8062297727291082749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_25_15_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8e0147e10f4ea9b982c323414d7f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4040564471427554679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228483827,"filename":"image_27112025_08_24_56_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377448","file1":"1396377444","file0":"1396377441","file4":"1396377464","file5":"1396377470","file3":"1396377455"},"map_files_photo_id_array":[{"photo_id":"1396377470","filename":"file5"},{"photo_id":"1396377448","filename":"file2"},{"photo_id":"1396377464","filename":"file4"},{"photo_id":"1396377444","filename":"file1"},{"photo_id":"1396377441","filename":"file0"},{"photo_id":"1396377455","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377441":["hashtag1","hashtag2"]},{"1396377444":["hashtag1","hashtag2"]},{"1396377470":["hashtag1","hashtag2"]},{"1396377464":["hashtag1","hashtag2"]},{"1396377455":["hashtag1","hashtag2"]},{"1396377448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377441, 1396377444, 1396377470, 1396377464, 1396377455, 1396377448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60327434539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:27:42.259080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/22/image_30102025_22_22_48_2744.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_52_3580.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_57_2652.jpg', '/home/pi/Desktop/images/30102025/22/22/image_30102025_22_23_01_3661.jpg', '/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_25_3649.jpg', '/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_28_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_48_2744.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_52_3580.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_22_57_2652.jpg
/home/pi/Desktop/images/30102025/22/22/image_30102025_22_23_01_3661.jpg
/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_25_3649.jpg
/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_28_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377480","1396377482","1396377479","1396377476","1396377481","1396377478"],"photo_ids_order":["1396377476","1396377478","1396377479","1396377480","1396377481","1396377482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bffbf5157be1897eab7e8378c9a520ee.jpg","text":"TemporaryFile(/tmp/multipartBody9115971506863889612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_23_01_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/27/e7173224b80320d25b87b9859123a86b.jpg","text":"TemporaryFile(/tmp/multipartBody5897262572854608396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_24_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/27/f7bd344fc0a0dd196e76119278e0067c.jpg","text":"TemporaryFile(/tmp/multipartBody6797664543064869820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_22_57_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/27/d4ecd8d3cdc1c71e62bd775e31fecf46.jpg","text":"TemporaryFile(/tmp/multipartBody8766051646677307985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_22_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/27/7ed841d5fd8a23020db010de35d5e1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3245815489241753030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_24_25_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/27/8676c323504b647230197ee01dc4fea2.jpg","text":"TemporaryFile(/tmp/multipartBody3470882476967069092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228523495,"filename":"image_30102025_22_22_52_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377479","file1":"1396377478","file0":"1396377476","file4":"1396377481","file5":"1396377482","file3":"1396377480"},"map_files_photo_id_array":[{"photo_id":"1396377482","filename":"file5"},{"photo_id":"1396377479","filename":"file2"},{"photo_id":"1396377481","filename":"file4"},{"photo_id":"1396377478","filename":"file1"},{"photo_id":"1396377476","filename":"file0"},{"photo_id":"1396377480","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396377480":["hashtag1","hashtag2"]},{"1396377482":["hashtag1","hashtag2"]},{"1396377479":["hashtag1","hashtag2"]},{"1396377476":["hashtag1","hashtag2"]},{"1396377481":["hashtag1","hashtag2"]},{"1396377478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396377480, 1396377482, 1396377479, 1396377476, 1396377481, 1396377478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74770498275757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:28:22.585011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_56_10699.jpg', '/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_06_10106.jpg', '/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_15_9825.jpg', '/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_25_9740.jpg', '/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_45_9935.jpg', '/home/pi/Desktop/images/27112025/08/26/image_27112025_08_27_05_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/25/image_27112025_08_25_56_10699.jpg
/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_06_10106.jpg
/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_15_9825.jpg
/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_25_9740.jpg
/home/pi/Desktop/images/27112025/08/26/image_27112025_08_26_45_9935.jpg
/home/pi/Desktop/images/27112025/08/26/image_27112025_08_27_05_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377495","1396377498","1396377491","1396377506","1396377511","1396377508"],"photo_ids_order":["1396377491","1396377495","1396377498","1396377506","1396377508","1396377511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b39817f15e9beb44faf972671fb72fec.jpg","text":"TemporaryFile(/tmp/multipartBody5278008598506376370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_26_06_10106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc882c1f88d1deb234dc1d310ca3191f.jpg","text":"TemporaryFile(/tmp/multipartBody451591011262350469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_26_15_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c864a4f5f782e44f5bb9fa3c898c368c.jpg","text":"TemporaryFile(/tmp/multipartBody5790507659447974067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_25_56_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2540877201f272b13063ed11fb97a66b.jpg","text":"TemporaryFile(/tmp/multipartBody8549209426678044325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_26_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6f5856583c9fa919c24306833ef98c7.jpg","text":"TemporaryFile(/tmp/multipartBody1586816174923766463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_27_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f32363daabfe01975741c8d757d9012c.jpg","text":"TemporaryFile(/tmp/multipartBody2993172994715029022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228563382,"filename":"image_27112025_08_26_45_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377498","file1":"1396377495","file0":"1396377491","file4":"1396377508","file5":"1396377511","file3":"1396377506"},"map_files_photo_id_array":[{"photo_id":"1396377511","filename":"file5"},{"photo_id":"1396377498","filename":"file2"},{"photo_id":"1396377508","filename":"file4"},{"photo_id":"1396377495","filename":"file1"},{"photo_id":"1396377491","filename":"file0"},{"photo_id":"1396377506","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377495":["hashtag1","hashtag2"]},{"1396377498":["hashtag1","hashtag2"]},{"1396377491":["hashtag1","hashtag2"]},{"1396377506":["hashtag1","hashtag2"]},{"1396377511":["hashtag1","hashtag2"]},{"1396377508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377495, 1396377498, 1396377491, 1396377506, 1396377511, 1396377508)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.12284755706787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:29:13.031490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_13_2543.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_17_3649.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_22_2561.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_26_3757.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_28_2616.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_31_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_13_2543.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_17_3649.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_22_2561.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_26_3757.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_28_2616.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_31_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377531","1396377528","1396377516","1396377521","1396377524","1396377518"],"photo_ids_order":["1396377516","1396377518","1396377521","1396377524","1396377528","1396377531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b42fd0415754e9a15e0024388057530.jpg","text":"TemporaryFile(/tmp/multipartBody6799923660949520344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_31_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/27/36d91a75986e0dc85888f1785dd286b9.jpg","text":"TemporaryFile(/tmp/multipartBody4880165762144370789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_28_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/27/42fb4d70b6916da3990865b9ed7e0566.jpg","text":"TemporaryFile(/tmp/multipartBody2927898237656528243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_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/27/8b918fd61a2a21c2f8d0faf517674ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5495961552293193676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_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/27/51f003ea696465b6190302853ad49798.jpg","text":"TemporaryFile(/tmp/multipartBody2441091181162298881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_26_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/27/591263b3c0013b61c414fdd6d5b4978f.jpg","text":"TemporaryFile(/tmp/multipartBody6913197588711367710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228614789,"filename":"image_21112025_20_40_17_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377521","file1":"1396377518","file0":"1396377516","file4":"1396377528","file5":"1396377531","file3":"1396377524"},"map_files_photo_id_array":[{"photo_id":"1396377531","filename":"file5"},{"photo_id":"1396377521","filename":"file2"},{"photo_id":"1396377528","filename":"file4"},{"photo_id":"1396377518","filename":"file1"},{"photo_id":"1396377516","filename":"file0"},{"photo_id":"1396377524","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396377531":["hashtag1","hashtag2"]},{"1396377528":["hashtag1","hashtag2"]},{"1396377516":["hashtag1","hashtag2"]},{"1396377521":["hashtag1","hashtag2"]},{"1396377524":["hashtag1","hashtag2"]},{"1396377518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396377531, 1396377528, 1396377516, 1396377521, 1396377524, 1396377518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.517717361450195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:30:02.751277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_15_9815.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_25_9696.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_35_10676.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_45_9743.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_55_10131.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_28_05_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_15_9815.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_25_9696.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_35_10676.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_45_9743.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_55_10131.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_28_05_9594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7449827194213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:30:12.359500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_35_3663.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_37_2668.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_43_2836.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_46_3660.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_49_2711.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_52_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_35_3663.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_37_2668.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_43_2836.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_46_3660.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_49_2711.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_52_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377622","1396377588","1396377618","1396377584","1396377592","1396377595"],"photo_ids_order":["1396377584","1396377588","1396377592","1396377595","1396377618","1396377622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f121f0c8d02790aa36d01678c5d03d1.jpg","text":"TemporaryFile(/tmp/multipartBody2010670718561965900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_52_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/27/a3c7d9cced1ef5092f08e407ff505ae4.jpg","text":"TemporaryFile(/tmp/multipartBody62919655834800231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_37_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/27/0d22152a1052e45e354916b9c369c487.jpg","text":"TemporaryFile(/tmp/multipartBody3606042189294019124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_49_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/27/b9486e22bde1bb87698d6229dd7dce76.jpg","text":"TemporaryFile(/tmp/multipartBody3273950334229968825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_35_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/27/b1bf9662c49bcf39ff742444d6b1a316.jpg","text":"TemporaryFile(/tmp/multipartBody5141928568990633595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_43_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/27/77105396e9e96d1b36eb881d68cd1c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7586114404143776431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228674129,"filename":"image_21112025_20_40_46_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377592","file1":"1396377588","file0":"1396377584","file4":"1396377618","file5":"1396377622","file3":"1396377595"},"map_files_photo_id_array":[{"photo_id":"1396377622","filename":"file5"},{"photo_id":"1396377592","filename":"file2"},{"photo_id":"1396377618","filename":"file4"},{"photo_id":"1396377588","filename":"file1"},{"photo_id":"1396377584","filename":"file0"},{"photo_id":"1396377595","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396377622":["hashtag1","hashtag2"]},{"1396377588":["hashtag1","hashtag2"]},{"1396377618":["hashtag1","hashtag2"]},{"1396377584":["hashtag1","hashtag2"]},{"1396377592":["hashtag1","hashtag2"]},{"1396377595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396377622, 1396377588, 1396377618, 1396377584, 1396377592, 1396377595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.891939640045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:31:02.988203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_15_9815.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_25_9696.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_35_10676.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_45_9743.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_55_10131.jpg', '/home/pi/Desktop/images/27112025/08/27/image_27112025_08_28_05_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_15_9815.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_25_9696.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_35_10676.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_45_9743.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_27_55_10131.jpg
/home/pi/Desktop/images/27112025/08/27/image_27112025_08_28_05_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377639","1396377630","1396377633","1396377635","1396377646","1396377628"],"photo_ids_order":["1396377628","1396377630","1396377633","1396377635","1396377639","1396377646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6303d3c476ef6c913847e2635c13621d.jpg","text":"TemporaryFile(/tmp/multipartBody2340028595140488496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_27_55_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7764e3e01e6c20aab04a1e3da10610d.jpg","text":"TemporaryFile(/tmp/multipartBody3346143524067835367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_27_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e63116d261e379ff4c738580edece19.jpg","text":"TemporaryFile(/tmp/multipartBody2515790974981432458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_27_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95ea4b4c08a6eb7860cbe8d0fec0c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody1214445984886719980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_27_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54033a408f8c3c7f5891fedbc841449a.jpg","text":"TemporaryFile(/tmp/multipartBody7777386933297852656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_28_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c95b6f9efc048305c052c99ea8a05dd.jpg","text":"TemporaryFile(/tmp/multipartBody3478448831218661633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228723881,"filename":"image_27112025_08_27_15_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377633","file1":"1396377630","file0":"1396377628","file4":"1396377639","file5":"1396377646","file3":"1396377635"},"map_files_photo_id_array":[{"photo_id":"1396377646","filename":"file5"},{"photo_id":"1396377633","filename":"file2"},{"photo_id":"1396377639","filename":"file4"},{"photo_id":"1396377630","filename":"file1"},{"photo_id":"1396377628","filename":"file0"},{"photo_id":"1396377635","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377639":["hashtag1","hashtag2"]},{"1396377630":["hashtag1","hashtag2"]},{"1396377633":["hashtag1","hashtag2"]},{"1396377635":["hashtag1","hashtag2"]},{"1396377646":["hashtag1","hashtag2"]},{"1396377628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377639, 1396377630, 1396377633, 1396377635, 1396377646, 1396377628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48145127296448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:31:42.439320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/24/image_30102025_22_24_51_1690.jpg', '/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_55_1570.jpg', '/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_59_1630.jpg', '/home/pi/Desktop/images/30102025/22/26/image_30102025_22_26_07_3014.jpg', '/home/pi/Desktop/images/30102025/22/26/image_30102025_22_26_14_2849.jpg', '/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_09_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_51_1690.jpg
/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_55_1570.jpg
/home/pi/Desktop/images/30102025/22/24/image_30102025_22_24_59_1630.jpg
/home/pi/Desktop/images/30102025/22/26/image_30102025_22_26_07_3014.jpg
/home/pi/Desktop/images/30102025/22/26/image_30102025_22_26_14_2849.jpg
/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_09_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377813","1396377810","1396377812","1396377809","1396377793","1396377811"],"photo_ids_order":["1396377793","1396377809","1396377810","1396377811","1396377812","1396377813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e9e7bb55f33bfa38a658929d07655e4.jpg","text":"TemporaryFile(/tmp/multipartBody8669421338280738283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_27_09_10340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff364acf0b8cab5011f1fd009b3bfb14.jpg","text":"TemporaryFile(/tmp/multipartBody4997297356211721302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_24_59_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/27/f60a70f6a13b062395c224bf0fc0352a.jpg","text":"TemporaryFile(/tmp/multipartBody6302143961119073813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_26_14_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/27/01aa976edebe2fe49da92aefb0ee0d80.jpg","text":"TemporaryFile(/tmp/multipartBody2967385342861035597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_24_55_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/27/fe4df033ed4fcd34ee74d4aa4736fb5c.jpg","text":"TemporaryFile(/tmp/multipartBody6232102750655718194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_24_51_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b357e5fc728f0243704a4fab8613ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6128288405616971736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228763726,"filename":"image_30102025_22_26_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377810","file1":"1396377809","file0":"1396377793","file4":"1396377812","file5":"1396377813","file3":"1396377811"},"map_files_photo_id_array":[{"photo_id":"1396377813","filename":"file5"},{"photo_id":"1396377810","filename":"file2"},{"photo_id":"1396377812","filename":"file4"},{"photo_id":"1396377809","filename":"file1"},{"photo_id":"1396377793","filename":"file0"},{"photo_id":"1396377811","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396377813":["hashtag1","hashtag2"]},{"1396377810":["hashtag1","hashtag2"]},{"1396377812":["hashtag1","hashtag2"]},{"1396377809":["hashtag1","hashtag2"]},{"1396377793":["hashtag1","hashtag2"]},{"1396377811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396377813, 1396377810, 1396377812, 1396377809, 1396377793, 1396377811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94001364707947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:32:24.548575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_16_10660.jpg', '/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_25_9730.jpg', '/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_36_10263.jpg', '/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_45_9748.jpg', '/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_55_9765.jpg', '/home/pi/Desktop/images/27112025/08/28/image_27112025_08_29_05_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_16_10660.jpg
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_25_9730.jpg
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_36_10263.jpg
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_45_9748.jpg
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_28_55_9765.jpg
/home/pi/Desktop/images/27112025/08/28/image_27112025_08_29_05_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377840","1396377828","1396377837","1396377848","1396377833","1396377853"],"photo_ids_order":["1396377828","1396377833","1396377837","1396377840","1396377848","1396377853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/453d21877d8d24152883e738e0068aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6751054223070585477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_28_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e352962a12582deca3d5f78cf5b0cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8586221903313998164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_28_16_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff3570051f7cc419c869b3c1205119ae.jpg","text":"TemporaryFile(/tmp/multipartBody8627986313310615233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_28_36_10263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2784af578d7c68b8cd8a14823e6f04f.jpg","text":"TemporaryFile(/tmp/multipartBody7164571285759120283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_28_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68de9d584256c01e17fcec42f140a854.jpg","text":"TemporaryFile(/tmp/multipartBody4650264315957592990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_28_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51ace867c69bb983ab43aa97f7d5873f.jpg","text":"TemporaryFile(/tmp/multipartBody6429601797054476523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228805367,"filename":"image_27112025_08_29_05_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377837","file1":"1396377833","file0":"1396377828","file4":"1396377848","file5":"1396377853","file3":"1396377840"},"map_files_photo_id_array":[{"photo_id":"1396377853","filename":"file5"},{"photo_id":"1396377837","filename":"file2"},{"photo_id":"1396377848","filename":"file4"},{"photo_id":"1396377833","filename":"file1"},{"photo_id":"1396377828","filename":"file0"},{"photo_id":"1396377840","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377840":["hashtag1","hashtag2"]},{"1396377828":["hashtag1","hashtag2"]},{"1396377837":["hashtag1","hashtag2"]},{"1396377848":["hashtag1","hashtag2"]},{"1396377833":["hashtag1","hashtag2"]},{"1396377853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377840, 1396377828, 1396377837, 1396377848, 1396377833, 1396377853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78338170051575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:33:03.384080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_15_9871.jpg', '/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_26_10702.jpg', '/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_35_9859.jpg', '/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_45_9674.jpg', '/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_15_10056.jpg', '/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_26_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_15_9871.jpg
/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_26_10702.jpg
/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_35_9859.jpg
/home/pi/Desktop/images/27112025/08/29/image_27112025_08_29_45_9674.jpg
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_15_10056.jpg
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_26_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396377858","1396377860","1396377863","1396377866","1396377854","1396377856"],"photo_ids_order":["1396377854","1396377856","1396377858","1396377860","1396377863","1396377866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac5e89e14e49531c2e4edc7e384923b2.jpg","text":"TemporaryFile(/tmp/multipartBody4051727562641628349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_29_35_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87c4fadb5f7b57ff4f57466a2acf80d8.jpg","text":"TemporaryFile(/tmp/multipartBody9113198331412850751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_29_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99c5282bd378d93ea76c837ec8b0e5d9.jpg","text":"TemporaryFile(/tmp/multipartBody3754188054101330731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_30_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/340a5a7f88d62f00668f15012f3c02d5.jpg","text":"TemporaryFile(/tmp/multipartBody8320082760862059628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_30_26_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d7441193c5cfb4b03978642690d70c9.jpg","text":"TemporaryFile(/tmp/multipartBody4426362286956902714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_29_15_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c92ccf0cae496cf9c5c514abd1ceff9.jpg","text":"TemporaryFile(/tmp/multipartBody9205408010552848893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228844401,"filename":"image_27112025_08_29_26_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377858","file1":"1396377856","file0":"1396377854","file4":"1396377863","file5":"1396377866","file3":"1396377860"},"map_files_photo_id_array":[{"photo_id":"1396377866","filename":"file5"},{"photo_id":"1396377858","filename":"file2"},{"photo_id":"1396377863","filename":"file4"},{"photo_id":"1396377856","filename":"file1"},{"photo_id":"1396377854","filename":"file0"},{"photo_id":"1396377860","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377858":["hashtag1","hashtag2"]},{"1396377860":["hashtag1","hashtag2"]},{"1396377863":["hashtag1","hashtag2"]},{"1396377866":["hashtag1","hashtag2"]},{"1396377854":["hashtag1","hashtag2"]},{"1396377856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377858, 1396377860, 1396377863, 1396377866, 1396377854, 1396377856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.073525190353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:34:03.066919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_35_9660.jpg', '/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_45_9707.jpg', '/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_56_10582.jpg', '/home/pi/Desktop/images/27112025/08/30/image_27112025_08_31_05_9691.jpg', '/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_15_9585.jpg', '/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_26_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_35_9660.jpg
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_45_9707.jpg
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_30_56_10582.jpg
/home/pi/Desktop/images/27112025/08/30/image_27112025_08_31_05_9691.jpg
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_15_9585.jpg
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_26_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377882","1396377879","1396377884","1396377886","1396377889","1396377877"],"photo_ids_order":["1396377877","1396377879","1396377882","1396377884","1396377886","1396377889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57a0a3823909fdebd222b30773e69480.jpg","text":"TemporaryFile(/tmp/multipartBody3426304340574183528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_30_56_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a1d01895ac3197de0038a15cdb8bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5194347434122190804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_30_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4136f425e390b226fc0d33aa268ab98.jpg","text":"TemporaryFile(/tmp/multipartBody534879749063335433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_31_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb20cbc430d233f62928b6c742dba28c.jpg","text":"TemporaryFile(/tmp/multipartBody964448971381150893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_31_15_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29526f29aff3326e6a006fd936f9995c.jpg","text":"TemporaryFile(/tmp/multipartBody9022854891907815777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_31_26_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7ff0a86d0e1f0186fb768c87e1e3d82.jpg","text":"TemporaryFile(/tmp/multipartBody3129417098933789617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228903883,"filename":"image_27112025_08_30_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377882","file1":"1396377879","file0":"1396377877","file4":"1396377886","file5":"1396377889","file3":"1396377884"},"map_files_photo_id_array":[{"photo_id":"1396377889","filename":"file5"},{"photo_id":"1396377882","filename":"file2"},{"photo_id":"1396377886","filename":"file4"},{"photo_id":"1396377879","filename":"file1"},{"photo_id":"1396377877","filename":"file0"},{"photo_id":"1396377884","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377882":["hashtag1","hashtag2"]},{"1396377879":["hashtag1","hashtag2"]},{"1396377884":["hashtag1","hashtag2"]},{"1396377886":["hashtag1","hashtag2"]},{"1396377889":["hashtag1","hashtag2"]},{"1396377877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377882, 1396377879, 1396377884, 1396377886, 1396377889, 1396377877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00229549407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:34:42.241580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/27/image_30102025_22_27_18_1629.jpg', '/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_24_1568.jpg', '/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_25_1603.jpg', '/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_31_2595.jpg', '/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_47_3585.jpg', '/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_29_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/22/27/image_30102025_22_27_18_1629.jpg
/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_24_1568.jpg
/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_25_1603.jpg
/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_31_2595.jpg
/home/pi/Desktop/images/30102025/22/27/image_30102025_22_27_47_3585.jpg
/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_29_3604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377909","1396377924","1396377918","1396377908","1396377902","1396377910"],"photo_ids_order":["1396377902","1396377908","1396377909","1396377910","1396377918","1396377924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8224ec29e0ed0fda49e39f218c95ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8007311579122824701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_27_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/27/59dbd57967129accff499bd786fd3d68.jpg","text":"TemporaryFile(/tmp/multipartBody8950645262117297381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_28_29_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/27/d60d80083b7b8fd6b6369a3d2971d086.jpg","text":"TemporaryFile(/tmp/multipartBody5778815412701233917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_27_47_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/27/600b770e1454290b130158b8ac1232b2.jpg","text":"TemporaryFile(/tmp/multipartBody6416800261582906164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_27_24_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/27/d554c9eea63df6a8eb145f06501a299e.jpg","text":"TemporaryFile(/tmp/multipartBody4978107319408772587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_27_18_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/27/f6f142c5f40a770c35001b6041bdaf12.jpg","text":"TemporaryFile(/tmp/multipartBody6919925840070518755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228943478,"filename":"image_30102025_22_27_31_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377909","file1":"1396377908","file0":"1396377902","file4":"1396377918","file5":"1396377924","file3":"1396377910"},"map_files_photo_id_array":[{"photo_id":"1396377924","filename":"file5"},{"photo_id":"1396377909","filename":"file2"},{"photo_id":"1396377918","filename":"file4"},{"photo_id":"1396377908","filename":"file1"},{"photo_id":"1396377902","filename":"file0"},{"photo_id":"1396377910","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396377909":["hashtag1","hashtag2"]},{"1396377924":["hashtag1","hashtag2"]},{"1396377918":["hashtag1","hashtag2"]},{"1396377908":["hashtag1","hashtag2"]},{"1396377902":["hashtag1","hashtag2"]},{"1396377910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396377909, 1396377924, 1396377918, 1396377908, 1396377902, 1396377910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33488416671753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:35:24.051528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_35_9658.jpg', '/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_45_9597.jpg', '/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_55_10524.jpg', '/home/pi/Desktop/images/27112025/08/31/image_27112025_08_32_05_9581.jpg', '/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_16_10653.jpg', '/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_25_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_35_9658.jpg
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_45_9597.jpg
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_31_55_10524.jpg
/home/pi/Desktop/images/27112025/08/31/image_27112025_08_32_05_9581.jpg
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_16_10653.jpg
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_25_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377970","1396377964","1396377973","1396377967","1396377961","1396377958"],"photo_ids_order":["1396377958","1396377961","1396377964","1396377967","1396377970","1396377973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae19b20e6b6531073e4ed56062cd7567.jpg","text":"TemporaryFile(/tmp/multipartBody5281261127409961124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_32_16_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c5e5c39485e5cac4460846af4171711.jpg","text":"TemporaryFile(/tmp/multipartBody1197389090750792403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_31_55_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4b27a5e3068792ae506b00a4b564b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2433498351188240598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_32_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f933d0f81d2dd8d5e3498371b68b844c.jpg","text":"TemporaryFile(/tmp/multipartBody3414823774667327991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_32_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cff4dc28ac39699764a6669f6d2e819.jpg","text":"TemporaryFile(/tmp/multipartBody4526554804070339027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_31_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a0c623c3d08e34b1065f8de730379bc.jpg","text":"TemporaryFile(/tmp/multipartBody4054709032725344952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764228984757,"filename":"image_27112025_08_31_35_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377964","file1":"1396377961","file0":"1396377958","file4":"1396377970","file5":"1396377973","file3":"1396377967"},"map_files_photo_id_array":[{"photo_id":"1396377973","filename":"file5"},{"photo_id":"1396377964","filename":"file2"},{"photo_id":"1396377970","filename":"file4"},{"photo_id":"1396377961","filename":"file1"},{"photo_id":"1396377958","filename":"file0"},{"photo_id":"1396377967","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377970":["hashtag1","hashtag2"]},{"1396377964":["hashtag1","hashtag2"]},{"1396377973":["hashtag1","hashtag2"]},{"1396377967":["hashtag1","hashtag2"]},{"1396377961":["hashtag1","hashtag2"]},{"1396377958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377970, 1396377964, 1396377973, 1396377967, 1396377961, 1396377958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8683078289032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:36:02.631360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_35_9675.jpg', '/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_46_10714.jpg', '/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_56_9845.jpg', '/home/pi/Desktop/images/27112025/08/32/image_27112025_08_33_05_9744.jpg', '/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_15_9799.jpg', '/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_26_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_35_9675.jpg
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_46_10714.jpg
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_32_56_9845.jpg
/home/pi/Desktop/images/27112025/08/32/image_27112025_08_33_05_9744.jpg
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_15_9799.jpg
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_26_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396377990","1396377978","1396377987","1396377974","1396377977","1396377985"],"photo_ids_order":["1396377974","1396377977","1396377978","1396377985","1396377987","1396377990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c714d6c4874f6b9070772d2558adf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5940002094806541451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_33_26_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b9394957447b8d509ef69fb480c756c.jpg","text":"TemporaryFile(/tmp/multipartBody6980317895847673972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_32_56_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96786a15716087038036fd51ce1f1dca.jpg","text":"TemporaryFile(/tmp/multipartBody5175982938569433372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_33_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6e0f519704d75e3f1ef43b915517509.jpg","text":"TemporaryFile(/tmp/multipartBody9218312700883891787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_32_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abe8a15840bbc10f2587961316802d90.jpg","text":"TemporaryFile(/tmp/multipartBody1965674370306204662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_32_46_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c8e9b30a3786e22d2a3bb2c2a0e38ce.jpg","text":"TemporaryFile(/tmp/multipartBody289084881791892374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229023321,"filename":"image_27112025_08_33_05_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396377978","file1":"1396377977","file0":"1396377974","file4":"1396377987","file5":"1396377990","file3":"1396377985"},"map_files_photo_id_array":[{"photo_id":"1396377990","filename":"file5"},{"photo_id":"1396377978","filename":"file2"},{"photo_id":"1396377987","filename":"file4"},{"photo_id":"1396377977","filename":"file1"},{"photo_id":"1396377974","filename":"file0"},{"photo_id":"1396377985","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396377990":["hashtag1","hashtag2"]},{"1396377978":["hashtag1","hashtag2"]},{"1396377987":["hashtag1","hashtag2"]},{"1396377974":["hashtag1","hashtag2"]},{"1396377977":["hashtag1","hashtag2"]},{"1396377985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396377990, 1396377978, 1396377987, 1396377974, 1396377977, 1396377985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50769925117493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:36:42.104477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/28/image_30102025_22_28_31_2643.jpg', '/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_38_3701.jpg', '/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_47_3667.jpg', '/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_58_2689.jpg', '/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_12_5380.jpg', '/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_15_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_31_2643.jpg
/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_38_3701.jpg
/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_47_3667.jpg
/home/pi/Desktop/images/30102025/22/28/image_30102025_22_28_58_2689.jpg
/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_12_5380.jpg
/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_15_2907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378008","1396378002","1396377998","1396378007","1396378001","1396378009"],"photo_ids_order":["1396377998","1396378001","1396378002","1396378007","1396378008","1396378009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24d33f4f31f2eca66b5adbedbdb6b015.jpg","text":"TemporaryFile(/tmp/multipartBody7259240967540424652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_29_12_5380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0512a1e14ec69adccc95c01792a02960.jpg","text":"TemporaryFile(/tmp/multipartBody2743271907072242342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_28_47_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/27/e4ce9c26070d558451df90b447d40597.jpg","text":"TemporaryFile(/tmp/multipartBody3375606235575515775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_28_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/27/875f2487d79c7b1c775f1c64e757a963.jpg","text":"TemporaryFile(/tmp/multipartBody4927294222096458104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_28_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/27/e66abc27c6ecceb0d9c5d13c43f1c9b2.jpg","text":"TemporaryFile(/tmp/multipartBody3635069083605764806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_28_38_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/27/29c2ecd8e2826329450760545ecbc1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8187689658300199737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229063339,"filename":"image_30102025_22_29_15_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378002","file1":"1396378001","file0":"1396377998","file4":"1396378008","file5":"1396378009","file3":"1396378007"},"map_files_photo_id_array":[{"photo_id":"1396378009","filename":"file5"},{"photo_id":"1396378002","filename":"file2"},{"photo_id":"1396378008","filename":"file4"},{"photo_id":"1396378001","filename":"file1"},{"photo_id":"1396377998","filename":"file0"},{"photo_id":"1396378007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378008":["hashtag1","hashtag2"]},{"1396378002":["hashtag1","hashtag2"]},{"1396377998":["hashtag1","hashtag2"]},{"1396378007":["hashtag1","hashtag2"]},{"1396378001":["hashtag1","hashtag2"]},{"1396378009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378008, 1396378002, 1396377998, 1396378007, 1396378001, 1396378009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79250121116638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:37:22.433115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_35_9633.jpg', '/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_45_9773.jpg', '/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_56_10607.jpg', '/home/pi/Desktop/images/27112025/08/33/image_27112025_08_34_05_9733.jpg', '/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_15_9818.jpg', '/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_25_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_35_9633.jpg
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_45_9773.jpg
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_33_56_10607.jpg
/home/pi/Desktop/images/27112025/08/33/image_27112025_08_34_05_9733.jpg
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_15_9818.jpg
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_25_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378026","1396378020","1396378023","1396378017","1396378013","1396378030"],"photo_ids_order":["1396378013","1396378017","1396378020","1396378023","1396378026","1396378030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f2a422dbccccc5aac8be501c91c88fd.jpg","text":"TemporaryFile(/tmp/multipartBody814857004151641281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_34_15_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/27/241e728a76df8c738010e703cd3b1c8b.jpg","text":"TemporaryFile(/tmp/multipartBody296518972121069569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_33_56_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c9aa9fa7740770e4ee4ed5b955834c5.jpg","text":"TemporaryFile(/tmp/multipartBody2655773531563594149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_34_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a98d45c1ca2e61a0fdc440025731d91e.jpg","text":"TemporaryFile(/tmp/multipartBody2376670987925384739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_33_45_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6932d73dfac7bd1a1686b613fea9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1677406375576140839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_33_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/976473a6021b11049ca7e1365ad4453f.jpg","text":"TemporaryFile(/tmp/multipartBody6272469577700467567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229103149,"filename":"image_27112025_08_34_25_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378020","file1":"1396378017","file0":"1396378013","file4":"1396378026","file5":"1396378030","file3":"1396378023"},"map_files_photo_id_array":[{"photo_id":"1396378030","filename":"file5"},{"photo_id":"1396378020","filename":"file2"},{"photo_id":"1396378026","filename":"file4"},{"photo_id":"1396378017","filename":"file1"},{"photo_id":"1396378013","filename":"file0"},{"photo_id":"1396378023","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378026":["hashtag1","hashtag2"]},{"1396378020":["hashtag1","hashtag2"]},{"1396378023":["hashtag1","hashtag2"]},{"1396378017":["hashtag1","hashtag2"]},{"1396378013":["hashtag1","hashtag2"]},{"1396378030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378026, 1396378020, 1396378023, 1396378017, 1396378013, 1396378030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73110246658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:38:03.056993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_36_10618.jpg', '/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_46_10526.jpg', '/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_55_8741.jpg', '/home/pi/Desktop/images/27112025/08/34/image_27112025_08_35_05_10600.jpg', '/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_15_9621.jpg', '/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_26_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_36_10618.jpg
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_46_10526.jpg
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_34_55_8741.jpg
/home/pi/Desktop/images/27112025/08/34/image_27112025_08_35_05_10600.jpg
/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_15_9621.jpg
/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_26_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378044","1396378053","1396378049","1396378040","1396378051","1396378056"],"photo_ids_order":["1396378040","1396378044","1396378049","1396378051","1396378053","1396378056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/763e0db943961fe0ae924def31f8ec02.jpg","text":"TemporaryFile(/tmp/multipartBody2781076994988936738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_34_46_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17e6c37396cc7496bff30b63dd0a9dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7690425951549431128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_35_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a51d2a1323b1857498dc3c67f043ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody4810407516264659951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_34_55_8741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d974337928425676c7e14c35b85e706.jpg","text":"TemporaryFile(/tmp/multipartBody709469243496229387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_34_36_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/052ac9726536d0ced4b4dd0be5944c71.jpg","text":"TemporaryFile(/tmp/multipartBody2489765783576422656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_35_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05c49b5754f7e7fe45e878eb1157857c.jpg","text":"TemporaryFile(/tmp/multipartBody8634310119811485237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229143791,"filename":"image_27112025_08_35_26_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378049","file1":"1396378044","file0":"1396378040","file4":"1396378053","file5":"1396378056","file3":"1396378051"},"map_files_photo_id_array":[{"photo_id":"1396378056","filename":"file5"},{"photo_id":"1396378049","filename":"file2"},{"photo_id":"1396378053","filename":"file4"},{"photo_id":"1396378044","filename":"file1"},{"photo_id":"1396378040","filename":"file0"},{"photo_id":"1396378051","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378044":["hashtag1","hashtag2"]},{"1396378053":["hashtag1","hashtag2"]},{"1396378049":["hashtag1","hashtag2"]},{"1396378040":["hashtag1","hashtag2"]},{"1396378051":["hashtag1","hashtag2"]},{"1396378056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378044, 1396378053, 1396378049, 1396378040, 1396378051, 1396378056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.669145584106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:38:42.613386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/29/image_30102025_22_29_17_1564.jpg', '/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_53_3635.jpg', '/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_58_2718.jpg', '/home/pi/Desktop/images/30102025/22/30/image_30102025_22_30_22_2669.jpg', '/home/pi/Desktop/images/30102025/22/30/image_30102025_22_30_35_2884.jpg', '/home/pi/Desktop/images/30102025/22/32/image_30102025_22_32_42_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_17_1564.jpg
/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_53_3635.jpg
/home/pi/Desktop/images/30102025/22/29/image_30102025_22_29_58_2718.jpg
/home/pi/Desktop/images/30102025/22/30/image_30102025_22_30_22_2669.jpg
/home/pi/Desktop/images/30102025/22/30/image_30102025_22_30_35_2884.jpg
/home/pi/Desktop/images/30102025/22/32/image_30102025_22_32_42_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378116","1396378118","1396378115","1396378109","1396378117","1396378105"],"photo_ids_order":["1396378105","1396378109","1396378115","1396378116","1396378117","1396378118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3c21ec84e673f8d329e0fcfdac08cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3097404922668815686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_30_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/27/a146b143576b9adec366542533b4bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody5961440239335519385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_32_42_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/27/5704c6c679d3a7650f4dc7f71a05e266.jpg","text":"TemporaryFile(/tmp/multipartBody198763375548962658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_29_58_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/27/461941b8a4bc5b5b80f2ae3f3923fd3e.jpg","text":"TemporaryFile(/tmp/multipartBody9130914322720406484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_29_53_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/27/8f145e1b8937fd8af907c56475d483b2.jpg","text":"TemporaryFile(/tmp/multipartBody5574332991977110647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_30_35_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/27/7b83a6e909d0fc3fb0c0e1ab8f42ebc3.jpg","text":"TemporaryFile(/tmp/multipartBody2261541595713246948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229183910,"filename":"image_30102025_22_29_17_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378115","file1":"1396378109","file0":"1396378105","file4":"1396378117","file5":"1396378118","file3":"1396378116"},"map_files_photo_id_array":[{"photo_id":"1396378118","filename":"file5"},{"photo_id":"1396378115","filename":"file2"},{"photo_id":"1396378117","filename":"file4"},{"photo_id":"1396378109","filename":"file1"},{"photo_id":"1396378105","filename":"file0"},{"photo_id":"1396378116","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378116":["hashtag1","hashtag2"]},{"1396378118":["hashtag1","hashtag2"]},{"1396378115":["hashtag1","hashtag2"]},{"1396378109":["hashtag1","hashtag2"]},{"1396378117":["hashtag1","hashtag2"]},{"1396378105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378116, 1396378118, 1396378115, 1396378109, 1396378117, 1396378105)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.07167410850525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:39:32.897661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_55_3574.jpg', '/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_58_2750.jpg', '/home/pi/Desktop/images/21112025/20/41/image_21112025_20_41_01_2591.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_11_3735.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_14_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_55_3574.jpg
/home/pi/Desktop/images/21112025/20/40/image_21112025_20_40_58_2750.jpg
/home/pi/Desktop/images/21112025/20/41/image_21112025_20_41_01_2591.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_07_3018.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_11_3735.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_14_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378137","1396378140","1396378134","1396378128","1396378142","1396378141"],"photo_ids_order":["1396378128","1396378134","1396378137","1396378140","1396378141","1396378142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/876f3ab298baaa3b744a1923ac25a810.jpg","text":"TemporaryFile(/tmp/multipartBody5441987386241842141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_41_01_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/27/f6c9e0c844df873a82fdcaa6a9c096b5.jpg","text":"TemporaryFile(/tmp/multipartBody6822216770353214749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_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/27/d809995b9a08663a59d1a41599be5830.jpg","text":"TemporaryFile(/tmp/multipartBody1237961333202603315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_40_58_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/27/df2eb28a2add5b70a7603a973aa68793.jpg","text":"TemporaryFile(/tmp/multipartBody2684349673967073750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_40_55_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/27/bc84543deb59d084d6a97b0dc399b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1827726904127175031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_42_14_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/27/f18719748151d59bd4ef114171496edf.jpg","text":"TemporaryFile(/tmp/multipartBody4346584496894476194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229234832,"filename":"image_21112025_20_42_11_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378137","file1":"1396378134","file0":"1396378128","file4":"1396378141","file5":"1396378142","file3":"1396378140"},"map_files_photo_id_array":[{"photo_id":"1396378142","filename":"file5"},{"photo_id":"1396378137","filename":"file2"},{"photo_id":"1396378141","filename":"file4"},{"photo_id":"1396378134","filename":"file1"},{"photo_id":"1396378128","filename":"file0"},{"photo_id":"1396378140","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396378137":["hashtag1","hashtag2"]},{"1396378140":["hashtag1","hashtag2"]},{"1396378134":["hashtag1","hashtag2"]},{"1396378128":["hashtag1","hashtag2"]},{"1396378142":["hashtag1","hashtag2"]},{"1396378141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396378137, 1396378140, 1396378134, 1396378128, 1396378142, 1396378141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.212528228759766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 08:40:12.048336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_16_2578.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_20_3772.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_23_2655.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_25_2685.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_34_8426.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_36_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_16_2578.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_20_3772.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_23_2655.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_25_2685.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_34_8426.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_36_1742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6611244678497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:40:22.094185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_36_9760.jpg', '/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_45_9672.jpg', '/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_56_10496.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_06_10011.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_15_9670.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_25_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_36_9760.jpg
/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_45_9672.jpg
/home/pi/Desktop/images/27112025/08/35/image_27112025_08_35_56_10496.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_06_10011.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_15_9670.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_25_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378167","1396378172","1396378181","1396378162","1396378191","1396378194"],"photo_ids_order":["1396378162","1396378167","1396378172","1396378181","1396378191","1396378194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc3db40dd6690887d73f0bb9f86a887e.jpg","text":"TemporaryFile(/tmp/multipartBody5036737047258704264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_35_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/516655f7e736e2dfdcfc3843996dab08.jpg","text":"TemporaryFile(/tmp/multipartBody2931799135787412135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_35_56_10496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b36b1e8c529055a27d2ab90c70a8b8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1892936480596820198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_36_06_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91459ad5579e68be6687578076627067.jpg","text":"TemporaryFile(/tmp/multipartBody7303872637175009607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_35_36_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7c73079cd210030172c9a544f330643.jpg","text":"TemporaryFile(/tmp/multipartBody6142611000958849977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_36_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c8cafdca829f384a286e75b288bb79a.jpg","text":"TemporaryFile(/tmp/multipartBody7974320070025916035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229282917,"filename":"image_27112025_08_36_25_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378172","file1":"1396378167","file0":"1396378162","file4":"1396378191","file5":"1396378194","file3":"1396378181"},"map_files_photo_id_array":[{"photo_id":"1396378194","filename":"file5"},{"photo_id":"1396378172","filename":"file2"},{"photo_id":"1396378191","filename":"file4"},{"photo_id":"1396378167","filename":"file1"},{"photo_id":"1396378162","filename":"file0"},{"photo_id":"1396378181","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378167":["hashtag1","hashtag2"]},{"1396378172":["hashtag1","hashtag2"]},{"1396378181":["hashtag1","hashtag2"]},{"1396378162":["hashtag1","hashtag2"]},{"1396378191":["hashtag1","hashtag2"]},{"1396378194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378167, 1396378172, 1396378181, 1396378162, 1396378191, 1396378194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76348161697388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:41:02.738785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_36_10632.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_45_9709.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_55_9569.jpg', '/home/pi/Desktop/images/27112025/08/36/image_27112025_08_37_06_10699.jpg', '/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_15_9606.jpg', '/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_26_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_36_10632.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_45_9709.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_36_55_9569.jpg
/home/pi/Desktop/images/27112025/08/36/image_27112025_08_37_06_10699.jpg
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_15_9606.jpg
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_26_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378206","1396378215","1396378202","1396378205","1396378258","1396378204"],"photo_ids_order":["1396378202","1396378204","1396378205","1396378206","1396378215","1396378258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2991d5516f2b5e24a2bd7e0ce915ec03.jpg","text":"TemporaryFile(/tmp/multipartBody3175611794040053302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_37_06_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed52b8dd7905094e17a3cb0ca28e05c4.jpg","text":"TemporaryFile(/tmp/multipartBody4606292880602958247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_37_15_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1fee864bcfecfc0b123b7bb13e0c9c91.jpg","text":"TemporaryFile(/tmp/multipartBody261855606136717881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_36_36_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f79f8e1b1afcdab4431143212731e5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2820533275075550476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_36_55_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3d1e29ee224697610ecaabaaa204a73.jpg","text":"TemporaryFile(/tmp/multipartBody6452746418857872151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_37_26_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a5557ddba565d68b0bc22fc8667b800.jpg","text":"TemporaryFile(/tmp/multipartBody8475610365854284383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229323491,"filename":"image_27112025_08_36_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378205","file1":"1396378204","file0":"1396378202","file4":"1396378215","file5":"1396378258","file3":"1396378206"},"map_files_photo_id_array":[{"photo_id":"1396378258","filename":"file5"},{"photo_id":"1396378205","filename":"file2"},{"photo_id":"1396378215","filename":"file4"},{"photo_id":"1396378204","filename":"file1"},{"photo_id":"1396378202","filename":"file0"},{"photo_id":"1396378206","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378206":["hashtag1","hashtag2"]},{"1396378215":["hashtag1","hashtag2"]},{"1396378202":["hashtag1","hashtag2"]},{"1396378205":["hashtag1","hashtag2"]},{"1396378258":["hashtag1","hashtag2"]},{"1396378204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378206, 1396378215, 1396378202, 1396378205, 1396378258, 1396378204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508647441864014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:41:42.191874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/33/image_30102025_22_33_36_22678.jpg', '/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_16_2640.jpg', '/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_40_2840.jpg', '/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_58_3647.jpg', '/home/pi/Desktop/images/30102025/22/37/image_30102025_22_37_19_2608.jpg', '/home/pi/Desktop/images/30102025/22/37/image_30102025_22_37_49_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/33/image_30102025_22_33_36_22678.jpg
/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_16_2640.jpg
/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_40_2840.jpg
/home/pi/Desktop/images/30102025/22/36/image_30102025_22_36_58_3647.jpg
/home/pi/Desktop/images/30102025/22/37/image_30102025_22_37_19_2608.jpg
/home/pi/Desktop/images/30102025/22/37/image_30102025_22_37_49_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378295","1396378283","1396378289","1396378291","1396378293","1396378287"],"photo_ids_order":["1396378283","1396378287","1396378289","1396378291","1396378293","1396378295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2c9094ce497e7f87ade7549106145f5.jpg","text":"TemporaryFile(/tmp/multipartBody1420744660037859357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_37_49_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/27/9f2224eca07d82870dc87db331a23ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8640243271261014435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_33_36_22678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca428386eb0bf4739a835e015088ce31.jpg","text":"TemporaryFile(/tmp/multipartBody3576093106839915232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_36_40_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/27/24f109eda904d560e189becf5f2cc148.jpg","text":"TemporaryFile(/tmp/multipartBody6486423315461001916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_36_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/27/7dee24aaa6a604f255da09faf82a4190.jpg","text":"TemporaryFile(/tmp/multipartBody5510449910498864224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_37_19_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/27/5dd34d96fc366350cdb24d9d3d65ea38.jpg","text":"TemporaryFile(/tmp/multipartBody4917308853072121576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229363505,"filename":"image_30102025_22_36_16_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378289","file1":"1396378287","file0":"1396378283","file4":"1396378293","file5":"1396378295","file3":"1396378291"},"map_files_photo_id_array":[{"photo_id":"1396378295","filename":"file5"},{"photo_id":"1396378289","filename":"file2"},{"photo_id":"1396378293","filename":"file4"},{"photo_id":"1396378287","filename":"file1"},{"photo_id":"1396378283","filename":"file0"},{"photo_id":"1396378291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378295":["hashtag1","hashtag2"]},{"1396378283":["hashtag1","hashtag2"]},{"1396378289":["hashtag1","hashtag2"]},{"1396378291":["hashtag1","hashtag2"]},{"1396378293":["hashtag1","hashtag2"]},{"1396378287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378295, 1396378283, 1396378289, 1396378291, 1396378293, 1396378287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95534348487854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:42:22.357969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_35_9645.jpg', '/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_45_9555.jpg', '/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_56_10756.jpg', '/home/pi/Desktop/images/27112025/08/37/image_27112025_08_38_05_9604.jpg', '/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_15_9653.jpg', '/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_26_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_35_9645.jpg
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_45_9555.jpg
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_37_56_10756.jpg
/home/pi/Desktop/images/27112025/08/37/image_27112025_08_38_05_9604.jpg
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_15_9653.jpg
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_26_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378312","1396378306","1396378315","1396378309","1396378300","1396378303"],"photo_ids_order":["1396378300","1396378303","1396378306","1396378309","1396378312","1396378315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15657ad903c554f1db578a77cae717bc.jpg","text":"TemporaryFile(/tmp/multipartBody1480295441673862217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_38_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae905752a36832d360a15b99d556ec18.jpg","text":"TemporaryFile(/tmp/multipartBody5002547614730781199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_37_56_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b426389745af8a0cf31a9f807148ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7505593330545171825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_38_26_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b33fe3d6d83b1f6544ac61b242c2fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7265224900839797578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_38_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63ac2e34c4d0b3fd3bebe8a15a591156.jpg","text":"TemporaryFile(/tmp/multipartBody3527844110945147497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_37_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/130f65d63b0b40f39706337cdc065345.jpg","text":"TemporaryFile(/tmp/multipartBody6884274034602239647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229403044,"filename":"image_27112025_08_37_45_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378306","file1":"1396378303","file0":"1396378300","file4":"1396378312","file5":"1396378315","file3":"1396378309"},"map_files_photo_id_array":[{"photo_id":"1396378315","filename":"file5"},{"photo_id":"1396378306","filename":"file2"},{"photo_id":"1396378312","filename":"file4"},{"photo_id":"1396378303","filename":"file1"},{"photo_id":"1396378300","filename":"file0"},{"photo_id":"1396378309","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378312":["hashtag1","hashtag2"]},{"1396378306":["hashtag1","hashtag2"]},{"1396378315":["hashtag1","hashtag2"]},{"1396378309":["hashtag1","hashtag2"]},{"1396378300":["hashtag1","hashtag2"]},{"1396378303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378312, 1396378306, 1396378315, 1396378309, 1396378300, 1396378303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.164899587631226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:43:03.238197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_35_9611.jpg', '/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_45_9605.jpg', '/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_56_10659.jpg', '/home/pi/Desktop/images/27112025/08/38/image_27112025_08_39_05_9726.jpg', '/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_15_9650.jpg', '/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_26_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_35_9611.jpg
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_45_9605.jpg
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_38_56_10659.jpg
/home/pi/Desktop/images/27112025/08/38/image_27112025_08_39_05_9726.jpg
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_15_9650.jpg
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_26_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378382","1396378316","1396378456","1396378348","1396378417","1396378318"],"photo_ids_order":["1396378316","1396378318","1396378348","1396378382","1396378417","1396378456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e909e63e969f5e097c3d3a4bb74a2486.jpg","text":"TemporaryFile(/tmp/multipartBody5860410169558146321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_39_05_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/27/201c45e08d96d753abdd76c06fb90902.jpg","text":"TemporaryFile(/tmp/multipartBody7169977268049086967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_38_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52747460c8a49eabc98be3ee5e6783f1.jpg","text":"TemporaryFile(/tmp/multipartBody2628049252449852344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_39_26_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2eae55a984b4523c379c51829ab7b71.jpg","text":"TemporaryFile(/tmp/multipartBody895828867392279021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_38_56_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ef6e8ec6db5fe50de6ba6505e99959c.jpg","text":"TemporaryFile(/tmp/multipartBody2264265458284610109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_39_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aaa34a310a0861112fb00dae2ff7fea2.jpg","text":"TemporaryFile(/tmp/multipartBody7462930582579200279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229444024,"filename":"image_27112025_08_38_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378348","file1":"1396378318","file0":"1396378316","file4":"1396378417","file5":"1396378456","file3":"1396378382"},"map_files_photo_id_array":[{"photo_id":"1396378456","filename":"file5"},{"photo_id":"1396378348","filename":"file2"},{"photo_id":"1396378417","filename":"file4"},{"photo_id":"1396378318","filename":"file1"},{"photo_id":"1396378316","filename":"file0"},{"photo_id":"1396378382","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378382":["hashtag1","hashtag2"]},{"1396378316":["hashtag1","hashtag2"]},{"1396378456":["hashtag1","hashtag2"]},{"1396378348":["hashtag1","hashtag2"]},{"1396378417":["hashtag1","hashtag2"]},{"1396378318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378382, 1396378316, 1396378456, 1396378348, 1396378417, 1396378318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35001611709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:43:42.556263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/37/image_30102025_22_37_55_2642.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_13_3629.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_25_5775.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_43_1560.jpg', '/home/pi/Desktop/images/30102025/22/39/image_30102025_22_39_10_15882.jpg', '/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_27_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/22/37/image_30102025_22_37_55_2642.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_13_3629.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_25_5775.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_43_1560.jpg
/home/pi/Desktop/images/30102025/22/39/image_30102025_22_39_10_15882.jpg
/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_27_3645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2141246795654297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:44:03.387951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_35_9654.jpg', '/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_46_10265.jpg', '/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_55_9879.jpg', '/home/pi/Desktop/images/27112025/08/39/image_27112025_08_40_06_10084.jpg', '/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_15_9696.jpg', '/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_25_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_35_9654.jpg
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_46_10265.jpg
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_39_55_9879.jpg
/home/pi/Desktop/images/27112025/08/39/image_27112025_08_40_06_10084.jpg
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_15_9696.jpg
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_25_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378647","1396378632","1396378652","1396378642","1396378636","1396378639"],"photo_ids_order":["1396378632","1396378636","1396378639","1396378642","1396378647","1396378652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0def689bd3ee99535871e943f5b8e2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4096975575971861889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_40_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8d1653b1dcd1256b0ed87074dc694e6.jpg","text":"TemporaryFile(/tmp/multipartBody2117613186592899828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_39_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6062f8150d5cb29b7383096f371f9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6942585227350144742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_40_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00a5544129696ab6e0e7d0096655584e.jpg","text":"TemporaryFile(/tmp/multipartBody6999045771655128361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_40_06_10084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81a8b3fcd54c5c91be20fbcad1887e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5717850788511818094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_39_46_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6feeae043606d214bf35f587e6cd5c4.jpg","text":"TemporaryFile(/tmp/multipartBody866303638654053378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229505571,"filename":"image_27112025_08_39_55_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378639","file1":"1396378636","file0":"1396378632","file4":"1396378647","file5":"1396378652","file3":"1396378642"},"map_files_photo_id_array":[{"photo_id":"1396378652","filename":"file5"},{"photo_id":"1396378639","filename":"file2"},{"photo_id":"1396378647","filename":"file4"},{"photo_id":"1396378636","filename":"file1"},{"photo_id":"1396378632","filename":"file0"},{"photo_id":"1396378642","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378647":["hashtag1","hashtag2"]},{"1396378632":["hashtag1","hashtag2"]},{"1396378652":["hashtag1","hashtag2"]},{"1396378642":["hashtag1","hashtag2"]},{"1396378636":["hashtag1","hashtag2"]},{"1396378639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378647, 1396378632, 1396378652, 1396378642, 1396378636, 1396378639)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.97540259361267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:45:02.567205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_35_10531.jpg', '/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_45_9560.jpg', '/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_56_10614.jpg', '/home/pi/Desktop/images/27112025/08/40/image_27112025_08_41_05_9789.jpg', '/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_15_9614.jpg', '/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_26_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_35_10531.jpg
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_45_9560.jpg
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_40_56_10614.jpg
/home/pi/Desktop/images/27112025/08/40/image_27112025_08_41_05_9789.jpg
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_15_9614.jpg
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_26_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378668","1396378673","1396378667","1396378670","1396378664","1396378663"],"photo_ids_order":["1396378663","1396378664","1396378667","1396378668","1396378670","1396378673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6dbd1fa62ef6ec9871dd9fbae884f690.jpg","text":"TemporaryFile(/tmp/multipartBody988911776861834535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_41_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba68d53cdb195d3c00b750713edd5571.jpg","text":"TemporaryFile(/tmp/multipartBody4133999556912803004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_41_26_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9bebf1c0f42707760c2be8060404ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5386015162101685362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_40_56_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9304fed84abac622ead1174ab3c67c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7718618078583616720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_41_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/547fe8805191f738d09324c467c29d83.jpg","text":"TemporaryFile(/tmp/multipartBody8815960693741134165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_40_45_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1269ced011c9da5e16770cd57d81cc5d.jpg","text":"TemporaryFile(/tmp/multipartBody5517972948463994478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229563283,"filename":"image_27112025_08_40_35_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378667","file1":"1396378664","file0":"1396378663","file4":"1396378670","file5":"1396378673","file3":"1396378668"},"map_files_photo_id_array":[{"photo_id":"1396378673","filename":"file5"},{"photo_id":"1396378667","filename":"file2"},{"photo_id":"1396378670","filename":"file4"},{"photo_id":"1396378664","filename":"file1"},{"photo_id":"1396378663","filename":"file0"},{"photo_id":"1396378668","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378668":["hashtag1","hashtag2"]},{"1396378673":["hashtag1","hashtag2"]},{"1396378667":["hashtag1","hashtag2"]},{"1396378670":["hashtag1","hashtag2"]},{"1396378664":["hashtag1","hashtag2"]},{"1396378663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378668, 1396378673, 1396378667, 1396378670, 1396378664, 1396378663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85699152946472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:45:41.909984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/37/image_30102025_22_37_55_2642.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_13_3629.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_25_5775.jpg', '/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_43_1560.jpg', '/home/pi/Desktop/images/30102025/22/39/image_30102025_22_39_10_15882.jpg', '/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_27_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/22/37/image_30102025_22_37_55_2642.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_13_3629.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_25_5775.jpg
/home/pi/Desktop/images/30102025/22/38/image_30102025_22_38_43_1560.jpg
/home/pi/Desktop/images/30102025/22/39/image_30102025_22_39_10_15882.jpg
/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_27_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378688","1396378682","1396378690","1396378687","1396378689","1396378686"],"photo_ids_order":["1396378682","1396378686","1396378687","1396378688","1396378689","1396378690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1cb8796f258f6d8b1799a079f20843ef.jpg","text":"TemporaryFile(/tmp/multipartBody3159529871019466148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_38_43_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/27/88fd3cad5de51c8df6f51a6ef1b106b8.jpg","text":"TemporaryFile(/tmp/multipartBody4963839876715013043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_37_55_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/27/6be3cd635311201f27d2c89c8a292d56.jpg","text":"TemporaryFile(/tmp/multipartBody1363122854326372703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_41_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/27/fa0e149db59c8386c8de9e7741c22979.jpg","text":"TemporaryFile(/tmp/multipartBody3986785583831585949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_38_25_5775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3f2ed54d8d4b08fb5aabd1f1fe112ca.jpg","text":"TemporaryFile(/tmp/multipartBody2950748966885425373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_39_10_15882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/499ec3e7028ffc31d73f44be83ed22db.jpg","text":"TemporaryFile(/tmp/multipartBody9183673563223767320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229603067,"filename":"image_30102025_22_38_13_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378687","file1":"1396378686","file0":"1396378682","file4":"1396378689","file5":"1396378690","file3":"1396378688"},"map_files_photo_id_array":[{"photo_id":"1396378690","filename":"file5"},{"photo_id":"1396378687","filename":"file2"},{"photo_id":"1396378689","filename":"file4"},{"photo_id":"1396378686","filename":"file1"},{"photo_id":"1396378682","filename":"file0"},{"photo_id":"1396378688","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378688":["hashtag1","hashtag2"]},{"1396378682":["hashtag1","hashtag2"]},{"1396378690":["hashtag1","hashtag2"]},{"1396378687":["hashtag1","hashtag2"]},{"1396378689":["hashtag1","hashtag2"]},{"1396378686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378688, 1396378682, 1396378690, 1396378687, 1396378689, 1396378686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29172992706299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:46:22.171177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_35_9596.jpg', '/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_45_9629.jpg', '/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_55_10622.jpg', '/home/pi/Desktop/images/27112025/08/41/image_27112025_08_42_05_9634.jpg', '/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_16_10649.jpg', '/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_25_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_35_9596.jpg
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_45_9629.jpg
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_41_55_10622.jpg
/home/pi/Desktop/images/27112025/08/41/image_27112025_08_42_05_9634.jpg
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_16_10649.jpg
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_25_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378707","1396378701","1396378710","1396378704","1396378694","1396378698"],"photo_ids_order":["1396378694","1396378698","1396378701","1396378704","1396378707","1396378710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f72b9265818c5326b4dca184a6dba384.jpg","text":"TemporaryFile(/tmp/multipartBody3947656595619038856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_42_16_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0901ac09b3a0fbc7841e9250136b175c.jpg","text":"TemporaryFile(/tmp/multipartBody4730772442317462169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_41_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72be7a6b12c3f57c35c3dd21abf7da0e.jpg","text":"TemporaryFile(/tmp/multipartBody592657418902597189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_42_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8239554802513bcd15dd5555ced53e02.jpg","text":"TemporaryFile(/tmp/multipartBody1970431990204769711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_42_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0376c68caf5e9e1d861f8e6cef4a8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2293729160186530116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_41_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/980d92d13277fc1adbad7733b08c0ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7439550352450682673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229642865,"filename":"image_27112025_08_41_45_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378701","file1":"1396378698","file0":"1396378694","file4":"1396378707","file5":"1396378710","file3":"1396378704"},"map_files_photo_id_array":[{"photo_id":"1396378710","filename":"file5"},{"photo_id":"1396378701","filename":"file2"},{"photo_id":"1396378707","filename":"file4"},{"photo_id":"1396378698","filename":"file1"},{"photo_id":"1396378694","filename":"file0"},{"photo_id":"1396378704","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378707":["hashtag1","hashtag2"]},{"1396378701":["hashtag1","hashtag2"]},{"1396378710":["hashtag1","hashtag2"]},{"1396378704":["hashtag1","hashtag2"]},{"1396378694":["hashtag1","hashtag2"]},{"1396378698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378707, 1396378701, 1396378710, 1396378704, 1396378694, 1396378698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.151633739471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:47:03.102687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_35_9707.jpg', '/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_45_9859.jpg', '/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_56_10679.jpg', '/home/pi/Desktop/images/27112025/08/42/image_27112025_08_43_05_9652.jpg', '/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_15_9654.jpg', '/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_25_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_35_9707.jpg
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_45_9859.jpg
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_42_56_10679.jpg
/home/pi/Desktop/images/27112025/08/42/image_27112025_08_43_05_9652.jpg
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_15_9654.jpg
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_25_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378725","1396378728","1396378713","1396378716","1396378712","1396378717"],"photo_ids_order":["1396378712","1396378713","1396378716","1396378717","1396378725","1396378728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9b48e01731a84c67e5f9d0c5ad722f4.jpg","text":"TemporaryFile(/tmp/multipartBody5818099109413227523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_43_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a311a80aebf0e3b652821db086cef45.jpg","text":"TemporaryFile(/tmp/multipartBody1024768362034182894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_43_25_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab008425d89666f0f1bd3ebd3b1dd578.jpg","text":"TemporaryFile(/tmp/multipartBody1618534682768682646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_42_45_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc6c890e5b681c0b42fd4b7ef8ef6509.jpg","text":"TemporaryFile(/tmp/multipartBody6573977249824128362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_42_56_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e75e3f8d5318ba566ef8bc505323c256.jpg","text":"TemporaryFile(/tmp/multipartBody639388773799023271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_42_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8def7747a36d591b4e8874a02650318b.jpg","text":"TemporaryFile(/tmp/multipartBody1658984963800422552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229683878,"filename":"image_27112025_08_43_05_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378716","file1":"1396378713","file0":"1396378712","file4":"1396378725","file5":"1396378728","file3":"1396378717"},"map_files_photo_id_array":[{"photo_id":"1396378728","filename":"file5"},{"photo_id":"1396378716","filename":"file2"},{"photo_id":"1396378725","filename":"file4"},{"photo_id":"1396378713","filename":"file1"},{"photo_id":"1396378712","filename":"file0"},{"photo_id":"1396378717","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378725":["hashtag1","hashtag2"]},{"1396378728":["hashtag1","hashtag2"]},{"1396378713":["hashtag1","hashtag2"]},{"1396378716":["hashtag1","hashtag2"]},{"1396378712":["hashtag1","hashtag2"]},{"1396378717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378725, 1396378728, 1396378713, 1396378716, 1396378712, 1396378717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28760886192322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:47:42.438499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/41/image_30102025_22_41_33_2613.jpg', '/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_45_2667.jpg', '/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_04_4072.jpg', '/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_34_2197.jpg', '/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_47_3659.jpg', '/home/pi/Desktop/images/30102025/22/48/image_30102025_22_48_42_10184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_33_2613.jpg
/home/pi/Desktop/images/30102025/22/41/image_30102025_22_41_45_2667.jpg
/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_04_4072.jpg
/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_34_2197.jpg
/home/pi/Desktop/images/30102025/22/47/image_30102025_22_47_47_3659.jpg
/home/pi/Desktop/images/30102025/22/48/image_30102025_22_48_42_10184.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378748","1396378742","1396378739","1396378747","1396378744","1396378743"],"photo_ids_order":["1396378739","1396378742","1396378743","1396378744","1396378747","1396378748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6d684ea206b1988bfdea5c5919f4ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1413572718621366705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_48_42_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/27/e148bc0ea1db207ae94a0f168da7726a.jpg","text":"TemporaryFile(/tmp/multipartBody8439447920844670006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_41_45_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/27/3d8858b46c76b9eaae24e7401abc7c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1593032040184656644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_41_33_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/27/c23a4f604901e271610f391898f0512b.jpg","text":"TemporaryFile(/tmp/multipartBody7270317655025252512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_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/27/13e98aae7659ac135c71967a8ad8715d.jpg","text":"TemporaryFile(/tmp/multipartBody4099336921407052383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_47_34_2197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccb72d2f2240d7d04a0a0c9ec3305517.jpg","text":"TemporaryFile(/tmp/multipartBody7346736905061250883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229723785,"filename":"image_30102025_22_47_04_4072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378743","file1":"1396378742","file0":"1396378739","file4":"1396378747","file5":"1396378748","file3":"1396378744"},"map_files_photo_id_array":[{"photo_id":"1396378748","filename":"file5"},{"photo_id":"1396378743","filename":"file2"},{"photo_id":"1396378747","filename":"file4"},{"photo_id":"1396378742","filename":"file1"},{"photo_id":"1396378739","filename":"file0"},{"photo_id":"1396378744","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378748":["hashtag1","hashtag2"]},{"1396378742":["hashtag1","hashtag2"]},{"1396378739":["hashtag1","hashtag2"]},{"1396378747":["hashtag1","hashtag2"]},{"1396378744":["hashtag1","hashtag2"]},{"1396378743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378748, 1396378742, 1396378739, 1396378747, 1396378744, 1396378743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.559282064437866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:48:22.670427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_36_10634.jpg', '/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_45_9702.jpg', '/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_55_9722.jpg', '/home/pi/Desktop/images/27112025/08/43/image_27112025_08_44_06_10708.jpg', '/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_16_9943.jpg', '/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_25_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_36_10634.jpg
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_45_9702.jpg
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_43_55_9722.jpg
/home/pi/Desktop/images/27112025/08/43/image_27112025_08_44_06_10708.jpg
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_16_9943.jpg
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_25_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378766","1396378769","1396378760","1396378763","1396378757","1396378753"],"photo_ids_order":["1396378753","1396378757","1396378760","1396378763","1396378766","1396378769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/384c0169d0a3192c7a75069e51d564d8.jpg","text":"TemporaryFile(/tmp/multipartBody3405261499096741862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_44_16_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fda0d7ade21f1fbb0b94bf8ce2a2ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5940687573890441544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_44_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af2ff5347a706f8f6a0871755fe6959b.jpg","text":"TemporaryFile(/tmp/multipartBody2223649861496544726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_43_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5a677d9b5a80da01e48c3a831141f27.jpg","text":"TemporaryFile(/tmp/multipartBody1956949173708825838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_44_06_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ff240d6e7ae94dbaf15ec5b4c8f76b8.jpg","text":"TemporaryFile(/tmp/multipartBody4615575749019791013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_43_45_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe9424936aa90399d4630b97a4e6da2d.jpg","text":"TemporaryFile(/tmp/multipartBody7333541604508897406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229763405,"filename":"image_27112025_08_43_36_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378760","file1":"1396378757","file0":"1396378753","file4":"1396378766","file5":"1396378769","file3":"1396378763"},"map_files_photo_id_array":[{"photo_id":"1396378769","filename":"file5"},{"photo_id":"1396378760","filename":"file2"},{"photo_id":"1396378766","filename":"file4"},{"photo_id":"1396378757","filename":"file1"},{"photo_id":"1396378753","filename":"file0"},{"photo_id":"1396378763","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378766":["hashtag1","hashtag2"]},{"1396378769":["hashtag1","hashtag2"]},{"1396378760":["hashtag1","hashtag2"]},{"1396378763":["hashtag1","hashtag2"]},{"1396378757":["hashtag1","hashtag2"]},{"1396378753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378766, 1396378769, 1396378760, 1396378763, 1396378757, 1396378753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4692268371582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:49:03.621440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_35_9693.jpg', '/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_46_10638.jpg', '/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_55_9736.jpg', '/home/pi/Desktop/images/27112025/08/44/image_27112025_08_45_05_9773.jpg', '/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_16_10541.jpg', '/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_25_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_35_9693.jpg
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_46_10638.jpg
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_44_55_9736.jpg
/home/pi/Desktop/images/27112025/08/44/image_27112025_08_45_05_9773.jpg
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_16_10541.jpg
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_25_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378800","1396378796","1396378781","1396378783","1396378788","1396378785"],"photo_ids_order":["1396378781","1396378783","1396378785","1396378788","1396378796","1396378800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a563c3faf5287b9fe0307564f2c82871.jpg","text":"TemporaryFile(/tmp/multipartBody8226165943430973546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_45_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8fbfc6d2b0d046d94ae6f90ee5db236.jpg","text":"TemporaryFile(/tmp/multipartBody8143806876377081078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_45_16_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bf5a4ed348b15da11f79aa3a3c6bc33.jpg","text":"TemporaryFile(/tmp/multipartBody1107006694894668852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_44_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1aea9db183f275603ff7335961034e92.jpg","text":"TemporaryFile(/tmp/multipartBody7168668698942598453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_44_46_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8942f41ca394416c7f3572fe5d38b02c.jpg","text":"TemporaryFile(/tmp/multipartBody7778544909314104798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_45_05_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4afbdb3c57be45a87c580e34c31b84ab.jpg","text":"TemporaryFile(/tmp/multipartBody4586889700773087357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229804625,"filename":"image_27112025_08_44_55_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378785","file1":"1396378783","file0":"1396378781","file4":"1396378796","file5":"1396378800","file3":"1396378788"},"map_files_photo_id_array":[{"photo_id":"1396378800","filename":"file5"},{"photo_id":"1396378785","filename":"file2"},{"photo_id":"1396378796","filename":"file4"},{"photo_id":"1396378783","filename":"file1"},{"photo_id":"1396378781","filename":"file0"},{"photo_id":"1396378788","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396378800":["hashtag1","hashtag2"]},{"1396378796":["hashtag1","hashtag2"]},{"1396378781":["hashtag1","hashtag2"]},{"1396378783":["hashtag1","hashtag2"]},{"1396378788":["hashtag1","hashtag2"]},{"1396378785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396378800, 1396378796, 1396378781, 1396378783, 1396378788, 1396378785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.123197078704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:49:42.840003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/48/image_30102025_22_48_45_2642.jpg', '/home/pi/Desktop/images/30102025/22/49/image_30102025_22_49_13_2627.jpg', '/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_18_2649.jpg', '/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_21_3695.jpg', '/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_45_3540.jpg', '/home/pi/Desktop/images/30102025/22/51/image_30102025_22_51_45_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/48/image_30102025_22_48_45_2642.jpg
/home/pi/Desktop/images/30102025/22/49/image_30102025_22_49_13_2627.jpg
/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_18_2649.jpg
/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_21_3695.jpg
/home/pi/Desktop/images/30102025/22/50/image_30102025_22_50_45_3540.jpg
/home/pi/Desktop/images/30102025/22/51/image_30102025_22_51_45_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396378932","1396378926","1396378967","1396378925","1396378927","1396378906"],"photo_ids_order":["1396378906","1396378925","1396378926","1396378927","1396378932","1396378967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ecb9df8342df7fd53181a56285831511.jpg","text":"TemporaryFile(/tmp/multipartBody2092985327261569153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_50_45_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/27/5ff672543c4aaa3318a2a9ec5ec83eac.jpg","text":"TemporaryFile(/tmp/multipartBody6762213718134171680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_50_18_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/27/ef4b54aeb2a0619b88b3f8c4317f3d96.jpg","text":"TemporaryFile(/tmp/multipartBody409361280319252642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_51_45_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/27/765aa12d572b07bde803407df398234e.jpg","text":"TemporaryFile(/tmp/multipartBody8499779582768215375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_49_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/27/44750aa146293367bd098afd249d87e2.jpg","text":"TemporaryFile(/tmp/multipartBody3899861838701419799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_50_21_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/27/981952cfdc2a7382146c8b4d2d7060d6.jpg","text":"TemporaryFile(/tmp/multipartBody5236495470820142786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229844185,"filename":"image_30102025_22_48_45_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396378926","file1":"1396378925","file0":"1396378906","file4":"1396378932","file5":"1396378967","file3":"1396378927"},"map_files_photo_id_array":[{"photo_id":"1396378967","filename":"file5"},{"photo_id":"1396378926","filename":"file2"},{"photo_id":"1396378932","filename":"file4"},{"photo_id":"1396378925","filename":"file1"},{"photo_id":"1396378906","filename":"file0"},{"photo_id":"1396378927","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396378932":["hashtag1","hashtag2"]},{"1396378926":["hashtag1","hashtag2"]},{"1396378967":["hashtag1","hashtag2"]},{"1396378925":["hashtag1","hashtag2"]},{"1396378927":["hashtag1","hashtag2"]},{"1396378906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396378932, 1396378926, 1396378967, 1396378925, 1396378927, 1396378906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02595853805542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:50:22.024027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_35_9758.jpg', '/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_45_9717.jpg', '/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_56_10638.jpg', '/home/pi/Desktop/images/27112025/08/45/image_27112025_08_46_05_9752.jpg', '/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_15_9644.jpg', '/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_26_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_35_9758.jpg
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_45_9717.jpg
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_45_56_10638.jpg
/home/pi/Desktop/images/27112025/08/45/image_27112025_08_46_05_9752.jpg
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_15_9644.jpg
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_26_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379211","1396379048","1396379131","1396379011","1396379091","1396379169"],"photo_ids_order":["1396379011","1396379048","1396379091","1396379131","1396379169","1396379211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc77966fa2e3d471ef80dbd29d01db68.jpg","text":"TemporaryFile(/tmp/multipartBody3802693757443264991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_46_26_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ee52a1aee92eac5cb08af1f74b8b354.jpg","text":"TemporaryFile(/tmp/multipartBody3806489725746235218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_45_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6d01db11fa69663bcb187d417a948c9.jpg","text":"TemporaryFile(/tmp/multipartBody5543175714087604606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_46_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f584dc8dffffab4d0ebe16925c76fb99.jpg","text":"TemporaryFile(/tmp/multipartBody1864223869615581031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_45_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/427aac7955507c0a089726b59a8b4302.jpg","text":"TemporaryFile(/tmp/multipartBody6466314807717517326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_45_56_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f84ab881b1e9ce2e4923ee63e715764.jpg","text":"TemporaryFile(/tmp/multipartBody8381253076136637416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229882727,"filename":"image_27112025_08_46_15_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379091","file1":"1396379048","file0":"1396379011","file4":"1396379169","file5":"1396379211","file3":"1396379131"},"map_files_photo_id_array":[{"photo_id":"1396379211","filename":"file5"},{"photo_id":"1396379091","filename":"file2"},{"photo_id":"1396379169","filename":"file4"},{"photo_id":"1396379048","filename":"file1"},{"photo_id":"1396379011","filename":"file0"},{"photo_id":"1396379131","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379211":["hashtag1","hashtag2"]},{"1396379048":["hashtag1","hashtag2"]},{"1396379131":["hashtag1","hashtag2"]},{"1396379011":["hashtag1","hashtag2"]},{"1396379091":["hashtag1","hashtag2"]},{"1396379169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379211, 1396379048, 1396379131, 1396379011, 1396379091, 1396379169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.313671350479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:51:02.959808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_35_9666.jpg', '/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_45_9670.jpg', '/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_56_10697.jpg', '/home/pi/Desktop/images/27112025/08/46/image_27112025_08_47_05_9629.jpg', '/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_15_9766.jpg', '/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_35_9666.jpg
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_45_9670.jpg
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_46_56_10697.jpg
/home/pi/Desktop/images/27112025/08/46/image_27112025_08_47_05_9629.jpg
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_15_9766.jpg
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379293","1396379296","1396379311","1396379298","1396379286","1396379301"],"photo_ids_order":["1396379286","1396379293","1396379296","1396379298","1396379301","1396379311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/736ab9352ceeb0e7cdf58f2395e3452d.jpg","text":"TemporaryFile(/tmp/multipartBody3290672023175488787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_46_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/024b00a10006f01041e04562fea0d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3933584506543340157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_46_56_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb61f2cbf2338300a5c341881c44f4af.jpg","text":"TemporaryFile(/tmp/multipartBody2311650174975094112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_47_26_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d10b0febe939938b9830f75e37b2c0f8.jpg","text":"TemporaryFile(/tmp/multipartBody199759367502182204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_47_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/386495d31857ddae82b529083b76d78e.jpg","text":"TemporaryFile(/tmp/multipartBody1533405789828985872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_46_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d67105850fd1c74323f0fe03bd83094c.jpg","text":"TemporaryFile(/tmp/multipartBody2566933488104646682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229923764,"filename":"image_27112025_08_47_15_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379296","file1":"1396379293","file0":"1396379286","file4":"1396379301","file5":"1396379311","file3":"1396379298"},"map_files_photo_id_array":[{"photo_id":"1396379311","filename":"file5"},{"photo_id":"1396379296","filename":"file2"},{"photo_id":"1396379301","filename":"file4"},{"photo_id":"1396379293","filename":"file1"},{"photo_id":"1396379286","filename":"file0"},{"photo_id":"1396379298","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379293":["hashtag1","hashtag2"]},{"1396379296":["hashtag1","hashtag2"]},{"1396379311":["hashtag1","hashtag2"]},{"1396379298":["hashtag1","hashtag2"]},{"1396379286":["hashtag1","hashtag2"]},{"1396379301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379293, 1396379296, 1396379311, 1396379298, 1396379286, 1396379301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.424062728881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:51:42.179250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/55/image_30102025_22_55_16_1702.jpg', '/home/pi/Desktop/images/30102025/22/55/image_30102025_22_55_22_1727.jpg', '/home/pi/Desktop/images/30102025/22/55/image_30102025_22_55_34_2698.jpg', '/home/pi/Desktop/images/30102025/22/56/image_30102025_22_56_34_2724.jpg', '/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_11_1888.jpg', '/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_28_5140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/55/image_30102025_22_55_16_1702.jpg
/home/pi/Desktop/images/30102025/22/55/image_30102025_22_55_22_1727.jpg
/home/pi/Desktop/images/30102025/22/55/image_30102025_22_55_34_2698.jpg
/home/pi/Desktop/images/30102025/22/56/image_30102025_22_56_34_2724.jpg
/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_11_1888.jpg
/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_28_5140.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379330","1396379333","1396379329","1396379332","1396379326","1396379331"],"photo_ids_order":["1396379326","1396379329","1396379330","1396379331","1396379332","1396379333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f9ce2d8b19dee745b733aa61f7a2a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1772531908966331484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_55_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/27/fd002b525d9ff09cf8835166e2890525.jpg","text":"TemporaryFile(/tmp/multipartBody6318807032928561405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_57_28_5140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a6a48f8b34ac3e7be4cbb9b73492cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6060032499821451074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_55_22_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/27/b1d4b73e95ad8a021fdfefdf28949bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2232793793547780829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_57_11_1888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28be0110560b06be9dfe150bed619c84.jpg","text":"TemporaryFile(/tmp/multipartBody5306123354815768374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_55_16_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/27/c0d36c97fa4d3c68f23705e6db140783.jpg","text":"TemporaryFile(/tmp/multipartBody743236736179153663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764229963497,"filename":"image_30102025_22_56_34_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379330","file1":"1396379329","file0":"1396379326","file4":"1396379332","file5":"1396379333","file3":"1396379331"},"map_files_photo_id_array":[{"photo_id":"1396379333","filename":"file5"},{"photo_id":"1396379330","filename":"file2"},{"photo_id":"1396379332","filename":"file4"},{"photo_id":"1396379329","filename":"file1"},{"photo_id":"1396379326","filename":"file0"},{"photo_id":"1396379331","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396379330":["hashtag1","hashtag2"]},{"1396379333":["hashtag1","hashtag2"]},{"1396379329":["hashtag1","hashtag2"]},{"1396379332":["hashtag1","hashtag2"]},{"1396379326":["hashtag1","hashtag2"]},{"1396379331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396379330, 1396379333, 1396379329, 1396379332, 1396379326, 1396379331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79561257362366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:52:22.459750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_36_9831.jpg', '/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_45_9768.jpg', '/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_55_9605.jpg', '/home/pi/Desktop/images/27112025/08/47/image_27112025_08_48_06_10617.jpg', '/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_15_9603.jpg', '/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_26_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_36_9831.jpg
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_45_9768.jpg
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_47_55_9605.jpg
/home/pi/Desktop/images/27112025/08/47/image_27112025_08_48_06_10617.jpg
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_15_9603.jpg
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_26_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379363","1396379339","1396379348","1396379336","1396379358","1396379355"],"photo_ids_order":["1396379336","1396379339","1396379348","1396379355","1396379358","1396379363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65e62989f42564a2144f14a7cae3ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody5315434649908272924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_48_26_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6212abb5793d2b11814fa0308469f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6695258846870381238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_47_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c5a9c84f0249d2b41e47a8e0be9d086.jpg","text":"TemporaryFile(/tmp/multipartBody7509651578725325113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_47_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/473277572c11f806d200eed1c4379b44.jpg","text":"TemporaryFile(/tmp/multipartBody2696116592316227461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_47_36_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8e5042f48f4dc3261e8480287983eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4186199072256781384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_48_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a955b0d205f1650599606c7db6f2b19.jpg","text":"TemporaryFile(/tmp/multipartBody1686974465258673801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230003179,"filename":"image_27112025_08_48_06_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379348","file1":"1396379339","file0":"1396379336","file4":"1396379358","file5":"1396379363","file3":"1396379355"},"map_files_photo_id_array":[{"photo_id":"1396379363","filename":"file5"},{"photo_id":"1396379348","filename":"file2"},{"photo_id":"1396379358","filename":"file4"},{"photo_id":"1396379339","filename":"file1"},{"photo_id":"1396379336","filename":"file0"},{"photo_id":"1396379355","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379363":["hashtag1","hashtag2"]},{"1396379339":["hashtag1","hashtag2"]},{"1396379348":["hashtag1","hashtag2"]},{"1396379336":["hashtag1","hashtag2"]},{"1396379358":["hashtag1","hashtag2"]},{"1396379355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379363, 1396379339, 1396379348, 1396379336, 1396379358, 1396379355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93681573867798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:53:03.128731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_36_9785.jpg', '/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_46_9885.jpg', '/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_55_9691.jpg', '/home/pi/Desktop/images/27112025/08/48/image_27112025_08_49_05_9661.jpg', '/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_15_10571.jpg', '/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_25_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_36_9785.jpg
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_46_9885.jpg
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_48_55_9691.jpg
/home/pi/Desktop/images/27112025/08/48/image_27112025_08_49_05_9661.jpg
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_15_10571.jpg
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_25_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379369","1396379371","1396379374","1396379376","1396379379","1396379373"],"photo_ids_order":["1396379369","1396379371","1396379373","1396379374","1396379376","1396379379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80684c797fb3048bf5b18f964e0aba76.jpg","text":"TemporaryFile(/tmp/multipartBody1124710641629910402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_48_36_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/887b597274fd1e542d776c376212f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7416830127523463152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_48_46_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04c9f31b417a32d2c4ed93fe1b4e79a8.jpg","text":"TemporaryFile(/tmp/multipartBody2920946672889340448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_49_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc36f28f1e050664ab23ff59518bb28f.jpg","text":"TemporaryFile(/tmp/multipartBody2427435869842305193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_49_15_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d87f07ae58204f5c526f4141f236e7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1101058633125483997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_49_25_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cdf8fb33d21233a03677e59a78c661f5.jpg","text":"TemporaryFile(/tmp/multipartBody5942017796752468082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230043985,"filename":"image_27112025_08_48_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379373","file1":"1396379371","file0":"1396379369","file4":"1396379376","file5":"1396379379","file3":"1396379374"},"map_files_photo_id_array":[{"photo_id":"1396379379","filename":"file5"},{"photo_id":"1396379373","filename":"file2"},{"photo_id":"1396379376","filename":"file4"},{"photo_id":"1396379371","filename":"file1"},{"photo_id":"1396379369","filename":"file0"},{"photo_id":"1396379374","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379369":["hashtag1","hashtag2"]},{"1396379371":["hashtag1","hashtag2"]},{"1396379374":["hashtag1","hashtag2"]},{"1396379376":["hashtag1","hashtag2"]},{"1396379379":["hashtag1","hashtag2"]},{"1396379373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379369, 1396379371, 1396379374, 1396379376, 1396379379, 1396379373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66554093360901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:53:42.673657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/57/image_30102025_22_57_40_2658.jpg', '/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_43_2775.jpg', '/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_54_1631.jpg', '/home/pi/Desktop/images/30102025/22/58/image_30102025_22_58_37_2633.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_04_2704.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_11_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/22/57/image_30102025_22_57_40_2658.jpg
/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_43_2775.jpg
/home/pi/Desktop/images/30102025/22/57/image_30102025_22_57_54_1631.jpg
/home/pi/Desktop/images/30102025/22/58/image_30102025_22_58_37_2633.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_04_2704.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_11_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379403","1396379405","1396379401","1396379410","1396379407","1396379388"],"photo_ids_order":["1396379388","1396379401","1396379403","1396379405","1396379407","1396379410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15d9e8d2d04c84c94fed90866698e555.jpg","text":"TemporaryFile(/tmp/multipartBody1192396336351278206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_57_54_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/27/a9dbc6f527cfdff630988c7478c41999.jpg","text":"TemporaryFile(/tmp/multipartBody3238061332771148687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_58_37_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/27/77aa5456f9a4ad789c01b7bf5c06ad84.jpg","text":"TemporaryFile(/tmp/multipartBody6600194752066944827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_57_43_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/27/2de3deb51afa675ba2c575bc2ae18a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3247297993186017154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_59_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/27/389f569aaf83589405481052c1ce9908.jpg","text":"TemporaryFile(/tmp/multipartBody2075779201508919230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_59_04_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/27/5eaf86d3611316b5b8611e42a2bab83d.jpg","text":"TemporaryFile(/tmp/multipartBody3087224793613147402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230084051,"filename":"image_30102025_22_57_40_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379403","file1":"1396379401","file0":"1396379388","file4":"1396379407","file5":"1396379410","file3":"1396379405"},"map_files_photo_id_array":[{"photo_id":"1396379410","filename":"file5"},{"photo_id":"1396379403","filename":"file2"},{"photo_id":"1396379407","filename":"file4"},{"photo_id":"1396379401","filename":"file1"},{"photo_id":"1396379388","filename":"file0"},{"photo_id":"1396379405","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396379403":["hashtag1","hashtag2"]},{"1396379405":["hashtag1","hashtag2"]},{"1396379401":["hashtag1","hashtag2"]},{"1396379410":["hashtag1","hashtag2"]},{"1396379407":["hashtag1","hashtag2"]},{"1396379388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396379403, 1396379405, 1396379401, 1396379410, 1396379407, 1396379388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72477579116821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:54:21.879197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_35_9682.jpg', '/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_46_10643.jpg', '/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_55_9671.jpg', '/home/pi/Desktop/images/27112025/08/49/image_27112025_08_50_05_9633.jpg', '/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_16_10732.jpg', '/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_35_9682.jpg
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_46_10643.jpg
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_49_55_9671.jpg
/home/pi/Desktop/images/27112025/08/49/image_27112025_08_50_05_9633.jpg
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_16_10732.jpg
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_25_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379424","1396379438","1396379429","1396379420","1396379434","1396379436"],"photo_ids_order":["1396379420","1396379424","1396379429","1396379434","1396379436","1396379438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0a22a0b1abd4a91cf1b4e42ac4fa120.jpg","text":"TemporaryFile(/tmp/multipartBody5263895939405219323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_49_46_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0d62aedd42a011aa8be4a8609b82132.jpg","text":"TemporaryFile(/tmp/multipartBody7055220443419897141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_50_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19b1d380d3edf76b10f5aa1c0dff7a70.jpg","text":"TemporaryFile(/tmp/multipartBody1763823441714279478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_49_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d945e6b9ffccc0dd883e964788146d6e.jpg","text":"TemporaryFile(/tmp/multipartBody9217480020823326570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_49_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6cb8a539e8f1c1608ece56a3e5d2b34d.jpg","text":"TemporaryFile(/tmp/multipartBody8413205974157407870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_50_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2ab736705d83f2fdeed092ab5acd314.jpg","text":"TemporaryFile(/tmp/multipartBody4970872556037064787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230122604,"filename":"image_27112025_08_50_16_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379429","file1":"1396379424","file0":"1396379420","file4":"1396379436","file5":"1396379438","file3":"1396379434"},"map_files_photo_id_array":[{"photo_id":"1396379438","filename":"file5"},{"photo_id":"1396379429","filename":"file2"},{"photo_id":"1396379436","filename":"file4"},{"photo_id":"1396379424","filename":"file1"},{"photo_id":"1396379420","filename":"file0"},{"photo_id":"1396379434","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379424":["hashtag1","hashtag2"]},{"1396379438":["hashtag1","hashtag2"]},{"1396379429":["hashtag1","hashtag2"]},{"1396379420":["hashtag1","hashtag2"]},{"1396379434":["hashtag1","hashtag2"]},{"1396379436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379424, 1396379438, 1396379429, 1396379420, 1396379434, 1396379436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.324034452438354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:55:02.696534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_35_9596.jpg', '/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_46_10554.jpg', '/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_55_9746.jpg', '/home/pi/Desktop/images/27112025/08/50/image_27112025_08_51_05_9653.jpg', '/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_16_10692.jpg', '/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_25_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_35_9596.jpg
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_46_10554.jpg
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_50_55_9746.jpg
/home/pi/Desktop/images/27112025/08/50/image_27112025_08_51_05_9653.jpg
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_16_10692.jpg
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_25_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379601","1396379564","1396379525","1396379488","1396379647","1396379688"],"photo_ids_order":["1396379488","1396379525","1396379564","1396379601","1396379647","1396379688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77141ee1fee3fefcc458242bcbc9c0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6068826424430669779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_51_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3b746ebdaa219d8e2a9564eb90fe184.jpg","text":"TemporaryFile(/tmp/multipartBody3112033296686162105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_50_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2286ba305fb163df0d7bf35f41f6394c.jpg","text":"TemporaryFile(/tmp/multipartBody8140275134793988130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_50_46_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5d33a4bc13e4255bb37011fc97d9381.jpg","text":"TemporaryFile(/tmp/multipartBody1466226605637713255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_50_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec225f93dabea17de9eea791cbcf6902.jpg","text":"TemporaryFile(/tmp/multipartBody6962338250957645118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_51_16_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/267d898453e8703c3c232420e9a9a6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1004747545778659633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230163495,"filename":"image_27112025_08_51_25_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379564","file1":"1396379525","file0":"1396379488","file4":"1396379647","file5":"1396379688","file3":"1396379601"},"map_files_photo_id_array":[{"photo_id":"1396379688","filename":"file5"},{"photo_id":"1396379564","filename":"file2"},{"photo_id":"1396379647","filename":"file4"},{"photo_id":"1396379525","filename":"file1"},{"photo_id":"1396379488","filename":"file0"},{"photo_id":"1396379601","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379601":["hashtag1","hashtag2"]},{"1396379564":["hashtag1","hashtag2"]},{"1396379525":["hashtag1","hashtag2"]},{"1396379488":["hashtag1","hashtag2"]},{"1396379647":["hashtag1","hashtag2"]},{"1396379688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379601, 1396379564, 1396379525, 1396379488, 1396379647, 1396379688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.421228885650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:55:42.027358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/59/image_30102025_22_59_34_2660.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_40_2606.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_47_3650.jpg', '/home/pi/Desktop/images/30102025/23/01/image_30102025_23_01_29_1729.jpg', '/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_23_1723.jpg', '/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_59_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_34_2660.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_40_2606.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_47_3650.jpg
/home/pi/Desktop/images/30102025/23/01/image_30102025_23_01_29_1729.jpg
/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_23_1723.jpg
/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_59_3570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2549993991851807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:56:02.658027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_35_9821.jpg', '/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_46_10556.jpg', '/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_55_9575.jpg', '/home/pi/Desktop/images/27112025/08/51/image_27112025_08_52_05_9674.jpg', '/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_16_10749.jpg', '/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_25_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_35_9821.jpg
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_46_10556.jpg
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_51_55_9575.jpg
/home/pi/Desktop/images/27112025/08/51/image_27112025_08_52_05_9674.jpg
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_16_10749.jpg
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_25_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379765","1396379762","1396379770","1396379767","1396379784","1396379781"],"photo_ids_order":["1396379762","1396379765","1396379767","1396379770","1396379781","1396379784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d9f875a3c0222788960bc76753fde2b.jpg","text":"TemporaryFile(/tmp/multipartBody3396006714598341942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_51_46_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2052736eb7a2a425f0ef218c764504cb.jpg","text":"TemporaryFile(/tmp/multipartBody8518547217512885156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_51_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad6c1a7bf0634435bfc5465d24c9a19a.jpg","text":"TemporaryFile(/tmp/multipartBody9178978970797285644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_52_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd47cd87a4b4cda70e1a30f9e7e62433.jpg","text":"TemporaryFile(/tmp/multipartBody1976825933148566094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_51_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84b99b73b9ebfc94ed65e31702afa12c.jpg","text":"TemporaryFile(/tmp/multipartBody1165253251906375535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_52_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f73e3df52fe0876c2d9d2a9383c9eb0.jpg","text":"TemporaryFile(/tmp/multipartBody8938480621804829986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230223411,"filename":"image_27112025_08_52_16_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379767","file1":"1396379765","file0":"1396379762","file4":"1396379781","file5":"1396379784","file3":"1396379770"},"map_files_photo_id_array":[{"photo_id":"1396379784","filename":"file5"},{"photo_id":"1396379767","filename":"file2"},{"photo_id":"1396379781","filename":"file4"},{"photo_id":"1396379765","filename":"file1"},{"photo_id":"1396379762","filename":"file0"},{"photo_id":"1396379770","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379765":["hashtag1","hashtag2"]},{"1396379762":["hashtag1","hashtag2"]},{"1396379770":["hashtag1","hashtag2"]},{"1396379767":["hashtag1","hashtag2"]},{"1396379784":["hashtag1","hashtag2"]},{"1396379781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379765, 1396379762, 1396379770, 1396379767, 1396379784, 1396379781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.401546239852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 08:56:42.203383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/22/59/image_30102025_22_59_34_2660.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_40_2606.jpg', '/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_47_3650.jpg', '/home/pi/Desktop/images/30102025/23/01/image_30102025_23_01_29_1729.jpg', '/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_23_1723.jpg', '/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_59_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_34_2660.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_40_2606.jpg
/home/pi/Desktop/images/30102025/22/59/image_30102025_22_59_47_3650.jpg
/home/pi/Desktop/images/30102025/23/01/image_30102025_23_01_29_1729.jpg
/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_23_1723.jpg
/home/pi/Desktop/images/30102025/23/04/image_30102025_23_04_59_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379822","1396379825","1396379824","1396379821","1396379815","1396379823"],"photo_ids_order":["1396379815","1396379821","1396379822","1396379823","1396379824","1396379825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d1d1025a9154766c6accb5edd3c1afd.jpg","text":"TemporaryFile(/tmp/multipartBody8224038816338205152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_22_59_47_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/27/6cc17e8a8c6904a5c30fda2788095dec.jpg","text":"TemporaryFile(/tmp/multipartBody6835065166117088551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_23_04_59_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/27/94d49b2b8ccaf21ca83e523829f6a11a.jpg","text":"TemporaryFile(/tmp/multipartBody1635834310661518053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_23_04_23_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/27/dd466b20100edc341751ac7773c7dc83.jpg","text":"TemporaryFile(/tmp/multipartBody8793197687567383348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_22_59_40_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/27/80f951e48a39b8558ef9985503e50bff.jpg","text":"TemporaryFile(/tmp/multipartBody8459685848696477425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_22_59_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/27/cbf2bb9e5a07060e46254b0c7f3c480e.jpg","text":"TemporaryFile(/tmp/multipartBody5110693061054781592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230263422,"filename":"image_30102025_23_01_29_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379822","file1":"1396379821","file0":"1396379815","file4":"1396379824","file5":"1396379825","file3":"1396379823"},"map_files_photo_id_array":[{"photo_id":"1396379825","filename":"file5"},{"photo_id":"1396379822","filename":"file2"},{"photo_id":"1396379824","filename":"file4"},{"photo_id":"1396379821","filename":"file1"},{"photo_id":"1396379815","filename":"file0"},{"photo_id":"1396379823","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396379822":["hashtag1","hashtag2"]},{"1396379825":["hashtag1","hashtag2"]},{"1396379824":["hashtag1","hashtag2"]},{"1396379821":["hashtag1","hashtag2"]},{"1396379815":["hashtag1","hashtag2"]},{"1396379823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396379822, 1396379825, 1396379824, 1396379821, 1396379815, 1396379823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.817787647247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 08:57:22.371782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_35_9724.jpg', '/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_45_9817.jpg', '/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_56_10643.jpg', '/home/pi/Desktop/images/27112025/08/52/image_27112025_08_53_05_9808.jpg', '/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_15_9647.jpg', '/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_26_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_35_9724.jpg
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_45_9817.jpg
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_52_56_10643.jpg
/home/pi/Desktop/images/27112025/08/52/image_27112025_08_53_05_9808.jpg
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_15_9647.jpg
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_26_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396379907","1396379971","1396379903","1396379911","1396379979","1396379949"],"photo_ids_order":["1396379903","1396379907","1396379911","1396379949","1396379971","1396379979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/757a0ca1a10cc21713b3d1412aefb210.jpg","text":"TemporaryFile(/tmp/multipartBody1013562335498891293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_52_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cc49dd03813cefd4eafcfc2ac98ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody3217261817311167918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_53_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c00f39270e3ecb6637cefccd25b7c1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4888866155534144150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_52_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ce628066a9064308ffdb1dfafeac129.jpg","text":"TemporaryFile(/tmp/multipartBody4551879533084667025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_52_56_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48bb3096341f6f072206e529dc1e8e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5764711573660633677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_53_26_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71cb2af965a8bc5537626272911bb3fb.jpg","text":"TemporaryFile(/tmp/multipartBody6420803234370190277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230303142,"filename":"image_27112025_08_53_05_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396379911","file1":"1396379907","file0":"1396379903","file4":"1396379971","file5":"1396379979","file3":"1396379949"},"map_files_photo_id_array":[{"photo_id":"1396379979","filename":"file5"},{"photo_id":"1396379911","filename":"file2"},{"photo_id":"1396379971","filename":"file4"},{"photo_id":"1396379907","filename":"file1"},{"photo_id":"1396379903","filename":"file0"},{"photo_id":"1396379949","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396379907":["hashtag1","hashtag2"]},{"1396379971":["hashtag1","hashtag2"]},{"1396379903":["hashtag1","hashtag2"]},{"1396379911":["hashtag1","hashtag2"]},{"1396379979":["hashtag1","hashtag2"]},{"1396379949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396379907, 1396379971, 1396379903, 1396379911, 1396379979, 1396379949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94387435913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 08:59:03.621588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_36_9937.jpg', '/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_45_9765.jpg', '/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_55_9670.jpg', '/home/pi/Desktop/images/27112025/08/53/image_27112025_08_54_06_10590.jpg', '/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_15_9612.jpg', '/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_25_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_36_9937.jpg
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_45_9765.jpg
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_53_55_9670.jpg
/home/pi/Desktop/images/27112025/08/53/image_27112025_08_54_06_10590.jpg
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_15_9612.jpg
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_25_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380024","1396380027","1396380012","1396380020","1396380031","1396380016"],"photo_ids_order":["1396380012","1396380016","1396380020","1396380024","1396380027","1396380031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b325169b56e343c59c6cfcccecddf04.jpg","text":"TemporaryFile(/tmp/multipartBody6797443654923689158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_54_06_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/647ae3386b6848185e1e4d3c1cd7ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody5454593065182996825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_54_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f44360b081d71c6635bac39da13f8207.jpg","text":"TemporaryFile(/tmp/multipartBody4112097608671740714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_53_36_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/885d08db15a1c375688fc4b62564f28d.jpg","text":"TemporaryFile(/tmp/multipartBody5285815020543075314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_53_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d72734e1b233147c1b1f65e2fdd03b71.jpg","text":"TemporaryFile(/tmp/multipartBody8919680273048873918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_54_25_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c0b86b3c5c2e2ad17e911990424f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2711402967546939441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230404494,"filename":"image_27112025_08_53_45_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380020","file1":"1396380016","file0":"1396380012","file4":"1396380027","file5":"1396380031","file3":"1396380024"},"map_files_photo_id_array":[{"photo_id":"1396380031","filename":"file5"},{"photo_id":"1396380020","filename":"file2"},{"photo_id":"1396380027","filename":"file4"},{"photo_id":"1396380016","filename":"file1"},{"photo_id":"1396380012","filename":"file0"},{"photo_id":"1396380024","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380024":["hashtag1","hashtag2"]},{"1396380027":["hashtag1","hashtag2"]},{"1396380012":["hashtag1","hashtag2"]},{"1396380020":["hashtag1","hashtag2"]},{"1396380031":["hashtag1","hashtag2"]},{"1396380016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380024, 1396380027, 1396380012, 1396380020, 1396380031, 1396380016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95675563812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:00:03.312403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_35_9590.jpg', '/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_46_10659.jpg', '/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_55_9585.jpg', '/home/pi/Desktop/images/27112025/08/54/image_27112025_08_55_05_9754.jpg', '/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_16_10753.jpg', '/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_25_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_35_9590.jpg
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_46_10659.jpg
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_54_55_9585.jpg
/home/pi/Desktop/images/27112025/08/54/image_27112025_08_55_05_9754.jpg
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_16_10753.jpg
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_25_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380054","1396380048","1396380050","1396380052","1396380046","1396380051"],"photo_ids_order":["1396380046","1396380048","1396380050","1396380051","1396380052","1396380054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9feed38d25b7e77dba23cffa533570a.jpg","text":"TemporaryFile(/tmp/multipartBody7875467494433464021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_55_25_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a98f30423eca6857e4144ebde9ff4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8851368118918098731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_54_46_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05d788f976a80d21620e03243c9257b1.jpg","text":"TemporaryFile(/tmp/multipartBody6283690191712131724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_54_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/119421e852cd6dccbdc51c6456f754cb.jpg","text":"TemporaryFile(/tmp/multipartBody7553462053623804780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_55_16_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f90a05bc8a20757319ab657b24d74f8b.jpg","text":"TemporaryFile(/tmp/multipartBody353727220374087700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_54_35_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5ecfd70014027389a606e265ed3fb15.jpg","text":"TemporaryFile(/tmp/multipartBody5718880868784457256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230464086,"filename":"image_27112025_08_55_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380050","file1":"1396380048","file0":"1396380046","file4":"1396380052","file5":"1396380054","file3":"1396380051"},"map_files_photo_id_array":[{"photo_id":"1396380054","filename":"file5"},{"photo_id":"1396380050","filename":"file2"},{"photo_id":"1396380052","filename":"file4"},{"photo_id":"1396380048","filename":"file1"},{"photo_id":"1396380046","filename":"file0"},{"photo_id":"1396380051","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380054":["hashtag1","hashtag2"]},{"1396380048":["hashtag1","hashtag2"]},{"1396380050":["hashtag1","hashtag2"]},{"1396380052":["hashtag1","hashtag2"]},{"1396380046":["hashtag1","hashtag2"]},{"1396380051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380054, 1396380048, 1396380050, 1396380052, 1396380046, 1396380051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17722225189209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:00:42.803049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/06/image_30102025_23_06_37_2859.jpg', '/home/pi/Desktop/images/30102025/23/06/image_30102025_23_06_55_2712.jpg', '/home/pi/Desktop/images/30102025/23/07/image_30102025_23_07_25_3519.jpg', '/home/pi/Desktop/images/30102025/23/07/image_30102025_23_08_00_2632.jpg', '/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_11_7032.jpg', '/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_14_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/06/image_30102025_23_06_37_2859.jpg
/home/pi/Desktop/images/30102025/23/06/image_30102025_23_06_55_2712.jpg
/home/pi/Desktop/images/30102025/23/07/image_30102025_23_07_25_3519.jpg
/home/pi/Desktop/images/30102025/23/07/image_30102025_23_08_00_2632.jpg
/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_11_7032.jpg
/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_14_1776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380063","1396380071","1396380068","1396380070","1396380072","1396380066"],"photo_ids_order":["1396380063","1396380066","1396380068","1396380070","1396380071","1396380072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3e24f412a9a21aa35e1ac637dd21705.jpg","text":"TemporaryFile(/tmp/multipartBody4795642791183202361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_06_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/27/9ac849b50a99762717dfa493dd8521f0.jpg","text":"TemporaryFile(/tmp/multipartBody4157658346620136671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_08_11_7032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14dfc5d6b4155c15c35e297c4542516e.jpg","text":"TemporaryFile(/tmp/multipartBody1404618291256806304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_07_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/27/151c1eff876a8f84b468ab125c69a92e.jpg","text":"TemporaryFile(/tmp/multipartBody6093156968352167721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_08_00_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/27/0f0768192047cf3da2ec36441a096a68.jpg","text":"TemporaryFile(/tmp/multipartBody6371883854496555240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_08_14_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/27/d9328fc17eed61e337ce56e457d6f539.jpg","text":"TemporaryFile(/tmp/multipartBody2736017215890970783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230504112,"filename":"image_30102025_23_06_55_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380068","file1":"1396380066","file0":"1396380063","file4":"1396380071","file5":"1396380072","file3":"1396380070"},"map_files_photo_id_array":[{"photo_id":"1396380072","filename":"file5"},{"photo_id":"1396380068","filename":"file2"},{"photo_id":"1396380071","filename":"file4"},{"photo_id":"1396380066","filename":"file1"},{"photo_id":"1396380063","filename":"file0"},{"photo_id":"1396380070","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396380063":["hashtag1","hashtag2"]},{"1396380071":["hashtag1","hashtag2"]},{"1396380068":["hashtag1","hashtag2"]},{"1396380070":["hashtag1","hashtag2"]},{"1396380072":["hashtag1","hashtag2"]},{"1396380066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396380063, 1396380071, 1396380068, 1396380070, 1396380072, 1396380066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99944448471069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:01:21.911838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_39_13262.jpg', '/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_45_6782.jpg', '/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_55_9729.jpg', '/home/pi/Desktop/images/27112025/08/55/image_27112025_08_56_06_10590.jpg', '/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_16_9893.jpg', '/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_25_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_39_13262.jpg
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_45_6782.jpg
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_55_55_9729.jpg
/home/pi/Desktop/images/27112025/08/55/image_27112025_08_56_06_10590.jpg
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_16_9893.jpg
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_25_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380077","1396380086","1396380088","1396380082","1396380079","1396380090"],"photo_ids_order":["1396380077","1396380079","1396380082","1396380086","1396380088","1396380090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7087de0d505b10dfabb5c48566ddea8.jpg","text":"TemporaryFile(/tmp/multipartBody6279860115336426306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_55_39_13262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8982a74eaf4a523f1e151b1607588936.jpg","text":"TemporaryFile(/tmp/multipartBody1759567126022892871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_56_06_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/266ca82570243f7429a44dc4bbc16018.jpg","text":"TemporaryFile(/tmp/multipartBody97686939619038132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_56_16_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bbd9bcca4910217b1fb9478e1384ede.jpg","text":"TemporaryFile(/tmp/multipartBody1297538429779202038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_55_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9774cf703a4f8d670f369dfbf893fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7358201171192402431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_55_45_6782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24e5e4c9583cb61c59542239d49eebac.jpg","text":"TemporaryFile(/tmp/multipartBody1516780715783239878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230542634,"filename":"image_27112025_08_56_25_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380082","file1":"1396380079","file0":"1396380077","file4":"1396380088","file5":"1396380090","file3":"1396380086"},"map_files_photo_id_array":[{"photo_id":"1396380090","filename":"file5"},{"photo_id":"1396380082","filename":"file2"},{"photo_id":"1396380088","filename":"file4"},{"photo_id":"1396380079","filename":"file1"},{"photo_id":"1396380077","filename":"file0"},{"photo_id":"1396380086","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380077":["hashtag1","hashtag2"]},{"1396380086":["hashtag1","hashtag2"]},{"1396380088":["hashtag1","hashtag2"]},{"1396380082":["hashtag1","hashtag2"]},{"1396380079":["hashtag1","hashtag2"]},{"1396380090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380077, 1396380086, 1396380088, 1396380082, 1396380079, 1396380090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.876506090164185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:02:02.643004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_35_9702.jpg', '/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_46_10675.jpg', '/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_55_9873.jpg', '/home/pi/Desktop/images/27112025/08/56/image_27112025_08_57_05_9561.jpg', '/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_16_10713.jpg', '/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_26_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_35_9702.jpg
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_46_10675.jpg
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_56_55_9873.jpg
/home/pi/Desktop/images/27112025/08/56/image_27112025_08_57_05_9561.jpg
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_16_10713.jpg
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_26_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380092","1396380095","1396380094","1396380097","1396380100","1396380093"],"photo_ids_order":["1396380092","1396380093","1396380094","1396380095","1396380097","1396380100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c1d76ea23e1c90100e83fc2ef832758.jpg","text":"TemporaryFile(/tmp/multipartBody3977518346534877380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_56_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2dbcfb96189c0e1da253f2a50a55783c.jpg","text":"TemporaryFile(/tmp/multipartBody4164932968784798299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_57_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86890a1b882ef00a1274f46342dd4cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3487273878856932538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_56_55_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95a0ac31de09ac8d6943f0aafbef9d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8666659244715635403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_57_16_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5607f53d71cb9fce8d2d77fc0b15f8f6.jpg","text":"TemporaryFile(/tmp/multipartBody6052918718921799741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_57_26_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05d3d6c04a983f779f79c25679c68283.jpg","text":"TemporaryFile(/tmp/multipartBody5496116991242640971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230583377,"filename":"image_27112025_08_56_46_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380094","file1":"1396380093","file0":"1396380092","file4":"1396380097","file5":"1396380100","file3":"1396380095"},"map_files_photo_id_array":[{"photo_id":"1396380100","filename":"file5"},{"photo_id":"1396380094","filename":"file2"},{"photo_id":"1396380097","filename":"file4"},{"photo_id":"1396380093","filename":"file1"},{"photo_id":"1396380092","filename":"file0"},{"photo_id":"1396380095","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380092":["hashtag1","hashtag2"]},{"1396380095":["hashtag1","hashtag2"]},{"1396380094":["hashtag1","hashtag2"]},{"1396380097":["hashtag1","hashtag2"]},{"1396380100":["hashtag1","hashtag2"]},{"1396380093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380092, 1396380095, 1396380094, 1396380097, 1396380100, 1396380093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95569181442261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:02:42.168465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/08/image_30102025_23_08_19_1732.jpg', '/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_27_1743.jpg', '/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_31_3692.jpg', '/home/pi/Desktop/images/30102025/23/09/image_30102025_23_09_34_2674.jpg', '/home/pi/Desktop/images/30102025/23/10/image_30102025_23_10_21_10289.jpg', '/home/pi/Desktop/images/30102025/23/10/image_30102025_23_10_50_4308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_19_1732.jpg
/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_27_1743.jpg
/home/pi/Desktop/images/30102025/23/08/image_30102025_23_08_31_3692.jpg
/home/pi/Desktop/images/30102025/23/09/image_30102025_23_09_34_2674.jpg
/home/pi/Desktop/images/30102025/23/10/image_30102025_23_10_21_10289.jpg
/home/pi/Desktop/images/30102025/23/10/image_30102025_23_10_50_4308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380120","1396380119","1396380113","1396380116","1396380121","1396380118"],"photo_ids_order":["1396380113","1396380116","1396380118","1396380119","1396380120","1396380121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbd9eeee77071657c852cbc592a877f7.jpg","text":"TemporaryFile(/tmp/multipartBody4753081169459713554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_10_21_10289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/004458d73ddcb691756e487d6639c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6489218958120859706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_09_34_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/27/370c883b188162c70d9cccd1ee133a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3720194157389352563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_08_19_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/27/d2dc6ff7cde684f31d4671e2e653ead7.jpg","text":"TemporaryFile(/tmp/multipartBody4193327556883650496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_08_27_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/27/ea9927fe3abe1e2482f22644f786d71c.jpg","text":"TemporaryFile(/tmp/multipartBody4159950115629811699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_10_50_4308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4720ee15c2003c2925567a1a1fa54ace.jpg","text":"TemporaryFile(/tmp/multipartBody6022662311275784437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230623477,"filename":"image_30102025_23_08_31_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380118","file1":"1396380116","file0":"1396380113","file4":"1396380120","file5":"1396380121","file3":"1396380119"},"map_files_photo_id_array":[{"photo_id":"1396380121","filename":"file5"},{"photo_id":"1396380118","filename":"file2"},{"photo_id":"1396380120","filename":"file4"},{"photo_id":"1396380116","filename":"file1"},{"photo_id":"1396380113","filename":"file0"},{"photo_id":"1396380119","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396380120":["hashtag1","hashtag2"]},{"1396380119":["hashtag1","hashtag2"]},{"1396380113":["hashtag1","hashtag2"]},{"1396380116":["hashtag1","hashtag2"]},{"1396380121":["hashtag1","hashtag2"]},{"1396380118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396380120, 1396380119, 1396380113, 1396380116, 1396380121, 1396380118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.599196434020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:03:22.341583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_35_9562.jpg', '/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_46_10751.jpg', '/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_55_9566.jpg', '/home/pi/Desktop/images/27112025/08/57/image_27112025_08_58_05_9689.jpg', '/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_16_10673.jpg', '/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_25_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_35_9562.jpg
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_46_10751.jpg
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_57_55_9566.jpg
/home/pi/Desktop/images/27112025/08/57/image_27112025_08_58_05_9689.jpg
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_16_10673.jpg
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_25_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380147","1396380141","1396380135","1396380144","1396380138","1396380150"],"photo_ids_order":["1396380135","1396380138","1396380141","1396380144","1396380147","1396380150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d91b1bdeadb34ad59f8d34b44291e68f.jpg","text":"TemporaryFile(/tmp/multipartBody1686888528662758991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_58_16_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c6ebfb83e4a1ba60ebfd28335db14ac.jpg","text":"TemporaryFile(/tmp/multipartBody699305611698432661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_57_55_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91bb83e6ee87623b22c902b6bb30c2af.jpg","text":"TemporaryFile(/tmp/multipartBody5566647018449478330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_57_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10f132e132201a42f49f711deb21572c.jpg","text":"TemporaryFile(/tmp/multipartBody7779276723935454675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_58_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0476d5ba42ee19f36d6e357859ef094f.jpg","text":"TemporaryFile(/tmp/multipartBody128501073654725203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_57_46_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0edeaa9ecc5cf21d3be5f9b792d31ac8.jpg","text":"TemporaryFile(/tmp/multipartBody647859472698208648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230663106,"filename":"image_27112025_08_58_25_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380141","file1":"1396380138","file0":"1396380135","file4":"1396380147","file5":"1396380150","file3":"1396380144"},"map_files_photo_id_array":[{"photo_id":"1396380150","filename":"file5"},{"photo_id":"1396380141","filename":"file2"},{"photo_id":"1396380147","filename":"file4"},{"photo_id":"1396380138","filename":"file1"},{"photo_id":"1396380135","filename":"file0"},{"photo_id":"1396380144","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380147":["hashtag1","hashtag2"]},{"1396380141":["hashtag1","hashtag2"]},{"1396380135":["hashtag1","hashtag2"]},{"1396380144":["hashtag1","hashtag2"]},{"1396380138":["hashtag1","hashtag2"]},{"1396380150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380147, 1396380141, 1396380135, 1396380144, 1396380138, 1396380150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05777549743652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:04:03.152447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_35_9635.jpg', '/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_46_10714.jpg', '/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_55_9631.jpg', '/home/pi/Desktop/images/27112025/08/58/image_27112025_08_59_05_9574.jpg', '/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_16_10758.jpg', '/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_26_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_35_9635.jpg
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_46_10714.jpg
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_58_55_9631.jpg
/home/pi/Desktop/images/27112025/08/58/image_27112025_08_59_05_9574.jpg
/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_16_10758.jpg
/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_26_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380153","1396380161","1396380155","1396380152","1396380154","1396380157"],"photo_ids_order":["1396380152","1396380153","1396380154","1396380155","1396380157","1396380161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2364afcb5552be8a0cee4c7c1178463d.jpg","text":"TemporaryFile(/tmp/multipartBody1118671256336705468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_58_46_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26abfb45346100972aa4308e09e42c90.jpg","text":"TemporaryFile(/tmp/multipartBody7430787570255460341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_59_26_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bde87e5ea2f1e3f597141ca5d670ec2a.jpg","text":"TemporaryFile(/tmp/multipartBody7792061654643646780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_59_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42628103d500d73452e1450862ae5155.jpg","text":"TemporaryFile(/tmp/multipartBody2126459275145650251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_58_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d9dfbe491375bf562207b8602e8c043.jpg","text":"TemporaryFile(/tmp/multipartBody7052254002353695634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_58_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9da3e4ff17f57cd69c65f7a2e709899c.jpg","text":"TemporaryFile(/tmp/multipartBody1371642044789364585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230703955,"filename":"image_27112025_08_59_16_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380154","file1":"1396380153","file0":"1396380152","file4":"1396380157","file5":"1396380161","file3":"1396380155"},"map_files_photo_id_array":[{"photo_id":"1396380161","filename":"file5"},{"photo_id":"1396380154","filename":"file2"},{"photo_id":"1396380157","filename":"file4"},{"photo_id":"1396380153","filename":"file1"},{"photo_id":"1396380152","filename":"file0"},{"photo_id":"1396380155","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380153":["hashtag1","hashtag2"]},{"1396380161":["hashtag1","hashtag2"]},{"1396380155":["hashtag1","hashtag2"]},{"1396380152":["hashtag1","hashtag2"]},{"1396380154":["hashtag1","hashtag2"]},{"1396380157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380153, 1396380161, 1396380155, 1396380152, 1396380154, 1396380157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67403793334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:04:42.530675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/13/image_30102025_23_13_54_2736.jpg', '/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_07_3608.jpg', '/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_30_2734.jpg', '/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_33_2622.jpg', '/home/pi/Desktop/images/30102025/23/22/image_30102025_23_22_05_2940.jpg', '/home/pi/Desktop/images/30102025/23/22/image_30102025_23_22_14_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/13/image_30102025_23_13_54_2736.jpg
/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_07_3608.jpg
/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_30_2734.jpg
/home/pi/Desktop/images/30102025/23/14/image_30102025_23_14_33_2622.jpg
/home/pi/Desktop/images/30102025/23/22/image_30102025_23_22_05_2940.jpg
/home/pi/Desktop/images/30102025/23/22/image_30102025_23_22_14_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380180","1396380174","1396380176","1396380170","1396380181","1396380178"],"photo_ids_order":["1396380170","1396380174","1396380176","1396380178","1396380180","1396380181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/548467286ad075bfb641d421004523f1.jpg","text":"TemporaryFile(/tmp/multipartBody3184830995530949395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_22_05_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/27/cad500d9d68250c703628cedd11820ed.jpg","text":"TemporaryFile(/tmp/multipartBody8381548955504459122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_14_07_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/27/a72fc8f98419a0e4766b2a0b1e356dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6156420624532779108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_14_30_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/27/25c9b90fbcabc1723c32f02f2671c025.jpg","text":"TemporaryFile(/tmp/multipartBody1584673842997728060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_13_54_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/27/8bd034e602ff5a3f6e31801e02183df5.jpg","text":"TemporaryFile(/tmp/multipartBody4250029114008895734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_22_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/27/94f5d326a86e4167bfeec44df809fb64.jpg","text":"TemporaryFile(/tmp/multipartBody8310825461996649021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230743866,"filename":"image_30102025_23_14_33_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380176","file1":"1396380174","file0":"1396380170","file4":"1396380180","file5":"1396380181","file3":"1396380178"},"map_files_photo_id_array":[{"photo_id":"1396380181","filename":"file5"},{"photo_id":"1396380176","filename":"file2"},{"photo_id":"1396380180","filename":"file4"},{"photo_id":"1396380174","filename":"file1"},{"photo_id":"1396380170","filename":"file0"},{"photo_id":"1396380178","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396380180":["hashtag1","hashtag2"]},{"1396380174":["hashtag1","hashtag2"]},{"1396380176":["hashtag1","hashtag2"]},{"1396380170":["hashtag1","hashtag2"]},{"1396380181":["hashtag1","hashtag2"]},{"1396380178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396380180, 1396380174, 1396380176, 1396380170, 1396380181, 1396380178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881927490234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:05:22.658255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_35_9594.jpg', '/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_46_10745.jpg', '/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_56_9673.jpg', '/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_15_10057.jpg', '/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_25_10639.jpg', '/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_35_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_35_9594.jpg
/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_46_10745.jpg
/home/pi/Desktop/images/27112025/08/59/image_27112025_08_59_56_9673.jpg
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_15_10057.jpg
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_25_10639.jpg
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_35_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380201","1396380195","1396380189","1396380198","1396380192","1396380186"],"photo_ids_order":["1396380186","1396380189","1396380192","1396380195","1396380198","1396380201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d89c9448f837f4ffd89c65b4db5f8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3255347322699286703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_09_00_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef17cf2f73f07383df5741c05fe860c7.jpg","text":"TemporaryFile(/tmp/multipartBody139888569012153008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_09_00_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97112c75a4aceaaa796448a4009e5415.jpg","text":"TemporaryFile(/tmp/multipartBody662136631918424381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_08_59_46_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28df5d0995b6642865ddf1d5c31aca03.jpg","text":"TemporaryFile(/tmp/multipartBody8001017242641309566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_09_00_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94db8e5a7b9ab6e637bf62c22a5905cc.jpg","text":"TemporaryFile(/tmp/multipartBody7391304375940371593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_08_59_56_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed00a601f92edadf04b075fe23214a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3847322599694151461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230783356,"filename":"image_27112025_08_59_35_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380192","file1":"1396380189","file0":"1396380186","file4":"1396380198","file5":"1396380201","file3":"1396380195"},"map_files_photo_id_array":[{"photo_id":"1396380201","filename":"file5"},{"photo_id":"1396380192","filename":"file2"},{"photo_id":"1396380198","filename":"file4"},{"photo_id":"1396380189","filename":"file1"},{"photo_id":"1396380186","filename":"file0"},{"photo_id":"1396380195","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380201":["hashtag1","hashtag2"]},{"1396380195":["hashtag1","hashtag2"]},{"1396380189":["hashtag1","hashtag2"]},{"1396380198":["hashtag1","hashtag2"]},{"1396380192":["hashtag1","hashtag2"]},{"1396380186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380201, 1396380195, 1396380189, 1396380198, 1396380192, 1396380186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55639934539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:06:02.229957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_45_9701.jpg', '/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_56_10743.jpg', '/home/pi/Desktop/images/27112025/09/00/image_27112025_09_01_05_9644.jpg', '/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_15_9739.jpg', '/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_26_10601.jpg', '/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_35_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_45_9701.jpg
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_00_56_10743.jpg
/home/pi/Desktop/images/27112025/09/00/image_27112025_09_01_05_9644.jpg
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_15_9739.jpg
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_26_10601.jpg
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_35_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380204","1396380206","1396380203","1396380211","1396380205","1396380208"],"photo_ids_order":["1396380203","1396380204","1396380205","1396380206","1396380208","1396380211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18fd5c4c5153ca50c3c79216e015eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody5900250284794795240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_00_56_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50a520fe7f646208cb9da80bcdcdc3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5627211239805155354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_01_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27fbf4351e4ca9a5edb5e4dc5a296eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3636445660396182590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_00_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78ad3ec40ab20145084b097fa51ca317.jpg","text":"TemporaryFile(/tmp/multipartBody5464641873076353044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_01_35_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37e8d1d1c088a594a4db84c3b7ef5677.jpg","text":"TemporaryFile(/tmp/multipartBody8434256442053621664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_01_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7b17353b4f7ecb009f62606297501d4.jpg","text":"TemporaryFile(/tmp/multipartBody483022734161246214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230822965,"filename":"image_27112025_09_01_26_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380205","file1":"1396380204","file0":"1396380203","file4":"1396380208","file5":"1396380211","file3":"1396380206"},"map_files_photo_id_array":[{"photo_id":"1396380211","filename":"file5"},{"photo_id":"1396380205","filename":"file2"},{"photo_id":"1396380208","filename":"file4"},{"photo_id":"1396380204","filename":"file1"},{"photo_id":"1396380203","filename":"file0"},{"photo_id":"1396380206","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380204":["hashtag1","hashtag2"]},{"1396380206":["hashtag1","hashtag2"]},{"1396380203":["hashtag1","hashtag2"]},{"1396380211":["hashtag1","hashtag2"]},{"1396380205":["hashtag1","hashtag2"]},{"1396380208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380204, 1396380206, 1396380203, 1396380211, 1396380205, 1396380208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10274362564087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:06:41.855749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/22/image_30102025_23_22_51_3726.jpg', '/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_02_2735.jpg', '/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_41_2830.jpg', '/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_47_2884.jpg', '/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_50_2580.jpg', '/home/pi/Desktop/images/30102025/23/30/image_30102025_23_30_03_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/22/image_30102025_23_22_51_3726.jpg
/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_02_2735.jpg
/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_41_2830.jpg
/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_47_2884.jpg
/home/pi/Desktop/images/30102025/23/24/image_30102025_23_24_50_2580.jpg
/home/pi/Desktop/images/30102025/23/30/image_30102025_23_30_03_1739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380249","1396380234","1396380263","1396380245","1396380247","1396380250"],"photo_ids_order":["1396380234","1396380245","1396380247","1396380249","1396380250","1396380263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b64745daf892b9deea94ff6642333f5.jpg","text":"TemporaryFile(/tmp/multipartBody4639576946904437479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_24_47_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/27/d4b06581c00b4302ceb1c50b85f1ab96.jpg","text":"TemporaryFile(/tmp/multipartBody8122820106547467334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_22_51_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/27/416ce48155815ebd7cc206ab91aa6bba.jpg","text":"TemporaryFile(/tmp/multipartBody7939559340258394686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_30_03_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/27/50f859acd92f64bdb14f54f0c940ea93.jpg","text":"TemporaryFile(/tmp/multipartBody7636880383797259545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_24_02_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/27/5d6b47ba976d524274ff4ef7fc23d49b.jpg","text":"TemporaryFile(/tmp/multipartBody3068614220912068320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_24_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/27/81cca3e1981955d6354976ea07dc32b4.jpg","text":"TemporaryFile(/tmp/multipartBody2517666571817175153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230863116,"filename":"image_30102025_23_24_50_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380247","file1":"1396380245","file0":"1396380234","file4":"1396380250","file5":"1396380263","file3":"1396380249"},"map_files_photo_id_array":[{"photo_id":"1396380263","filename":"file5"},{"photo_id":"1396380247","filename":"file2"},{"photo_id":"1396380250","filename":"file4"},{"photo_id":"1396380245","filename":"file1"},{"photo_id":"1396380234","filename":"file0"},{"photo_id":"1396380249","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396380249":["hashtag1","hashtag2"]},{"1396380234":["hashtag1","hashtag2"]},{"1396380263":["hashtag1","hashtag2"]},{"1396380245":["hashtag1","hashtag2"]},{"1396380247":["hashtag1","hashtag2"]},{"1396380250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396380249, 1396380234, 1396380263, 1396380245, 1396380247, 1396380250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.368672132492065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:07:22.147109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_45_9716.jpg', '/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_56_10586.jpg', '/home/pi/Desktop/images/27112025/09/01/image_27112025_09_02_05_9746.jpg', '/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_15_9643.jpg', '/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_25_9755.jpg', '/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_35_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_45_9716.jpg
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_01_56_10586.jpg
/home/pi/Desktop/images/27112025/09/01/image_27112025_09_02_05_9746.jpg
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_15_9643.jpg
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_25_9755.jpg
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_35_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380299","1396380290","1396380293","1396380287","1396380296","1396380285"],"photo_ids_order":["1396380285","1396380287","1396380290","1396380293","1396380296","1396380299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1cbc76392b1850dc875929b7a68b933.jpg","text":"TemporaryFile(/tmp/multipartBody1646873602269795145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_02_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df76bb6a5467f72a84e17015c97e1f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5406068948053808649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_02_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a24cb43455473b1175dd717ada27fcae.jpg","text":"TemporaryFile(/tmp/multipartBody2418544603492901121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_02_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/699be78ddf00c30e88240be74c7929cf.jpg","text":"TemporaryFile(/tmp/multipartBody2244830662865322565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_01_56_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a06c206acd4618cb74a7ffab29b39910.jpg","text":"TemporaryFile(/tmp/multipartBody5446122893411217713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_02_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04a424fe21a7026ff609b9c2007ca0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8807176664789144180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230902876,"filename":"image_27112025_09_01_45_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380290","file1":"1396380287","file0":"1396380285","file4":"1396380296","file5":"1396380299","file3":"1396380293"},"map_files_photo_id_array":[{"photo_id":"1396380299","filename":"file5"},{"photo_id":"1396380290","filename":"file2"},{"photo_id":"1396380296","filename":"file4"},{"photo_id":"1396380287","filename":"file1"},{"photo_id":"1396380285","filename":"file0"},{"photo_id":"1396380293","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380299":["hashtag1","hashtag2"]},{"1396380290":["hashtag1","hashtag2"]},{"1396380293":["hashtag1","hashtag2"]},{"1396380287":["hashtag1","hashtag2"]},{"1396380296":["hashtag1","hashtag2"]},{"1396380285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380299, 1396380290, 1396380293, 1396380287, 1396380296, 1396380285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96166491508484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:08:02.787250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_45_9640.jpg', '/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_55_9797.jpg', '/home/pi/Desktop/images/27112025/09/02/image_27112025_09_03_06_10722.jpg', '/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_15_9764.jpg', '/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_25_9697.jpg', '/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_36_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_45_9640.jpg
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_02_55_9797.jpg
/home/pi/Desktop/images/27112025/09/02/image_27112025_09_03_06_10722.jpg
/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_15_9764.jpg
/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_25_9697.jpg
/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_36_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380398","1396380434","1396380362","1396380305","1396380329","1396380307"],"photo_ids_order":["1396380305","1396380307","1396380329","1396380362","1396380398","1396380434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99d9d30b32bc178d413871efb8b0296e.jpg","text":"TemporaryFile(/tmp/multipartBody654976600712924567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_03_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c914ec677cd96ed9d8df7fde9e4c7063.jpg","text":"TemporaryFile(/tmp/multipartBody163497801284342609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_03_36_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74b8d45e0dfc76bcfb7832cee93e8f10.jpg","text":"TemporaryFile(/tmp/multipartBody6362713243345482913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_03_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e85bd6dbc732567bd7ea6414a74da407.jpg","text":"TemporaryFile(/tmp/multipartBody2469238959831747130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_02_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18ce55576a7b1b6d978c981cbbc04803.jpg","text":"TemporaryFile(/tmp/multipartBody7836277959573230777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_03_06_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa60cc890779edde10c6a3b16c59f100.jpg","text":"TemporaryFile(/tmp/multipartBody5506560379050706297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764230943536,"filename":"image_27112025_09_02_55_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380329","file1":"1396380307","file0":"1396380305","file4":"1396380398","file5":"1396380434","file3":"1396380362"},"map_files_photo_id_array":[{"photo_id":"1396380434","filename":"file5"},{"photo_id":"1396380329","filename":"file2"},{"photo_id":"1396380398","filename":"file4"},{"photo_id":"1396380307","filename":"file1"},{"photo_id":"1396380305","filename":"file0"},{"photo_id":"1396380362","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380398":["hashtag1","hashtag2"]},{"1396380434":["hashtag1","hashtag2"]},{"1396380362":["hashtag1","hashtag2"]},{"1396380305":["hashtag1","hashtag2"]},{"1396380329":["hashtag1","hashtag2"]},{"1396380307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380398, 1396380434, 1396380362, 1396380305, 1396380329, 1396380307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70270752906799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:08:42.281963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/30/image_30102025_23_30_08_5330.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_04_2699.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_07_2838.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_26_3613.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_28_2692.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_31_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/30/image_30102025_23_30_08_5330.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_04_2699.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_07_2838.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_26_3613.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_28_2692.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_31_2570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2508044242858887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:09:03.423147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_46_9782.jpg', '/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_55_9640.jpg', '/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_25_9656.jpg', '/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_35_9730.jpg', '/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_45_10572.jpg', '/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_46_9782.jpg
/home/pi/Desktop/images/27112025/09/03/image_27112025_09_03_55_9640.jpg
/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_25_9656.jpg
/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_35_9730.jpg
/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_45_10572.jpg
/home/pi/Desktop/images/27112025/09/04/image_27112025_09_04_55_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380617","1396380605","1396380586","1396380547","1396380511","1396380601"],"photo_ids_order":["1396380511","1396380547","1396380586","1396380601","1396380605","1396380617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe3733f875f716338fb2fc40726d0a31.jpg","text":"TemporaryFile(/tmp/multipartBody9060854129393468486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_04_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e23c5fe72306fe64198d74825708f469.jpg","text":"TemporaryFile(/tmp/multipartBody6098332997230214153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_04_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bcc80283c6c20e5ebd1c4ba67311242.jpg","text":"TemporaryFile(/tmp/multipartBody5903500442177622044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_04_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df09265bc7fe45fdf642053f9f23203c.jpg","text":"TemporaryFile(/tmp/multipartBody8862121768517334345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_03_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84318de32beb30573c3eced7b9a3ab69.jpg","text":"TemporaryFile(/tmp/multipartBody8483581311395981157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_03_46_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fea705b7b1c6519d9402d0cb77811791.jpg","text":"TemporaryFile(/tmp/multipartBody8674908551300676332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231004458,"filename":"image_27112025_09_04_35_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380586","file1":"1396380547","file0":"1396380511","file4":"1396380605","file5":"1396380617","file3":"1396380601"},"map_files_photo_id_array":[{"photo_id":"1396380617","filename":"file5"},{"photo_id":"1396380586","filename":"file2"},{"photo_id":"1396380605","filename":"file4"},{"photo_id":"1396380547","filename":"file1"},{"photo_id":"1396380511","filename":"file0"},{"photo_id":"1396380601","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380617":["hashtag1","hashtag2"]},{"1396380605":["hashtag1","hashtag2"]},{"1396380586":["hashtag1","hashtag2"]},{"1396380547":["hashtag1","hashtag2"]},{"1396380511":["hashtag1","hashtag2"]},{"1396380601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380617, 1396380605, 1396380586, 1396380547, 1396380511, 1396380601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16589665412903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:09:42.471440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/30/image_30102025_23_30_08_5330.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_04_2699.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_07_2838.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_26_3613.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_28_2692.jpg', '/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_31_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/30/image_30102025_23_30_08_5330.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_04_2699.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_07_2838.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_26_3613.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_28_2692.jpg
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_31_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380630","1396380689","1396380692","1396380691","1396380693","1396380654"],"photo_ids_order":["1396380630","1396380654","1396380689","1396380691","1396380692","1396380693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40a2013c9df1ba72d393ddca1f300463.jpg","text":"TemporaryFile(/tmp/multipartBody8293525166082902867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_30_08_5330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfc713be23458ae168732a02c5356afd.jpg","text":"TemporaryFile(/tmp/multipartBody126364930242222410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_33_07_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/27/7e9293b0b7d3b698a88a9b8fa9b07e58.jpg","text":"TemporaryFile(/tmp/multipartBody748886255466235380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_33_28_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/27/a9c6642155d00f83806b7d12f773955b.jpg","text":"TemporaryFile(/tmp/multipartBody6154769303441184475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_33_26_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/27/8fe1d96c510d4eb9d708f1c7195bef89.jpg","text":"TemporaryFile(/tmp/multipartBody3917786208102202578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_33_31_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/27/08e97df9aed9b54fdde0ee562c4308cc.jpg","text":"TemporaryFile(/tmp/multipartBody6382477322589512886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231043662,"filename":"image_30102025_23_33_04_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380689","file1":"1396380654","file0":"1396380630","file4":"1396380692","file5":"1396380693","file3":"1396380691"},"map_files_photo_id_array":[{"photo_id":"1396380693","filename":"file5"},{"photo_id":"1396380689","filename":"file2"},{"photo_id":"1396380692","filename":"file4"},{"photo_id":"1396380654","filename":"file1"},{"photo_id":"1396380630","filename":"file0"},{"photo_id":"1396380691","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396380630":["hashtag1","hashtag2"]},{"1396380689":["hashtag1","hashtag2"]},{"1396380692":["hashtag1","hashtag2"]},{"1396380691":["hashtag1","hashtag2"]},{"1396380693":["hashtag1","hashtag2"]},{"1396380654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396380630, 1396380689, 1396380692, 1396380691, 1396380693, 1396380654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96563506126404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:10:22.697037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/04/image_27112025_09_05_06_10650.jpg', '/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_15_9712.jpg', '/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_36_10661.jpg', '/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_45_9699.jpg', '/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_55_9689.jpg', '/home/pi/Desktop/images/27112025/09/05/image_27112025_09_06_05_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/04/image_27112025_09_05_06_10650.jpg
/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_15_9712.jpg
/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_36_10661.jpg
/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_45_9699.jpg
/home/pi/Desktop/images/27112025/09/05/image_27112025_09_05_55_9689.jpg
/home/pi/Desktop/images/27112025/09/05/image_27112025_09_06_05_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380695","1396380708","1396380701","1396380697","1396380712","1396380699"],"photo_ids_order":["1396380695","1396380697","1396380699","1396380701","1396380708","1396380712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a535d3b4d0a1af0956c94112ec2a218.jpg","text":"TemporaryFile(/tmp/multipartBody5195904803112784549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_05_06_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cded4df77ec0b6330e5c7138b4640488.jpg","text":"TemporaryFile(/tmp/multipartBody489543937807249630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_05_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42f3ca08ff1372e01f7bbbeab786ab87.jpg","text":"TemporaryFile(/tmp/multipartBody5611678069090459016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_05_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09234f456f2df881eca4b9a29006ff54.jpg","text":"TemporaryFile(/tmp/multipartBody9007493996339443044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_05_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb3f333586de1672c3b1f06dcfb5f358.jpg","text":"TemporaryFile(/tmp/multipartBody4780281080440053117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_06_05_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92ef030a0bc7405c5ae4ae5f94e6cb06.jpg","text":"TemporaryFile(/tmp/multipartBody2130540828865324223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231083504,"filename":"image_27112025_09_05_36_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380699","file1":"1396380697","file0":"1396380695","file4":"1396380708","file5":"1396380712","file3":"1396380701"},"map_files_photo_id_array":[{"photo_id":"1396380712","filename":"file5"},{"photo_id":"1396380699","filename":"file2"},{"photo_id":"1396380708","filename":"file4"},{"photo_id":"1396380697","filename":"file1"},{"photo_id":"1396380695","filename":"file0"},{"photo_id":"1396380701","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380695":["hashtag1","hashtag2"]},{"1396380708":["hashtag1","hashtag2"]},{"1396380701":["hashtag1","hashtag2"]},{"1396380697":["hashtag1","hashtag2"]},{"1396380712":["hashtag1","hashtag2"]},{"1396380699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380695, 1396380708, 1396380701, 1396380697, 1396380712, 1396380699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.453043937683105 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 10 --only_old 1
2025-11-27 09:11:14.827739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_16_2578.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_20_3772.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_23_2655.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_25_2685.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_34_8426.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_36_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_16_2578.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_20_3772.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_23_2655.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_25_2685.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_34_8426.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_36_1742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380741","1396380723","1396380726","1396380737","1396380730","1396380733"],"photo_ids_order":["1396380723","1396380726","1396380730","1396380733","1396380737","1396380741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79738fe2cadc4f422e93c3a10060c872.jpg","text":"TemporaryFile(/tmp/multipartBody1540187395278006042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_36_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/27/028e968bceaaf6b255ad76153228e250.jpg","text":"TemporaryFile(/tmp/multipartBody4835506035328691669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_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/27/ca2f54169361f8c09d7e1c72c052ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody3436404434224614051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_20_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/27/e839201624e98bbf7bf688b85869bc6b.jpg","text":"TemporaryFile(/tmp/multipartBody148430590868730542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_34_8426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc49e93283447513607eb8cda5efca03.jpg","text":"TemporaryFile(/tmp/multipartBody3771585941317821207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_23_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/27/de1637e24327cc9763365ed8b473e16a.jpg","text":"TemporaryFile(/tmp/multipartBody4954436895716921183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231137146,"filename":"image_21112025_20_42_25_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380730","file1":"1396380726","file0":"1396380723","file4":"1396380737","file5":"1396380741","file3":"1396380733"},"map_files_photo_id_array":[{"photo_id":"1396380741","filename":"file5"},{"photo_id":"1396380730","filename":"file2"},{"photo_id":"1396380737","filename":"file4"},{"photo_id":"1396380726","filename":"file1"},{"photo_id":"1396380723","filename":"file0"},{"photo_id":"1396380733","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396380741":["hashtag1","hashtag2"]},{"1396380723":["hashtag1","hashtag2"]},{"1396380726":["hashtag1","hashtag2"]},{"1396380737":["hashtag1","hashtag2"]},{"1396380730":["hashtag1","hashtag2"]},{"1396380733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396380741, 1396380723, 1396380726, 1396380737, 1396380730, 1396380733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87612295150757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:12:02.542926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 09:12:11.987903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_37_1631.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_39_1657.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_40_1500.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_44_3664.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_47_2585.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_49_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_37_1631.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_39_1657.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_40_1500.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_44_3664.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_47_2585.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_49_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380761","1396380746","1396380754","1396380757","1396380751","1396380748"],"photo_ids_order":["1396380746","1396380748","1396380751","1396380754","1396380757","1396380761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a839369b12ac295ad74c5baf9f06a3f0.jpg","text":"TemporaryFile(/tmp/multipartBody8456168600632869441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_49_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/27/0bb1524c1b1590d9065769f8994dc52c.jpg","text":"TemporaryFile(/tmp/multipartBody2772639104543332266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_37_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/27/e20a0f332414739b4fc130d328a140ae.jpg","text":"TemporaryFile(/tmp/multipartBody8093886239919657782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_44_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/27/96fb4e155ec5aa1eb5ba5454dee16fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5085023107894169055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_47_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/27/143cf476fd65817c8919d91d37df1201.jpg","text":"TemporaryFile(/tmp/multipartBody966376890450346109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_40_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cd8756dfd3b9f47236c12b9c31d0ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3265104281189543060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231195789,"filename":"image_21112025_20_42_39_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380751","file1":"1396380748","file0":"1396380746","file4":"1396380757","file5":"1396380761","file3":"1396380754"},"map_files_photo_id_array":[{"photo_id":"1396380761","filename":"file5"},{"photo_id":"1396380751","filename":"file2"},{"photo_id":"1396380757","filename":"file4"},{"photo_id":"1396380748","filename":"file1"},{"photo_id":"1396380746","filename":"file0"},{"photo_id":"1396380754","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396380761":["hashtag1","hashtag2"]},{"1396380746":["hashtag1","hashtag2"]},{"1396380754":["hashtag1","hashtag2"]},{"1396380757":["hashtag1","hashtag2"]},{"1396380751":["hashtag1","hashtag2"]},{"1396380748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396380761, 1396380746, 1396380754, 1396380757, 1396380751, 1396380748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32017278671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:13:02.472508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_15_10678.jpg', '/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_25_9658.jpg', '/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_45_10586.jpg', '/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_55_9632.jpg', '/home/pi/Desktop/images/27112025/09/06/image_27112025_09_07_06_10762.jpg', '/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_15_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_15_10678.jpg
/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_25_9658.jpg
/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_45_10586.jpg
/home/pi/Desktop/images/27112025/09/06/image_27112025_09_06_55_9632.jpg
/home/pi/Desktop/images/27112025/09/06/image_27112025_09_07_06_10762.jpg
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_15_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380813","1396380816","1396380810","1396380812","1396380811","1396380820"],"photo_ids_order":["1396380810","1396380811","1396380812","1396380813","1396380816","1396380820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bbaf6438bd059db73c1026e6a801776.jpg","text":"TemporaryFile(/tmp/multipartBody9006384275184716581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_06_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb5cc0b22692eb1c6f22aee0e91fc053.jpg","text":"TemporaryFile(/tmp/multipartBody4471429262125329930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_07_06_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f11380dbc17081eb7d9e64deb9134f96.jpg","text":"TemporaryFile(/tmp/multipartBody2727483578755836135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_06_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b534225ad1d1fb1ba1ccd23585e4f18c.jpg","text":"TemporaryFile(/tmp/multipartBody1466222544863314492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_06_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/944f56b97e397ef5dae498d012dbc654.jpg","text":"TemporaryFile(/tmp/multipartBody5137538917992283147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_06_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16b62ed4902c99635822356bd24a88f9.jpg","text":"TemporaryFile(/tmp/multipartBody6183029638008257213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231245857,"filename":"image_27112025_09_07_15_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380812","file1":"1396380811","file0":"1396380810","file4":"1396380816","file5":"1396380820","file3":"1396380813"},"map_files_photo_id_array":[{"photo_id":"1396380820","filename":"file5"},{"photo_id":"1396380812","filename":"file2"},{"photo_id":"1396380816","filename":"file4"},{"photo_id":"1396380811","filename":"file1"},{"photo_id":"1396380810","filename":"file0"},{"photo_id":"1396380813","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380813":["hashtag1","hashtag2"]},{"1396380816":["hashtag1","hashtag2"]},{"1396380810":["hashtag1","hashtag2"]},{"1396380812":["hashtag1","hashtag2"]},{"1396380811":["hashtag1","hashtag2"]},{"1396380820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380813, 1396380816, 1396380810, 1396380812, 1396380811, 1396380820)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.28768992424011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:14:06.263996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_25_9656.jpg', '/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_35_9881.jpg', '/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_46_10657.jpg', '/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_56_9904.jpg', '/home/pi/Desktop/images/27112025/09/07/image_27112025_09_08_05_9682.jpg', '/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_15_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_25_9656.jpg
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_35_9881.jpg
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_46_10657.jpg
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_07_56_9904.jpg
/home/pi/Desktop/images/27112025/09/07/image_27112025_09_08_05_9682.jpg
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_15_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380834","1396380843","1396380838","1396380832","1396380829","1396380831"],"photo_ids_order":["1396380829","1396380831","1396380832","1396380834","1396380838","1396380843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85a34ab669d222fd53f425b1a33970b5.jpg","text":"TemporaryFile(/tmp/multipartBody3434753192675908089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_07_56_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41a6df4dac8a458ae2efa87bf02fbbfe.jpg","text":"TemporaryFile(/tmp/multipartBody7475790677882530240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_08_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbdbd7e813618bf841d1054e4e47d8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7388416463145552507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_08_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/878b69704df21cb9e796d377a8bdd213.jpg","text":"TemporaryFile(/tmp/multipartBody5140589653271791121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_07_46_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39ed4ae305fbda4bb5b6c3dd90d26fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7598020629471786073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_07_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65b817d4acf0b226d5f0893a067e5795.jpg","text":"TemporaryFile(/tmp/multipartBody4189620012479656302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231309447,"filename":"image_27112025_09_07_35_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380832","file1":"1396380831","file0":"1396380829","file4":"1396380838","file5":"1396380843","file3":"1396380834"},"map_files_photo_id_array":[{"photo_id":"1396380843","filename":"file5"},{"photo_id":"1396380832","filename":"file2"},{"photo_id":"1396380838","filename":"file4"},{"photo_id":"1396380831","filename":"file1"},{"photo_id":"1396380829","filename":"file0"},{"photo_id":"1396380834","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380834":["hashtag1","hashtag2"]},{"1396380843":["hashtag1","hashtag2"]},{"1396380838":["hashtag1","hashtag2"]},{"1396380832":["hashtag1","hashtag2"]},{"1396380829":["hashtag1","hashtag2"]},{"1396380831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380834, 1396380843, 1396380838, 1396380832, 1396380829, 1396380831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.448540687561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:15:03.437706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-27 09:15:12.715870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_53_3744.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_55_2289.jpg', '/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_59_3645.jpg', '/home/pi/Desktop/images/21112025/20/43/image_21112025_20_43_03_4292.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_07_3020.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_11_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_53_3744.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_55_2289.jpg
/home/pi/Desktop/images/21112025/20/42/image_21112025_20_42_59_3645.jpg
/home/pi/Desktop/images/21112025/20/43/image_21112025_20_43_03_4292.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_07_3020.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_11_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380875","1396380878","1396380872","1396380880","1396380868","1396380870"],"photo_ids_order":["1396380868","1396380870","1396380872","1396380875","1396380878","1396380880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8913ff8a97f48960d6f0efa66819a36e.jpg","text":"TemporaryFile(/tmp/multipartBody8017271783166003128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_43_03_4292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76c5d529a2791dcc1ceeae4b2456b458.jpg","text":"TemporaryFile(/tmp/multipartBody3482904440110073211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_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/27/46f619596d5d5d8875790d9e901976de.jpg","text":"TemporaryFile(/tmp/multipartBody1151146658319634761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_42_59_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/27/0825f58ab82213fd8f2a615a1a75dca8.jpg","text":"TemporaryFile(/tmp/multipartBody8107336004460015354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_44_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/27/8d0077f53cbae5f2f5f2acd9864215b3.jpg","text":"TemporaryFile(/tmp/multipartBody1919642293096461741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_42_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/27/8ddce3238d13805026693dfdaeffc861.jpg","text":"TemporaryFile(/tmp/multipartBody6868647738016706946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231383282,"filename":"image_21112025_20_42_55_2289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380872","file1":"1396380870","file0":"1396380868","file4":"1396380878","file5":"1396380880","file3":"1396380875"},"map_files_photo_id_array":[{"photo_id":"1396380880","filename":"file5"},{"photo_id":"1396380872","filename":"file2"},{"photo_id":"1396380878","filename":"file4"},{"photo_id":"1396380870","filename":"file1"},{"photo_id":"1396380868","filename":"file0"},{"photo_id":"1396380875","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396380875":["hashtag1","hashtag2"]},{"1396380878":["hashtag1","hashtag2"]},{"1396380872":["hashtag1","hashtag2"]},{"1396380880":["hashtag1","hashtag2"]},{"1396380868":["hashtag1","hashtag2"]},{"1396380870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396380875, 1396380878, 1396380872, 1396380880, 1396380868, 1396380870)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.034019231796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 09:16:16.720131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_14_2679.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_17_3636.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_20_2808.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_23_2735.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_25_2595.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_29_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_14_2679.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_17_3636.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_20_2808.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_23_2735.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_25_2595.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_29_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380887","1396380881","1396380889","1396380883","1396380891","1396380885"],"photo_ids_order":["1396380881","1396380883","1396380885","1396380887","1396380889","1396380891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7668425cee8e8cbefefa9c4ddd499e62.jpg","text":"TemporaryFile(/tmp/multipartBody8749709962833211770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_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/27/4f505e68480d89f0714a478f19175679.jpg","text":"TemporaryFile(/tmp/multipartBody5125709342687710431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_14_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/27/3254c726fe929d9a868b92f16c7e55de.jpg","text":"TemporaryFile(/tmp/multipartBody2105896340821868808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_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/27/06d6b50d573f97ba833401f72c832009.jpg","text":"TemporaryFile(/tmp/multipartBody1759508256111744872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_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/27/7e01d1402dbf9151ebf835598a8bc40c.jpg","text":"TemporaryFile(/tmp/multipartBody1850943245997607562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_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/27/b066837a734ef86ba6c77d431f7d0da2.jpg","text":"TemporaryFile(/tmp/multipartBody790708995493161636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231439928,"filename":"image_21112025_20_44_20_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380885","file1":"1396380883","file0":"1396380881","file4":"1396380889","file5":"1396380891","file3":"1396380887"},"map_files_photo_id_array":[{"photo_id":"1396380891","filename":"file5"},{"photo_id":"1396380885","filename":"file2"},{"photo_id":"1396380889","filename":"file4"},{"photo_id":"1396380883","filename":"file1"},{"photo_id":"1396380881","filename":"file0"},{"photo_id":"1396380887","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396380887":["hashtag1","hashtag2"]},{"1396380881":["hashtag1","hashtag2"]},{"1396380889":["hashtag1","hashtag2"]},{"1396380883":["hashtag1","hashtag2"]},{"1396380891":["hashtag1","hashtag2"]},{"1396380885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396380887, 1396380881, 1396380889, 1396380883, 1396380891, 1396380885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20462107658386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:17:02.959551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_26_10651.jpg', '/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_35_9570.jpg', '/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_45_9766.jpg', '/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_56_10694.jpg', '/home/pi/Desktop/images/27112025/09/08/image_27112025_09_09_05_9651.jpg', '/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_15_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_26_10651.jpg
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_35_9570.jpg
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_45_9766.jpg
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_08_56_10694.jpg
/home/pi/Desktop/images/27112025/09/08/image_27112025_09_09_05_9651.jpg
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_15_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380903","1396380896","1396380899","1396380898","1396380897","1396380901"],"photo_ids_order":["1396380896","1396380897","1396380898","1396380899","1396380901","1396380903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25882afc0fe041eb67447b0573b43c08.jpg","text":"TemporaryFile(/tmp/multipartBody651643482224303524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_09_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd0029f853df4a69c15bfd4cc0384223.jpg","text":"TemporaryFile(/tmp/multipartBody1729059447047372354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_08_26_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89c2956044061b2c5869819a17d10f45.jpg","text":"TemporaryFile(/tmp/multipartBody562112132058900324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_08_56_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf9201a64038289e0ff841429a29442d.jpg","text":"TemporaryFile(/tmp/multipartBody3141317274960610971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_08_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f5fdc6b0da0311a03e7a581db0d4bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3585484868952611734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_08_35_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/116f06235a33775cf161e018c42cb603.jpg","text":"TemporaryFile(/tmp/multipartBody5088437026161921922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231488724,"filename":"image_27112025_09_09_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380898","file1":"1396380897","file0":"1396380896","file4":"1396380901","file5":"1396380903","file3":"1396380899"},"map_files_photo_id_array":[{"photo_id":"1396380903","filename":"file5"},{"photo_id":"1396380898","filename":"file2"},{"photo_id":"1396380901","filename":"file4"},{"photo_id":"1396380897","filename":"file1"},{"photo_id":"1396380896","filename":"file0"},{"photo_id":"1396380899","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380903":["hashtag1","hashtag2"]},{"1396380896":["hashtag1","hashtag2"]},{"1396380899":["hashtag1","hashtag2"]},{"1396380898":["hashtag1","hashtag2"]},{"1396380897":["hashtag1","hashtag2"]},{"1396380901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380903, 1396380896, 1396380899, 1396380898, 1396380897, 1396380901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01782727241516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:18:02.968891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_26_10752.jpg', '/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_35_9662.jpg', '/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_45_9682.jpg', '/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_55_9678.jpg', '/home/pi/Desktop/images/27112025/09/09/image_27112025_09_10_05_10706.jpg', '/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_15_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_26_10752.jpg
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_35_9662.jpg
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_45_9682.jpg
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_09_55_9678.jpg
/home/pi/Desktop/images/27112025/09/09/image_27112025_09_10_05_10706.jpg
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_15_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396380960","1396380912","1396381001","1396380926","1396380914","1396380916"],"photo_ids_order":["1396380912","1396380914","1396380916","1396380926","1396380960","1396381001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/041a3e1112c871cfb1daa3a24a140282.jpg","text":"TemporaryFile(/tmp/multipartBody7651571388493673963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_10_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4779f43e9d44bc36f07a7a86a6029149.jpg","text":"TemporaryFile(/tmp/multipartBody5356585437020589784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_09_26_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5be29eeb8ce629b84fe917ec740e0177.jpg","text":"TemporaryFile(/tmp/multipartBody2140292830609312115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_10_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aecff3f576e5be9e11c3ef65cd6dfd26.jpg","text":"TemporaryFile(/tmp/multipartBody6103408421448011315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_09_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f73150d9c984e75f2214e2d4cd4d56bc.jpg","text":"TemporaryFile(/tmp/multipartBody4880834080610033940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_09_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a60279db698e19cebaa803df6f23b284.jpg","text":"TemporaryFile(/tmp/multipartBody4673301419883915425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231543727,"filename":"image_27112025_09_09_45_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396380916","file1":"1396380914","file0":"1396380912","file4":"1396380960","file5":"1396381001","file3":"1396380926"},"map_files_photo_id_array":[{"photo_id":"1396381001","filename":"file5"},{"photo_id":"1396380916","filename":"file2"},{"photo_id":"1396380960","filename":"file4"},{"photo_id":"1396380914","filename":"file1"},{"photo_id":"1396380912","filename":"file0"},{"photo_id":"1396380926","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396380960":["hashtag1","hashtag2"]},{"1396380912":["hashtag1","hashtag2"]},{"1396381001":["hashtag1","hashtag2"]},{"1396380926":["hashtag1","hashtag2"]},{"1396380914":["hashtag1","hashtag2"]},{"1396380916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396380960, 1396380912, 1396381001, 1396380926, 1396380914, 1396380916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17845153808594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:18:42.459390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/33/image_30102025_23_33_37_2571.jpg', '/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_11_3694.jpg', '/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_13_2867.jpg', '/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_22_3675.jpg', '/home/pi/Desktop/images/30102025/23/35/image_30102025_23_35_15_1613.jpg', '/home/pi/Desktop/images/30102025/23/35/image_30102025_23_35_25_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/33/image_30102025_23_33_37_2571.jpg
/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_11_3694.jpg
/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_13_2867.jpg
/home/pi/Desktop/images/30102025/23/34/image_30102025_23_34_22_3675.jpg
/home/pi/Desktop/images/30102025/23/35/image_30102025_23_35_15_1613.jpg
/home/pi/Desktop/images/30102025/23/35/image_30102025_23_35_25_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396381329","1396381215","1396381289","1396381253","1396381181","1396381142"],"photo_ids_order":["1396381142","1396381181","1396381215","1396381253","1396381289","1396381329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1df9b5664ee56719237723a38e7130d0.jpg","text":"TemporaryFile(/tmp/multipartBody8503939880705568208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_35_25_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/27/03c34969076fede3e4d3851c8abe8bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5341844458417397625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_34_13_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/27/675ef0470dfac9b2e767d3fb402d8513.jpg","text":"TemporaryFile(/tmp/multipartBody6475146042799430003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_35_15_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3e5bbaa872a5d6f8ffc66e92e56cf50.jpg","text":"TemporaryFile(/tmp/multipartBody4379276953512930981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_34_22_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/27/e44e89950043ecd0f59fbccf6af1c39e.jpg","text":"TemporaryFile(/tmp/multipartBody2487440217902684866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_34_11_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/27/61a87738c1a6dd292fc05f2f32077b02.jpg","text":"TemporaryFile(/tmp/multipartBody5345524117989243885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231583735,"filename":"image_30102025_23_33_37_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396381215","file1":"1396381181","file0":"1396381142","file4":"1396381289","file5":"1396381329","file3":"1396381253"},"map_files_photo_id_array":[{"photo_id":"1396381329","filename":"file5"},{"photo_id":"1396381215","filename":"file2"},{"photo_id":"1396381289","filename":"file4"},{"photo_id":"1396381181","filename":"file1"},{"photo_id":"1396381142","filename":"file0"},{"photo_id":"1396381253","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396381329":["hashtag1","hashtag2"]},{"1396381215":["hashtag1","hashtag2"]},{"1396381289":["hashtag1","hashtag2"]},{"1396381253":["hashtag1","hashtag2"]},{"1396381181":["hashtag1","hashtag2"]},{"1396381142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396381329, 1396381215, 1396381289, 1396381253, 1396381181, 1396381142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80488324165344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:19:22.847958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_25_9850.jpg', '/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_35_9724.jpg', '/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_45_10622.jpg', '/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_55_9697.jpg', '/home/pi/Desktop/images/27112025/09/10/image_27112025_09_11_05_9634.jpg', '/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_16_10822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_25_9850.jpg
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_35_9724.jpg
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_45_10622.jpg
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_10_55_9697.jpg
/home/pi/Desktop/images/27112025/09/10/image_27112025_09_11_05_9634.jpg
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_16_10822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396381466","1396381616","1396381618","1396381507","1396381578","1396381542"],"photo_ids_order":["1396381466","1396381507","1396381542","1396381578","1396381616","1396381618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d40ece68b5b3f0758fa21b8aa586d06c.jpg","text":"TemporaryFile(/tmp/multipartBody4919886797483067640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_10_25_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b69cbb8b14b8c6a1ca451668fc166aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5356336148331417433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_11_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fe169bc6d10bd9b0fa6ca1eced97956.jpg","text":"TemporaryFile(/tmp/multipartBody4622260050506899640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_11_16_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11fdc47eaaa5faabec5025b1e0cdb0df.jpg","text":"TemporaryFile(/tmp/multipartBody4121423069265481337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_10_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85d047d812898779077a9c9c1b4d3285.jpg","text":"TemporaryFile(/tmp/multipartBody7884930230188293468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_10_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/daef60d74bc9c8e1419e64ee47d3c5c9.jpg","text":"TemporaryFile(/tmp/multipartBody3609601758695422562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231623591,"filename":"image_27112025_09_10_45_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396381542","file1":"1396381507","file0":"1396381466","file4":"1396381616","file5":"1396381618","file3":"1396381578"},"map_files_photo_id_array":[{"photo_id":"1396381618","filename":"file5"},{"photo_id":"1396381542","filename":"file2"},{"photo_id":"1396381616","filename":"file4"},{"photo_id":"1396381507","filename":"file1"},{"photo_id":"1396381466","filename":"file0"},{"photo_id":"1396381578","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396381466":["hashtag1","hashtag2"]},{"1396381616":["hashtag1","hashtag2"]},{"1396381618":["hashtag1","hashtag2"]},{"1396381507":["hashtag1","hashtag2"]},{"1396381578":["hashtag1","hashtag2"]},{"1396381542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396381466, 1396381616, 1396381618, 1396381507, 1396381578, 1396381542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94112539291382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 09:20:11.905462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_32_2632.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_34_2684.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_49_14305.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_51_1792.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_52_1645.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_54_1845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_32_2632.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_34_2684.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_49_14305.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_51_1792.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_52_1645.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_54_1845.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6652910709381104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:20:22.025493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_25_9784.jpg', '/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_35_9784.jpg', '/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_45_9624.jpg', '/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_55_10673.jpg', '/home/pi/Desktop/images/27112025/09/11/image_27112025_09_12_05_9830.jpg', '/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_15_10189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_25_9784.jpg
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_35_9784.jpg
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_45_9624.jpg
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_11_55_10673.jpg
/home/pi/Desktop/images/27112025/09/11/image_27112025_09_12_05_9830.jpg
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_15_10189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396381727","1396381649","1396381764","1396381626","1396381691","1396381623"],"photo_ids_order":["1396381623","1396381626","1396381649","1396381691","1396381727","1396381764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72ab5073d4debd0b14c880c59244e992.jpg","text":"TemporaryFile(/tmp/multipartBody733564445369165796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_12_05_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b667830aa826da6ade082e853ca0b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody6977152444438162404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_11_45_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/27/e83a5e47a361600f663c5efefcd025ca.jpg","text":"TemporaryFile(/tmp/multipartBody1418405566825212901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_12_15_10189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/225b62550f4e5de3e1f2b9b63eab763c.jpg","text":"TemporaryFile(/tmp/multipartBody2766748801432866542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_11_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c2a05cfb4f3a9b5f7919ec24d03a17b.jpg","text":"TemporaryFile(/tmp/multipartBody1946498932369267220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_11_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f960a026e4e73ca4ddf0658447a74515.jpg","text":"TemporaryFile(/tmp/multipartBody4074357278575808136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231682757,"filename":"image_27112025_09_11_25_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396381649","file1":"1396381626","file0":"1396381623","file4":"1396381727","file5":"1396381764","file3":"1396381691"},"map_files_photo_id_array":[{"photo_id":"1396381764","filename":"file5"},{"photo_id":"1396381649","filename":"file2"},{"photo_id":"1396381727","filename":"file4"},{"photo_id":"1396381626","filename":"file1"},{"photo_id":"1396381623","filename":"file0"},{"photo_id":"1396381691","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396381727":["hashtag1","hashtag2"]},{"1396381649":["hashtag1","hashtag2"]},{"1396381764":["hashtag1","hashtag2"]},{"1396381626":["hashtag1","hashtag2"]},{"1396381691":["hashtag1","hashtag2"]},{"1396381623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396381727, 1396381649, 1396381764, 1396381626, 1396381691, 1396381623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.637656688690186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:21:02.956675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_25_9828.jpg', '/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_35_9705.jpg', '/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_46_10751.jpg', '/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_55_9624.jpg', '/home/pi/Desktop/images/27112025/09/12/image_27112025_09_13_05_9955.jpg', '/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_16_10205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_25_9828.jpg
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_35_9705.jpg
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_46_10751.jpg
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_12_55_9624.jpg
/home/pi/Desktop/images/27112025/09/12/image_27112025_09_13_05_9955.jpg
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_16_10205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396381886","1396381952","1396381958","1396381885","1396381887","1396381914"],"photo_ids_order":["1396381885","1396381886","1396381887","1396381914","1396381952","1396381958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c0077b29c973b1ff490dec5eabddbff.jpg","text":"TemporaryFile(/tmp/multipartBody1340840035192243778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_12_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63aa47361eaf5e9b6a4f90ff62bfe593.jpg","text":"TemporaryFile(/tmp/multipartBody2614489711811030412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_13_05_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ba1404624243e13c09e3d3670cdb3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2315973948222317645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_13_16_10205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b5af8fa61ef7bd88f105286a6606708.jpg","text":"TemporaryFile(/tmp/multipartBody6707768808186400967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_12_25_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1cea6b044ecc6e76464365d11b700449.jpg","text":"TemporaryFile(/tmp/multipartBody204151202530283337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_12_46_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5037004f2e72d90a1d0df535c8c3316d.jpg","text":"TemporaryFile(/tmp/multipartBody9107853832832732805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231723765,"filename":"image_27112025_09_12_55_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396381887","file1":"1396381886","file0":"1396381885","file4":"1396381952","file5":"1396381958","file3":"1396381914"},"map_files_photo_id_array":[{"photo_id":"1396381958","filename":"file5"},{"photo_id":"1396381887","filename":"file2"},{"photo_id":"1396381952","filename":"file4"},{"photo_id":"1396381886","filename":"file1"},{"photo_id":"1396381885","filename":"file0"},{"photo_id":"1396381914","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396381886":["hashtag1","hashtag2"]},{"1396381952":["hashtag1","hashtag2"]},{"1396381958":["hashtag1","hashtag2"]},{"1396381885":["hashtag1","hashtag2"]},{"1396381887":["hashtag1","hashtag2"]},{"1396381914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396381886, 1396381952, 1396381958, 1396381885, 1396381887, 1396381914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08138346672058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:21:42.360289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/36/image_30102025_23_36_22_2652.jpg', '/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_25_2929.jpg', '/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_40_3696.jpg', '/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_58_3733.jpg', '/home/pi/Desktop/images/30102025/23/37/image_30102025_23_37_58_2682.jpg', '/home/pi/Desktop/images/30102025/23/38/image_30102025_23_38_13_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_22_2652.jpg
/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_25_2929.jpg
/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_40_3696.jpg
/home/pi/Desktop/images/30102025/23/36/image_30102025_23_36_58_3733.jpg
/home/pi/Desktop/images/30102025/23/37/image_30102025_23_37_58_2682.jpg
/home/pi/Desktop/images/30102025/23/38/image_30102025_23_38_13_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396382216","1396382185","1396382239","1396382181","1396382186","1396382144"],"photo_ids_order":["1396382144","1396382181","1396382185","1396382186","1396382216","1396382239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32aa017f67035bc0694d5a7657535745.jpg","text":"TemporaryFile(/tmp/multipartBody2174480514604572202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_37_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/27/e9f208e185ebfc11e7110fc35e55d675.jpg","text":"TemporaryFile(/tmp/multipartBody8328480978318404300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_36_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/27/19c0538e4ae7c2c2a628c3cb443cc806.jpg","text":"TemporaryFile(/tmp/multipartBody2374788966571989641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_38_13_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/27/bc7399150eec1048246ec060a4533331.jpg","text":"TemporaryFile(/tmp/multipartBody3742993863089413600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_36_25_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ffcc6f2ea0657990126aa66141c19ab.jpg","text":"TemporaryFile(/tmp/multipartBody1451992777453309643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_36_58_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/27/025799bafcc8a1a0bc987c3d33467738.jpg","text":"TemporaryFile(/tmp/multipartBody9159446698024093133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231763732,"filename":"image_30102025_23_36_22_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396382185","file1":"1396382181","file0":"1396382144","file4":"1396382216","file5":"1396382239","file3":"1396382186"},"map_files_photo_id_array":[{"photo_id":"1396382239","filename":"file5"},{"photo_id":"1396382185","filename":"file2"},{"photo_id":"1396382216","filename":"file4"},{"photo_id":"1396382181","filename":"file1"},{"photo_id":"1396382144","filename":"file0"},{"photo_id":"1396382186","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396382216":["hashtag1","hashtag2"]},{"1396382185":["hashtag1","hashtag2"]},{"1396382239":["hashtag1","hashtag2"]},{"1396382181":["hashtag1","hashtag2"]},{"1396382186":["hashtag1","hashtag2"]},{"1396382144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396382216, 1396382185, 1396382239, 1396382181, 1396382186, 1396382144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57236838340759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:22:22.607413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_25_9594.jpg', '/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_35_9901.jpg', '/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_46_10628.jpg', '/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_56_9921.jpg', '/home/pi/Desktop/images/27112025/09/13/image_27112025_09_14_05_9613.jpg', '/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_15_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_25_9594.jpg
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_35_9901.jpg
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_46_10628.jpg
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_13_56_9921.jpg
/home/pi/Desktop/images/27112025/09/13/image_27112025_09_14_05_9613.jpg
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_15_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396382497","1396382398","1396382446","1396382380","1396382360","1396382477"],"photo_ids_order":["1396382360","1396382380","1396382398","1396382446","1396382477","1396382497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d08f89648225dc07966b7a3dbb50f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8541774739334886214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_14_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d45dde0533fa9855cdb5427d3357029.jpg","text":"TemporaryFile(/tmp/multipartBody15268178489677303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_13_46_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/564917257e6dd6a8ce237cf91d888a4e.jpg","text":"TemporaryFile(/tmp/multipartBody9122303208063892087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_13_56_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75c70d43c445c349ba8384bf0fe9267c.jpg","text":"TemporaryFile(/tmp/multipartBody7258101090905760929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_13_35_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e0c18606a665d335d476132995c5fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4039486150722654637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_13_25_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f00ef6681399633d3e34d8a72b2c3ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3778024833681724037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231803384,"filename":"image_27112025_09_14_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396382398","file1":"1396382380","file0":"1396382360","file4":"1396382477","file5":"1396382497","file3":"1396382446"},"map_files_photo_id_array":[{"photo_id":"1396382497","filename":"file5"},{"photo_id":"1396382398","filename":"file2"},{"photo_id":"1396382477","filename":"file4"},{"photo_id":"1396382380","filename":"file1"},{"photo_id":"1396382360","filename":"file0"},{"photo_id":"1396382446","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396382497":["hashtag1","hashtag2"]},{"1396382398":["hashtag1","hashtag2"]},{"1396382446":["hashtag1","hashtag2"]},{"1396382380":["hashtag1","hashtag2"]},{"1396382360":["hashtag1","hashtag2"]},{"1396382477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396382497, 1396382398, 1396382446, 1396382380, 1396382360, 1396382477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.309001207351685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:23:03.437323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_25_10667.jpg', '/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_35_9723.jpg', '/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_45_9992.jpg', '/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_55_9655.jpg', '/home/pi/Desktop/images/27112025/09/14/image_27112025_09_15_06_10663.jpg', '/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_15_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_25_10667.jpg
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_35_9723.jpg
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_45_9992.jpg
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_14_55_9655.jpg
/home/pi/Desktop/images/27112025/09/14/image_27112025_09_15_06_10663.jpg
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_15_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396382794","1396382782","1396382755","1396382722","1396382685","1396382783"],"photo_ids_order":["1396382685","1396382722","1396382755","1396382782","1396382783","1396382794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90d7f4f59576cac2cd992f8e4c86046b.jpg","text":"TemporaryFile(/tmp/multipartBody8803946582656326437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_15_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/524e6c52d045fd9530c2cee08ed1a970.jpg","text":"TemporaryFile(/tmp/multipartBody1662129309485179295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_14_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d733e1cbff8c7fec381bc04706a93746.jpg","text":"TemporaryFile(/tmp/multipartBody7776275210042833921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_14_45_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d696128f4123cf47d27074c480fc99a6.jpg","text":"TemporaryFile(/tmp/multipartBody1076153783246730778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_14_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4460b84967b4b5f5e7a854ea669b81f6.jpg","text":"TemporaryFile(/tmp/multipartBody7559391754058716535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_14_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89d92aea08db61a76b0b58393412383f.jpg","text":"TemporaryFile(/tmp/multipartBody7250791963295219277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231844261,"filename":"image_27112025_09_15_06_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396382755","file1":"1396382722","file0":"1396382685","file4":"1396382783","file5":"1396382794","file3":"1396382782"},"map_files_photo_id_array":[{"photo_id":"1396382794","filename":"file5"},{"photo_id":"1396382755","filename":"file2"},{"photo_id":"1396382783","filename":"file4"},{"photo_id":"1396382722","filename":"file1"},{"photo_id":"1396382685","filename":"file0"},{"photo_id":"1396382782","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396382794":["hashtag1","hashtag2"]},{"1396382782":["hashtag1","hashtag2"]},{"1396382755":["hashtag1","hashtag2"]},{"1396382722":["hashtag1","hashtag2"]},{"1396382685":["hashtag1","hashtag2"]},{"1396382783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396382794, 1396382782, 1396382755, 1396382722, 1396382685, 1396382783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.906662702560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:23:42.728105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/38/image_30102025_23_38_19_3614.jpg', '/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_19_2766.jpg', '/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_30_2712.jpg', '/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_46_2619.jpg', '/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_23_1574.jpg', '/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_27_1773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/38/image_30102025_23_38_19_3614.jpg
/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_19_2766.jpg
/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_30_2712.jpg
/home/pi/Desktop/images/30102025/23/39/image_30102025_23_39_46_2619.jpg
/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_23_1574.jpg
/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_27_1773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383046","1396383025","1396383015","1396383092","1396383119","1396383128"],"photo_ids_order":["1396383015","1396383025","1396383046","1396383092","1396383119","1396383128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83ca133b0fe766eef0866c440d4f5533.jpg","text":"TemporaryFile(/tmp/multipartBody3869230708931982583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_39_30_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/27/407b4eba9d709e8c6a5c02f7f966e1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4650322231152571869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_39_19_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/27/0dfeb8c9e6b1449fbefb6453e15fff24.jpg","text":"TemporaryFile(/tmp/multipartBody3585934925949122388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_38_19_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/27/7cd53b64e635baad4bc2bbcd4ca3b5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4280620695093713580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_39_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/27/f76993d16c9d5041b634db8a4aae1129.jpg","text":"TemporaryFile(/tmp/multipartBody1645285702647128960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_40_23_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3f32683a05635537279defc61bf26c3.jpg","text":"TemporaryFile(/tmp/multipartBody8826532342317900013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231884061,"filename":"image_30102025_23_40_27_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383046","file1":"1396383025","file0":"1396383015","file4":"1396383119","file5":"1396383128","file3":"1396383092"},"map_files_photo_id_array":[{"photo_id":"1396383128","filename":"file5"},{"photo_id":"1396383046","filename":"file2"},{"photo_id":"1396383119","filename":"file4"},{"photo_id":"1396383025","filename":"file1"},{"photo_id":"1396383015","filename":"file0"},{"photo_id":"1396383092","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396383046":["hashtag1","hashtag2"]},{"1396383025":["hashtag1","hashtag2"]},{"1396383015":["hashtag1","hashtag2"]},{"1396383092":["hashtag1","hashtag2"]},{"1396383119":["hashtag1","hashtag2"]},{"1396383128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396383046, 1396383025, 1396383015, 1396383092, 1396383119, 1396383128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.403058767318726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:24:21.915326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_25_9721.jpg', '/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_36_10639.jpg', '/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_45_9630.jpg', '/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_55_9814.jpg', '/home/pi/Desktop/images/27112025/09/15/image_27112025_09_16_06_10703.jpg', '/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_15_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_25_9721.jpg
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_36_10639.jpg
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_45_9630.jpg
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_15_55_9814.jpg
/home/pi/Desktop/images/27112025/09/15/image_27112025_09_16_06_10703.jpg
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_15_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383286","1396383289","1396383274","1396383202","1396383293","1396383239"],"photo_ids_order":["1396383202","1396383239","1396383274","1396383286","1396383289","1396383293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6b44cda63d8c5f6274a5ee14a460d4a.jpg","text":"TemporaryFile(/tmp/multipartBody8853257838558422981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_15_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7fa8dfde4f3d67cd5fcd784c1684a972.jpg","text":"TemporaryFile(/tmp/multipartBody7348543836767789295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_16_06_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad37a168f487813705fafc588c49c68f.jpg","text":"TemporaryFile(/tmp/multipartBody1003181170563501700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_15_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ebd2d1ae6a849661be8f9e39deeb408.jpg","text":"TemporaryFile(/tmp/multipartBody3939608239852310142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_15_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f20d94d68855d487718a06ddf4c3e421.jpg","text":"TemporaryFile(/tmp/multipartBody8773986020639474772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_16_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/695c5328a38b0d3e5c3d97b9c49b8cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4181193365121321403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231922682,"filename":"image_27112025_09_15_36_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383274","file1":"1396383239","file0":"1396383202","file4":"1396383289","file5":"1396383293","file3":"1396383286"},"map_files_photo_id_array":[{"photo_id":"1396383293","filename":"file5"},{"photo_id":"1396383274","filename":"file2"},{"photo_id":"1396383289","filename":"file4"},{"photo_id":"1396383239","filename":"file1"},{"photo_id":"1396383202","filename":"file0"},{"photo_id":"1396383286","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396383286":["hashtag1","hashtag2"]},{"1396383289":["hashtag1","hashtag2"]},{"1396383274":["hashtag1","hashtag2"]},{"1396383202":["hashtag1","hashtag2"]},{"1396383293":["hashtag1","hashtag2"]},{"1396383239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396383286, 1396383289, 1396383274, 1396383202, 1396383293, 1396383239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.338817834854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:25:02.826344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_25_9855.jpg', '/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_35_9641.jpg', '/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_46_10680.jpg', '/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_55_9607.jpg', '/home/pi/Desktop/images/27112025/09/16/image_27112025_09_17_05_9683.jpg', '/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_16_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_25_9855.jpg
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_35_9641.jpg
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_46_10680.jpg
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_16_55_9607.jpg
/home/pi/Desktop/images/27112025/09/16/image_27112025_09_17_05_9683.jpg
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_16_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383301","1396383366","1396383333","1396383402","1396383296","1396383302"],"photo_ids_order":["1396383296","1396383301","1396383302","1396383333","1396383366","1396383402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9e1ad60dc4826abfdb4c73e26b10cf69.jpg","text":"TemporaryFile(/tmp/multipartBody4216584707089193206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_16_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25fbd7f8d4be5241165530fea239d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5458778410913137954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_17_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a48fc512bdc14dfbacbf443c4c4eb6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8919377599788225614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_16_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c07dc1d62200b49c406e155adb4a995e.jpg","text":"TemporaryFile(/tmp/multipartBody6997330258194057541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_17_16_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca665f94d9d1d2b58297ae1c62288f65.jpg","text":"TemporaryFile(/tmp/multipartBody8280213053659239194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_16_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5dc0b9c0f3cbe523d663921f6c23833e.jpg","text":"TemporaryFile(/tmp/multipartBody1887708338167009530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764231963658,"filename":"image_27112025_09_16_46_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383302","file1":"1396383301","file0":"1396383296","file4":"1396383366","file5":"1396383402","file3":"1396383333"},"map_files_photo_id_array":[{"photo_id":"1396383402","filename":"file5"},{"photo_id":"1396383302","filename":"file2"},{"photo_id":"1396383366","filename":"file4"},{"photo_id":"1396383301","filename":"file1"},{"photo_id":"1396383296","filename":"file0"},{"photo_id":"1396383333","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396383301":["hashtag1","hashtag2"]},{"1396383366":["hashtag1","hashtag2"]},{"1396383333":["hashtag1","hashtag2"]},{"1396383402":["hashtag1","hashtag2"]},{"1396383296":["hashtag1","hashtag2"]},{"1396383302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396383301, 1396383366, 1396383333, 1396383402, 1396383296, 1396383302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98931360244751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:25:42.175916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/40/image_30102025_23_40_39_2947.jpg', '/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_50_1951.jpg', '/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_04_2620.jpg', '/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_11_4066.jpg', '/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_12_1727.jpg', '/home/pi/Desktop/images/30102025/23/42/image_30102025_23_42_10_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_39_2947.jpg
/home/pi/Desktop/images/30102025/23/40/image_30102025_23_40_50_1951.jpg
/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_04_2620.jpg
/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_11_4066.jpg
/home/pi/Desktop/images/30102025/23/41/image_30102025_23_41_12_1727.jpg
/home/pi/Desktop/images/30102025/23/42/image_30102025_23_42_10_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383669","1396383660","1396383606","1396383587","1396383734","1396383713"],"photo_ids_order":["1396383587","1396383606","1396383660","1396383669","1396383713","1396383734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0df83ed1e18bb9a4b087a22ed7fc05fc.jpg","text":"TemporaryFile(/tmp/multipartBody2538102951426870399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_41_11_4066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80c46591810076d706d3113f70f88b3d.jpg","text":"TemporaryFile(/tmp/multipartBody339378511131342632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_41_04_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/27/765a4a00f62ca2ae33821240c3b02645.jpg","text":"TemporaryFile(/tmp/multipartBody5400995912186927824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_40_50_1951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d38fc206c94d21c0e3a3c845fc7d7fcc.jpg","text":"TemporaryFile(/tmp/multipartBody5334696031364812057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_40_39_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/27/a72cd90a6e85df726b39b69c68d35e32.jpg","text":"TemporaryFile(/tmp/multipartBody2503643050798834420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_42_10_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/27/c93c2fda1e4b564a2d1693d57cb52a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8743617793277235973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232003511,"filename":"image_30102025_23_41_12_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383660","file1":"1396383606","file0":"1396383587","file4":"1396383713","file5":"1396383734","file3":"1396383669"},"map_files_photo_id_array":[{"photo_id":"1396383734","filename":"file5"},{"photo_id":"1396383660","filename":"file2"},{"photo_id":"1396383713","filename":"file4"},{"photo_id":"1396383606","filename":"file1"},{"photo_id":"1396383587","filename":"file0"},{"photo_id":"1396383669","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396383669":["hashtag1","hashtag2"]},{"1396383660":["hashtag1","hashtag2"]},{"1396383606":["hashtag1","hashtag2"]},{"1396383587":["hashtag1","hashtag2"]},{"1396383734":["hashtag1","hashtag2"]},{"1396383713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396383669, 1396383660, 1396383606, 1396383587, 1396383734, 1396383713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92861866950989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:26:22.342582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_25_9663.jpg', '/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_35_9704.jpg', '/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_46_10562.jpg', '/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_55_9470.jpg', '/home/pi/Desktop/images/27112025/09/17/image_27112025_09_18_05_9709.jpg', '/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_16_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_25_9663.jpg
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_35_9704.jpg
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_46_10562.jpg
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_17_55_9470.jpg
/home/pi/Desktop/images/27112025/09/17/image_27112025_09_18_05_9709.jpg
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_16_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383802","1396383795","1396383801","1396383804","1396383797","1396383799"],"photo_ids_order":["1396383795","1396383797","1396383799","1396383801","1396383802","1396383804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f4ea3bb0bbc42a416c3dc180d36453a.jpg","text":"TemporaryFile(/tmp/multipartBody7532884687032914749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_18_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a397d9170d8caf80e43bbcc399b191f9.jpg","text":"TemporaryFile(/tmp/multipartBody2079128403081074555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_17_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e69aecd2dc77ed50f034fac344711a8.jpg","text":"TemporaryFile(/tmp/multipartBody1019601645157378572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_17_55_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/27/28b02cddd6ce4760d994986bb0ff475c.jpg","text":"TemporaryFile(/tmp/multipartBody1432604383237005555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_18_16_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2bb188349dafe79bd1bb64a93eb722b.jpg","text":"TemporaryFile(/tmp/multipartBody3479869804177253221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_17_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2aeafebae5095630a3d51276c82996ae.jpg","text":"TemporaryFile(/tmp/multipartBody5918952600750845324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232043099,"filename":"image_27112025_09_17_46_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383799","file1":"1396383797","file0":"1396383795","file4":"1396383802","file5":"1396383804","file3":"1396383801"},"map_files_photo_id_array":[{"photo_id":"1396383804","filename":"file5"},{"photo_id":"1396383799","filename":"file2"},{"photo_id":"1396383802","filename":"file4"},{"photo_id":"1396383797","filename":"file1"},{"photo_id":"1396383795","filename":"file0"},{"photo_id":"1396383801","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396383802":["hashtag1","hashtag2"]},{"1396383795":["hashtag1","hashtag2"]},{"1396383801":["hashtag1","hashtag2"]},{"1396383804":["hashtag1","hashtag2"]},{"1396383797":["hashtag1","hashtag2"]},{"1396383799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396383802, 1396383795, 1396383801, 1396383804, 1396383797, 1396383799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22209596633911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:27:03.196316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_25_9802.jpg', '/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_35_9754.jpg', '/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_45_9691.jpg', '/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_55_10616.jpg', '/home/pi/Desktop/images/27112025/09/18/image_27112025_09_19_05_9576.jpg', '/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_15_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_25_9802.jpg
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_35_9754.jpg
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_45_9691.jpg
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_18_55_10616.jpg
/home/pi/Desktop/images/27112025/09/18/image_27112025_09_19_05_9576.jpg
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_15_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396383873","1396383813","1396383909","1396383816","1396383839","1396383929"],"photo_ids_order":["1396383813","1396383816","1396383839","1396383873","1396383909","1396383929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d2eb1461af3c0bf0a016ef8686ff048.jpg","text":"TemporaryFile(/tmp/multipartBody7293314409748157907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_18_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48f1d4b64ee05775f386334878401607.jpg","text":"TemporaryFile(/tmp/multipartBody7110852405526445590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_18_25_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49fa1d0d93ca50d336c197b244ebdde2.jpg","text":"TemporaryFile(/tmp/multipartBody8729100928967838269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_19_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b25d5548f4e35496909b4d3de290f56a.jpg","text":"TemporaryFile(/tmp/multipartBody1825718342720224487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_18_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03f174d2f061ae105c25c3f8f5500ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2567152993129372905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_18_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45a6bfe404b49b3276b9f85d75b77232.jpg","text":"TemporaryFile(/tmp/multipartBody7834080429608591521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232083996,"filename":"image_27112025_09_19_15_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396383839","file1":"1396383816","file0":"1396383813","file4":"1396383909","file5":"1396383929","file3":"1396383873"},"map_files_photo_id_array":[{"photo_id":"1396383929","filename":"file5"},{"photo_id":"1396383839","filename":"file2"},{"photo_id":"1396383909","filename":"file4"},{"photo_id":"1396383816","filename":"file1"},{"photo_id":"1396383813","filename":"file0"},{"photo_id":"1396383873","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396383873":["hashtag1","hashtag2"]},{"1396383813":["hashtag1","hashtag2"]},{"1396383909":["hashtag1","hashtag2"]},{"1396383816":["hashtag1","hashtag2"]},{"1396383839":["hashtag1","hashtag2"]},{"1396383929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396383873, 1396383813, 1396383909, 1396383816, 1396383839, 1396383929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17772603034973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:27:42.489774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/42/image_30102025_23_42_14_4483.jpg', '/home/pi/Desktop/images/30102025/23/44/image_30102025_23_44_06_2586.jpg', '/home/pi/Desktop/images/30102025/23/44/image_30102025_23_44_10_3731.jpg', '/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_18_3692.jpg', '/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_21_2689.jpg', '/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_28_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/42/image_30102025_23_42_14_4483.jpg
/home/pi/Desktop/images/30102025/23/44/image_30102025_23_44_06_2586.jpg
/home/pi/Desktop/images/30102025/23/44/image_30102025_23_44_10_3731.jpg
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_18_3692.jpg
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_21_2689.jpg
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_28_3777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384027","1396383988","1396384026","1396383990","1396384014","1396384028"],"photo_ids_order":["1396383988","1396383990","1396384014","1396384026","1396384027","1396384028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3157d87cf9277017673acedf2fe2b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody199657461409764433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_45_21_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/27/5f8fa58515cfa8b18634cfa9e0444433.jpg","text":"TemporaryFile(/tmp/multipartBody1216848655068789364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_42_14_4483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a85b81b446a67b51fc34f9b71854cefc.jpg","text":"TemporaryFile(/tmp/multipartBody8060410132742457980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_45_18_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/27/c6a79d132f854abb6653ad99a5d78ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7078523631063598007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_44_06_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/27/b5f928b85a66860252a40479f18a1313.jpg","text":"TemporaryFile(/tmp/multipartBody916935689519096644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_44_10_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/27/267f6673296aef5e805e36cbd23cd4ab.jpg","text":"TemporaryFile(/tmp/multipartBody6190343978092377780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232123857,"filename":"image_30102025_23_45_28_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384014","file1":"1396383990","file0":"1396383988","file4":"1396384027","file5":"1396384028","file3":"1396384026"},"map_files_photo_id_array":[{"photo_id":"1396384028","filename":"file5"},{"photo_id":"1396384014","filename":"file2"},{"photo_id":"1396384027","filename":"file4"},{"photo_id":"1396383990","filename":"file1"},{"photo_id":"1396383988","filename":"file0"},{"photo_id":"1396384026","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396384027":["hashtag1","hashtag2"]},{"1396383988":["hashtag1","hashtag2"]},{"1396384026":["hashtag1","hashtag2"]},{"1396383990":["hashtag1","hashtag2"]},{"1396384014":["hashtag1","hashtag2"]},{"1396384028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396384027, 1396383988, 1396384026, 1396383990, 1396384014, 1396384028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22590732574463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:28:22.664924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_26_10673.jpg', '/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_35_9741.jpg', '/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_45_9558.jpg', '/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_56_10659.jpg', '/home/pi/Desktop/images/27112025/09/19/image_27112025_09_20_05_9701.jpg', '/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_15_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_26_10673.jpg
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_35_9741.jpg
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_45_9558.jpg
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_19_56_10659.jpg
/home/pi/Desktop/images/27112025/09/19/image_27112025_09_20_05_9701.jpg
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_15_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384221","1396384137","1396384059","1396384215","1396384178","1396384100"],"photo_ids_order":["1396384059","1396384100","1396384137","1396384178","1396384215","1396384221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28cc8f6ce27f80a03c0554e63a9ec3bc.jpg","text":"TemporaryFile(/tmp/multipartBody5710563878409224368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_20_15_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10cb393396be1ec5ad8348aac032b462.jpg","text":"TemporaryFile(/tmp/multipartBody3322134110555086472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_19_45_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/100d02a45314d618deb5fbb8d5bae72c.jpg","text":"TemporaryFile(/tmp/multipartBody2110374411629676984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_19_26_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8557f83d8b5737a24a4244c5d8b646c9.jpg","text":"TemporaryFile(/tmp/multipartBody1804996937676996094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_20_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5c2dd11337e791c73ec71557682a975.jpg","text":"TemporaryFile(/tmp/multipartBody7458527251017929108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_19_56_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3340bc7baa222e4945a6560da3b4ef63.jpg","text":"TemporaryFile(/tmp/multipartBody2638983900112075592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232163394,"filename":"image_27112025_09_19_35_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384137","file1":"1396384100","file0":"1396384059","file4":"1396384215","file5":"1396384221","file3":"1396384178"},"map_files_photo_id_array":[{"photo_id":"1396384221","filename":"file5"},{"photo_id":"1396384137","filename":"file2"},{"photo_id":"1396384215","filename":"file4"},{"photo_id":"1396384100","filename":"file1"},{"photo_id":"1396384059","filename":"file0"},{"photo_id":"1396384178","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384221":["hashtag1","hashtag2"]},{"1396384137":["hashtag1","hashtag2"]},{"1396384059":["hashtag1","hashtag2"]},{"1396384215":["hashtag1","hashtag2"]},{"1396384178":["hashtag1","hashtag2"]},{"1396384100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384221, 1396384137, 1396384059, 1396384215, 1396384178, 1396384100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26447939872742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:29:02.967575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_25_9765.jpg', '/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_35_10554.jpg', '/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_45_9716.jpg', '/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_56_10641.jpg', '/home/pi/Desktop/images/27112025/09/20/image_27112025_09_21_05_9693.jpg', '/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_15_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_25_9765.jpg
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_35_10554.jpg
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_45_9716.jpg
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_20_56_10641.jpg
/home/pi/Desktop/images/27112025/09/20/image_27112025_09_21_05_9693.jpg
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_15_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384444","1396384426","1396384383","1396384317","1396384295","1396384277"],"photo_ids_order":["1396384277","1396384295","1396384317","1396384383","1396384426","1396384444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15e396505253bc39d53ced14fa0079c4.jpg","text":"TemporaryFile(/tmp/multipartBody1712362049916105598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_21_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a688e553c71a22f92a0cb998adcff803.jpg","text":"TemporaryFile(/tmp/multipartBody5157862660853696818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_21_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/062045f22cbdaf6f21708944ad2d152c.jpg","text":"TemporaryFile(/tmp/multipartBody9131627404542820554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_20_56_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c86db33955777c357817dda8395b12ba.jpg","text":"TemporaryFile(/tmp/multipartBody6120889338099669594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_20_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7a1f60e01bacaa82692778a51cb960f.jpg","text":"TemporaryFile(/tmp/multipartBody6920699626736976882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_20_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be23127ce95377381d13c1d6dc465e80.jpg","text":"TemporaryFile(/tmp/multipartBody950462576540291519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232203818,"filename":"image_27112025_09_20_25_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384317","file1":"1396384295","file0":"1396384277","file4":"1396384426","file5":"1396384444","file3":"1396384383"},"map_files_photo_id_array":[{"photo_id":"1396384444","filename":"file5"},{"photo_id":"1396384317","filename":"file2"},{"photo_id":"1396384426","filename":"file4"},{"photo_id":"1396384295","filename":"file1"},{"photo_id":"1396384277","filename":"file0"},{"photo_id":"1396384383","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384444":["hashtag1","hashtag2"]},{"1396384426":["hashtag1","hashtag2"]},{"1396384383":["hashtag1","hashtag2"]},{"1396384317":["hashtag1","hashtag2"]},{"1396384295":["hashtag1","hashtag2"]},{"1396384277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384444, 1396384426, 1396384383, 1396384317, 1396384295, 1396384277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.375487327575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:29:41.920028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/45/image_30102025_23_45_36_2705.jpg', '/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_39_3636.jpg', '/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_42_2558.jpg', '/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_17_2246.jpg', '/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_26_2585.jpg', '/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_51_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_36_2705.jpg
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_39_3636.jpg
/home/pi/Desktop/images/30102025/23/45/image_30102025_23_45_42_2558.jpg
/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_17_2246.jpg
/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_26_2585.jpg
/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_51_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384516","1396384519","1396384521","1396384518","1396384490","1396384520"],"photo_ids_order":["1396384490","1396384516","1396384518","1396384519","1396384520","1396384521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efdff69a888e045c62bd4e3a8cb68ead.jpg","text":"TemporaryFile(/tmp/multipartBody4258161094442920440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_45_39_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/27/bbef61be75aff00a511fb957290c5349.jpg","text":"TemporaryFile(/tmp/multipartBody6165701519819887785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_47_17_2246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abe7cb9a1291027130d734ba756f8a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3502652529056116740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_47_51_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/27/87d9431adba4f4f068a09c87eae43242.jpg","text":"TemporaryFile(/tmp/multipartBody7288752754005871132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_45_42_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/27/9096f556ffa2f5eac01bd3d83be3bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody780135634529872652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_45_36_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/27/b979733d5efe4aaf57a007906a00f1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7933148821271328963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232243273,"filename":"image_30102025_23_47_26_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384518","file1":"1396384516","file0":"1396384490","file4":"1396384520","file5":"1396384521","file3":"1396384519"},"map_files_photo_id_array":[{"photo_id":"1396384521","filename":"file5"},{"photo_id":"1396384518","filename":"file2"},{"photo_id":"1396384520","filename":"file4"},{"photo_id":"1396384516","filename":"file1"},{"photo_id":"1396384490","filename":"file0"},{"photo_id":"1396384519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396384516":["hashtag1","hashtag2"]},{"1396384519":["hashtag1","hashtag2"]},{"1396384521":["hashtag1","hashtag2"]},{"1396384518":["hashtag1","hashtag2"]},{"1396384490":["hashtag1","hashtag2"]},{"1396384520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396384516, 1396384519, 1396384521, 1396384518, 1396384490, 1396384520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50762987136841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:30:22.067308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_25_9655.jpg', '/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_35_10679.jpg', '/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_45_9662.jpg', '/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_56_10600.jpg', '/home/pi/Desktop/images/27112025/09/21/image_27112025_09_22_05_9629.jpg', '/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_25_9655.jpg
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_35_10679.jpg
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_45_9662.jpg
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_21_56_10600.jpg
/home/pi/Desktop/images/27112025/09/21/image_27112025_09_22_05_9629.jpg
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_15_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384531","1396384525","1396384527","1396384523","1396384535","1396384529"],"photo_ids_order":["1396384523","1396384525","1396384527","1396384529","1396384531","1396384535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4d22115e97d77b5280459381e9eeb88.jpg","text":"TemporaryFile(/tmp/multipartBody5157444417249181265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_22_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0acb0604289acf21836f961043e7edc.jpg","text":"TemporaryFile(/tmp/multipartBody9151940229055045727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_21_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78a8c8fcaf68925b1e3fb480febdb284.jpg","text":"TemporaryFile(/tmp/multipartBody6677484353425817058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_21_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbf29336ec72d7f9bc265fe1e675f342.jpg","text":"TemporaryFile(/tmp/multipartBody1739340219792433500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_21_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce342444de96b876690eb648eb86306a.jpg","text":"TemporaryFile(/tmp/multipartBody6728494558402900588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_22_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5daed50a6eef057bc82eda0321a8ac17.jpg","text":"TemporaryFile(/tmp/multipartBody7114370364770070912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232282789,"filename":"image_27112025_09_21_56_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384527","file1":"1396384525","file0":"1396384523","file4":"1396384531","file5":"1396384535","file3":"1396384529"},"map_files_photo_id_array":[{"photo_id":"1396384535","filename":"file5"},{"photo_id":"1396384527","filename":"file2"},{"photo_id":"1396384531","filename":"file4"},{"photo_id":"1396384525","filename":"file1"},{"photo_id":"1396384523","filename":"file0"},{"photo_id":"1396384529","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384531":["hashtag1","hashtag2"]},{"1396384525":["hashtag1","hashtag2"]},{"1396384527":["hashtag1","hashtag2"]},{"1396384523":["hashtag1","hashtag2"]},{"1396384535":["hashtag1","hashtag2"]},{"1396384529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384531, 1396384525, 1396384527, 1396384523, 1396384535, 1396384529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.617167234420776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:31:02.871993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_25_9764.jpg', '/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_35_10649.jpg', '/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_45_9672.jpg', '/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_55_9667.jpg', '/home/pi/Desktop/images/27112025/09/22/image_27112025_09_23_05_10636.jpg', '/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_15_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_25_9764.jpg
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_35_10649.jpg
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_45_9672.jpg
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_22_55_9667.jpg
/home/pi/Desktop/images/27112025/09/22/image_27112025_09_23_05_10636.jpg
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_15_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384642","1396384695","1396384671","1396384602","1396384660","1396384561"],"photo_ids_order":["1396384561","1396384602","1396384642","1396384660","1396384671","1396384695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92a988fceb4d8aa5b8b37527f8222e34.jpg","text":"TemporaryFile(/tmp/multipartBody4889075109455630244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_22_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25406439901fedadedd755c49ec6af8c.jpg","text":"TemporaryFile(/tmp/multipartBody3154984643305746841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_23_15_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bde399955f6d2686c2f0a49871a849d.jpg","text":"TemporaryFile(/tmp/multipartBody4343511685199404472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_23_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90a0fa758b4cc887374d532cb02a58a4.jpg","text":"TemporaryFile(/tmp/multipartBody4529250944541902273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_22_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19333fb96b83906c61aceee6fb8064f7.jpg","text":"TemporaryFile(/tmp/multipartBody4065716966643874536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_22_55_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1935d70049f72e1f7c602949bdc886eb.jpg","text":"TemporaryFile(/tmp/multipartBody5339460064610596091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232323695,"filename":"image_27112025_09_22_25_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384642","file1":"1396384602","file0":"1396384561","file4":"1396384671","file5":"1396384695","file3":"1396384660"},"map_files_photo_id_array":[{"photo_id":"1396384695","filename":"file5"},{"photo_id":"1396384642","filename":"file2"},{"photo_id":"1396384671","filename":"file4"},{"photo_id":"1396384602","filename":"file1"},{"photo_id":"1396384561","filename":"file0"},{"photo_id":"1396384660","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384642":["hashtag1","hashtag2"]},{"1396384695":["hashtag1","hashtag2"]},{"1396384671":["hashtag1","hashtag2"]},{"1396384602":["hashtag1","hashtag2"]},{"1396384660":["hashtag1","hashtag2"]},{"1396384561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384642, 1396384695, 1396384671, 1396384602, 1396384660, 1396384561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4941143989563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:31:42.235149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/47/image_30102025_23_47_54_2798.jpg', '/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_03_2709.jpg', '/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_12_3744.jpg', '/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_36_3638.jpg', '/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_39_2632.jpg', '/home/pi/Desktop/images/30102025/23/49/image_30102025_23_49_41_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/47/image_30102025_23_47_54_2798.jpg
/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_03_2709.jpg
/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_12_3744.jpg
/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_36_3638.jpg
/home/pi/Desktop/images/30102025/23/48/image_30102025_23_48_39_2632.jpg
/home/pi/Desktop/images/30102025/23/49/image_30102025_23_49_41_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384756","1396384755","1396384754","1396384757","1396384759","1396384744"],"photo_ids_order":["1396384744","1396384754","1396384755","1396384756","1396384757","1396384759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20bb2dac83389b13b81bfc04fa405ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4368362228499507623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_48_36_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/27/151858850b943f9c55d77fdbd3bbd5b0.jpg","text":"TemporaryFile(/tmp/multipartBody5672457490804484215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_48_12_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/27/f312931a8641efe05dffadb90dd0dda2.jpg","text":"TemporaryFile(/tmp/multipartBody6566357175714016280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_48_03_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/27/eb6e80c37a0835ed4fb314b277fa4fd7.jpg","text":"TemporaryFile(/tmp/multipartBody9045281843664407678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_48_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/27/c670629f0d80df11b88eed79c4dcc090.jpg","text":"TemporaryFile(/tmp/multipartBody6244070620361341963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_49_41_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/27/cd77f08ba8a8e23c55b874cf7dd4cf29.jpg","text":"TemporaryFile(/tmp/multipartBody779099600911405030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232363551,"filename":"image_30102025_23_47_54_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384755","file1":"1396384754","file0":"1396384744","file4":"1396384757","file5":"1396384759","file3":"1396384756"},"map_files_photo_id_array":[{"photo_id":"1396384759","filename":"file5"},{"photo_id":"1396384755","filename":"file2"},{"photo_id":"1396384757","filename":"file4"},{"photo_id":"1396384754","filename":"file1"},{"photo_id":"1396384744","filename":"file0"},{"photo_id":"1396384756","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396384756":["hashtag1","hashtag2"]},{"1396384755":["hashtag1","hashtag2"]},{"1396384754":["hashtag1","hashtag2"]},{"1396384757":["hashtag1","hashtag2"]},{"1396384759":["hashtag1","hashtag2"]},{"1396384744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396384756, 1396384755, 1396384754, 1396384757, 1396384759, 1396384744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05187940597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:32:22.406117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_25_9719.jpg', '/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_36_10638.jpg', '/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_45_9623.jpg', '/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_55_9859.jpg', '/home/pi/Desktop/images/27112025/09/23/image_27112025_09_24_06_10545.jpg', '/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_15_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_25_9719.jpg
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_36_10638.jpg
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_45_9623.jpg
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_23_55_9859.jpg
/home/pi/Desktop/images/27112025/09/23/image_27112025_09_24_06_10545.jpg
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_15_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384761","1396384767","1396384769","1396384763","1396384771","1396384765"],"photo_ids_order":["1396384761","1396384763","1396384765","1396384767","1396384769","1396384771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d546bf9fe5fc6535540ef4add96e03db.jpg","text":"TemporaryFile(/tmp/multipartBody3947936710702781025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_23_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5748b31631819fc853e5b9e12d43c442.jpg","text":"TemporaryFile(/tmp/multipartBody8816551303017543543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_23_55_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/263e007b9867113f891fc92f3b27cc20.jpg","text":"TemporaryFile(/tmp/multipartBody4505152054875435858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_24_06_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05cfb76c51958e3daf27e28919067488.jpg","text":"TemporaryFile(/tmp/multipartBody9158323295393483998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_23_36_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6b38ca37ae1fbcb0f249208ef2da7a2.jpg","text":"TemporaryFile(/tmp/multipartBody6605353443051521536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_24_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa281f51d702e0313a633e02ea1e63d8.jpg","text":"TemporaryFile(/tmp/multipartBody7121484445496828831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232403137,"filename":"image_27112025_09_23_45_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384765","file1":"1396384763","file0":"1396384761","file4":"1396384769","file5":"1396384771","file3":"1396384767"},"map_files_photo_id_array":[{"photo_id":"1396384771","filename":"file5"},{"photo_id":"1396384765","filename":"file2"},{"photo_id":"1396384769","filename":"file4"},{"photo_id":"1396384763","filename":"file1"},{"photo_id":"1396384761","filename":"file0"},{"photo_id":"1396384767","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384761":["hashtag1","hashtag2"]},{"1396384767":["hashtag1","hashtag2"]},{"1396384769":["hashtag1","hashtag2"]},{"1396384763":["hashtag1","hashtag2"]},{"1396384771":["hashtag1","hashtag2"]},{"1396384765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384761, 1396384767, 1396384769, 1396384763, 1396384771, 1396384765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19946599006653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:33:03.363301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_25_9766.jpg', '/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_36_10612.jpg', '/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_45_9533.jpg', '/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_55_9912.jpg', '/home/pi/Desktop/images/27112025/09/24/image_27112025_09_25_05_9761.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_16_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_25_9766.jpg
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_36_10612.jpg
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_45_9533.jpg
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_24_55_9912.jpg
/home/pi/Desktop/images/27112025/09/24/image_27112025_09_25_05_9761.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_16_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384773","1396384776","1396384779","1396384775","1396384777","1396384774"],"photo_ids_order":["1396384773","1396384774","1396384775","1396384776","1396384777","1396384779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92bdd003c89da2c3d8a4715a5c509fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5926608011557109775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_24_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d2fdc53a04fdf61fcbc2c534118ce28.jpg","text":"TemporaryFile(/tmp/multipartBody3968334397258680390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_24_55_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2541cc368baa48f147b4c3fcca24a556.jpg","text":"TemporaryFile(/tmp/multipartBody6544908000794822121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_25_16_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc7f14879d4abc8375c528b091114c48.jpg","text":"TemporaryFile(/tmp/multipartBody3291276935398358255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_24_45_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7534f76eb995b5edaa2d852ea58bdcb6.jpg","text":"TemporaryFile(/tmp/multipartBody5532609223878708491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_25_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d69747f10fec06d300efd86813e4079.jpg","text":"TemporaryFile(/tmp/multipartBody4751037561719341923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232444162,"filename":"image_27112025_09_24_36_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384775","file1":"1396384774","file0":"1396384773","file4":"1396384777","file5":"1396384779","file3":"1396384776"},"map_files_photo_id_array":[{"photo_id":"1396384779","filename":"file5"},{"photo_id":"1396384775","filename":"file2"},{"photo_id":"1396384777","filename":"file4"},{"photo_id":"1396384774","filename":"file1"},{"photo_id":"1396384773","filename":"file0"},{"photo_id":"1396384776","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396384773":["hashtag1","hashtag2"]},{"1396384776":["hashtag1","hashtag2"]},{"1396384779":["hashtag1","hashtag2"]},{"1396384775":["hashtag1","hashtag2"]},{"1396384777":["hashtag1","hashtag2"]},{"1396384774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396384773, 1396384776, 1396384779, 1396384775, 1396384777, 1396384774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46795678138733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:33:42.559249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/49/image_30102025_23_49_45_3712.jpg', '/home/pi/Desktop/images/30102025/23/50/image_30102025_23_50_50_2626.jpg', '/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_03_3596.jpg', '/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_14_2750.jpg', '/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_32_2679.jpg', '/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_38_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/49/image_30102025_23_49_45_3712.jpg
/home/pi/Desktop/images/30102025/23/50/image_30102025_23_50_50_2626.jpg
/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_03_3596.jpg
/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_14_2750.jpg
/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_32_2679.jpg
/home/pi/Desktop/images/30102025/23/51/image_30102025_23_51_38_2888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384807","1396384801","1396384804","1396384806","1396384803","1396384805"],"photo_ids_order":["1396384801","1396384803","1396384804","1396384805","1396384806","1396384807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96dec87338e6e43e1f8f875542fd6426.jpg","text":"TemporaryFile(/tmp/multipartBody2679646697868693261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_51_38_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/27/7ef0cd5ec50d47ea4dc2b0ea858bf0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3193988016868544181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_49_45_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/27/f6628e017fe62e2f4477e782fc3025fe.jpg","text":"TemporaryFile(/tmp/multipartBody1858842066966064728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_51_03_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/27/99e0252ef0e79b3f874c6eaeea1c4af9.jpg","text":"TemporaryFile(/tmp/multipartBody610666741347033284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_51_32_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/27/3792bef60fbca8249087e045c68165f7.jpg","text":"TemporaryFile(/tmp/multipartBody1617975535302451944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_50_50_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/27/3b372a7d96fc4daa2282a205d9384965.jpg","text":"TemporaryFile(/tmp/multipartBody1063029838488793865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232483892,"filename":"image_30102025_23_51_14_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384804","file1":"1396384803","file0":"1396384801","file4":"1396384806","file5":"1396384807","file3":"1396384805"},"map_files_photo_id_array":[{"photo_id":"1396384807","filename":"file5"},{"photo_id":"1396384804","filename":"file2"},{"photo_id":"1396384806","filename":"file4"},{"photo_id":"1396384803","filename":"file1"},{"photo_id":"1396384801","filename":"file0"},{"photo_id":"1396384805","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396384807":["hashtag1","hashtag2"]},{"1396384801":["hashtag1","hashtag2"]},{"1396384804":["hashtag1","hashtag2"]},{"1396384806":["hashtag1","hashtag2"]},{"1396384803":["hashtag1","hashtag2"]},{"1396384805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396384807, 1396384801, 1396384804, 1396384806, 1396384803, 1396384805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.016093730926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:34:22.780207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_25_9776.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_35_9664.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_45_9701.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_55_10669.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_26_05_9835.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_15_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_25_9776.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_35_9664.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_45_9701.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_55_10669.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_26_05_9835.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_15_9570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6860926151275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 09:34:32.731178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_32_2632.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_34_2684.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_49_14305.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_51_1792.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_52_1645.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_54_1845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_32_2632.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_34_2684.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_49_14305.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_51_1792.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_52_1645.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_54_1845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384834","1396384837","1396384824","1396384820","1396384817","1396384814"],"photo_ids_order":["1396384814","1396384817","1396384820","1396384824","1396384834","1396384837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7a6fa9832fb71909444bf15a49c76c9.jpg","text":"TemporaryFile(/tmp/multipartBody571094844760849160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_52_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/27/27af441a938a22834d09f1f4a77bb85e.jpg","text":"TemporaryFile(/tmp/multipartBody1654863641324824805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_54_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb6313e7d5af9c8d91539e452bf64676.jpg","text":"TemporaryFile(/tmp/multipartBody637541234449928004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_51_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e5d8bdc04ff75eb470dc022f7a4c8fb.jpg","text":"TemporaryFile(/tmp/multipartBody4339887644930380179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_49_14305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc8888e987308624370dfb62620fdc8a.jpg","text":"TemporaryFile(/tmp/multipartBody1214121420899249757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_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/27/c63a760e58b0e6827ededd4aad563749.jpg","text":"TemporaryFile(/tmp/multipartBody788732614300501068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232534532,"filename":"image_21112025_20_44_32_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396384820","file1":"1396384817","file0":"1396384814","file4":"1396384834","file5":"1396384837","file3":"1396384824"},"map_files_photo_id_array":[{"photo_id":"1396384837","filename":"file5"},{"photo_id":"1396384820","filename":"file2"},{"photo_id":"1396384834","filename":"file4"},{"photo_id":"1396384817","filename":"file1"},{"photo_id":"1396384814","filename":"file0"},{"photo_id":"1396384824","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396384834":["hashtag1","hashtag2"]},{"1396384837":["hashtag1","hashtag2"]},{"1396384824":["hashtag1","hashtag2"]},{"1396384820":["hashtag1","hashtag2"]},{"1396384817":["hashtag1","hashtag2"]},{"1396384814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396384834, 1396384837, 1396384824, 1396384820, 1396384817, 1396384814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94228744506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 09:35:11.999164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_56_1807.jpg', '/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_57_1530.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_07_3012.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_10_3693.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_13_2899.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_16_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_56_1807.jpg
/home/pi/Desktop/images/21112025/20/44/image_21112025_20_44_57_1530.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_07_3012.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_10_3693.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_13_2899.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_16_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396384970","1396385114","1396385042","1396385080","1396385005","1396384930"],"photo_ids_order":["1396384930","1396384970","1396385005","1396385042","1396385080","1396385114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5363adb96abac2111bbd51b605f8e69f.jpg","text":"TemporaryFile(/tmp/multipartBody6991493692049528244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_44_57_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/27/b31e94f913cfc7a03babe488d9c0a44e.jpg","text":"TemporaryFile(/tmp/multipartBody2490836277630539795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_46_16_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/27/db08f9f0bb105afc0c5a9d3d33e7b317.jpg","text":"TemporaryFile(/tmp/multipartBody1276490799064069597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_46_10_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/27/f78aceec675c067f35766a581e7b828a.jpg","text":"TemporaryFile(/tmp/multipartBody7676943919580551737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_46_13_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/27/3a9a2ee2e46e1ed04e46446e7875ec24.jpg","text":"TemporaryFile(/tmp/multipartBody8459773575715956866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_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/27/eb6bfae68707481b0c4324795da56973.jpg","text":"TemporaryFile(/tmp/multipartBody7557854900243595442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232573756,"filename":"image_21112025_20_44_56_1807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385005","file1":"1396384970","file0":"1396384930","file4":"1396385080","file5":"1396385114","file3":"1396385042"},"map_files_photo_id_array":[{"photo_id":"1396385114","filename":"file5"},{"photo_id":"1396385005","filename":"file2"},{"photo_id":"1396385080","filename":"file4"},{"photo_id":"1396384970","filename":"file1"},{"photo_id":"1396384930","filename":"file0"},{"photo_id":"1396385042","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396384970":["hashtag1","hashtag2"]},{"1396385114":["hashtag1","hashtag2"]},{"1396385042":["hashtag1","hashtag2"]},{"1396385080":["hashtag1","hashtag2"]},{"1396385005":["hashtag1","hashtag2"]},{"1396384930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396384970, 1396385114, 1396385042, 1396385080, 1396385005, 1396384930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07719373703003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:36:02.618178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_25_9776.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_35_9664.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_45_9701.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_55_10669.jpg', '/home/pi/Desktop/images/27112025/09/25/image_27112025_09_26_05_9835.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_15_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_25_9776.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_35_9664.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_45_9701.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_25_55_10669.jpg
/home/pi/Desktop/images/27112025/09/25/image_27112025_09_26_05_9835.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_15_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385314","1396385312","1396385321","1396385236","1396385245","1396385280"],"photo_ids_order":["1396385236","1396385245","1396385280","1396385312","1396385314","1396385321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ac8afffb0b160cde282cf3703f19fce.jpg","text":"TemporaryFile(/tmp/multipartBody8675313347479706735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_26_05_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4342de25b86ada87cd3fbfedce43018a.jpg","text":"TemporaryFile(/tmp/multipartBody7617385698357927417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_25_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1cc695f7ea2a44b499110b442b31f38d.jpg","text":"TemporaryFile(/tmp/multipartBody5688925350846622094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_26_15_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5162da94967af66897dbe5d464efa52a.jpg","text":"TemporaryFile(/tmp/multipartBody7137804526297519552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_25_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/415afc926826b4907bd37bdb607ab1b9.jpg","text":"TemporaryFile(/tmp/multipartBody799036787295680196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_25_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7fe3994d68e44b7f3370b15af9d3087.jpg","text":"TemporaryFile(/tmp/multipartBody942973826525132553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232623389,"filename":"image_27112025_09_25_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385280","file1":"1396385245","file0":"1396385236","file4":"1396385314","file5":"1396385321","file3":"1396385312"},"map_files_photo_id_array":[{"photo_id":"1396385321","filename":"file5"},{"photo_id":"1396385280","filename":"file2"},{"photo_id":"1396385314","filename":"file4"},{"photo_id":"1396385245","filename":"file1"},{"photo_id":"1396385236","filename":"file0"},{"photo_id":"1396385312","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385314":["hashtag1","hashtag2"]},{"1396385312":["hashtag1","hashtag2"]},{"1396385321":["hashtag1","hashtag2"]},{"1396385236":["hashtag1","hashtag2"]},{"1396385245":["hashtag1","hashtag2"]},{"1396385280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385314, 1396385312, 1396385321, 1396385236, 1396385245, 1396385280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69978094100952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:36:42.112261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/52/image_30102025_23_52_15_3689.jpg', '/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_36_3733.jpg', '/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_41_2760.jpg', '/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_50_2793.jpg', '/home/pi/Desktop/images/30102025/23/53/image_30102025_23_53_41_2641.jpg', '/home/pi/Desktop/images/30102025/23/53/image_30102025_23_53_50_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_15_3689.jpg
/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_36_3733.jpg
/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_41_2760.jpg
/home/pi/Desktop/images/30102025/23/52/image_30102025_23_52_50_2793.jpg
/home/pi/Desktop/images/30102025/23/53/image_30102025_23_53_41_2641.jpg
/home/pi/Desktop/images/30102025/23/53/image_30102025_23_53_50_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385361","1396385364","1396385454","1396385468","1396385386","1396385419"],"photo_ids_order":["1396385361","1396385364","1396385386","1396385419","1396385454","1396385468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c620e1a7339bab258dc052bcec65de4.jpg","text":"TemporaryFile(/tmp/multipartBody8141823011303902769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_52_15_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/27/8a57a73f26be2ed9c3bdfe258880644f.jpg","text":"TemporaryFile(/tmp/multipartBody5863332895640946611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_52_36_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/27/a726d2a4e4e63f795991a818234228c9.jpg","text":"TemporaryFile(/tmp/multipartBody648736384968849787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_53_41_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/27/bb46757c9106d5c1dd4046c77df2cc1f.jpg","text":"TemporaryFile(/tmp/multipartBody1841055180879031622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_53_50_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/27/0968315b2e3e326fe6f90a25a82980f8.jpg","text":"TemporaryFile(/tmp/multipartBody2282511797336737013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_52_41_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/27/65c2151716624bae67302ac8ecb00441.jpg","text":"TemporaryFile(/tmp/multipartBody8902165793647736987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232663506,"filename":"image_30102025_23_52_50_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385386","file1":"1396385364","file0":"1396385361","file4":"1396385454","file5":"1396385468","file3":"1396385419"},"map_files_photo_id_array":[{"photo_id":"1396385468","filename":"file5"},{"photo_id":"1396385386","filename":"file2"},{"photo_id":"1396385454","filename":"file4"},{"photo_id":"1396385364","filename":"file1"},{"photo_id":"1396385361","filename":"file0"},{"photo_id":"1396385419","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396385361":["hashtag1","hashtag2"]},{"1396385364":["hashtag1","hashtag2"]},{"1396385454":["hashtag1","hashtag2"]},{"1396385468":["hashtag1","hashtag2"]},{"1396385386":["hashtag1","hashtag2"]},{"1396385419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396385361, 1396385364, 1396385454, 1396385468, 1396385386, 1396385419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.834587812423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:37:22.353677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_26_10754.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_35_9645.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_45_9628.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_56_10680.jpg', '/home/pi/Desktop/images/27112025/09/26/image_27112025_09_27_05_9669.jpg', '/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_15_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_26_10754.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_35_9645.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_45_9628.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_26_56_10680.jpg
/home/pi/Desktop/images/27112025/09/26/image_27112025_09_27_05_9669.jpg
/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_15_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385619","1396385601","1396385584","1396385566","1396385551","1396385617"],"photo_ids_order":["1396385551","1396385566","1396385584","1396385601","1396385617","1396385619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3820650db8d0bdc35d5272a2e15b7d73.jpg","text":"TemporaryFile(/tmp/multipartBody94828422750671374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_27_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac3b8f8d2a6fb5daa15c34a6487ee33c.jpg","text":"TemporaryFile(/tmp/multipartBody4128503366451334392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_26_56_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c2d49090d7450776a954804c53d1e78.jpg","text":"TemporaryFile(/tmp/multipartBody7278546296707183025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_26_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f297531759966e87702ee0377be0382.jpg","text":"TemporaryFile(/tmp/multipartBody9170102580697476343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_26_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e326df234ae18bae0baca20cf8fd61c.jpg","text":"TemporaryFile(/tmp/multipartBody1575994632410361168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_26_26_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/deae14f73c467746b006deddd9453891.jpg","text":"TemporaryFile(/tmp/multipartBody4253387885155524450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232703084,"filename":"image_27112025_09_27_05_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385584","file1":"1396385566","file0":"1396385551","file4":"1396385617","file5":"1396385619","file3":"1396385601"},"map_files_photo_id_array":[{"photo_id":"1396385619","filename":"file5"},{"photo_id":"1396385584","filename":"file2"},{"photo_id":"1396385617","filename":"file4"},{"photo_id":"1396385566","filename":"file1"},{"photo_id":"1396385551","filename":"file0"},{"photo_id":"1396385601","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385619":["hashtag1","hashtag2"]},{"1396385601":["hashtag1","hashtag2"]},{"1396385584":["hashtag1","hashtag2"]},{"1396385566":["hashtag1","hashtag2"]},{"1396385551":["hashtag1","hashtag2"]},{"1396385617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385619, 1396385601, 1396385584, 1396385566, 1396385551, 1396385617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83010411262512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:38:02.852228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_26_10681.jpg', '/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_35_9613.jpg', '/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_45_9930.jpg', '/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_55_9708.jpg', '/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_16_9821.jpg', '/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_25_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_26_10681.jpg
/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_35_9613.jpg
/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_45_9930.jpg
/home/pi/Desktop/images/27112025/09/27/image_27112025_09_27_55_9708.jpg
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_16_9821.jpg
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_25_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385622","1396385625","1396385628","1396385621","1396385620","1396385623"],"photo_ids_order":["1396385620","1396385621","1396385622","1396385623","1396385625","1396385628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a53eef2872ff515a5e01ac517c44d2a.jpg","text":"TemporaryFile(/tmp/multipartBody4229535805576491437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_27_45_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d9e2d95ed7875bf7a78c934285a98ac.jpg","text":"TemporaryFile(/tmp/multipartBody9128124286415647599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_28_16_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bb8c76bb219bb9e260e6de59f117785.jpg","text":"TemporaryFile(/tmp/multipartBody1623769719298629015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_28_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abc41dbe86cae82b96e0d2bda949d302.jpg","text":"TemporaryFile(/tmp/multipartBody6324733744171472351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_27_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f371b7d3365f01ef759bf4bc849ae72b.jpg","text":"TemporaryFile(/tmp/multipartBody8194014679187854137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_27_26_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc39fdedc5cb9aef5510a8d62b28f45c.jpg","text":"TemporaryFile(/tmp/multipartBody2348933531658013587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232743621,"filename":"image_27112025_09_27_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385622","file1":"1396385621","file0":"1396385620","file4":"1396385625","file5":"1396385628","file3":"1396385623"},"map_files_photo_id_array":[{"photo_id":"1396385628","filename":"file5"},{"photo_id":"1396385622","filename":"file2"},{"photo_id":"1396385625","filename":"file4"},{"photo_id":"1396385621","filename":"file1"},{"photo_id":"1396385620","filename":"file0"},{"photo_id":"1396385623","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385622":["hashtag1","hashtag2"]},{"1396385625":["hashtag1","hashtag2"]},{"1396385628":["hashtag1","hashtag2"]},{"1396385621":["hashtag1","hashtag2"]},{"1396385620":["hashtag1","hashtag2"]},{"1396385623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385622, 1396385625, 1396385628, 1396385621, 1396385620, 1396385623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64971399307251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:38:42.506916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/54/image_30102025_23_54_23_2875.jpg', '/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_41_2718.jpg', '/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_53_2645.jpg', '/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_59_3698.jpg', '/home/pi/Desktop/images/30102025/23/55/image_30102025_23_55_23_2774.jpg', '/home/pi/Desktop/images/30102025/23/55/image_30102025_23_55_32_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_23_2875.jpg
/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_41_2718.jpg
/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_53_2645.jpg
/home/pi/Desktop/images/30102025/23/54/image_30102025_23_54_59_3698.jpg
/home/pi/Desktop/images/30102025/23/55/image_30102025_23_55_23_2774.jpg
/home/pi/Desktop/images/30102025/23/55/image_30102025_23_55_32_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385649","1396385652","1396385651","1396385654","1396385657","1396385653"],"photo_ids_order":["1396385649","1396385651","1396385652","1396385653","1396385654","1396385657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed8971c7911efb1b99b1fb8c178ed827.jpg","text":"TemporaryFile(/tmp/multipartBody6102642127884899715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_54_23_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/27/855bbff136685f591ac83adb391af99c.jpg","text":"TemporaryFile(/tmp/multipartBody3374090688015209668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_54_53_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/27/298655563b9609863642655fdb048ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3088367788977213306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_54_41_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/27/7c0208a01d6e5498639d26f5ce1f60fc.jpg","text":"TemporaryFile(/tmp/multipartBody2892068872400131521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_55_23_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/27/5689f5d8307b9132d020e164d6a6099e.jpg","text":"TemporaryFile(/tmp/multipartBody4500848737418807795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_55_32_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/27/bcf8838fe177432eea68e8e8af8fbfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7685673565259681482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232783847,"filename":"image_30102025_23_54_59_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385652","file1":"1396385651","file0":"1396385649","file4":"1396385654","file5":"1396385657","file3":"1396385653"},"map_files_photo_id_array":[{"photo_id":"1396385657","filename":"file5"},{"photo_id":"1396385652","filename":"file2"},{"photo_id":"1396385654","filename":"file4"},{"photo_id":"1396385651","filename":"file1"},{"photo_id":"1396385649","filename":"file0"},{"photo_id":"1396385653","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396385649":["hashtag1","hashtag2"]},{"1396385652":["hashtag1","hashtag2"]},{"1396385651":["hashtag1","hashtag2"]},{"1396385654":["hashtag1","hashtag2"]},{"1396385657":["hashtag1","hashtag2"]},{"1396385653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396385649, 1396385652, 1396385651, 1396385654, 1396385657, 1396385653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20176124572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:39:22.695535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_35_9836.jpg', '/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_45_9670.jpg', '/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_55_10582.jpg', '/home/pi/Desktop/images/27112025/09/28/image_27112025_09_29_05_9688.jpg', '/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_15_9767.jpg', '/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_25_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_35_9836.jpg
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_45_9670.jpg
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_28_55_10582.jpg
/home/pi/Desktop/images/27112025/09/28/image_27112025_09_29_05_9688.jpg
/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_15_9767.jpg
/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_25_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385694","1396385673","1396385693","1396385689","1396385668","1396385691"],"photo_ids_order":["1396385668","1396385673","1396385689","1396385691","1396385693","1396385694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54dfac389cbfa13d3e409591af0c1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody8594283148777817552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_29_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1ee91d98c2781bc76e9733464626cd8.jpg","text":"TemporaryFile(/tmp/multipartBody175173257835019791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_28_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bc0c56688cdefae186503a09114847d.jpg","text":"TemporaryFile(/tmp/multipartBody3342292797644248804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_29_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e46d3c6c913be684806287a21bf46de9.jpg","text":"TemporaryFile(/tmp/multipartBody228778704322341738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_28_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0507d5819b9764c5dcea64d57f2422e7.jpg","text":"TemporaryFile(/tmp/multipartBody6923692064434254323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_28_35_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5dd20758b73c2dadf100d3f545e2c932.jpg","text":"TemporaryFile(/tmp/multipartBody7283650598175795871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232823454,"filename":"image_27112025_09_29_05_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385689","file1":"1396385673","file0":"1396385668","file4":"1396385693","file5":"1396385694","file3":"1396385691"},"map_files_photo_id_array":[{"photo_id":"1396385694","filename":"file5"},{"photo_id":"1396385689","filename":"file2"},{"photo_id":"1396385693","filename":"file4"},{"photo_id":"1396385673","filename":"file1"},{"photo_id":"1396385668","filename":"file0"},{"photo_id":"1396385691","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385694":["hashtag1","hashtag2"]},{"1396385673":["hashtag1","hashtag2"]},{"1396385693":["hashtag1","hashtag2"]},{"1396385689":["hashtag1","hashtag2"]},{"1396385668":["hashtag1","hashtag2"]},{"1396385691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385694, 1396385673, 1396385693, 1396385689, 1396385668, 1396385691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176530599594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:40:02.348276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_35_9863.jpg', '/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_45_9949.jpg', '/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_55_9753.jpg', '/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_14_10054.jpg', '/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_25_10704.jpg', '/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_34_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_35_9863.jpg
/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_45_9949.jpg
/home/pi/Desktop/images/27112025/09/29/image_27112025_09_29_55_9753.jpg
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_14_10054.jpg
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_25_10704.jpg
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_34_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385775","1396385831","1396385774","1396385819","1396385764","1396385806"],"photo_ids_order":["1396385764","1396385774","1396385775","1396385806","1396385819","1396385831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c5508c67af87fdd759817aac902047e.jpg","text":"TemporaryFile(/tmp/multipartBody865125159203331395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_29_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d427207cc5bc5856629031b68df7a33d.jpg","text":"TemporaryFile(/tmp/multipartBody3567598247491542912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_30_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99039ba1e52e2975b1ab8427ddceb74d.jpg","text":"TemporaryFile(/tmp/multipartBody3387864089015008488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_29_45_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ef8cb1cb8f0538451b261ce5aae0044.jpg","text":"TemporaryFile(/tmp/multipartBody8556448022451203150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_30_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d27635f789fdec3921670c0ea2914ad.jpg","text":"TemporaryFile(/tmp/multipartBody2320009401198990449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_29_35_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16da4c9b12960a7fdbfed49493349cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4404685988393312752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232863092,"filename":"image_27112025_09_30_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385775","file1":"1396385774","file0":"1396385764","file4":"1396385819","file5":"1396385831","file3":"1396385806"},"map_files_photo_id_array":[{"photo_id":"1396385831","filename":"file5"},{"photo_id":"1396385775","filename":"file2"},{"photo_id":"1396385819","filename":"file4"},{"photo_id":"1396385774","filename":"file1"},{"photo_id":"1396385764","filename":"file0"},{"photo_id":"1396385806","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385775":["hashtag1","hashtag2"]},{"1396385831":["hashtag1","hashtag2"]},{"1396385774":["hashtag1","hashtag2"]},{"1396385819":["hashtag1","hashtag2"]},{"1396385764":["hashtag1","hashtag2"]},{"1396385806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385775, 1396385831, 1396385774, 1396385819, 1396385764, 1396385806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18566632270813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:40:41.817142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/56/image_30102025_23_56_11_3653.jpg', '/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_17_2620.jpg', '/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_35_3078.jpg', '/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_38_2798.jpg', '/home/pi/Desktop/images/30102025/23/57/image_30102025_23_57_02_3626.jpg', '/home/pi/Desktop/images/30102025/23/57/image_30102025_23_57_50_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_11_3653.jpg
/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_17_2620.jpg
/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_35_3078.jpg
/home/pi/Desktop/images/30102025/23/56/image_30102025_23_56_38_2798.jpg
/home/pi/Desktop/images/30102025/23/57/image_30102025_23_57_02_3626.jpg
/home/pi/Desktop/images/30102025/23/57/image_30102025_23_57_50_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385934","1396385933","1396385921","1396385909","1396385875","1396385935"],"photo_ids_order":["1396385875","1396385909","1396385921","1396385933","1396385934","1396385935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5934a5e2a99b261b68f0b180d9ff77b.jpg","text":"TemporaryFile(/tmp/multipartBody5254835830667648013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_57_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/27/34f7f20ad7c0497e29fc62c6304f39e7.jpg","text":"TemporaryFile(/tmp/multipartBody8387821954485393435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_56_38_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/27/6c9a650852942b9066455b86f836b837.jpg","text":"TemporaryFile(/tmp/multipartBody4271932760583848490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_56_35_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/27/cc9794003e9544216ef5404871869b44.jpg","text":"TemporaryFile(/tmp/multipartBody7600249811384006619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_56_17_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/27/6374b99453ab37248e72f9326df7ae32.jpg","text":"TemporaryFile(/tmp/multipartBody3651759607072755172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_56_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/27/067d9c2c694329dcaf6fc60161dce97f.jpg","text":"TemporaryFile(/tmp/multipartBody3767004941307002815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232903166,"filename":"image_30102025_23_57_50_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385921","file1":"1396385909","file0":"1396385875","file4":"1396385934","file5":"1396385935","file3":"1396385933"},"map_files_photo_id_array":[{"photo_id":"1396385935","filename":"file5"},{"photo_id":"1396385921","filename":"file2"},{"photo_id":"1396385934","filename":"file4"},{"photo_id":"1396385909","filename":"file1"},{"photo_id":"1396385875","filename":"file0"},{"photo_id":"1396385933","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396385934":["hashtag1","hashtag2"]},{"1396385933":["hashtag1","hashtag2"]},{"1396385921":["hashtag1","hashtag2"]},{"1396385909":["hashtag1","hashtag2"]},{"1396385875":["hashtag1","hashtag2"]},{"1396385935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396385934, 1396385933, 1396385921, 1396385909, 1396385875, 1396385935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.788036823272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:41:21.931870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_44_9738.jpg', '/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_55_10558.jpg', '/home/pi/Desktop/images/27112025/09/30/image_27112025_09_31_04_9554.jpg', '/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_14_9770.jpg', '/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_25_10741.jpg', '/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_35_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_44_9738.jpg
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_30_55_10558.jpg
/home/pi/Desktop/images/27112025/09/30/image_27112025_09_31_04_9554.jpg
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_14_9770.jpg
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_25_10741.jpg
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_35_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396385991","1396385979","1396385975","1396385998","1396385986","1396385982"],"photo_ids_order":["1396385975","1396385979","1396385982","1396385986","1396385991","1396385998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfb151d99048efee414f34f8ff6c9d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8098236466569782370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_31_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d00acbc03255f98524205938cbffad51.jpg","text":"TemporaryFile(/tmp/multipartBody4533606062370198868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_30_55_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4509437b7b3262ba0d2a6df6332d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5149651562415994967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_30_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/586d19dd779d8316a47fd87b97804257.jpg","text":"TemporaryFile(/tmp/multipartBody5900452325386373249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_31_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74490322d4d6db1e2b39ddf733659fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1296239669066991960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_31_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16ff421590c844a0ef669e9c3963c9b7.jpg","text":"TemporaryFile(/tmp/multipartBody2632597935605770249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232942703,"filename":"image_27112025_09_31_04_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396385982","file1":"1396385979","file0":"1396385975","file4":"1396385991","file5":"1396385998","file3":"1396385986"},"map_files_photo_id_array":[{"photo_id":"1396385998","filename":"file5"},{"photo_id":"1396385982","filename":"file2"},{"photo_id":"1396385991","filename":"file4"},{"photo_id":"1396385979","filename":"file1"},{"photo_id":"1396385975","filename":"file0"},{"photo_id":"1396385986","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396385991":["hashtag1","hashtag2"]},{"1396385979":["hashtag1","hashtag2"]},{"1396385975":["hashtag1","hashtag2"]},{"1396385998":["hashtag1","hashtag2"]},{"1396385986":["hashtag1","hashtag2"]},{"1396385982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396385991, 1396385979, 1396385975, 1396385998, 1396385986, 1396385982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54215407371521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:42:02.637935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_44_9598.jpg', '/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_55_10784.jpg', '/home/pi/Desktop/images/27112025/09/31/image_27112025_09_32_04_9569.jpg', '/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_14_9818.jpg', '/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_25_10767.jpg', '/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_35_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_44_9598.jpg
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_31_55_10784.jpg
/home/pi/Desktop/images/27112025/09/31/image_27112025_09_32_04_9569.jpg
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_14_9818.jpg
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_25_10767.jpg
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_35_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386018","1396386044","1396386023","1396386017","1396386046","1396386019"],"photo_ids_order":["1396386017","1396386018","1396386019","1396386023","1396386044","1396386046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45785d72c6c3ce71c4d2a83a6490340a.jpg","text":"TemporaryFile(/tmp/multipartBody8571687514001880945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_31_55_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec8a353fe90a7894c23a121f2bb6e990.jpg","text":"TemporaryFile(/tmp/multipartBody303168758720774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_32_25_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59f810c6b28f86d5432b62ebc3cc3b16.jpg","text":"TemporaryFile(/tmp/multipartBody2844310879568815491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_32_14_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/27/1581c3a2c155a97d3b4df860883a474e.jpg","text":"TemporaryFile(/tmp/multipartBody6955832910944192240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_31_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa4d9b4cb5980ee8fb60e73cca1eeada.jpg","text":"TemporaryFile(/tmp/multipartBody6700790078156845375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_32_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5ff03dfbcb6c35c1af88a4f209baa86.jpg","text":"TemporaryFile(/tmp/multipartBody8780150641666140420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764232983372,"filename":"image_27112025_09_32_04_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386019","file1":"1396386018","file0":"1396386017","file4":"1396386044","file5":"1396386046","file3":"1396386023"},"map_files_photo_id_array":[{"photo_id":"1396386046","filename":"file5"},{"photo_id":"1396386019","filename":"file2"},{"photo_id":"1396386044","filename":"file4"},{"photo_id":"1396386018","filename":"file1"},{"photo_id":"1396386017","filename":"file0"},{"photo_id":"1396386023","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386018":["hashtag1","hashtag2"]},{"1396386044":["hashtag1","hashtag2"]},{"1396386023":["hashtag1","hashtag2"]},{"1396386017":["hashtag1","hashtag2"]},{"1396386046":["hashtag1","hashtag2"]},{"1396386019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386018, 1396386044, 1396386023, 1396386017, 1396386046, 1396386019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69855093955994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:42:42.102240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/57/image_30102025_23_57_53_2640.jpg', '/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_08_3759.jpg', '/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_11_2816.jpg', '/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_14_2725.jpg', '/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_29_3699.jpg', '/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_50_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/23/57/image_30102025_23_57_53_2640.jpg
/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_08_3759.jpg
/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_11_2816.jpg
/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_14_2725.jpg
/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_29_3699.jpg
/home/pi/Desktop/images/30102025/23/58/image_30102025_23_58_50_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":["1396386114","1396386164","1396386203","1396386091","1396386055","1396386058"],"photo_ids_order":["1396386055","1396386058","1396386091","1396386114","1396386164","1396386203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffac7cc16ed317ec48bb7ecf5ef4f1e2.jpg","text":"TemporaryFile(/tmp/multipartBody755666505032793848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_58_14_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/27/3ed325197e1dd98179c6023f6d0936b1.jpg","text":"TemporaryFile(/tmp/multipartBody8932022739879805624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_58_29_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/27/751dc5e2c4d731ceecb7e8c64bf59d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2241483695331225115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_58_50_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/27/89d58d4a5b4bc6990af89f708071de50.jpg","text":"TemporaryFile(/tmp/multipartBody1389522036676313968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_58_11_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/27/34c91a099c7d62cd11f5c159c5242f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3320177569673012812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_57_53_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/27/fcb45989dfddd2c464defeb7cb15f9a6.jpg","text":"TemporaryFile(/tmp/multipartBody3940109525095320973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233023445,"filename":"image_30102025_23_58_08_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386091","file1":"1396386058","file0":"1396386055","file4":"1396386164","file5":"1396386203","file3":"1396386114"},"map_files_photo_id_array":[{"photo_id":"1396386203","filename":"file5"},{"photo_id":"1396386091","filename":"file2"},{"photo_id":"1396386164","filename":"file4"},{"photo_id":"1396386058","filename":"file1"},{"photo_id":"1396386055","filename":"file0"},{"photo_id":"1396386114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396386114":["hashtag1","hashtag2"]},{"1396386164":["hashtag1","hashtag2"]},{"1396386203":["hashtag1","hashtag2"]},{"1396386091":["hashtag1","hashtag2"]},{"1396386055":["hashtag1","hashtag2"]},{"1396386058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396386114, 1396386164, 1396386203, 1396386091, 1396386055, 1396386058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05933380126953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:43:22.342201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_44_9642.jpg', '/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_54_9658.jpg', '/home/pi/Desktop/images/27112025/09/32/image_27112025_09_33_05_10761.jpg', '/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_15_9686.jpg', '/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_24_9664.jpg', '/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_35_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_44_9642.jpg
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_32_54_9658.jpg
/home/pi/Desktop/images/27112025/09/32/image_27112025_09_33_05_10761.jpg
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_15_9686.jpg
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_24_9664.jpg
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_35_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386330","1396386309","1396386302","1396386291","1396386294","1396386297"],"photo_ids_order":["1396386291","1396386294","1396386297","1396386302","1396386309","1396386330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3cd6f081062ec386aa62f1550367ec2c.jpg","text":"TemporaryFile(/tmp/multipartBody1055149832003383610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_33_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b125487bcb2d7ac428e350cb6c118a41.jpg","text":"TemporaryFile(/tmp/multipartBody1584008438114161576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_33_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82a0818c0c5e9cf55da30547e59fb54e.jpg","text":"TemporaryFile(/tmp/multipartBody6197836395627527702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_33_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9c675bfc861abaa0652fa1620cc06a6.jpg","text":"TemporaryFile(/tmp/multipartBody326842493594077473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_32_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43d3767214a1a4d156f5478a8a35f3ae.jpg","text":"TemporaryFile(/tmp/multipartBody2418305847787632044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_32_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7caeddee0938bd25cd1de1e543c58d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4028993126562604542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233063105,"filename":"image_27112025_09_33_05_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386297","file1":"1396386294","file0":"1396386291","file4":"1396386309","file5":"1396386330","file3":"1396386302"},"map_files_photo_id_array":[{"photo_id":"1396386330","filename":"file5"},{"photo_id":"1396386297","filename":"file2"},{"photo_id":"1396386309","filename":"file4"},{"photo_id":"1396386294","filename":"file1"},{"photo_id":"1396386291","filename":"file0"},{"photo_id":"1396386302","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386330":["hashtag1","hashtag2"]},{"1396386309":["hashtag1","hashtag2"]},{"1396386302":["hashtag1","hashtag2"]},{"1396386291":["hashtag1","hashtag2"]},{"1396386294":["hashtag1","hashtag2"]},{"1396386297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386330, 1396386309, 1396386302, 1396386291, 1396386294, 1396386297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07597494125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:44:03.115402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_45_9769.jpg', '/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_54_9642.jpg', '/home/pi/Desktop/images/27112025/09/33/image_27112025_09_34_05_10761.jpg', '/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_15_9766.jpg', '/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_24_9532.jpg', '/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_34_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_45_9769.jpg
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_33_54_9642.jpg
/home/pi/Desktop/images/27112025/09/33/image_27112025_09_34_05_10761.jpg
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_15_9766.jpg
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_24_9532.jpg
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_34_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386345","1396386341","1396386338","1396386343","1396386340","1396386336"],"photo_ids_order":["1396386336","1396386338","1396386340","1396386341","1396386343","1396386345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d955e35776572eee8532193b7edb3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5620712456087662657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_34_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f94d19119ea6fdf413a30dc90cc18d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2601524463837801012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_34_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48649a75bf6346e5a85260f94804af67.jpg","text":"TemporaryFile(/tmp/multipartBody3359732905650405084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_33_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1408aa9ad3992b2de54d76c4b91e94db.jpg","text":"TemporaryFile(/tmp/multipartBody2833650726339195777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_34_24_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a2c5ec4c14746e7776c7256ead510a4.jpg","text":"TemporaryFile(/tmp/multipartBody2543065584326125092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_34_05_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17003fe26c8ef4f696a445df40182774.jpg","text":"TemporaryFile(/tmp/multipartBody7763338628720579004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233103897,"filename":"image_27112025_09_33_45_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386340","file1":"1396386338","file0":"1396386336","file4":"1396386343","file5":"1396386345","file3":"1396386341"},"map_files_photo_id_array":[{"photo_id":"1396386345","filename":"file5"},{"photo_id":"1396386340","filename":"file2"},{"photo_id":"1396386343","filename":"file4"},{"photo_id":"1396386338","filename":"file1"},{"photo_id":"1396386336","filename":"file0"},{"photo_id":"1396386341","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386345":["hashtag1","hashtag2"]},{"1396386341":["hashtag1","hashtag2"]},{"1396386338":["hashtag1","hashtag2"]},{"1396386343":["hashtag1","hashtag2"]},{"1396386340":["hashtag1","hashtag2"]},{"1396386336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386345, 1396386341, 1396386338, 1396386343, 1396386340, 1396386336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.524837017059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:44:42.476897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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/23/58/image_30102025_23_58_52_2548.jpg', '/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_10_2795.jpg', '/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_20_2683.jpg', '/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_31_2717.jpg', '/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_49_2750.jpg', '/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_56_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/23/58/image_30102025_23_58_52_2548.jpg
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_10_2795.jpg
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_20_2683.jpg
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_31_2717.jpg
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_49_2750.jpg
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_56_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386356","1396386358","1396386352","1396386355","1396386354","1396386357"],"photo_ids_order":["1396386352","1396386354","1396386355","1396386356","1396386357","1396386358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9db36b984db97ecc60e23a73dbd76e35.jpg","text":"TemporaryFile(/tmp/multipartBody8610302600233685657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_59_31_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/27/27bf11e1434debed150f637a7322a16d.jpg","text":"TemporaryFile(/tmp/multipartBody5130763331005635783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_59_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/27/8e00fabc8363c6afe9f5fcf22c500310.jpg","text":"TemporaryFile(/tmp/multipartBody555444742358919082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_58_52_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/27/af9b0b7054d710ef8c3e8a494b5f1e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6694063411730376226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_59_20_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/27/e5a798fdfa685459a0e1a505f02dc622.jpg","text":"TemporaryFile(/tmp/multipartBody974316977917422473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_59_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/27/2039dd7e319158ee10ec21dc40ed928a.jpg","text":"TemporaryFile(/tmp/multipartBody5827661300511438935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233143819,"filename":"image_30102025_23_59_49_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386355","file1":"1396386354","file0":"1396386352","file4":"1396386357","file5":"1396386358","file3":"1396386356"},"map_files_photo_id_array":[{"photo_id":"1396386358","filename":"file5"},{"photo_id":"1396386355","filename":"file2"},{"photo_id":"1396386357","filename":"file4"},{"photo_id":"1396386354","filename":"file1"},{"photo_id":"1396386352","filename":"file0"},{"photo_id":"1396386356","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396386356":["hashtag1","hashtag2"]},{"1396386358":["hashtag1","hashtag2"]},{"1396386352":["hashtag1","hashtag2"]},{"1396386355":["hashtag1","hashtag2"]},{"1396386354":["hashtag1","hashtag2"]},{"1396386357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396386356, 1396386358, 1396386352, 1396386355, 1396386354, 1396386357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32951807975769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:45:22.705843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_45_10686.jpg', '/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_55_9762.jpg', '/home/pi/Desktop/images/27112025/09/34/image_27112025_09_35_04_9587.jpg', '/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_14_9982.jpg', '/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_25_10750.jpg', '/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_34_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_45_10686.jpg
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_34_55_9762.jpg
/home/pi/Desktop/images/27112025/09/34/image_27112025_09_35_04_9587.jpg
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_14_9982.jpg
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_25_10750.jpg
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_34_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386366","1396386368","1396386362","1396386361","1396386364","1396386372"],"photo_ids_order":["1396386361","1396386362","1396386364","1396386366","1396386368","1396386372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afca040e335b1cc9f6ad950c92fdd18f.jpg","text":"TemporaryFile(/tmp/multipartBody604436068307720040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_35_14_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a5632643c34e96cfd9ae2351ee2ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody1998602651522329979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_35_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d72f22f92fa38d26b063b57efa4483cf.jpg","text":"TemporaryFile(/tmp/multipartBody2671651439265937543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_34_55_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b145936cc276fedc412044752340b76.jpg","text":"TemporaryFile(/tmp/multipartBody7966412994222527662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_34_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce2c758dce4ec6dbef57556ca0d354f1.jpg","text":"TemporaryFile(/tmp/multipartBody1237535944726160535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_35_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/743c4c4dc90b6423114ed26159ee94f2.jpg","text":"TemporaryFile(/tmp/multipartBody6457545365318001752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233183434,"filename":"image_27112025_09_35_34_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386364","file1":"1396386362","file0":"1396386361","file4":"1396386368","file5":"1396386372","file3":"1396386366"},"map_files_photo_id_array":[{"photo_id":"1396386372","filename":"file5"},{"photo_id":"1396386364","filename":"file2"},{"photo_id":"1396386368","filename":"file4"},{"photo_id":"1396386362","filename":"file1"},{"photo_id":"1396386361","filename":"file0"},{"photo_id":"1396386366","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386366":["hashtag1","hashtag2"]},{"1396386368":["hashtag1","hashtag2"]},{"1396386362":["hashtag1","hashtag2"]},{"1396386361":["hashtag1","hashtag2"]},{"1396386364":["hashtag1","hashtag2"]},{"1396386372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386366, 1396386368, 1396386362, 1396386361, 1396386364, 1396386372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50592350959778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:46:03.246353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_44_9803.jpg', '/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_55_10671.jpg', '/home/pi/Desktop/images/27112025/09/35/image_27112025_09_36_05_9733.jpg', '/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_14_9694.jpg', '/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_24_9903.jpg', '/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_35_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_44_9803.jpg
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_35_55_10671.jpg
/home/pi/Desktop/images/27112025/09/35/image_27112025_09_36_05_9733.jpg
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_14_9694.jpg
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_24_9903.jpg
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_35_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386374","1396386376","1396386373","1396386381","1396386375","1396386378"],"photo_ids_order":["1396386373","1396386374","1396386375","1396386376","1396386378","1396386381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9f3e0ad49ffa1e9c4910e01ea138706.jpg","text":"TemporaryFile(/tmp/multipartBody9070951455948073920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_35_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c51c84ecbec0a45290a56111841c3c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3504857092855237726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_36_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c610fddceff9be4d05a96dff3502a94.jpg","text":"TemporaryFile(/tmp/multipartBody7403168248510886595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_35_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/483430d24ae01f468c95e0731df6f6b3.jpg","text":"TemporaryFile(/tmp/multipartBody1194843733748716558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_36_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3099a2a207b866ad05358c2d8b02f207.jpg","text":"TemporaryFile(/tmp/multipartBody3049344318942049384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_36_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59cbcb89f40addbb9af343092c6d4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6352268514507598126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233224000,"filename":"image_27112025_09_36_24_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386375","file1":"1396386374","file0":"1396386373","file4":"1396386378","file5":"1396386381","file3":"1396386376"},"map_files_photo_id_array":[{"photo_id":"1396386381","filename":"file5"},{"photo_id":"1396386375","filename":"file2"},{"photo_id":"1396386378","filename":"file4"},{"photo_id":"1396386374","filename":"file1"},{"photo_id":"1396386373","filename":"file0"},{"photo_id":"1396386376","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386374":["hashtag1","hashtag2"]},{"1396386376":["hashtag1","hashtag2"]},{"1396386373":["hashtag1","hashtag2"]},{"1396386381":["hashtag1","hashtag2"]},{"1396386375":["hashtag1","hashtag2"]},{"1396386378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386374, 1396386376, 1396386373, 1396386381, 1396386375, 1396386378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.325193881988525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:46:42.782211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_59_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/23/59/image_30102025_23_59_59_2697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386387"],"photo_id":"1396386387","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b47403a6008c4bd92cf827482f63b54.jpg","text":"TemporaryFile(/tmp/multipartBody5319822252365240642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233264032,"filename":"image_30102025_23_59_59_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396386387"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396386387"}],"hashtags":[],"portfolio_id":"28055624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.8329336643219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:47:02.498752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_45_9715.jpg', '/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_54_9689.jpg', '/home/pi/Desktop/images/27112025/09/36/image_27112025_09_37_04_9698.jpg', '/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_15_10627.jpg', '/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_24_9664.jpg', '/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_34_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_45_9715.jpg
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_36_54_9689.jpg
/home/pi/Desktop/images/27112025/09/36/image_27112025_09_37_04_9698.jpg
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_15_10627.jpg
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_24_9664.jpg
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_34_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386392","1396386394","1396386391","1396386390","1396386393","1396386396"],"photo_ids_order":["1396386390","1396386391","1396386392","1396386393","1396386394","1396386396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4199b7875e2f4678efb5eac38903dfa3.jpg","text":"TemporaryFile(/tmp/multipartBody8692833932124175479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_37_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d22d37a9aaf25455c4a3abf372e9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1032715854892690352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_37_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/705a970a23d6bc1ddd547b78aa906cd2.jpg","text":"TemporaryFile(/tmp/multipartBody9202121094345322520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_36_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/606db15c6ef8affbfbf36d4d3c64d30c.jpg","text":"TemporaryFile(/tmp/multipartBody1629364182715487771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_36_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07e08c4720e8b7c49640f3ea8fcdef4a.jpg","text":"TemporaryFile(/tmp/multipartBody5603094198010904471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_37_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d6d6988cde67938885969605fce9e56.jpg","text":"TemporaryFile(/tmp/multipartBody648503086174855922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233283457,"filename":"image_27112025_09_37_34_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386392","file1":"1396386391","file0":"1396386390","file4":"1396386394","file5":"1396386396","file3":"1396386393"},"map_files_photo_id_array":[{"photo_id":"1396386396","filename":"file5"},{"photo_id":"1396386392","filename":"file2"},{"photo_id":"1396386394","filename":"file4"},{"photo_id":"1396386391","filename":"file1"},{"photo_id":"1396386390","filename":"file0"},{"photo_id":"1396386393","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386392":["hashtag1","hashtag2"]},{"1396386394":["hashtag1","hashtag2"]},{"1396386391":["hashtag1","hashtag2"]},{"1396386390":["hashtag1","hashtag2"]},{"1396386393":["hashtag1","hashtag2"]},{"1396386396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386392, 1396386394, 1396386391, 1396386390, 1396386393, 1396386396)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.75882530212402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:48:02.716317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_45_10775.jpg', '/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_55_9703.jpg', '/home/pi/Desktop/images/27112025/09/37/image_27112025_09_38_04_9715.jpg', '/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_15_10660.jpg', '/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_25_9714.jpg', '/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_45_10775.jpg
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_37_55_9703.jpg
/home/pi/Desktop/images/27112025/09/37/image_27112025_09_38_04_9715.jpg
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_15_10660.jpg
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_25_9714.jpg
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_34_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386405","1396386404","1396386407","1396386406","1396386409","1396386403"],"photo_ids_order":["1396386403","1396386404","1396386405","1396386406","1396386407","1396386409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e138a9c8411a7cd1ff2b55ef08eae710.jpg","text":"TemporaryFile(/tmp/multipartBody418024782006006506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_38_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d979da6b026e36a4442240dbf2f1c6a5.jpg","text":"TemporaryFile(/tmp/multipartBody8321762668526327823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_37_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1cd2d2ad87f45f3edfa2f419012c788.jpg","text":"TemporaryFile(/tmp/multipartBody7268774600208761365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_38_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e0948ab2c33db2c8fc742d24642f153.jpg","text":"TemporaryFile(/tmp/multipartBody7777165524149400218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_38_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f67c3893f8ffc4627b92dd5f85a5256b.jpg","text":"TemporaryFile(/tmp/multipartBody8642860914184936660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_38_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42a6c443a935bf478b677e281dd88c54.jpg","text":"TemporaryFile(/tmp/multipartBody7344180653095925541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233343484,"filename":"image_27112025_09_37_45_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386405","file1":"1396386404","file0":"1396386403","file4":"1396386407","file5":"1396386409","file3":"1396386406"},"map_files_photo_id_array":[{"photo_id":"1396386409","filename":"file5"},{"photo_id":"1396386405","filename":"file2"},{"photo_id":"1396386407","filename":"file4"},{"photo_id":"1396386404","filename":"file1"},{"photo_id":"1396386403","filename":"file0"},{"photo_id":"1396386406","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386405":["hashtag1","hashtag2"]},{"1396386404":["hashtag1","hashtag2"]},{"1396386407":["hashtag1","hashtag2"]},{"1396386406":["hashtag1","hashtag2"]},{"1396386409":["hashtag1","hashtag2"]},{"1396386403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386405, 1396386404, 1396386407, 1396386406, 1396386409, 1396386403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54047894477844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:48:42.139071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_03_2574.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_06_2756.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_18_2692.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_27_2623.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_31_3668.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_36_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_03_2574.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_06_2756.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_18_2692.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_27_2623.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_31_3668.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_36_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386423","1396386417","1396386414","1396386422","1396386425","1396386415"],"photo_ids_order":["1396386414","1396386415","1396386417","1396386422","1396386423","1396386425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18f11234f92292a79f5aaa5eefa1d00d.jpg","text":"TemporaryFile(/tmp/multipartBody869379399667159596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_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/27/b52cca5b0b8602dbe31e7abf715b10f0.jpg","text":"TemporaryFile(/tmp/multipartBody8786797961814191521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_18_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/27/a6e4d997fcf1a52502e2b58196c7edff.jpg","text":"TemporaryFile(/tmp/multipartBody8476348230119386960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_03_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/27/8a995a1fa6dff834592e7fbe91fb70e2.jpg","text":"TemporaryFile(/tmp/multipartBody7861801208576577182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_27_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/27/7261a58e3d5427766830f1a3013374f4.jpg","text":"TemporaryFile(/tmp/multipartBody2500044334030093920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_36_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/27/81ecdda46d6469772ffadaa9284053c7.jpg","text":"TemporaryFile(/tmp/multipartBody8686554044713927018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233383650,"filename":"image_31102025_02_12_06_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386417","file1":"1396386415","file0":"1396386414","file4":"1396386423","file5":"1396386425","file3":"1396386422"},"map_files_photo_id_array":[{"photo_id":"1396386425","filename":"file5"},{"photo_id":"1396386417","filename":"file2"},{"photo_id":"1396386423","filename":"file4"},{"photo_id":"1396386415","filename":"file1"},{"photo_id":"1396386414","filename":"file0"},{"photo_id":"1396386422","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396386423":["hashtag1","hashtag2"]},{"1396386417":["hashtag1","hashtag2"]},{"1396386414":["hashtag1","hashtag2"]},{"1396386422":["hashtag1","hashtag2"]},{"1396386425":["hashtag1","hashtag2"]},{"1396386415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396386423, 1396386417, 1396386414, 1396386422, 1396386425, 1396386415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72240328788757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:49:22.380016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_45_10534.jpg', '/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_55_9624.jpg', '/home/pi/Desktop/images/27112025/09/38/image_27112025_09_39_04_9668.jpg', '/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_15_10704.jpg', '/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_25_9644.jpg', '/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_34_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_45_10534.jpg
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_38_55_9624.jpg
/home/pi/Desktop/images/27112025/09/38/image_27112025_09_39_04_9668.jpg
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_15_10704.jpg
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_25_9644.jpg
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_34_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386558","1396386554","1396386556","1396386571","1396386607","1396386529"],"photo_ids_order":["1396386529","1396386554","1396386556","1396386558","1396386571","1396386607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fb4987e6a08eadefcbe2ece8d1460e2.jpg","text":"TemporaryFile(/tmp/multipartBody2264536806973143919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_39_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b2463473fb80df7ade293821ce53e33.jpg","text":"TemporaryFile(/tmp/multipartBody1170685577710839179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_38_55_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/27/6ecab68fadba1b6c94e31117e843d529.jpg","text":"TemporaryFile(/tmp/multipartBody7484983890869329677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_39_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96adef3c541285c0a6d44bf092c37605.jpg","text":"TemporaryFile(/tmp/multipartBody3566744951755117841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_39_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbdb3d0cc7a0d251369aa46385e3975c.jpg","text":"TemporaryFile(/tmp/multipartBody724256512683161827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_39_34_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0516859fa403bb75a66b1b43cdd03d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1650115660368349992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233423080,"filename":"image_27112025_09_38_45_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386556","file1":"1396386554","file0":"1396386529","file4":"1396386571","file5":"1396386607","file3":"1396386558"},"map_files_photo_id_array":[{"photo_id":"1396386607","filename":"file5"},{"photo_id":"1396386556","filename":"file2"},{"photo_id":"1396386571","filename":"file4"},{"photo_id":"1396386554","filename":"file1"},{"photo_id":"1396386529","filename":"file0"},{"photo_id":"1396386558","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386558":["hashtag1","hashtag2"]},{"1396386554":["hashtag1","hashtag2"]},{"1396386556":["hashtag1","hashtag2"]},{"1396386571":["hashtag1","hashtag2"]},{"1396386607":["hashtag1","hashtag2"]},{"1396386529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386558, 1396386554, 1396386556, 1396386571, 1396386607, 1396386529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00233030319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:50:02.937978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_45_10692.jpg', '/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_54_9642.jpg', '/home/pi/Desktop/images/27112025/09/39/image_27112025_09_40_04_9604.jpg', '/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_15_10838.jpg', '/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_25_9728.jpg', '/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_45_10692.jpg
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_39_54_9642.jpg
/home/pi/Desktop/images/27112025/09/39/image_27112025_09_40_04_9604.jpg
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_15_10838.jpg
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_25_9728.jpg
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_34_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386770","1396386740","1396386742","1396386670","1396386706","1396386675"],"photo_ids_order":["1396386670","1396386675","1396386706","1396386740","1396386742","1396386770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2777a7e23dcbc4c166fd6dd0c8d707d3.jpg","text":"TemporaryFile(/tmp/multipartBody8840095228244688351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_40_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c1c10aa8efca60dc951471dc1093374.jpg","text":"TemporaryFile(/tmp/multipartBody1117519541104011044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_40_15_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5c0a333100e4a3283a2216aa8130dfd.jpg","text":"TemporaryFile(/tmp/multipartBody461867041368189248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_40_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd4b3ed39ec8111e2a266f8fb5faf267.jpg","text":"TemporaryFile(/tmp/multipartBody734358912528063057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_39_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8a7c63fbb1a4b3ca11d4195f7d79f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8852755783090367419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_40_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf788fa5506cc89d5f55534042aee463.jpg","text":"TemporaryFile(/tmp/multipartBody1954346615347706291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233463714,"filename":"image_27112025_09_39_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386706","file1":"1396386675","file0":"1396386670","file4":"1396386742","file5":"1396386770","file3":"1396386740"},"map_files_photo_id_array":[{"photo_id":"1396386770","filename":"file5"},{"photo_id":"1396386706","filename":"file2"},{"photo_id":"1396386742","filename":"file4"},{"photo_id":"1396386675","filename":"file1"},{"photo_id":"1396386670","filename":"file0"},{"photo_id":"1396386740","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386770":["hashtag1","hashtag2"]},{"1396386740":["hashtag1","hashtag2"]},{"1396386742":["hashtag1","hashtag2"]},{"1396386670":["hashtag1","hashtag2"]},{"1396386706":["hashtag1","hashtag2"]},{"1396386675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386770, 1396386740, 1396386742, 1396386670, 1396386706, 1396386675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99343466758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:50:42.470664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_40_3657.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_42_2755.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_45_2641.jpg', '/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_57_2635.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_06_2587.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_09_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_40_3657.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_42_2755.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_45_2641.jpg
/home/pi/Desktop/images/31102025/02/12/image_31102025_02_12_57_2635.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_06_2587.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_09_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":["1396386804","1396386776","1396386779","1396386793","1396386805","1396386783"],"photo_ids_order":["1396386776","1396386779","1396386783","1396386793","1396386804","1396386805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fbf5a5c471b398d2f4565755a7935fd.jpg","text":"TemporaryFile(/tmp/multipartBody1540026670085759584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_13_06_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/27/fc791f708c0bffbca04cc89826cb0dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6472442440939604300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_12_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/27/24fbad439c5d7cc96d8deb5be265b3ea.jpg","text":"TemporaryFile(/tmp/multipartBody6979558148142259856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_12_42_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/27/e352f1bd04ba8437e91a7c9e37c60162.jpg","text":"TemporaryFile(/tmp/multipartBody2649657290312129487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_12_57_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/27/981919a9df330939a7e1a469305cdf6d.jpg","text":"TemporaryFile(/tmp/multipartBody8208611054588713030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_13_09_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/27/de19be71528f8671be8feb1c54ba9d20.jpg","text":"TemporaryFile(/tmp/multipartBody7087504053629420792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233504010,"filename":"image_31102025_02_12_45_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386783","file1":"1396386779","file0":"1396386776","file4":"1396386804","file5":"1396386805","file3":"1396386793"},"map_files_photo_id_array":[{"photo_id":"1396386805","filename":"file5"},{"photo_id":"1396386783","filename":"file2"},{"photo_id":"1396386804","filename":"file4"},{"photo_id":"1396386779","filename":"file1"},{"photo_id":"1396386776","filename":"file0"},{"photo_id":"1396386793","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396386804":["hashtag1","hashtag2"]},{"1396386776":["hashtag1","hashtag2"]},{"1396386779":["hashtag1","hashtag2"]},{"1396386793":["hashtag1","hashtag2"]},{"1396386805":["hashtag1","hashtag2"]},{"1396386783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396386804, 1396386776, 1396386779, 1396386793, 1396386805, 1396386783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27917671203613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:51:22.754727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_45_10665.jpg', '/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_55_9554.jpg', '/home/pi/Desktop/images/27112025/09/40/image_27112025_09_41_04_9790.jpg', '/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_14_9838.jpg', '/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_25_10700.jpg', '/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_35_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_45_10665.jpg
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_40_55_9554.jpg
/home/pi/Desktop/images/27112025/09/40/image_27112025_09_41_04_9790.jpg
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_14_9838.jpg
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_25_10700.jpg
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_35_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386810","1396386812","1396386806","1396386814","1396386817","1396386808"],"photo_ids_order":["1396386806","1396386808","1396386810","1396386812","1396386814","1396386817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48f016924b56ea05c3780d3cb38edfb1.jpg","text":"TemporaryFile(/tmp/multipartBody6523337656673356229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_41_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffc43fc22118e843f60ae15715c2bcde.jpg","text":"TemporaryFile(/tmp/multipartBody5045827010310156819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_41_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/898edfe4081792a96729cf40a7dd63d1.jpg","text":"TemporaryFile(/tmp/multipartBody7973951890496460314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_40_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b024e1037ef77de3c96e442552dc354.jpg","text":"TemporaryFile(/tmp/multipartBody3460487452376943178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_41_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3aae1e3ff645cb7a6416fe4e91c39192.jpg","text":"TemporaryFile(/tmp/multipartBody1428193647576849148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_41_35_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7265906bf8777425853b4386a1d343cf.jpg","text":"TemporaryFile(/tmp/multipartBody1539266244474048699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233543521,"filename":"image_27112025_09_40_55_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386810","file1":"1396386808","file0":"1396386806","file4":"1396386814","file5":"1396386817","file3":"1396386812"},"map_files_photo_id_array":[{"photo_id":"1396386817","filename":"file5"},{"photo_id":"1396386810","filename":"file2"},{"photo_id":"1396386814","filename":"file4"},{"photo_id":"1396386808","filename":"file1"},{"photo_id":"1396386806","filename":"file0"},{"photo_id":"1396386812","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386810":["hashtag1","hashtag2"]},{"1396386812":["hashtag1","hashtag2"]},{"1396386806":["hashtag1","hashtag2"]},{"1396386814":["hashtag1","hashtag2"]},{"1396386817":["hashtag1","hashtag2"]},{"1396386808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386810, 1396386812, 1396386806, 1396386814, 1396386817, 1396386808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.534770488739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:52:02.468570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_44_9820.jpg', '/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_55_10748.jpg', '/home/pi/Desktop/images/27112025/09/41/image_27112025_09_42_05_9768.jpg', '/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_15_9821.jpg', '/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_24_9644.jpg', '/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_44_9820.jpg
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_41_55_10748.jpg
/home/pi/Desktop/images/27112025/09/41/image_27112025_09_42_05_9768.jpg
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_15_9821.jpg
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_24_9644.jpg
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_35_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396386906","1396386965","1396386956","1396386970","1396386993","1396386924"],"photo_ids_order":["1396386906","1396386924","1396386956","1396386965","1396386970","1396386993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fad948f39fc3a80a0bc5ebbb11a38e83.jpg","text":"TemporaryFile(/tmp/multipartBody2646115429645125143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_41_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b48b2ec5cc2d505e2f0f9d9756ad28f.jpg","text":"TemporaryFile(/tmp/multipartBody5086925333394586579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_42_15_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f697907bce0043c8b0e86a209d62686.jpg","text":"TemporaryFile(/tmp/multipartBody8877175024631936019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_42_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45950fd35764749b78f820e9dafc5d55.jpg","text":"TemporaryFile(/tmp/multipartBody62761320780626415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_42_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8034903f35485eca4895e99b5ed96370.jpg","text":"TemporaryFile(/tmp/multipartBody796580846702668794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_42_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88591db73516b7c9dce1d3c31107ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody4362965592457843735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233583207,"filename":"image_27112025_09_41_55_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396386956","file1":"1396386924","file0":"1396386906","file4":"1396386970","file5":"1396386993","file3":"1396386965"},"map_files_photo_id_array":[{"photo_id":"1396386993","filename":"file5"},{"photo_id":"1396386956","filename":"file2"},{"photo_id":"1396386970","filename":"file4"},{"photo_id":"1396386924","filename":"file1"},{"photo_id":"1396386906","filename":"file0"},{"photo_id":"1396386965","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396386906":["hashtag1","hashtag2"]},{"1396386965":["hashtag1","hashtag2"]},{"1396386956":["hashtag1","hashtag2"]},{"1396386970":["hashtag1","hashtag2"]},{"1396386993":["hashtag1","hashtag2"]},{"1396386924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396386906, 1396386965, 1396386956, 1396386970, 1396386993, 1396386924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.527270793914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:52:41.979108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_12_2750.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_21_2711.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_24_2810.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_28_3719.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_40_3652.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_45_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_12_2750.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_21_2711.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_24_2810.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_28_3719.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_40_3652.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_45_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387002","1396387058","1396387019","1396387004","1396387003","1396386999"],"photo_ids_order":["1396386999","1396387002","1396387003","1396387004","1396387019","1396387058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4946f972674b4a5cb8ada9411710eee1.jpg","text":"TemporaryFile(/tmp/multipartBody8917026498168817732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_21_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/27/61773e08fcf239b815a005213f4e13a4.jpg","text":"TemporaryFile(/tmp/multipartBody227356351418287682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_45_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/27/3a6bb1c218b0f691a2b6df0ae60265d9.jpg","text":"TemporaryFile(/tmp/multipartBody8861106630041974589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_40_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/27/0faeea82a19f76c387a3962160069dce.jpg","text":"TemporaryFile(/tmp/multipartBody4768867796881814510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_28_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/27/dd7eca937bdd630ede0f43bd43f040a0.jpg","text":"TemporaryFile(/tmp/multipartBody1242209673697005486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_24_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/27/4766132545172c42a40fa7e46f636a81.jpg","text":"TemporaryFile(/tmp/multipartBody8465729256015598144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233624520,"filename":"image_31102025_02_13_12_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387003","file1":"1396387002","file0":"1396386999","file4":"1396387019","file5":"1396387058","file3":"1396387004"},"map_files_photo_id_array":[{"photo_id":"1396387058","filename":"file5"},{"photo_id":"1396387003","filename":"file2"},{"photo_id":"1396387019","filename":"file4"},{"photo_id":"1396387002","filename":"file1"},{"photo_id":"1396386999","filename":"file0"},{"photo_id":"1396387004","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396387002":["hashtag1","hashtag2"]},{"1396387058":["hashtag1","hashtag2"]},{"1396387019":["hashtag1","hashtag2"]},{"1396387004":["hashtag1","hashtag2"]},{"1396387003":["hashtag1","hashtag2"]},{"1396386999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396387002, 1396387058, 1396387019, 1396387004, 1396387003, 1396386999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.580339431762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:53:22.187688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_45_9653.jpg', '/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_55_9892.jpg', '/home/pi/Desktop/images/27112025/09/42/image_27112025_09_43_04_9698.jpg', '/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_14_9863.jpg', '/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_25_10727.jpg', '/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_35_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_45_9653.jpg
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_42_55_9892.jpg
/home/pi/Desktop/images/27112025/09/42/image_27112025_09_43_04_9698.jpg
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_14_9863.jpg
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_25_10727.jpg
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_35_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387172","1396387220","1396387205","1396387243","1396387201","1396387203"],"photo_ids_order":["1396387172","1396387201","1396387203","1396387205","1396387220","1396387243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67759cf11826bb983089c809ad4de7f6.jpg","text":"TemporaryFile(/tmp/multipartBody442754010838494280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_42_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15d6494af279956d96132bc56cbdba1a.jpg","text":"TemporaryFile(/tmp/multipartBody6592564575186651072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_43_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d2b1ec64968e9ffd1670caba940e048.jpg","text":"TemporaryFile(/tmp/multipartBody7624294658905040076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_43_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85f6b28edc226fd4140913baa1450b01.jpg","text":"TemporaryFile(/tmp/multipartBody408906879061663509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_43_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9396af214cc680f25ab7ace40e8a686.jpg","text":"TemporaryFile(/tmp/multipartBody6391867565678469104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_42_55_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a35b0b4c279116ef12450b9f60481f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5354838332763805498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233662882,"filename":"image_27112025_09_43_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387203","file1":"1396387201","file0":"1396387172","file4":"1396387220","file5":"1396387243","file3":"1396387205"},"map_files_photo_id_array":[{"photo_id":"1396387243","filename":"file5"},{"photo_id":"1396387203","filename":"file2"},{"photo_id":"1396387220","filename":"file4"},{"photo_id":"1396387201","filename":"file1"},{"photo_id":"1396387172","filename":"file0"},{"photo_id":"1396387205","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396387172":["hashtag1","hashtag2"]},{"1396387220":["hashtag1","hashtag2"]},{"1396387205":["hashtag1","hashtag2"]},{"1396387243":["hashtag1","hashtag2"]},{"1396387201":["hashtag1","hashtag2"]},{"1396387203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396387172, 1396387220, 1396387205, 1396387243, 1396387201, 1396387203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69491982460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:54:03.042559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_44_9776.jpg', '/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_54_9718.jpg', '/home/pi/Desktop/images/27112025/09/43/image_27112025_09_44_05_10627.jpg', '/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_14_9687.jpg', '/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_24_9795.jpg', '/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_35_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_44_9776.jpg
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_43_54_9718.jpg
/home/pi/Desktop/images/27112025/09/43/image_27112025_09_44_05_10627.jpg
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_14_9687.jpg
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_24_9795.jpg
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_35_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387277","1396387274","1396387276","1396387278","1396387275","1396387305"],"photo_ids_order":["1396387274","1396387275","1396387276","1396387277","1396387278","1396387305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcbee2684eb48618b648f72874f7629b.jpg","text":"TemporaryFile(/tmp/multipartBody6348149330020096783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_44_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7572d5d54c1bbaa4c2333ba9d0cea800.jpg","text":"TemporaryFile(/tmp/multipartBody6932017696646396906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_43_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fb53448deb2ee7e9c7d557da35faa9a.jpg","text":"TemporaryFile(/tmp/multipartBody2959141598554865485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_44_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a58cc1e789967dbaba09c645fe958c38.jpg","text":"TemporaryFile(/tmp/multipartBody2235436787795935789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_44_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3633086585678b570c6f025bdca9d1af.jpg","text":"TemporaryFile(/tmp/multipartBody8575958723698671614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_43_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be42000902ac66ae921891ed91164d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5056841360684548021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233703871,"filename":"image_27112025_09_44_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387276","file1":"1396387275","file0":"1396387274","file4":"1396387278","file5":"1396387305","file3":"1396387277"},"map_files_photo_id_array":[{"photo_id":"1396387305","filename":"file5"},{"photo_id":"1396387276","filename":"file2"},{"photo_id":"1396387278","filename":"file4"},{"photo_id":"1396387275","filename":"file1"},{"photo_id":"1396387274","filename":"file0"},{"photo_id":"1396387277","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396387277":["hashtag1","hashtag2"]},{"1396387274":["hashtag1","hashtag2"]},{"1396387276":["hashtag1","hashtag2"]},{"1396387278":["hashtag1","hashtag2"]},{"1396387275":["hashtag1","hashtag2"]},{"1396387305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396387277, 1396387274, 1396387276, 1396387278, 1396387275, 1396387305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58230376243591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:54:42.284027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_48_3578.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_57_5605.jpg', '/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_59_2047.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_01_1908.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_03_2182.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_06_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_48_3578.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_57_5605.jpg
/home/pi/Desktop/images/31102025/02/13/image_31102025_02_13_59_2047.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_01_1908.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_03_2182.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_06_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387358","1396387352","1396387355","1396387354","1396387357","1396387356"],"photo_ids_order":["1396387352","1396387354","1396387355","1396387356","1396387357","1396387358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/136467bbb3de2667378d640729a527be.jpg","text":"TemporaryFile(/tmp/multipartBody8992272619256197782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_14_06_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/27/de20485e15e8f455664a0539ff764342.jpg","text":"TemporaryFile(/tmp/multipartBody4758281094608914228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_13_48_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/27/d01297e939a182258f11f5fd712717d3.jpg","text":"TemporaryFile(/tmp/multipartBody2938235728843709788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_13_59_2047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7fc7aeb4f1ee48bb91a664793ebef67.jpg","text":"TemporaryFile(/tmp/multipartBody5256709035391917385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_13_57_5605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2996475414df4b1355cae6672afc3d99.jpg","text":"TemporaryFile(/tmp/multipartBody9148007393476607295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_14_03_2182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d017de78764dca4f8d806c4bd00d527.jpg","text":"TemporaryFile(/tmp/multipartBody7784322606830816416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233743784,"filename":"image_31102025_02_14_01_1908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387355","file1":"1396387354","file0":"1396387352","file4":"1396387357","file5":"1396387358","file3":"1396387356"},"map_files_photo_id_array":[{"photo_id":"1396387358","filename":"file5"},{"photo_id":"1396387355","filename":"file2"},{"photo_id":"1396387357","filename":"file4"},{"photo_id":"1396387354","filename":"file1"},{"photo_id":"1396387352","filename":"file0"},{"photo_id":"1396387356","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396387358":["hashtag1","hashtag2"]},{"1396387352":["hashtag1","hashtag2"]},{"1396387355":["hashtag1","hashtag2"]},{"1396387354":["hashtag1","hashtag2"]},{"1396387357":["hashtag1","hashtag2"]},{"1396387356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396387358, 1396387352, 1396387355, 1396387354, 1396387357, 1396387356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50631880760193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:55:22.531142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_45_9639.jpg', '/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_54_9675.jpg', '/home/pi/Desktop/images/27112025/09/44/image_27112025_09_45_05_10764.jpg', '/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_15_9800.jpg', '/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_25_9885.jpg', '/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_34_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_45_9639.jpg
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_44_54_9675.jpg
/home/pi/Desktop/images/27112025/09/44/image_27112025_09_45_05_10764.jpg
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_15_9800.jpg
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_25_9885.jpg
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_34_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387489","1396387555","1396387485","1396387461","1396387518","1396387487"],"photo_ids_order":["1396387461","1396387485","1396387487","1396387489","1396387518","1396387555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b53270615507864bc843141e0ad8adea.jpg","text":"TemporaryFile(/tmp/multipartBody1412333823876933083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_45_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e669169b3238dfb78811086341296320.jpg","text":"TemporaryFile(/tmp/multipartBody5140142426712214906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_45_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c50b76c42480bffaf5bd9f551a48d05.jpg","text":"TemporaryFile(/tmp/multipartBody9138336155997537932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_44_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b709d473b89555aa5e6ff59da5f6194.jpg","text":"TemporaryFile(/tmp/multipartBody3082030157081180605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_44_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/683a4c17654404a4a4e8cc86092de224.jpg","text":"TemporaryFile(/tmp/multipartBody3254667886421175669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_45_25_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8722ac852fbe4a2ae9fe8503b313bd5b.jpg","text":"TemporaryFile(/tmp/multipartBody896302117005164385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233783296,"filename":"image_27112025_09_45_05_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387487","file1":"1396387485","file0":"1396387461","file4":"1396387518","file5":"1396387555","file3":"1396387489"},"map_files_photo_id_array":[{"photo_id":"1396387555","filename":"file5"},{"photo_id":"1396387487","filename":"file2"},{"photo_id":"1396387518","filename":"file4"},{"photo_id":"1396387485","filename":"file1"},{"photo_id":"1396387461","filename":"file0"},{"photo_id":"1396387489","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396387489":["hashtag1","hashtag2"]},{"1396387555":["hashtag1","hashtag2"]},{"1396387485":["hashtag1","hashtag2"]},{"1396387461":["hashtag1","hashtag2"]},{"1396387518":["hashtag1","hashtag2"]},{"1396387487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396387489, 1396387555, 1396387485, 1396387461, 1396387518, 1396387487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7527961730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:56:03.235983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_44_9745.jpg', '/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_55_10721.jpg', '/home/pi/Desktop/images/27112025/09/45/image_27112025_09_46_05_9683.jpg', '/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_15_10549.jpg', '/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_25_9789.jpg', '/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_35_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_44_9745.jpg
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_45_55_10721.jpg
/home/pi/Desktop/images/27112025/09/45/image_27112025_09_46_05_9683.jpg
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_15_10549.jpg
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_25_9789.jpg
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_35_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387631","1396387633","1396387621","1396387596","1396387635","1396387629"],"photo_ids_order":["1396387596","1396387621","1396387629","1396387631","1396387633","1396387635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2baddf68671efb7581b72de8ab387cb.jpg","text":"TemporaryFile(/tmp/multipartBody247531326208510533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_46_15_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac235ce5210e463c1d6ee1bb5aedcc5d.jpg","text":"TemporaryFile(/tmp/multipartBody1022711894558445855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_46_25_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36a0846e6d01655c0c3e25da7126124e.jpg","text":"TemporaryFile(/tmp/multipartBody4948025464407612081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_45_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/732c74675375031ffd401212673d450f.jpg","text":"TemporaryFile(/tmp/multipartBody4217524740686413153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_45_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65b1f736ff7f0f63fff0132ef46be7a5.jpg","text":"TemporaryFile(/tmp/multipartBody232618460514500958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_46_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a6cc57f04ed5e09ca016fc85c20644d.jpg","text":"TemporaryFile(/tmp/multipartBody852845104005980544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233824013,"filename":"image_27112025_09_46_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387629","file1":"1396387621","file0":"1396387596","file4":"1396387633","file5":"1396387635","file3":"1396387631"},"map_files_photo_id_array":[{"photo_id":"1396387635","filename":"file5"},{"photo_id":"1396387629","filename":"file2"},{"photo_id":"1396387633","filename":"file4"},{"photo_id":"1396387621","filename":"file1"},{"photo_id":"1396387596","filename":"file0"},{"photo_id":"1396387631","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396387631":["hashtag1","hashtag2"]},{"1396387633":["hashtag1","hashtag2"]},{"1396387621":["hashtag1","hashtag2"]},{"1396387596":["hashtag1","hashtag2"]},{"1396387635":["hashtag1","hashtag2"]},{"1396387629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396387631, 1396387633, 1396387621, 1396387596, 1396387635, 1396387629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.754579067230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 09:56:42.795234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_20_13685.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_22_1712.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_41_18837.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_44_1596.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_47_1685.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_49_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_20_13685.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_22_1712.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_41_18837.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_44_1596.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_47_1685.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_49_1690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387652","1396387645","1396387654","1396387648","1396387656","1396387650"],"photo_ids_order":["1396387645","1396387648","1396387650","1396387652","1396387654","1396387656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aede63b9b5a9eed45f2fc5c75445bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody2474740406751029952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_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/27/a2dec401b71672651c0215c56005ddbc.jpg","text":"TemporaryFile(/tmp/multipartBody4591076922321489027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_20_13685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed3ef1f9d16ccfd65e7119fcc4fc6bda.jpg","text":"TemporaryFile(/tmp/multipartBody4325480445410101316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_47_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/27/e767e235d10bbbd068f6381dabd40df7.jpg","text":"TemporaryFile(/tmp/multipartBody1922707726071719327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_22_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/27/be7839ffb413b1271f382e5ca6e132bd.jpg","text":"TemporaryFile(/tmp/multipartBody5483032617005686985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_49_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e28b3f9e78435510e53cf0d628d2638b.jpg","text":"TemporaryFile(/tmp/multipartBody8231643259020793679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233864440,"filename":"image_31102025_02_14_41_18837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387650","file1":"1396387648","file0":"1396387645","file4":"1396387654","file5":"1396387656","file3":"1396387652"},"map_files_photo_id_array":[{"photo_id":"1396387656","filename":"file5"},{"photo_id":"1396387650","filename":"file2"},{"photo_id":"1396387654","filename":"file4"},{"photo_id":"1396387648","filename":"file1"},{"photo_id":"1396387645","filename":"file0"},{"photo_id":"1396387652","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396387652":["hashtag1","hashtag2"]},{"1396387645":["hashtag1","hashtag2"]},{"1396387654":["hashtag1","hashtag2"]},{"1396387648":["hashtag1","hashtag2"]},{"1396387656":["hashtag1","hashtag2"]},{"1396387650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396387652, 1396387645, 1396387654, 1396387648, 1396387656, 1396387650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649852991104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 09:57:21.953501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_44_9638.jpg', '/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_55_10711.jpg', '/home/pi/Desktop/images/27112025/09/46/image_27112025_09_47_05_9637.jpg', '/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_14_9618.jpg', '/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_35_9548.jpg', '/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_55_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_44_9638.jpg
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_46_55_10711.jpg
/home/pi/Desktop/images/27112025/09/46/image_27112025_09_47_05_9637.jpg
/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_14_9618.jpg
/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_35_9548.jpg
/home/pi/Desktop/images/27112025/09/47/image_27112025_09_47_55_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396387664","1396387663","1396387666","1396387668","1396387662","1396387665"],"photo_ids_order":["1396387662","1396387663","1396387664","1396387665","1396387666","1396387668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/666ad42d4fd43f4c29dfbaf4b0927839.jpg","text":"TemporaryFile(/tmp/multipartBody5550765665537417467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_47_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1695e1722104c67880e5d8f82aeddc44.jpg","text":"TemporaryFile(/tmp/multipartBody3444063790834123434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_46_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/573ab5404af3e821f0309223ad5ccbb7.jpg","text":"TemporaryFile(/tmp/multipartBody2060850990652376008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_47_35_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6be8ffd8deb208bf3ebd6488f226ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8845683900091185924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_47_55_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6fb71b5d0ed995afed158391ebf7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4502160595139689720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_46_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3142bbb29d0d5b118021cc66bf66a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1645481218552153081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764233902681,"filename":"image_27112025_09_47_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396387664","file1":"1396387663","file0":"1396387662","file4":"1396387666","file5":"1396387668","file3":"1396387665"},"map_files_photo_id_array":[{"photo_id":"1396387668","filename":"file5"},{"photo_id":"1396387664","filename":"file2"},{"photo_id":"1396387666","filename":"file4"},{"photo_id":"1396387663","filename":"file1"},{"photo_id":"1396387662","filename":"file0"},{"photo_id":"1396387665","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396387664":["hashtag1","hashtag2"]},{"1396387663":["hashtag1","hashtag2"]},{"1396387666":["hashtag1","hashtag2"]},{"1396387668":["hashtag1","hashtag2"]},{"1396387662":["hashtag1","hashtag2"]},{"1396387665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396387664, 1396387663, 1396387666, 1396387668, 1396387662, 1396387665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26288080215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 09:59:03.405452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/47/image_27112025_09_48_05_9692.jpg', '/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_15_10265.jpg', '/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_25_9660.jpg', '/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_34_9624.jpg', '/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_45_10706.jpg', '/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_55_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/47/image_27112025_09_48_05_9692.jpg
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_15_10265.jpg
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_25_9660.jpg
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_34_9624.jpg
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_45_10706.jpg
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_48_55_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396388416","1396388343","1396388274","1396388532","1396388492","1396388456"],"photo_ids_order":["1396388274","1396388343","1396388416","1396388456","1396388492","1396388532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1db9c6040fe1cd821e4f8330a7b375bb.jpg","text":"TemporaryFile(/tmp/multipartBody4292011065959732188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_25_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8808f0f95520feed0e6dfd19001b3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4142154500711658516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_15_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af9aa4a13beeffe08220d3f1cb8a59ec.jpg","text":"TemporaryFile(/tmp/multipartBody2838959162301156313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d0a2c9358e4a7db4f953a4381f36f86.jpg","text":"TemporaryFile(/tmp/multipartBody4291253076263903150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/303624163555c3d57ba3c8cef956f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4875617986223899055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf08171486319fbfb19d339e63d69509.jpg","text":"TemporaryFile(/tmp/multipartBody2506570938733532156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234006342,"filename":"image_27112025_09_48_34_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396388416","file1":"1396388343","file0":"1396388274","file4":"1396388492","file5":"1396388532","file3":"1396388456"},"map_files_photo_id_array":[{"photo_id":"1396388532","filename":"file5"},{"photo_id":"1396388416","filename":"file2"},{"photo_id":"1396388492","filename":"file4"},{"photo_id":"1396388343","filename":"file1"},{"photo_id":"1396388274","filename":"file0"},{"photo_id":"1396388456","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396388416":["hashtag1","hashtag2"]},{"1396388343":["hashtag1","hashtag2"]},{"1396388274":["hashtag1","hashtag2"]},{"1396388532":["hashtag1","hashtag2"]},{"1396388492":["hashtag1","hashtag2"]},{"1396388456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396388416, 1396388343, 1396388274, 1396388532, 1396388492, 1396388456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96410942077637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:00:02.936388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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 10
2025-11-27 10:00:22.413989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/48/image_27112025_09_49_04_9561.jpg', '/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_15_10783.jpg', '/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_25_9818.jpg', '/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_35_9778.jpg', '/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_44_9663.jpg', '/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_54_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/48/image_27112025_09_49_04_9561.jpg
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_15_10783.jpg
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_25_9818.jpg
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_35_9778.jpg
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_44_9663.jpg
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_49_54_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396389673","1396389733","1396389591","1396389321","1396389383","1396389470"],"photo_ids_order":["1396389321","1396389383","1396389470","1396389591","1396389673","1396389733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb35bc908bfac2da81aa5c3004d89d37.jpg","text":"TemporaryFile(/tmp/multipartBody2211427932617939757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92ad791d087035fa303b38e271d412d3.jpg","text":"TemporaryFile(/tmp/multipartBody2422520502518967787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_54_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f44709586276ea80701349df21904753.jpg","text":"TemporaryFile(/tmp/multipartBody7917972451486525153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8b818f563a69c448573b978d78534a8.jpg","text":"TemporaryFile(/tmp/multipartBody2592465629757911001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1558e078bb562e948733b6e8ffec8703.jpg","text":"TemporaryFile(/tmp/multipartBody4631672538064008519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_15_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d77a0c1e39aaf966c2bef19c35de4a52.jpg","text":"TemporaryFile(/tmp/multipartBody5223909840418239551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234083128,"filename":"image_27112025_09_49_25_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396389470","file1":"1396389383","file0":"1396389321","file4":"1396389673","file5":"1396389733","file3":"1396389591"},"map_files_photo_id_array":[{"photo_id":"1396389733","filename":"file5"},{"photo_id":"1396389470","filename":"file2"},{"photo_id":"1396389673","filename":"file4"},{"photo_id":"1396389383","filename":"file1"},{"photo_id":"1396389321","filename":"file0"},{"photo_id":"1396389591","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396389673":["hashtag1","hashtag2"]},{"1396389733":["hashtag1","hashtag2"]},{"1396389591":["hashtag1","hashtag2"]},{"1396389321":["hashtag1","hashtag2"]},{"1396389383":["hashtag1","hashtag2"]},{"1396389470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396389673, 1396389733, 1396389591, 1396389321, 1396389383, 1396389470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4309184551239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:01:03.350822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/49/image_27112025_09_50_05_10644.jpg', '/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_14_9668.jpg', '/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_25_10555.jpg', '/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_35_9795.jpg', '/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_44_9519.jpg', '/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/49/image_27112025_09_50_05_10644.jpg
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_14_9668.jpg
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_25_10555.jpg
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_35_9795.jpg
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_44_9519.jpg
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_50_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396389838","1396389873","1396390000","1396389915","1396389965","1396389878"],"photo_ids_order":["1396389838","1396389873","1396389878","1396389915","1396389965","1396390000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/005341281bc5d43cde4e5465217f9bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5289182635339725266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/924b8ccded917d4b9354a23407b9b6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6961992313274327912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc9efc2cfeb516723bcb8cb6e9d6f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5121196049251339740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0eb361e53524425a6ad73b409d0f7796.jpg","text":"TemporaryFile(/tmp/multipartBody4422405111910275726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_35_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5869e0e7b75194a5a367e36ed354984e.jpg","text":"TemporaryFile(/tmp/multipartBody8401258965661220894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_44_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfbbc83332e5b2286d5c2a21b023e407.jpg","text":"TemporaryFile(/tmp/multipartBody480359828554670027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234124191,"filename":"image_27112025_09_50_25_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396389878","file1":"1396389873","file0":"1396389838","file4":"1396389965","file5":"1396390000","file3":"1396389915"},"map_files_photo_id_array":[{"photo_id":"1396390000","filename":"file5"},{"photo_id":"1396389878","filename":"file2"},{"photo_id":"1396389965","filename":"file4"},{"photo_id":"1396389873","filename":"file1"},{"photo_id":"1396389838","filename":"file0"},{"photo_id":"1396389915","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396389838":["hashtag1","hashtag2"]},{"1396389873":["hashtag1","hashtag2"]},{"1396390000":["hashtag1","hashtag2"]},{"1396389915":["hashtag1","hashtag2"]},{"1396389965":["hashtag1","hashtag2"]},{"1396389878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396389838, 1396389873, 1396390000, 1396389915, 1396389965, 1396389878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23444056510925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:01:42.696253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_54_2714.jpg', '/home/pi/Desktop/images/31102025/02/14/image_31102025_02_15_00_1743.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_02_1708.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_06_1941.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_09_1611.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_11_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_14_54_2714.jpg
/home/pi/Desktop/images/31102025/02/14/image_31102025_02_15_00_1743.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_02_1708.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_06_1941.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_09_1611.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_11_1740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390093","1396390126","1396390125","1396390110","1396390079","1396390040"],"photo_ids_order":["1396390040","1396390079","1396390093","1396390110","1396390125","1396390126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6f6cced19df5035c0e72f923dcb6214.jpg","text":"TemporaryFile(/tmp/multipartBody754816384347352424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_15_02_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/27/e23d267e02f22a72d7a5e7e25ce0368b.jpg","text":"TemporaryFile(/tmp/multipartBody4060828802700987753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_15_11_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/27/36f93978b0135713f43b1757deb00b43.jpg","text":"TemporaryFile(/tmp/multipartBody7591657528093201113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_15_09_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/27/73d01db2d67b3b6c2fd565ba473b6aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2480466114525508779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_15_06_1941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be479cf6215fbb9b3528390b3d8be685.jpg","text":"TemporaryFile(/tmp/multipartBody3184654175402084608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_15_00_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/27/105f6a54b0cb265810ee003ac3a80a25.jpg","text":"TemporaryFile(/tmp/multipartBody989472448772936181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234164284,"filename":"image_31102025_02_14_54_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390093","file1":"1396390079","file0":"1396390040","file4":"1396390125","file5":"1396390126","file3":"1396390110"},"map_files_photo_id_array":[{"photo_id":"1396390126","filename":"file5"},{"photo_id":"1396390093","filename":"file2"},{"photo_id":"1396390125","filename":"file4"},{"photo_id":"1396390079","filename":"file1"},{"photo_id":"1396390040","filename":"file0"},{"photo_id":"1396390110","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396390093":["hashtag1","hashtag2"]},{"1396390126":["hashtag1","hashtag2"]},{"1396390125":["hashtag1","hashtag2"]},{"1396390110":["hashtag1","hashtag2"]},{"1396390079":["hashtag1","hashtag2"]},{"1396390040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396390093, 1396390126, 1396390125, 1396390110, 1396390079, 1396390040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65629196166992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:02:21.951767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/50/image_27112025_09_51_05_9757.jpg', '/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_14_9671.jpg', '/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_24_9721.jpg', '/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_35_10689.jpg', '/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_44_9677.jpg', '/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_54_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/50/image_27112025_09_51_05_9757.jpg
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_14_9671.jpg
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_24_9721.jpg
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_35_10689.jpg
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_44_9677.jpg
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_51_54_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390130","1396390138","1396390135","1396390131","1396390133","1396390127"],"photo_ids_order":["1396390127","1396390130","1396390131","1396390133","1396390135","1396390138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a53a2c66300b4bc8e508d344c00414ad.jpg","text":"TemporaryFile(/tmp/multipartBody6882913199758776450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3bb1e245b785df4f7b64035c62beda7.jpg","text":"TemporaryFile(/tmp/multipartBody5801882928871778935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb9eb44a0b9cb3d083714bcfab4cd0f8.jpg","text":"TemporaryFile(/tmp/multipartBody4926311418431893489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bad10a514b809800da783c5e771d4e9e.jpg","text":"TemporaryFile(/tmp/multipartBody7129125479007739671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fd0012970e427af92478e75ba78a653.jpg","text":"TemporaryFile(/tmp/multipartBody3886839760048788805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f11fbd326d0bf8f91abae613befe647.jpg","text":"TemporaryFile(/tmp/multipartBody5534061891701454561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234202673,"filename":"image_27112025_09_51_05_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390131","file1":"1396390130","file0":"1396390127","file4":"1396390135","file5":"1396390138","file3":"1396390133"},"map_files_photo_id_array":[{"photo_id":"1396390138","filename":"file5"},{"photo_id":"1396390131","filename":"file2"},{"photo_id":"1396390135","filename":"file4"},{"photo_id":"1396390130","filename":"file1"},{"photo_id":"1396390127","filename":"file0"},{"photo_id":"1396390133","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396390130":["hashtag1","hashtag2"]},{"1396390138":["hashtag1","hashtag2"]},{"1396390135":["hashtag1","hashtag2"]},{"1396390131":["hashtag1","hashtag2"]},{"1396390133":["hashtag1","hashtag2"]},{"1396390127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396390130, 1396390138, 1396390135, 1396390131, 1396390133, 1396390127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59081220626831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:03:02.662378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/51/image_27112025_09_52_05_10567.jpg', '/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_15_9803.jpg', '/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_24_9688.jpg', '/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_35_10581.jpg', '/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_44_9561.jpg', '/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_55_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/51/image_27112025_09_52_05_10567.jpg
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_15_9803.jpg
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_24_9688.jpg
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_35_10581.jpg
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_44_9561.jpg
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_52_55_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390177","1396390165","1396390179","1396390173","1396390176","1396390175"],"photo_ids_order":["1396390165","1396390173","1396390175","1396390176","1396390177","1396390179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/974bd1638d509b14123a95c8a2804980.jpg","text":"TemporaryFile(/tmp/multipartBody3846436070489796244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2029fc1de1566c8727d3a4e8cb5efb46.jpg","text":"TemporaryFile(/tmp/multipartBody8150720051710801807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_05_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/546ce153857fc43959fc6efd806749b4.jpg","text":"TemporaryFile(/tmp/multipartBody1406321337708603607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b947a6a3d173febecab874babd999fd7.jpg","text":"TemporaryFile(/tmp/multipartBody2339469726093397933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_15_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cd564fbe91733aed1d07410fd0e3f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8728608699737501613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c6282d7044c0243783a5972b9f15082.jpg","text":"TemporaryFile(/tmp/multipartBody8518767122814498250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234243524,"filename":"image_27112025_09_52_24_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390175","file1":"1396390173","file0":"1396390165","file4":"1396390177","file5":"1396390179","file3":"1396390176"},"map_files_photo_id_array":[{"photo_id":"1396390179","filename":"file5"},{"photo_id":"1396390175","filename":"file2"},{"photo_id":"1396390177","filename":"file4"},{"photo_id":"1396390173","filename":"file1"},{"photo_id":"1396390165","filename":"file0"},{"photo_id":"1396390176","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396390177":["hashtag1","hashtag2"]},{"1396390165":["hashtag1","hashtag2"]},{"1396390179":["hashtag1","hashtag2"]},{"1396390173":["hashtag1","hashtag2"]},{"1396390176":["hashtag1","hashtag2"]},{"1396390175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396390177, 1396390165, 1396390179, 1396390173, 1396390176, 1396390175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75985908508301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:03:42.092246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_13_1527.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_14_1701.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_18_1692.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_27_2720.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_36_2990.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_42_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_13_1527.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_14_1701.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_18_1692.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_27_2720.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_36_2990.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_42_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":["1396390208","1396390189","1396390207","1396390185","1396390188","1396390203"],"photo_ids_order":["1396390185","1396390188","1396390189","1396390203","1396390207","1396390208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/626e53a8103b9fb579fb1689993e94bd.jpg","text":"TemporaryFile(/tmp/multipartBody2973855808662230972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_42_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/27/8dafd766e3ad60d72149c0e06f670842.jpg","text":"TemporaryFile(/tmp/multipartBody8359519081255026228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_18_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/27/0b4403958bfc25e27e812f6ed3050d3e.jpg","text":"TemporaryFile(/tmp/multipartBody340754566782581935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_36_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17af6334a93c3faee73dea3d5dfd3abd.jpg","text":"TemporaryFile(/tmp/multipartBody589436194493384291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_13_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c32969c9d7df3734e254cc19ae9afde.jpg","text":"TemporaryFile(/tmp/multipartBody6709489726851945364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_14_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/27/3b349a957e468aef0f881b4699a31426.jpg","text":"TemporaryFile(/tmp/multipartBody1642122755066332093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234283679,"filename":"image_31102025_02_15_27_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390189","file1":"1396390188","file0":"1396390185","file4":"1396390207","file5":"1396390208","file3":"1396390203"},"map_files_photo_id_array":[{"photo_id":"1396390208","filename":"file5"},{"photo_id":"1396390189","filename":"file2"},{"photo_id":"1396390207","filename":"file4"},{"photo_id":"1396390188","filename":"file1"},{"photo_id":"1396390185","filename":"file0"},{"photo_id":"1396390203","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396390208":["hashtag1","hashtag2"]},{"1396390189":["hashtag1","hashtag2"]},{"1396390207":["hashtag1","hashtag2"]},{"1396390185":["hashtag1","hashtag2"]},{"1396390188":["hashtag1","hashtag2"]},{"1396390203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396390208, 1396390189, 1396390207, 1396390185, 1396390188, 1396390203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13044190406799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:04:22.299179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/52/image_27112025_09_53_05_9725.jpg', '/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_14_9636.jpg', '/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_24_9709.jpg', '/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_35_10640.jpg', '/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_44_9585.jpg', '/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_55_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/52/image_27112025_09_53_05_9725.jpg
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_14_9636.jpg
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_24_9709.jpg
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_35_10640.jpg
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_44_9585.jpg
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_53_55_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390406","1396390387","1396390318","1396390353","1396390283","1396390244"],"photo_ids_order":["1396390244","1396390283","1396390318","1396390353","1396390387","1396390406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8719aae164315f3068d6b73636fae132.jpg","text":"TemporaryFile(/tmp/multipartBody4184606964322246566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd2192b57da4835fd74df0537e1ccfb9.jpg","text":"TemporaryFile(/tmp/multipartBody4244761117811393350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/acb657f56a8d2e3c8e4c9d84df590bb5.jpg","text":"TemporaryFile(/tmp/multipartBody9173300311755160228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca9efb51a3dc416c30c36f3f67720a73.jpg","text":"TemporaryFile(/tmp/multipartBody8328778996358351597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8697d12386f64f38e4e24ab3b1610cb.jpg","text":"TemporaryFile(/tmp/multipartBody5126007570003728451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6731a48d0d858dce69898a473255d1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7537090543041578522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234323029,"filename":"image_27112025_09_53_05_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390318","file1":"1396390283","file0":"1396390244","file4":"1396390387","file5":"1396390406","file3":"1396390353"},"map_files_photo_id_array":[{"photo_id":"1396390406","filename":"file5"},{"photo_id":"1396390318","filename":"file2"},{"photo_id":"1396390387","filename":"file4"},{"photo_id":"1396390283","filename":"file1"},{"photo_id":"1396390244","filename":"file0"},{"photo_id":"1396390353","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396390406":["hashtag1","hashtag2"]},{"1396390387":["hashtag1","hashtag2"]},{"1396390318":["hashtag1","hashtag2"]},{"1396390353":["hashtag1","hashtag2"]},{"1396390283":["hashtag1","hashtag2"]},{"1396390244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396390406, 1396390387, 1396390318, 1396390353, 1396390283, 1396390244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72877264022827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:05:03.089155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/53/image_27112025_09_54_05_9733.jpg', '/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_15_9911.jpg', '/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_24_9626.jpg', '/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_34_9746.jpg', '/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_45_10633.jpg', '/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_54_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/53/image_27112025_09_54_05_9733.jpg
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_15_9911.jpg
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_24_9626.jpg
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_34_9746.jpg
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_45_10633.jpg
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_54_54_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390412","1396390418","1396390453","1396390528","1396390491","1396390413"],"photo_ids_order":["1396390412","1396390413","1396390418","1396390453","1396390491","1396390528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a28feb5b818a5235e483a04c569aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody7417000731121438817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50cd5bf70beb440f21be48ed62da9c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2761379215515273171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d18a5e95ce1e0ef807501ce7ea6a00d0.jpg","text":"TemporaryFile(/tmp/multipartBody8861028718029366121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7574ce3c91e1d0f72ca00c983210ecbf.jpg","text":"TemporaryFile(/tmp/multipartBody3862539793591905013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b6382f716c408e1e7ab524707c9e32f.jpg","text":"TemporaryFile(/tmp/multipartBody5208715959173812576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97b6e4d795e08fd1a9e0d6564efe5f3a.jpg","text":"TemporaryFile(/tmp/multipartBody4358256955008879040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234363895,"filename":"image_27112025_09_54_15_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390418","file1":"1396390413","file0":"1396390412","file4":"1396390491","file5":"1396390528","file3":"1396390453"},"map_files_photo_id_array":[{"photo_id":"1396390528","filename":"file5"},{"photo_id":"1396390418","filename":"file2"},{"photo_id":"1396390491","filename":"file4"},{"photo_id":"1396390413","filename":"file1"},{"photo_id":"1396390412","filename":"file0"},{"photo_id":"1396390453","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396390412":["hashtag1","hashtag2"]},{"1396390418":["hashtag1","hashtag2"]},{"1396390453":["hashtag1","hashtag2"]},{"1396390528":["hashtag1","hashtag2"]},{"1396390491":["hashtag1","hashtag2"]},{"1396390413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396390412, 1396390418, 1396390453, 1396390528, 1396390491, 1396390413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8132803440094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:05:42.449667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_45_3687.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_48_2632.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_53_2843.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_57_3763.jpg', '/home/pi/Desktop/images/31102025/02/15/image_31102025_02_16_00_2607.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_03_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_45_3687.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_48_2632.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_53_2843.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_15_57_3763.jpg
/home/pi/Desktop/images/31102025/02/15/image_31102025_02_16_00_2607.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_03_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390712","1396390786","1396390846","1396390828","1396390848","1396390749"],"photo_ids_order":["1396390712","1396390749","1396390786","1396390828","1396390846","1396390848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b71b863b308ef0d61f022ff270e5bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7760427860849722926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_15_45_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/27/eb9d5598777ecf2e49f3b36c787bffeb.jpg","text":"TemporaryFile(/tmp/multipartBody7751456656967735397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_15_53_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/27/e84f9969c2304397d2324b55417c087f.jpg","text":"TemporaryFile(/tmp/multipartBody2488400763972464816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_16_00_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/27/3a057be4f4987540f2e2680f603ee304.jpg","text":"TemporaryFile(/tmp/multipartBody4657110771021876628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_15_57_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/27/e334101ea67273ef87607fd24924a6a7.jpg","text":"TemporaryFile(/tmp/multipartBody7407414470599432242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_16_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/27/6972401cd5219896dbce037854fb1b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1911250798758166874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234408429,"filename":"image_31102025_02_15_48_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390786","file1":"1396390749","file0":"1396390712","file4":"1396390846","file5":"1396390848","file3":"1396390828"},"map_files_photo_id_array":[{"photo_id":"1396390848","filename":"file5"},{"photo_id":"1396390786","filename":"file2"},{"photo_id":"1396390846","filename":"file4"},{"photo_id":"1396390749","filename":"file1"},{"photo_id":"1396390712","filename":"file0"},{"photo_id":"1396390828","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396390712":["hashtag1","hashtag2"]},{"1396390786":["hashtag1","hashtag2"]},{"1396390846":["hashtag1","hashtag2"]},{"1396390828":["hashtag1","hashtag2"]},{"1396390848":["hashtag1","hashtag2"]},{"1396390749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396390712, 1396390786, 1396390846, 1396390828, 1396390848, 1396390749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40493059158325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 10:06:32.605788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_27_11321.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_30_2938.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_32_1693.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_33_1510.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_37_1555.jpg', '/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_38_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_27_11321.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_30_2938.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_32_1693.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_33_1510.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_37_1555.jpg
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_38_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396390945","1396391002","1396390983","1396391084","1396391033","1396390979"],"photo_ids_order":["1396390945","1396390979","1396390983","1396391002","1396391033","1396391084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/621c784c569d3fcb4062ce0473e49967.jpg","text":"TemporaryFile(/tmp/multipartBody1679076051761953557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_27_11321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85826e143b3bdfda26fde37c6f598627.jpg","text":"TemporaryFile(/tmp/multipartBody3173124046362295571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_33_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/27/9a682e166950a5dca1f708618b3c04b4.jpg","text":"TemporaryFile(/tmp/multipartBody8186343135539005284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_32_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/27/1680f8a15f4088a7328dafc11d77c1fb.jpg","text":"TemporaryFile(/tmp/multipartBody7344040619637277865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_38_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/27/e81775abf7abb3de448ef30fb17a515e.jpg","text":"TemporaryFile(/tmp/multipartBody6072475561726788827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_37_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/27/1fe9d2e59fd02c52a4b95b0abeaf707c.jpg","text":"TemporaryFile(/tmp/multipartBody5082157485498705931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234454492,"filename":"image_21112025_20_46_30_2938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396390983","file1":"1396390979","file0":"1396390945","file4":"1396391033","file5":"1396391084","file3":"1396391002"},"map_files_photo_id_array":[{"photo_id":"1396391084","filename":"file5"},{"photo_id":"1396390983","filename":"file2"},{"photo_id":"1396391033","filename":"file4"},{"photo_id":"1396390979","filename":"file1"},{"photo_id":"1396390945","filename":"file0"},{"photo_id":"1396391002","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396390945":["hashtag1","hashtag2"]},{"1396391002":["hashtag1","hashtag2"]},{"1396390983":["hashtag1","hashtag2"]},{"1396391084":["hashtag1","hashtag2"]},{"1396391033":["hashtag1","hashtag2"]},{"1396390979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396390945, 1396391002, 1396390983, 1396391084, 1396391033, 1396390979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63488578796387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 10:07:11.843459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_40_1838.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_10_3563.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_13_2800.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_16_2732.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_19_3534.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_28_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/46/image_21112025_20_46_40_1838.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_10_3563.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_13_2800.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_16_2732.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_19_3534.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_28_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396391368","1396391407","1396391172","1396391214","1396391252","1396391315"],"photo_ids_order":["1396391172","1396391214","1396391252","1396391315","1396391368","1396391407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/291cb2c19fdc3fb8afcf61cef4a51434.jpg","text":"TemporaryFile(/tmp/multipartBody4997295079990659126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_48_19_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/27/fc886b743d1514de5cb2a9d0de939f58.jpg","text":"TemporaryFile(/tmp/multipartBody1442056662034273843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_48_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/27/968a758a0ad1c434792fef4e436fb9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7917084994376210884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_46_40_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/27/b3cb82e92c02b10d69e0217eccf22835.jpg","text":"TemporaryFile(/tmp/multipartBody224083200982490656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_48_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/27/4292fe1be2ac3456f997eb6fa70304ad.jpg","text":"TemporaryFile(/tmp/multipartBody2579876965176189390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_48_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/27/e96400e8b0a56c63d14b11e52ce8dfea.jpg","text":"TemporaryFile(/tmp/multipartBody2565651632360523121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234493624,"filename":"image_21112025_20_48_16_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396391252","file1":"1396391214","file0":"1396391172","file4":"1396391368","file5":"1396391407","file3":"1396391315"},"map_files_photo_id_array":[{"photo_id":"1396391407","filename":"file5"},{"photo_id":"1396391252","filename":"file2"},{"photo_id":"1396391368","filename":"file4"},{"photo_id":"1396391214","filename":"file1"},{"photo_id":"1396391172","filename":"file0"},{"photo_id":"1396391315","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396391368":["hashtag1","hashtag2"]},{"1396391407":["hashtag1","hashtag2"]},{"1396391172":["hashtag1","hashtag2"]},{"1396391214":["hashtag1","hashtag2"]},{"1396391252":["hashtag1","hashtag2"]},{"1396391315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396391368, 1396391407, 1396391172, 1396391214, 1396391252, 1396391315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67794966697693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:08:02.509925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/54/image_27112025_09_55_04_9787.jpg', '/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_15_10698.jpg', '/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_25_9749.jpg', '/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_34_9566.jpg', '/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_45_10655.jpg', '/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/54/image_27112025_09_55_04_9787.jpg
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_15_10698.jpg
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_25_9749.jpg
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_34_9566.jpg
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_45_10655.jpg
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_55_55_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396391725","1396391766","1396391682","1396391640","1396391820","1396391843"],"photo_ids_order":["1396391640","1396391682","1396391725","1396391766","1396391820","1396391843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f2e1124029a4c1149c72e087bd3d82e.jpg","text":"TemporaryFile(/tmp/multipartBody6619343400578895554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b6da1d37dcb011d036b5ab4e16b6318.jpg","text":"TemporaryFile(/tmp/multipartBody3200225434886883008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a77e4e8ab74f4e1fe5c58278357377cd.jpg","text":"TemporaryFile(/tmp/multipartBody8762737464528917196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9e9df79fe148b52c75ec1118168b2cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3766848578618282951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0383370bc88a573d0ad3b9c53ab9de15.jpg","text":"TemporaryFile(/tmp/multipartBody8736337594027316491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc473fa8733e145ac5b27383ccdcff38.jpg","text":"TemporaryFile(/tmp/multipartBody769468691429970286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234543277,"filename":"image_27112025_09_55_55_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396391725","file1":"1396391682","file0":"1396391640","file4":"1396391820","file5":"1396391843","file3":"1396391766"},"map_files_photo_id_array":[{"photo_id":"1396391843","filename":"file5"},{"photo_id":"1396391725","filename":"file2"},{"photo_id":"1396391820","filename":"file4"},{"photo_id":"1396391682","filename":"file1"},{"photo_id":"1396391640","filename":"file0"},{"photo_id":"1396391766","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396391725":["hashtag1","hashtag2"]},{"1396391766":["hashtag1","hashtag2"]},{"1396391682":["hashtag1","hashtag2"]},{"1396391640":["hashtag1","hashtag2"]},{"1396391820":["hashtag1","hashtag2"]},{"1396391843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396391725, 1396391766, 1396391682, 1396391640, 1396391820, 1396391843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41717553138733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:08:42.102339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_15_3613.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_18_2703.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_21_2664.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_24_3667.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_30_2675.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_36_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_15_3613.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_18_2703.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_21_2664.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_24_3667.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_30_2675.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_36_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":["1396392177","1396391997","1396392060","1396391876","1396392131","1396391924"],"photo_ids_order":["1396391876","1396391924","1396391997","1396392060","1396392131","1396392177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4cc628696c3716dd91ca546cefc77ed.jpg","text":"TemporaryFile(/tmp/multipartBody8294161895416388477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_36_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/27/65bc30cb1f8d75e2a9eb2ec3063ffbb9.jpg","text":"TemporaryFile(/tmp/multipartBody1918735416164474947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_21_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/27/7125b2156784e13b424dd20f35eb40d2.jpg","text":"TemporaryFile(/tmp/multipartBody8002670892646757313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_24_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/27/a94ffc0c4941fcd0723f866daf5dd3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7597750108329635917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_15_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/27/dccf0c20471fb3ae701fe537d1d3eb38.jpg","text":"TemporaryFile(/tmp/multipartBody8970223715131757930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_30_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/27/b1c3f7796b846d4279ec989a29d81336.jpg","text":"TemporaryFile(/tmp/multipartBody7549870081740359353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234583679,"filename":"image_31102025_02_16_18_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396391997","file1":"1396391924","file0":"1396391876","file4":"1396392131","file5":"1396392177","file3":"1396392060"},"map_files_photo_id_array":[{"photo_id":"1396392177","filename":"file5"},{"photo_id":"1396391997","filename":"file2"},{"photo_id":"1396392131","filename":"file4"},{"photo_id":"1396391924","filename":"file1"},{"photo_id":"1396391876","filename":"file0"},{"photo_id":"1396392060","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396392177":["hashtag1","hashtag2"]},{"1396391997":["hashtag1","hashtag2"]},{"1396392060":["hashtag1","hashtag2"]},{"1396391876":["hashtag1","hashtag2"]},{"1396392131":["hashtag1","hashtag2"]},{"1396391924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396392177, 1396391997, 1396392060, 1396391876, 1396392131, 1396391924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.951414585113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:09:22.297332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/55/image_27112025_09_56_05_9903.jpg', '/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_14_9581.jpg', '/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_25_10620.jpg', '/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_34_9667.jpg', '/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_44_9765.jpg', '/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/55/image_27112025_09_56_05_9903.jpg
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_14_9581.jpg
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_25_10620.jpg
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_34_9667.jpg
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_44_9765.jpg
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_56_55_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392333","1396392314","1396392344","1396392286","1396392346","1396392268"],"photo_ids_order":["1396392268","1396392286","1396392314","1396392333","1396392344","1396392346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3680dd057981a8b62c19d7184248cba.jpg","text":"TemporaryFile(/tmp/multipartBody5569840437563559995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9654ad04e8849d526d535daa4e0dea72.jpg","text":"TemporaryFile(/tmp/multipartBody1722553779205509645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13e4fda6eecb7435aa552439e37ab8b1.jpg","text":"TemporaryFile(/tmp/multipartBody3169515865847457542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2fe8e8dff1290b9692b52c0b1f813e0.jpg","text":"TemporaryFile(/tmp/multipartBody3716417158415369326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d720b15edab3df4d0e2f960ea2de4877.jpg","text":"TemporaryFile(/tmp/multipartBody8206824931493855652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cfc3e40fd0cd6a272f90296d9ce94543.jpg","text":"TemporaryFile(/tmp/multipartBody3464472370414123961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234623015,"filename":"image_27112025_09_56_05_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392314","file1":"1396392286","file0":"1396392268","file4":"1396392344","file5":"1396392346","file3":"1396392333"},"map_files_photo_id_array":[{"photo_id":"1396392346","filename":"file5"},{"photo_id":"1396392314","filename":"file2"},{"photo_id":"1396392344","filename":"file4"},{"photo_id":"1396392286","filename":"file1"},{"photo_id":"1396392268","filename":"file0"},{"photo_id":"1396392333","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392333":["hashtag1","hashtag2"]},{"1396392314":["hashtag1","hashtag2"]},{"1396392344":["hashtag1","hashtag2"]},{"1396392286":["hashtag1","hashtag2"]},{"1396392346":["hashtag1","hashtag2"]},{"1396392268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392333, 1396392314, 1396392344, 1396392286, 1396392346, 1396392268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66352319717407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:10:03.117114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/56/image_27112025_09_57_04_9734.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_14_9779.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_25_10744.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_35_9625.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_44_9727.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_57_04_9734.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_14_9779.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_25_10744.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_35_9625.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_44_9727.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_54_9754.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7007677555084229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 10:10:12.650823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_34_2953.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_37_2598.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_44_6736.jpg', '/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_45_1813.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_07_3012.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_11_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_34_2953.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_37_2598.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_44_6736.jpg
/home/pi/Desktop/images/21112025/20/48/image_21112025_20_48_45_1813.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_07_3012.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_11_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392511","1396392582","1396392546","1396392558","1396392518","1396392580"],"photo_ids_order":["1396392511","1396392518","1396392546","1396392558","1396392580","1396392582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dec6d04edfefba5e94902777b81e456f.jpg","text":"TemporaryFile(/tmp/multipartBody3311019285330179135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_48_34_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/27/4aa1a13630109ae54ca850b94b8834ab.jpg","text":"TemporaryFile(/tmp/multipartBody8341379615517353628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_50_11_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/27/6637cc44aca6c934b6e2b1e91ff908ec.jpg","text":"TemporaryFile(/tmp/multipartBody4861004496347089788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_48_44_6736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dea7ad8584b5709c35b6bdaa002be93e.jpg","text":"TemporaryFile(/tmp/multipartBody5947519127248376263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_48_45_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ba7f9c62b18a1b205a81398296617da.jpg","text":"TemporaryFile(/tmp/multipartBody7011965061962279580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_48_37_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/27/66176c8aa4fc51e0b2e534a391579de9.jpg","text":"TemporaryFile(/tmp/multipartBody6914196107761320473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234674536,"filename":"image_21112025_20_50_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392546","file1":"1396392518","file0":"1396392511","file4":"1396392580","file5":"1396392582","file3":"1396392558"},"map_files_photo_id_array":[{"photo_id":"1396392582","filename":"file5"},{"photo_id":"1396392546","filename":"file2"},{"photo_id":"1396392580","filename":"file4"},{"photo_id":"1396392518","filename":"file1"},{"photo_id":"1396392511","filename":"file0"},{"photo_id":"1396392558","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396392511":["hashtag1","hashtag2"]},{"1396392582":["hashtag1","hashtag2"]},{"1396392546":["hashtag1","hashtag2"]},{"1396392558":["hashtag1","hashtag2"]},{"1396392518":["hashtag1","hashtag2"]},{"1396392580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396392511, 1396392582, 1396392546, 1396392558, 1396392518, 1396392580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32048773765564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:11:03.681067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/56/image_27112025_09_57_04_9734.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_14_9779.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_25_10744.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_35_9625.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_44_9727.jpg', '/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/56/image_27112025_09_57_04_9734.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_14_9779.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_25_10744.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_35_9625.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_44_9727.jpg
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_57_54_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392625","1396392633","1396392627","1396392621","1396392630","1396392623"],"photo_ids_order":["1396392621","1396392623","1396392625","1396392627","1396392630","1396392633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9f5d16165861bd493dd5ad2b0b0f042.jpg","text":"TemporaryFile(/tmp/multipartBody8027330628775795710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44f83f1be42b9ef7580a97654496064e.jpg","text":"TemporaryFile(/tmp/multipartBody1743834620803608840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45632f09fef781619d877ee4953814e6.jpg","text":"TemporaryFile(/tmp/multipartBody2291664952728667959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28f0d1df75ff6ad1b26e3d8e7086fda1.jpg","text":"TemporaryFile(/tmp/multipartBody2361270911508094031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc3a3cfdc67226f469338a8e65965996.jpg","text":"TemporaryFile(/tmp/multipartBody359171747094751832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ecad70d0d290b68d63ff4761711f6e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1387736644903796358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234727100,"filename":"image_27112025_09_57_14_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392625","file1":"1396392623","file0":"1396392621","file4":"1396392630","file5":"1396392633","file3":"1396392627"},"map_files_photo_id_array":[{"photo_id":"1396392633","filename":"file5"},{"photo_id":"1396392625","filename":"file2"},{"photo_id":"1396392630","filename":"file4"},{"photo_id":"1396392623","filename":"file1"},{"photo_id":"1396392621","filename":"file0"},{"photo_id":"1396392627","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392625":["hashtag1","hashtag2"]},{"1396392633":["hashtag1","hashtag2"]},{"1396392627":["hashtag1","hashtag2"]},{"1396392621":["hashtag1","hashtag2"]},{"1396392630":["hashtag1","hashtag2"]},{"1396392623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392625, 1396392633, 1396392627, 1396392621, 1396392630, 1396392623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28489351272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:11:43.070229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_39_2754.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_45_2592.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_48_2687.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_51_3702.jpg', '/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_57_2635.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_08_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_39_2754.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_45_2592.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_48_2687.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_51_3702.jpg
/home/pi/Desktop/images/31102025/02/16/image_31102025_02_16_57_2635.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_08_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392693","1396392692","1396392695","1396392691","1396392670","1396392694"],"photo_ids_order":["1396392670","1396392691","1396392692","1396392693","1396392694","1396392695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4316f4b64c1749a79e031558faf8e82d.jpg","text":"TemporaryFile(/tmp/multipartBody2944314886500196445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_16_51_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/27/43d9bed5fbb0f26206c276c72e23856a.jpg","text":"TemporaryFile(/tmp/multipartBody952532693856733926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_16_48_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/27/10ce4e691a871e004fb81c6d8c337a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4789994624572687949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_17_08_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/27/9a6640477adc8a253a2dd14308b9dcf9.jpg","text":"TemporaryFile(/tmp/multipartBody6938196608164833100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_16_45_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/27/a9e2bd1e16b6c3fdab0066551c52f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4646520727346393816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_16_39_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/27/55933fb63eb2aceb0f3447a476b30090.jpg","text":"TemporaryFile(/tmp/multipartBody6325610794939154588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234764658,"filename":"image_31102025_02_16_57_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392692","file1":"1396392691","file0":"1396392670","file4":"1396392694","file5":"1396392695","file3":"1396392693"},"map_files_photo_id_array":[{"photo_id":"1396392695","filename":"file5"},{"photo_id":"1396392692","filename":"file2"},{"photo_id":"1396392694","filename":"file4"},{"photo_id":"1396392691","filename":"file1"},{"photo_id":"1396392670","filename":"file0"},{"photo_id":"1396392693","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396392693":["hashtag1","hashtag2"]},{"1396392692":["hashtag1","hashtag2"]},{"1396392695":["hashtag1","hashtag2"]},{"1396392691":["hashtag1","hashtag2"]},{"1396392670":["hashtag1","hashtag2"]},{"1396392694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396392693, 1396392692, 1396392695, 1396392691, 1396392670, 1396392694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05513596534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:12:22.227180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/57/image_27112025_09_58_05_10764.jpg', '/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_14_9578.jpg', '/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_24_9700.jpg', '/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_35_10633.jpg', '/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_44_9527.jpg', '/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_55_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/57/image_27112025_09_58_05_10764.jpg
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_14_9578.jpg
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_24_9700.jpg
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_35_10633.jpg
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_44_9527.jpg
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_58_55_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392696","1396392700","1396392708","1396392702","1396392698","1396392704"],"photo_ids_order":["1396392696","1396392698","1396392700","1396392702","1396392704","1396392708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13d6aeb828b453359e3cc210f3902300.jpg","text":"TemporaryFile(/tmp/multipartBody3956128941238500296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c673ca4317a33c49f50971e5d6cd8d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6408682473707885057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1afd298f03dc43767ed917445caba3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5700107538422326828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8eefa58353c80c73e347444553e22c3.jpg","text":"TemporaryFile(/tmp/multipartBody4624991111554852526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c6d05c308318bf690f5c80d35096745.jpg","text":"TemporaryFile(/tmp/multipartBody6584264893736098745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/badf0f3b83f865ef99d70ae563dfcda8.jpg","text":"TemporaryFile(/tmp/multipartBody6616824264887828805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234802952,"filename":"image_27112025_09_58_44_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392700","file1":"1396392698","file0":"1396392696","file4":"1396392704","file5":"1396392708","file3":"1396392702"},"map_files_photo_id_array":[{"photo_id":"1396392708","filename":"file5"},{"photo_id":"1396392700","filename":"file2"},{"photo_id":"1396392704","filename":"file4"},{"photo_id":"1396392698","filename":"file1"},{"photo_id":"1396392696","filename":"file0"},{"photo_id":"1396392702","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392696":["hashtag1","hashtag2"]},{"1396392700":["hashtag1","hashtag2"]},{"1396392708":["hashtag1","hashtag2"]},{"1396392702":["hashtag1","hashtag2"]},{"1396392698":["hashtag1","hashtag2"]},{"1396392704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392696, 1396392700, 1396392708, 1396392702, 1396392698, 1396392704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.430968284606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:13:03.158179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/09/58/image_27112025_09_59_05_9760.jpg', '/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_14_9557.jpg', '/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_25_10693.jpg', '/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_35_9760.jpg', '/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_45_9859.jpg', '/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_54_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/09/58/image_27112025_09_59_05_9760.jpg
/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_14_9557.jpg
/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_25_10693.jpg
/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_35_9760.jpg
/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_45_9859.jpg
/home/pi/Desktop/images/27112025/09/59/image_27112025_09_59_54_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392777","1396392819","1396392813","1396392801","1396392776","1396392842"],"photo_ids_order":["1396392776","1396392777","1396392801","1396392813","1396392819","1396392842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40815984514f4b71c4b91b859b7b7133.jpg","text":"TemporaryFile(/tmp/multipartBody8542932653980434274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae25b8fa6a8d667cc1db09ddf711d34c.jpg","text":"TemporaryFile(/tmp/multipartBody3021704182561607645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_45_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/341b7495fe66376843179207680c1861.jpg","text":"TemporaryFile(/tmp/multipartBody6781398857980806298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec569792382c5dafa2e08e93944ea36e.jpg","text":"TemporaryFile(/tmp/multipartBody1191910395256991703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aeeb1c74660931d934e947ebda032afe.jpg","text":"TemporaryFile(/tmp/multipartBody6193411485489541490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de3d0b1ff54fcd49b7374d6291bc1760.jpg","text":"TemporaryFile(/tmp/multipartBody7274591014183985779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234844003,"filename":"image_27112025_09_59_54_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392801","file1":"1396392777","file0":"1396392776","file4":"1396392819","file5":"1396392842","file3":"1396392813"},"map_files_photo_id_array":[{"photo_id":"1396392842","filename":"file5"},{"photo_id":"1396392801","filename":"file2"},{"photo_id":"1396392819","filename":"file4"},{"photo_id":"1396392777","filename":"file1"},{"photo_id":"1396392776","filename":"file0"},{"photo_id":"1396392813","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392777":["hashtag1","hashtag2"]},{"1396392819":["hashtag1","hashtag2"]},{"1396392813":["hashtag1","hashtag2"]},{"1396392801":["hashtag1","hashtag2"]},{"1396392776":["hashtag1","hashtag2"]},{"1396392842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392777, 1396392819, 1396392813, 1396392801, 1396392776, 1396392842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00269174575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:13:42.589104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_12_3560.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_21_3634.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_24_2856.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_27_2665.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_29_2773.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_36_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_12_3560.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_21_3634.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_24_2856.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_27_2665.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_29_2773.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_36_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392861","1396392864","1396392858","1396392863","1396392865","1396392862"],"photo_ids_order":["1396392858","1396392861","1396392862","1396392863","1396392864","1396392865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d8ef1295ed3a6909e02835fa4c6bfc8.jpg","text":"TemporaryFile(/tmp/multipartBody4575388425888742705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_21_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/27/cca96e8be5c35a95defdc63c012179fa.jpg","text":"TemporaryFile(/tmp/multipartBody4017441666049821721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_29_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/27/ff9ddeab675af089ff73b2b41c97f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody4900507434964092777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_12_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/27/1f6adafac6fa27dd3732e17d22c54e84.jpg","text":"TemporaryFile(/tmp/multipartBody976583285092302006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_27_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/27/d1b38dd2faa7745cdfbbcb9e24de1a32.jpg","text":"TemporaryFile(/tmp/multipartBody2593006314077891292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_36_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/27/f8d4d92f2130f8daa46baa2df797be5b.jpg","text":"TemporaryFile(/tmp/multipartBody1376403476433612684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234884193,"filename":"image_31102025_02_17_24_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392862","file1":"1396392861","file0":"1396392858","file4":"1396392864","file5":"1396392865","file3":"1396392863"},"map_files_photo_id_array":[{"photo_id":"1396392865","filename":"file5"},{"photo_id":"1396392862","filename":"file2"},{"photo_id":"1396392864","filename":"file4"},{"photo_id":"1396392861","filename":"file1"},{"photo_id":"1396392858","filename":"file0"},{"photo_id":"1396392863","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396392861":["hashtag1","hashtag2"]},{"1396392864":["hashtag1","hashtag2"]},{"1396392858":["hashtag1","hashtag2"]},{"1396392863":["hashtag1","hashtag2"]},{"1396392865":["hashtag1","hashtag2"]},{"1396392862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396392861, 1396392864, 1396392858, 1396392863, 1396392865, 1396392862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79468750953674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:14:22.733535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_15_10914.jpg', '/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_25_9667.jpg', '/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_35_9570.jpg', '/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_45_10583.jpg', '/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_55_9656.jpg', '/home/pi/Desktop/images/27112025/10/00/image_27112025_10_01_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_15_10914.jpg
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_25_9667.jpg
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_35_9570.jpg
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_45_10583.jpg
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_00_55_9656.jpg
/home/pi/Desktop/images/27112025/10/00/image_27112025_10_01_05_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392904","1396392924","1396392912","1396392872","1396392938","1396392952"],"photo_ids_order":["1396392872","1396392904","1396392912","1396392924","1396392938","1396392952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e25bf153ffd17af0d39eb1e7033b4a0f.jpg","text":"TemporaryFile(/tmp/multipartBody2565628617163246187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_00_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ec9c612daf57cfb8872707e64f168ed.jpg","text":"TemporaryFile(/tmp/multipartBody2809760479369193516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_00_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51b7c29cec7a5a3e871199751c450e67.jpg","text":"TemporaryFile(/tmp/multipartBody6608642108343707036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_00_35_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00ce273f46360a272836f0e2ef166f95.jpg","text":"TemporaryFile(/tmp/multipartBody5239802042590940158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_00_15_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee90036b0baf9536ce4e1e4bdb790133.jpg","text":"TemporaryFile(/tmp/multipartBody8683987935625811659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_00_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70f7cd4fc068bf43f0ee661f8f51337b.jpg","text":"TemporaryFile(/tmp/multipartBody8400407805445397473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234923455,"filename":"image_27112025_10_01_05_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392912","file1":"1396392904","file0":"1396392872","file4":"1396392938","file5":"1396392952","file3":"1396392924"},"map_files_photo_id_array":[{"photo_id":"1396392952","filename":"file5"},{"photo_id":"1396392912","filename":"file2"},{"photo_id":"1396392938","filename":"file4"},{"photo_id":"1396392904","filename":"file1"},{"photo_id":"1396392872","filename":"file0"},{"photo_id":"1396392924","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392904":["hashtag1","hashtag2"]},{"1396392924":["hashtag1","hashtag2"]},{"1396392912":["hashtag1","hashtag2"]},{"1396392872":["hashtag1","hashtag2"]},{"1396392938":["hashtag1","hashtag2"]},{"1396392952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392904, 1396392924, 1396392912, 1396392872, 1396392938, 1396392952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61339068412781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:15:02.497965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_15_10676.jpg', '/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_25_9771.jpg', '/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_35_9568.jpg', '/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_45_10700.jpg', '/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_55_9639.jpg', '/home/pi/Desktop/images/27112025/10/01/image_27112025_10_02_05_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_15_10676.jpg
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_25_9771.jpg
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_35_9568.jpg
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_45_10700.jpg
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_01_55_9639.jpg
/home/pi/Desktop/images/27112025/10/01/image_27112025_10_02_05_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396392963","1396392966","1396392968","1396392961","1396392964","1396392958"],"photo_ids_order":["1396392958","1396392961","1396392963","1396392964","1396392966","1396392968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/235a2a68f71c93b50bdfcc8614343001.jpg","text":"TemporaryFile(/tmp/multipartBody4418819803033473600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_01_35_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1854f42d1acc41ab5372b1db4c7bcacf.jpg","text":"TemporaryFile(/tmp/multipartBody7634343189110274344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_01_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7da1fad54a0cf2f7befe0175f536937.jpg","text":"TemporaryFile(/tmp/multipartBody78478284306979176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_02_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de7d3dde2a9ed5c42d815ea3fa7c6715.jpg","text":"TemporaryFile(/tmp/multipartBody2137054145590160706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_01_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55e0120298cee8c08d5e79c182074166.jpg","text":"TemporaryFile(/tmp/multipartBody5055923987546930699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_01_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed01909721478fcb35889d43f2ddbe93.jpg","text":"TemporaryFile(/tmp/multipartBody905917490183823669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764234963358,"filename":"image_27112025_10_01_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396392963","file1":"1396392961","file0":"1396392958","file4":"1396392966","file5":"1396392968","file3":"1396392964"},"map_files_photo_id_array":[{"photo_id":"1396392968","filename":"file5"},{"photo_id":"1396392963","filename":"file2"},{"photo_id":"1396392966","filename":"file4"},{"photo_id":"1396392961","filename":"file1"},{"photo_id":"1396392958","filename":"file0"},{"photo_id":"1396392964","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396392963":["hashtag1","hashtag2"]},{"1396392966":["hashtag1","hashtag2"]},{"1396392968":["hashtag1","hashtag2"]},{"1396392961":["hashtag1","hashtag2"]},{"1396392964":["hashtag1","hashtag2"]},{"1396392958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396392963, 1396392966, 1396392968, 1396392961, 1396392964, 1396392958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3840537071228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:15:41.906055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_42_3621.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_45_2641.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_47_2693.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_51_3699.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_54_3086.jpg', '/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_57_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_42_3621.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_45_2641.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_47_2693.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_51_3699.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_54_3086.jpg
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_17_57_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393006","1396393005","1396393019","1396393081","1396393054","1396393086"],"photo_ids_order":["1396393005","1396393006","1396393019","1396393054","1396393081","1396393086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/faf401941c5cf6e41995c2418a29832f.jpg","text":"TemporaryFile(/tmp/multipartBody275650483977482981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_45_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/27/f34041c0d11f0abf931e94247493bdd5.jpg","text":"TemporaryFile(/tmp/multipartBody5289837706020323403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_42_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/27/6518fbcdf488ec9b33e6cfc17326788d.jpg","text":"TemporaryFile(/tmp/multipartBody6664731425307011259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_47_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/27/00246c03e1b0f2990983de7c1f9be393.jpg","text":"TemporaryFile(/tmp/multipartBody938485391481932440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_54_3086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbda7fb5a8895bcd645406d464843097.jpg","text":"TemporaryFile(/tmp/multipartBody3216107705907322557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_51_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/27/790eadad750dff1bbaa19e37fe62c28a.jpg","text":"TemporaryFile(/tmp/multipartBody8433422571992951594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235003500,"filename":"image_31102025_02_17_57_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393019","file1":"1396393006","file0":"1396393005","file4":"1396393081","file5":"1396393086","file3":"1396393054"},"map_files_photo_id_array":[{"photo_id":"1396393086","filename":"file5"},{"photo_id":"1396393019","filename":"file2"},{"photo_id":"1396393081","filename":"file4"},{"photo_id":"1396393006","filename":"file1"},{"photo_id":"1396393005","filename":"file0"},{"photo_id":"1396393054","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396393006":["hashtag1","hashtag2"]},{"1396393005":["hashtag1","hashtag2"]},{"1396393019":["hashtag1","hashtag2"]},{"1396393081":["hashtag1","hashtag2"]},{"1396393054":["hashtag1","hashtag2"]},{"1396393086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396393006, 1396393005, 1396393019, 1396393081, 1396393054, 1396393086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13900065422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:16:22.191313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_15_10692.jpg', '/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_25_9760.jpg', '/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_35_9694.jpg', '/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_45_9816.jpg', '/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_55_10567.jpg', '/home/pi/Desktop/images/27112025/10/02/image_27112025_10_03_05_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_15_10692.jpg
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_25_9760.jpg
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_35_9694.jpg
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_45_9816.jpg
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_02_55_10567.jpg
/home/pi/Desktop/images/27112025/10/02/image_27112025_10_03_05_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393146","1396393151","1396393154","1396393148","1396393150","1396393144"],"photo_ids_order":["1396393144","1396393146","1396393148","1396393150","1396393151","1396393154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e20d777da8a8f7df995c34f6214efd28.jpg","text":"TemporaryFile(/tmp/multipartBody366375732369771501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_02_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3339b51f2cff0e870618ace20a5d6af9.jpg","text":"TemporaryFile(/tmp/multipartBody9108484428535720776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_02_55_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/716142afb87cb67a997c7ebf3aa4319c.jpg","text":"TemporaryFile(/tmp/multipartBody4685961653039015194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_03_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdce692b5941827ded6f57d34ef4773c.jpg","text":"TemporaryFile(/tmp/multipartBody8701385351433697647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_02_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77e931624893f4229eb9d23e42a8d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody2389853599786519677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_02_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfe611f6fd65563209ecbf3b43d12264.jpg","text":"TemporaryFile(/tmp/multipartBody1959568184271506581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235042914,"filename":"image_27112025_10_02_15_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393148","file1":"1396393146","file0":"1396393144","file4":"1396393151","file5":"1396393154","file3":"1396393150"},"map_files_photo_id_array":[{"photo_id":"1396393154","filename":"file5"},{"photo_id":"1396393148","filename":"file2"},{"photo_id":"1396393151","filename":"file4"},{"photo_id":"1396393146","filename":"file1"},{"photo_id":"1396393144","filename":"file0"},{"photo_id":"1396393150","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393146":["hashtag1","hashtag2"]},{"1396393151":["hashtag1","hashtag2"]},{"1396393154":["hashtag1","hashtag2"]},{"1396393148":["hashtag1","hashtag2"]},{"1396393150":["hashtag1","hashtag2"]},{"1396393144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393146, 1396393151, 1396393154, 1396393148, 1396393150, 1396393144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69863533973694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:17:03.036493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_15_9736.jpg', '/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_25_10624.jpg', '/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_35_9588.jpg', '/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_55_9716.jpg', '/home/pi/Desktop/images/27112025/10/03/image_27112025_10_04_05_9618.jpg', '/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_15_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_15_9736.jpg
/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_25_10624.jpg
/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_35_9588.jpg
/home/pi/Desktop/images/27112025/10/03/image_27112025_10_03_55_9716.jpg
/home/pi/Desktop/images/27112025/10/03/image_27112025_10_04_05_9618.jpg
/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_15_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393155","1396393158","1396393157","1396393160","1396393162","1396393156"],"photo_ids_order":["1396393155","1396393156","1396393157","1396393158","1396393160","1396393162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b73b157fb56f627c27adf4b62f1c69d5.jpg","text":"TemporaryFile(/tmp/multipartBody4930152745566791348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_03_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b34e3a6581820199deec306ab6e5f29.jpg","text":"TemporaryFile(/tmp/multipartBody4089397146789844412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_03_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e6216437c95f0b85ddc5d65db2e7cba.jpg","text":"TemporaryFile(/tmp/multipartBody609264293197308678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_03_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/328edfa66657bf199c480addd7ccab82.jpg","text":"TemporaryFile(/tmp/multipartBody4464871718037721571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_04_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/843383116cac339b4a0674e78eec6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody8167690168976626471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_04_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da93ce5bcca7fbcd15d103a6ee313b9d.jpg","text":"TemporaryFile(/tmp/multipartBody291079170839617435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235083826,"filename":"image_27112025_10_03_25_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393157","file1":"1396393156","file0":"1396393155","file4":"1396393160","file5":"1396393162","file3":"1396393158"},"map_files_photo_id_array":[{"photo_id":"1396393162","filename":"file5"},{"photo_id":"1396393157","filename":"file2"},{"photo_id":"1396393160","filename":"file4"},{"photo_id":"1396393156","filename":"file1"},{"photo_id":"1396393155","filename":"file0"},{"photo_id":"1396393158","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393155":["hashtag1","hashtag2"]},{"1396393158":["hashtag1","hashtag2"]},{"1396393157":["hashtag1","hashtag2"]},{"1396393160":["hashtag1","hashtag2"]},{"1396393162":["hashtag1","hashtag2"]},{"1396393156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393155, 1396393158, 1396393157, 1396393160, 1396393162, 1396393156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60232710838318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:17:42.262922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/17/image_31102025_02_18_00_3110.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_09_3676.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_18_3696.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_21_2655.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_27_3618.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_30_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/17/image_31102025_02_18_00_3110.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_09_3676.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_18_3696.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_21_2655.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_27_3618.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_30_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393221","1396393199","1396393190","1396393265","1396393192","1396393171"],"photo_ids_order":["1396393171","1396393190","1396393192","1396393199","1396393221","1396393265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da76900fd581333eed69d575a17264cf.jpg","text":"TemporaryFile(/tmp/multipartBody4068827052828217817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_27_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/27/abd837486cec0aa1b4e1b6ab97444901.jpg","text":"TemporaryFile(/tmp/multipartBody2426206179676705458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_21_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/27/f380b4eae998477bc0ae4c98176f53f9.jpg","text":"TemporaryFile(/tmp/multipartBody2328290829748718956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_09_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/27/4ec1dbd4edb150e59e20ce17316f5ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8230579051437331186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_30_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/27/80ef2661e5695a206dc4565b96948a00.jpg","text":"TemporaryFile(/tmp/multipartBody2463019771800773779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_18_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/27/ec0127b2727afa9f158446e991def4a9.jpg","text":"TemporaryFile(/tmp/multipartBody4042823789754095702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235123847,"filename":"image_31102025_02_18_00_3110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393192","file1":"1396393190","file0":"1396393171","file4":"1396393221","file5":"1396393265","file3":"1396393199"},"map_files_photo_id_array":[{"photo_id":"1396393265","filename":"file5"},{"photo_id":"1396393192","filename":"file2"},{"photo_id":"1396393221","filename":"file4"},{"photo_id":"1396393190","filename":"file1"},{"photo_id":"1396393171","filename":"file0"},{"photo_id":"1396393199","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396393221":["hashtag1","hashtag2"]},{"1396393199":["hashtag1","hashtag2"]},{"1396393190":["hashtag1","hashtag2"]},{"1396393265":["hashtag1","hashtag2"]},{"1396393192":["hashtag1","hashtag2"]},{"1396393171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396393221, 1396393199, 1396393190, 1396393265, 1396393192, 1396393171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02642321586609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:18:22.457920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_25_10647.jpg', '/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_35_9685.jpg', '/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_44_9638.jpg', '/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_55_10743.jpg', '/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_14_10059.jpg', '/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_25_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_25_10647.jpg
/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_35_9685.jpg
/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_44_9638.jpg
/home/pi/Desktop/images/27112025/10/04/image_27112025_10_04_55_10743.jpg
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_14_10059.jpg
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_25_10763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393521","1396393515","1396393401","1396393475","1396393511","1396393438"],"photo_ids_order":["1396393401","1396393438","1396393475","1396393511","1396393515","1396393521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9d2ed25e154b36c6b1fae9a279ced9b.jpg","text":"TemporaryFile(/tmp/multipartBody3314023085299885647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_05_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f94b88f013b10ea144baa82f8e73637.jpg","text":"TemporaryFile(/tmp/multipartBody8138074516483262973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_05_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12d2ce3aa1338dda6038bde9e86331b0.jpg","text":"TemporaryFile(/tmp/multipartBody6851089713313444126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_04_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77605aa815fc51cbdd6d3ce6eb176ff4.jpg","text":"TemporaryFile(/tmp/multipartBody9165260453701603020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_04_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae4a010d2f173d0d5815236d6748e39c.jpg","text":"TemporaryFile(/tmp/multipartBody1344157648301465419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_04_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/468ca3e9a423cfaf8034727596338bde.jpg","text":"TemporaryFile(/tmp/multipartBody8681625915960179427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235163183,"filename":"image_27112025_10_04_35_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393475","file1":"1396393438","file0":"1396393401","file4":"1396393515","file5":"1396393521","file3":"1396393511"},"map_files_photo_id_array":[{"photo_id":"1396393521","filename":"file5"},{"photo_id":"1396393475","filename":"file2"},{"photo_id":"1396393515","filename":"file4"},{"photo_id":"1396393438","filename":"file1"},{"photo_id":"1396393401","filename":"file0"},{"photo_id":"1396393511","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393521":["hashtag1","hashtag2"]},{"1396393515":["hashtag1","hashtag2"]},{"1396393401":["hashtag1","hashtag2"]},{"1396393475":["hashtag1","hashtag2"]},{"1396393511":["hashtag1","hashtag2"]},{"1396393438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393521, 1396393515, 1396393401, 1396393475, 1396393511, 1396393438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87862300872803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:19:03.478062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_34_9594.jpg', '/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_45_10572.jpg', '/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_54_9757.jpg', '/home/pi/Desktop/images/27112025/10/05/image_27112025_10_06_04_9682.jpg', '/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_14_9802.jpg', '/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_25_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_34_9594.jpg
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_45_10572.jpg
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_05_54_9757.jpg
/home/pi/Desktop/images/27112025/10/05/image_27112025_10_06_04_9682.jpg
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_14_9802.jpg
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_25_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393659","1396393649","1396393616","1396393631","1396393594","1396393627"],"photo_ids_order":["1396393594","1396393616","1396393627","1396393631","1396393649","1396393659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/082cc9c9e0acd68e3bfd9e17347c735e.jpg","text":"TemporaryFile(/tmp/multipartBody4215182698229209766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_06_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96d39be4bf00679b9df99342ff29a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1970776756790031945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_06_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db53ea580b2593baaf181879c1a467b1.jpg","text":"TemporaryFile(/tmp/multipartBody3103265747749211437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_05_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/119a0de1b14892cb7b4bb8b49bd33378.jpg","text":"TemporaryFile(/tmp/multipartBody6717273009244469106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_06_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07bdb41fed0ac88d940732148f9ff051.jpg","text":"TemporaryFile(/tmp/multipartBody2645169964185328863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_05_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a8b918d4e5af8eab97ae6ea57ace4be.jpg","text":"TemporaryFile(/tmp/multipartBody611870452723798436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235204376,"filename":"image_27112025_10_05_54_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393627","file1":"1396393616","file0":"1396393594","file4":"1396393649","file5":"1396393659","file3":"1396393631"},"map_files_photo_id_array":[{"photo_id":"1396393659","filename":"file5"},{"photo_id":"1396393627","filename":"file2"},{"photo_id":"1396393649","filename":"file4"},{"photo_id":"1396393616","filename":"file1"},{"photo_id":"1396393594","filename":"file0"},{"photo_id":"1396393631","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393659":["hashtag1","hashtag2"]},{"1396393649":["hashtag1","hashtag2"]},{"1396393616":["hashtag1","hashtag2"]},{"1396393631":["hashtag1","hashtag2"]},{"1396393594":["hashtag1","hashtag2"]},{"1396393627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393659, 1396393649, 1396393616, 1396393631, 1396393594, 1396393627)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.14822435379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:20:02.860748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 10:20:12.417684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_13_2548.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_17_3595.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_19_2567.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_22_2605.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_25_3558.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_28_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_13_2548.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_17_3595.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_19_2567.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_22_2605.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_25_3558.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_28_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393713","1396393700","1396393711","1396393708","1396393702","1396393705"],"photo_ids_order":["1396393700","1396393702","1396393705","1396393708","1396393711","1396393713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7f86112892f0664e898759802e3454c.jpg","text":"TemporaryFile(/tmp/multipartBody1364213501660928919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_28_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/27/b8e1db2ef26841c14eca302e2194c0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4008582920630658808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_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/27/2001378f4275c41fc47c714e38efe58b.jpg","text":"TemporaryFile(/tmp/multipartBody906576114505732461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_25_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/27/11c4431f167e829e2872c9eea54852e1.jpg","text":"TemporaryFile(/tmp/multipartBody7423647186674897259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_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/27/de94b16f8a9281b6159c0b95f3116471.jpg","text":"TemporaryFile(/tmp/multipartBody7179271235355039479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_17_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/27/a91e086b618ea6096ba98e467e65daa2.jpg","text":"TemporaryFile(/tmp/multipartBody1349020003777162618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235277202,"filename":"image_21112025_20_50_19_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393705","file1":"1396393702","file0":"1396393700","file4":"1396393711","file5":"1396393713","file3":"1396393708"},"map_files_photo_id_array":[{"photo_id":"1396393713","filename":"file5"},{"photo_id":"1396393705","filename":"file2"},{"photo_id":"1396393711","filename":"file4"},{"photo_id":"1396393702","filename":"file1"},{"photo_id":"1396393700","filename":"file0"},{"photo_id":"1396393708","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396393713":["hashtag1","hashtag2"]},{"1396393700":["hashtag1","hashtag2"]},{"1396393711":["hashtag1","hashtag2"]},{"1396393708":["hashtag1","hashtag2"]},{"1396393702":["hashtag1","hashtag2"]},{"1396393705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396393713, 1396393700, 1396393711, 1396393708, 1396393702, 1396393705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41089081764221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:21:03.270263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_35_9945.jpg', '/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_45_9894.jpg', '/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_54_9834.jpg', '/home/pi/Desktop/images/27112025/10/06/image_27112025_10_07_04_9615.jpg', '/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_14_9757.jpg', '/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_25_10912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_35_9945.jpg
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_45_9894.jpg
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_06_54_9834.jpg
/home/pi/Desktop/images/27112025/10/06/image_27112025_10_07_04_9615.jpg
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_14_9757.jpg
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_25_10912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393728","1396393763","1396393727","1396393757","1396393742","1396393732"],"photo_ids_order":["1396393727","1396393728","1396393732","1396393742","1396393757","1396393763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d209c0ee389c2c0f3e25b6ff8bd0f47.jpg","text":"TemporaryFile(/tmp/multipartBody2793247064815206627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_06_45_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a29ff7148b76860a118a3e458423634.jpg","text":"TemporaryFile(/tmp/multipartBody365323962547802138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_07_25_10912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2cca424e85c264bd591cb3294170941.jpg","text":"TemporaryFile(/tmp/multipartBody5060707914428498682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_06_35_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a92e28602a09ccb06e541f266d65c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8399376797341329950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_07_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24ea55821303dd939e2cddc4b4ade581.jpg","text":"TemporaryFile(/tmp/multipartBody4538980914167041538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_07_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/534580783cac957e62f097579e7a790e.jpg","text":"TemporaryFile(/tmp/multipartBody3396289300853961124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235324082,"filename":"image_27112025_10_06_54_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393732","file1":"1396393728","file0":"1396393727","file4":"1396393757","file5":"1396393763","file3":"1396393742"},"map_files_photo_id_array":[{"photo_id":"1396393763","filename":"file5"},{"photo_id":"1396393732","filename":"file2"},{"photo_id":"1396393757","filename":"file4"},{"photo_id":"1396393728","filename":"file1"},{"photo_id":"1396393727","filename":"file0"},{"photo_id":"1396393742","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393728":["hashtag1","hashtag2"]},{"1396393763":["hashtag1","hashtag2"]},{"1396393727":["hashtag1","hashtag2"]},{"1396393757":["hashtag1","hashtag2"]},{"1396393742":["hashtag1","hashtag2"]},{"1396393732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393728, 1396393763, 1396393727, 1396393757, 1396393742, 1396393732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081380128860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:21:42.687680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_32_2710.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_41_2642.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_48_2637.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_50_2699.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_54_3609.jpg', '/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_57_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_32_2710.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_41_2642.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_48_2637.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_50_2699.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_54_3609.jpg
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_57_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393776","1396393772","1396393775","1396393769","1396393774","1396393773"],"photo_ids_order":["1396393769","1396393772","1396393773","1396393774","1396393775","1396393776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7634729f1363d861950bc9e5f8e815a.jpg","text":"TemporaryFile(/tmp/multipartBody8207600765082972293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_57_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/27/038b3580e11450b7392453943cea179e.jpg","text":"TemporaryFile(/tmp/multipartBody2068835704733304963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_41_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/27/8598d755b3e6c1495dc732ad6abcd1e2.jpg","text":"TemporaryFile(/tmp/multipartBody5834654000855045985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_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/27/63009120253caa9766ee28f8289d0edf.jpg","text":"TemporaryFile(/tmp/multipartBody3506783048567596683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_32_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/27/888967f801e59120158d4d8008139432.jpg","text":"TemporaryFile(/tmp/multipartBody7119759119104002792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_50_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/27/aef840ee5e08748760450932d1fb0689.jpg","text":"TemporaryFile(/tmp/multipartBody6676535580963062019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235364271,"filename":"image_31102025_02_18_48_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393773","file1":"1396393772","file0":"1396393769","file4":"1396393775","file5":"1396393776","file3":"1396393774"},"map_files_photo_id_array":[{"photo_id":"1396393776","filename":"file5"},{"photo_id":"1396393773","filename":"file2"},{"photo_id":"1396393775","filename":"file4"},{"photo_id":"1396393772","filename":"file1"},{"photo_id":"1396393769","filename":"file0"},{"photo_id":"1396393774","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396393776":["hashtag1","hashtag2"]},{"1396393772":["hashtag1","hashtag2"]},{"1396393775":["hashtag1","hashtag2"]},{"1396393769":["hashtag1","hashtag2"]},{"1396393774":["hashtag1","hashtag2"]},{"1396393773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396393776, 1396393772, 1396393775, 1396393769, 1396393774, 1396393773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83290719985962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:22:21.965542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_34_9709.jpg', '/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_44_9668.jpg', '/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_55_10655.jpg', '/home/pi/Desktop/images/27112025/10/07/image_27112025_10_08_04_9797.jpg', '/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_14_9681.jpg', '/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_34_9709.jpg
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_44_9668.jpg
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_07_55_10655.jpg
/home/pi/Desktop/images/27112025/10/07/image_27112025_10_08_04_9797.jpg
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_14_9681.jpg
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_24_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393782","1396393778","1396393791","1396393785","1396393794","1396393788"],"photo_ids_order":["1396393778","1396393782","1396393785","1396393788","1396393791","1396393794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e10b7c3c2056fe712dcf20f11f1244f8.jpg","text":"TemporaryFile(/tmp/multipartBody6442403348295906482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_07_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31b332d9bb5fa57e36c7c5116a5dcb04.jpg","text":"TemporaryFile(/tmp/multipartBody4774171531239670731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_07_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b97211a9e2ff774bd9208dc9cea951c4.jpg","text":"TemporaryFile(/tmp/multipartBody5202735486086699441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_08_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c307517c15c5fa8d762db53031cb5825.jpg","text":"TemporaryFile(/tmp/multipartBody4322505385732326106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_07_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c1f2f36b7e26a00a77aaad17e80bd9e.jpg","text":"TemporaryFile(/tmp/multipartBody4362039082045220229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_08_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d833edea23ea0fef016a8d5da7a2f7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3518931157242773170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235402688,"filename":"image_27112025_10_08_04_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393785","file1":"1396393782","file0":"1396393778","file4":"1396393791","file5":"1396393794","file3":"1396393788"},"map_files_photo_id_array":[{"photo_id":"1396393794","filename":"file5"},{"photo_id":"1396393785","filename":"file2"},{"photo_id":"1396393791","filename":"file4"},{"photo_id":"1396393782","filename":"file1"},{"photo_id":"1396393778","filename":"file0"},{"photo_id":"1396393788","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393782":["hashtag1","hashtag2"]},{"1396393778":["hashtag1","hashtag2"]},{"1396393791":["hashtag1","hashtag2"]},{"1396393785":["hashtag1","hashtag2"]},{"1396393794":["hashtag1","hashtag2"]},{"1396393788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393782, 1396393778, 1396393791, 1396393785, 1396393794, 1396393788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1624641418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:23:02.676828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_35_10723.jpg', '/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_44_9608.jpg', '/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_54_9741.jpg', '/home/pi/Desktop/images/27112025/10/08/image_27112025_10_09_05_10686.jpg', '/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_14_9715.jpg', '/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_24_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_35_10723.jpg
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_44_9608.jpg
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_08_54_9741.jpg
/home/pi/Desktop/images/27112025/10/08/image_27112025_10_09_05_10686.jpg
/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_14_9715.jpg
/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_24_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393797","1396393803","1396393806","1396393796","1396393800","1396393798"],"photo_ids_order":["1396393796","1396393797","1396393798","1396393800","1396393803","1396393806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7d3f9e31db99d74340a49db95f590aa.jpg","text":"TemporaryFile(/tmp/multipartBody6556755277657304558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_08_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a97c11bc564aef3183af0ab2c5b852cf.jpg","text":"TemporaryFile(/tmp/multipartBody8297477490589554521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_09_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fbb56612b2afea7e583039b14c94520.jpg","text":"TemporaryFile(/tmp/multipartBody6126053214984809217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_09_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebf212195781caf7a779945c6f6bad98.jpg","text":"TemporaryFile(/tmp/multipartBody60732953129239921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_08_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0b44f9346e25a04f6403619f141e445.jpg","text":"TemporaryFile(/tmp/multipartBody2806980838833036249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_09_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e83bd63c03844b2d959aaf0f0ece39b3.jpg","text":"TemporaryFile(/tmp/multipartBody3855024422086124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235445637,"filename":"image_27112025_10_08_54_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393798","file1":"1396393797","file0":"1396393796","file4":"1396393803","file5":"1396393806","file3":"1396393800"},"map_files_photo_id_array":[{"photo_id":"1396393806","filename":"file5"},{"photo_id":"1396393798","filename":"file2"},{"photo_id":"1396393803","filename":"file4"},{"photo_id":"1396393797","filename":"file1"},{"photo_id":"1396393796","filename":"file0"},{"photo_id":"1396393800","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393797":["hashtag1","hashtag2"]},{"1396393803":["hashtag1","hashtag2"]},{"1396393806":["hashtag1","hashtag2"]},{"1396393796":["hashtag1","hashtag2"]},{"1396393800":["hashtag1","hashtag2"]},{"1396393798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393797, 1396393803, 1396393806, 1396393796, 1396393800, 1396393798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41039180755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:24:03.754999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_35_10641.jpg', '/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_44_9669.jpg', '/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_54_9672.jpg', '/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_14_10037.jpg', '/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_25_10685.jpg', '/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_34_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_35_10641.jpg
/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_44_9669.jpg
/home/pi/Desktop/images/27112025/10/09/image_27112025_10_09_54_9672.jpg
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_14_10037.jpg
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_25_10685.jpg
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_34_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393836","1396393832","1396393841","1396393838","1396393831","1396393834"],"photo_ids_order":["1396393831","1396393832","1396393834","1396393836","1396393838","1396393841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1452c878ae166433a9ba214622eafad9.jpg","text":"TemporaryFile(/tmp/multipartBody3816413709607744334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_11_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/301285083e4dda90eeea72fa8281c692.jpg","text":"TemporaryFile(/tmp/multipartBody7866234784280387053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_09_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0f9589a21be7e10c94b4d3b13fcc121.jpg","text":"TemporaryFile(/tmp/multipartBody955318784039075786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_11_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fbf4eb017eba7971f6a6b8720bcff8cb.jpg","text":"TemporaryFile(/tmp/multipartBody5055168197209068639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_11_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f06e8f479385eb17aba8cdd1c9c2ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody2812911683369992534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_09_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e88c981266b1196e823f1904a81131aa.jpg","text":"TemporaryFile(/tmp/multipartBody3482229229211301007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235504494,"filename":"image_27112025_10_09_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393834","file1":"1396393832","file0":"1396393831","file4":"1396393838","file5":"1396393841","file3":"1396393836"},"map_files_photo_id_array":[{"photo_id":"1396393841","filename":"file5"},{"photo_id":"1396393834","filename":"file2"},{"photo_id":"1396393838","filename":"file4"},{"photo_id":"1396393832","filename":"file1"},{"photo_id":"1396393831","filename":"file0"},{"photo_id":"1396393836","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393836":["hashtag1","hashtag2"]},{"1396393832":["hashtag1","hashtag2"]},{"1396393841":["hashtag1","hashtag2"]},{"1396393838":["hashtag1","hashtag2"]},{"1396393831":["hashtag1","hashtag2"]},{"1396393834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393836, 1396393832, 1396393841, 1396393838, 1396393831, 1396393834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93334889411926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:24:43.124974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_59_2662.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_15_2644.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_17_2728.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_20_2829.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_27_2676.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_53_2937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/18/image_31102025_02_18_59_2662.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_15_2644.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_17_2728.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_20_2829.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_27_2676.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_53_2937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393860","1396393854","1396393857","1396393851","1396393856","1396393858"],"photo_ids_order":["1396393851","1396393854","1396393856","1396393857","1396393858","1396393860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8167243b86f40128547ba4c3e5ca62b1.jpg","text":"TemporaryFile(/tmp/multipartBody7768843461538086856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_19_53_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/27/077b9c563f8b92f14de569878093f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody6081490479836845620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_19_15_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/27/1b52766e7a7137df7d42dabf68d9d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6995021498328789095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_19_20_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/27/09686a607cdb3ddb2dac6b31a99e7b64.jpg","text":"TemporaryFile(/tmp/multipartBody7884084735951070942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_18_59_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/27/d97f2d918efd6dba2a473100c618a304.jpg","text":"TemporaryFile(/tmp/multipartBody1358611862327597062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_19_17_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/27/70b2f5853885a9d4d9909ca6139ec0cd.jpg","text":"TemporaryFile(/tmp/multipartBody8309609055813226089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235544705,"filename":"image_31102025_02_19_27_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393856","file1":"1396393854","file0":"1396393851","file4":"1396393858","file5":"1396393860","file3":"1396393857"},"map_files_photo_id_array":[{"photo_id":"1396393860","filename":"file5"},{"photo_id":"1396393856","filename":"file2"},{"photo_id":"1396393858","filename":"file4"},{"photo_id":"1396393854","filename":"file1"},{"photo_id":"1396393851","filename":"file0"},{"photo_id":"1396393857","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396393860":["hashtag1","hashtag2"]},{"1396393854":["hashtag1","hashtag2"]},{"1396393857":["hashtag1","hashtag2"]},{"1396393851":["hashtag1","hashtag2"]},{"1396393856":["hashtag1","hashtag2"]},{"1396393858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396393860, 1396393854, 1396393857, 1396393851, 1396393856, 1396393858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46707463264465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:25:22.276577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_45_10571.jpg', '/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_55_9839.jpg', '/home/pi/Desktop/images/27112025/10/11/image_27112025_10_12_05_9675.jpg', '/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_15_10326.jpg', '/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_25_9735.jpg', '/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_45_10571.jpg
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_11_55_9839.jpg
/home/pi/Desktop/images/27112025/10/11/image_27112025_10_12_05_9675.jpg
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_15_10326.jpg
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_25_9735.jpg
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_34_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393881","1396393877","1396393886","1396393894","1396393890","1396393884"],"photo_ids_order":["1396393877","1396393881","1396393884","1396393886","1396393890","1396393894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fd3dc482ba2841a371efc768bc18575.jpg","text":"TemporaryFile(/tmp/multipartBody6941921732979578829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_11_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7b701797116cb2ffb55109d7b883b14.jpg","text":"TemporaryFile(/tmp/multipartBody5044918061373648002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_11_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0871a348412fde0ad867602092397824.jpg","text":"TemporaryFile(/tmp/multipartBody847160457232271574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_12_15_10326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c971cc5ecaca76bfb386a3d95bb132f5.jpg","text":"TemporaryFile(/tmp/multipartBody1292060222366965558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_12_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/734db181394063d019fd758b6da20b65.jpg","text":"TemporaryFile(/tmp/multipartBody3762819015067580236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_12_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a413b92dd9abd8b3ed2e12f1d1100e87.jpg","text":"TemporaryFile(/tmp/multipartBody6783246142132837731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235583004,"filename":"image_27112025_10_12_05_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393884","file1":"1396393881","file0":"1396393877","file4":"1396393890","file5":"1396393894","file3":"1396393886"},"map_files_photo_id_array":[{"photo_id":"1396393894","filename":"file5"},{"photo_id":"1396393884","filename":"file2"},{"photo_id":"1396393890","filename":"file4"},{"photo_id":"1396393881","filename":"file1"},{"photo_id":"1396393877","filename":"file0"},{"photo_id":"1396393886","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393881":["hashtag1","hashtag2"]},{"1396393877":["hashtag1","hashtag2"]},{"1396393886":["hashtag1","hashtag2"]},{"1396393894":["hashtag1","hashtag2"]},{"1396393890":["hashtag1","hashtag2"]},{"1396393884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393881, 1396393877, 1396393886, 1396393894, 1396393890, 1396393884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.440348625183105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:26:03.044030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_45_10605.jpg', '/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_55_9826.jpg', '/home/pi/Desktop/images/27112025/10/12/image_27112025_10_13_04_9557.jpg', '/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_15_10810.jpg', '/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_25_9718.jpg', '/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_45_10605.jpg
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_12_55_9826.jpg
/home/pi/Desktop/images/27112025/10/12/image_27112025_10_13_04_9557.jpg
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_15_10810.jpg
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_25_9718.jpg
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_34_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393902","1396393905","1396393895","1396393898","1396393897","1396393899"],"photo_ids_order":["1396393895","1396393897","1396393898","1396393899","1396393902","1396393905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9cf4341412b2622fd2b965620c214dd.jpg","text":"TemporaryFile(/tmp/multipartBody7953315308855003793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_13_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b9d89381cdbc6d50cd86cc848740c40.jpg","text":"TemporaryFile(/tmp/multipartBody8611505379036479187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_13_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c25b1036e7452dc97dede91412a03c6.jpg","text":"TemporaryFile(/tmp/multipartBody484607329196925450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_12_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4706ac1a3cdb669a9165147f0225457a.jpg","text":"TemporaryFile(/tmp/multipartBody3113192407309849483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_13_04_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b806975698211e315608844dfbf2d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8048114632650206966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_12_55_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ebf927fba2cf9d0beba7e1d428d2749.jpg","text":"TemporaryFile(/tmp/multipartBody8142087821649983850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235623795,"filename":"image_27112025_10_13_15_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393898","file1":"1396393897","file0":"1396393895","file4":"1396393902","file5":"1396393905","file3":"1396393899"},"map_files_photo_id_array":[{"photo_id":"1396393905","filename":"file5"},{"photo_id":"1396393898","filename":"file2"},{"photo_id":"1396393902","filename":"file4"},{"photo_id":"1396393897","filename":"file1"},{"photo_id":"1396393895","filename":"file0"},{"photo_id":"1396393899","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393902":["hashtag1","hashtag2"]},{"1396393905":["hashtag1","hashtag2"]},{"1396393895":["hashtag1","hashtag2"]},{"1396393898":["hashtag1","hashtag2"]},{"1396393897":["hashtag1","hashtag2"]},{"1396393899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393902, 1396393905, 1396393895, 1396393898, 1396393897, 1396393899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11467933654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:26:42.512813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_57_3608.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_59_2658.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_05_2924.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_12_2709.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_23_2750.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_27_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_57_3608.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_59_2658.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_05_2924.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_12_2709.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_23_2750.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_27_3697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4932374954223633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:27:03.444936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_44_9781.jpg', '/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_55_10841.jpg', '/home/pi/Desktop/images/27112025/10/13/image_27112025_10_14_05_9695.jpg', '/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_15_9843.jpg', '/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_24_9672.jpg', '/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_44_9781.jpg
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_13_55_10841.jpg
/home/pi/Desktop/images/27112025/10/13/image_27112025_10_14_05_9695.jpg
/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_15_9843.jpg
/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_24_9672.jpg
/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_35_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393944","1396393943","1396393946","1396393951","1396393945","1396393948"],"photo_ids_order":["1396393943","1396393944","1396393945","1396393946","1396393948","1396393951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4f501fb0ca62aacd32b46adf81edfec.jpg","text":"TemporaryFile(/tmp/multipartBody2678652714011973503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_13_55_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b526e524aeb5b737c5655fdb018b7c34.jpg","text":"TemporaryFile(/tmp/multipartBody7796720199202050082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_13_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d181c90dbd98e0428124d1fe6c08ad02.jpg","text":"TemporaryFile(/tmp/multipartBody4998499938807951689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_14_15_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/27/0fb90d2a9fdf72efca418d5e3ccfbaf2.jpg","text":"TemporaryFile(/tmp/multipartBody1819384235783464481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_14_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c58378c9a9fc0bf08d7a6790d905e351.jpg","text":"TemporaryFile(/tmp/multipartBody432074406148439496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_14_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee0a0aa4a8864fd044b78ec72973679c.jpg","text":"TemporaryFile(/tmp/multipartBody7677625108024199308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235684304,"filename":"image_27112025_10_14_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393945","file1":"1396393944","file0":"1396393943","file4":"1396393948","file5":"1396393951","file3":"1396393946"},"map_files_photo_id_array":[{"photo_id":"1396393951","filename":"file5"},{"photo_id":"1396393945","filename":"file2"},{"photo_id":"1396393948","filename":"file4"},{"photo_id":"1396393944","filename":"file1"},{"photo_id":"1396393943","filename":"file0"},{"photo_id":"1396393946","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393944":["hashtag1","hashtag2"]},{"1396393943":["hashtag1","hashtag2"]},{"1396393946":["hashtag1","hashtag2"]},{"1396393951":["hashtag1","hashtag2"]},{"1396393945":["hashtag1","hashtag2"]},{"1396393948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393944, 1396393943, 1396393946, 1396393951, 1396393945, 1396393948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08134484291077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:27:42.701341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_57_3608.jpg', '/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_59_2658.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_05_2924.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_12_2709.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_23_2750.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_27_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_57_3608.jpg
/home/pi/Desktop/images/31102025/02/19/image_31102025_02_19_59_2658.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_05_2924.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_12_2709.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_23_2750.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_27_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393961","1396393964","1396393967","1396393963","1396393966","1396393965"],"photo_ids_order":["1396393961","1396393963","1396393964","1396393965","1396393966","1396393967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9a63e387d40d3df566797e227d39a76.jpg","text":"TemporaryFile(/tmp/multipartBody5882791052241123827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_19_57_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/27/9470635be37007b6e9c733ab2291b26e.jpg","text":"TemporaryFile(/tmp/multipartBody2726789214342416488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_20_05_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/27/98df7a35f3b471d3309dbb3bda87159f.jpg","text":"TemporaryFile(/tmp/multipartBody7953794675112068095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_20_27_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/27/27eb836bfd705569d158e783f488dafe.jpg","text":"TemporaryFile(/tmp/multipartBody6463056739375824877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_19_59_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/27/295223285e33d7441cd387de0335a2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6581089584022937470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_20_23_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/27/cf054afe336f28c68b34aa9fc2a8a809.jpg","text":"TemporaryFile(/tmp/multipartBody1808401914407660447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235724133,"filename":"image_31102025_02_20_12_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393964","file1":"1396393963","file0":"1396393961","file4":"1396393966","file5":"1396393967","file3":"1396393965"},"map_files_photo_id_array":[{"photo_id":"1396393967","filename":"file5"},{"photo_id":"1396393964","filename":"file2"},{"photo_id":"1396393966","filename":"file4"},{"photo_id":"1396393963","filename":"file1"},{"photo_id":"1396393961","filename":"file0"},{"photo_id":"1396393965","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396393961":["hashtag1","hashtag2"]},{"1396393964":["hashtag1","hashtag2"]},{"1396393967":["hashtag1","hashtag2"]},{"1396393963":["hashtag1","hashtag2"]},{"1396393966":["hashtag1","hashtag2"]},{"1396393965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396393961, 1396393964, 1396393967, 1396393963, 1396393966, 1396393965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18561124801636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:28:21.864093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_44_9577.jpg', '/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_54_9882.jpg', '/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_14_10058.jpg', '/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_35_9614.jpg', '/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_44_9680.jpg', '/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_54_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_44_9577.jpg
/home/pi/Desktop/images/27112025/10/14/image_27112025_10_14_54_9882.jpg
/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_14_10058.jpg
/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_35_9614.jpg
/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_44_9680.jpg
/home/pi/Desktop/images/27112025/10/15/image_27112025_10_15_54_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396393982","1396393976","1396393979","1396393972","1396393969","1396393984"],"photo_ids_order":["1396393969","1396393972","1396393976","1396393979","1396393982","1396393984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85e7e5dd57985931e468950049a22a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5506995789460232926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_15_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9733699720d635f70a8c0533cfaa8e63.jpg","text":"TemporaryFile(/tmp/multipartBody3170549271696991527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_15_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68b548fc5f0414d53df9548f2e1fc818.jpg","text":"TemporaryFile(/tmp/multipartBody2632317845848884255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_15_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7763576be8e985283acaf496b5f0046d.jpg","text":"TemporaryFile(/tmp/multipartBody2667117177855039965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_14_54_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7512e8a44e9e36902aef74a7533a15e4.jpg","text":"TemporaryFile(/tmp/multipartBody3835064578793868882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_14_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/673147fe7d75195164e322213d016192.jpg","text":"TemporaryFile(/tmp/multipartBody1137481075888248081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235762614,"filename":"image_27112025_10_15_54_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393976","file1":"1396393972","file0":"1396393969","file4":"1396393982","file5":"1396393984","file3":"1396393979"},"map_files_photo_id_array":[{"photo_id":"1396393984","filename":"file5"},{"photo_id":"1396393976","filename":"file2"},{"photo_id":"1396393982","filename":"file4"},{"photo_id":"1396393972","filename":"file1"},{"photo_id":"1396393969","filename":"file0"},{"photo_id":"1396393979","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396393982":["hashtag1","hashtag2"]},{"1396393976":["hashtag1","hashtag2"]},{"1396393979":["hashtag1","hashtag2"]},{"1396393972":["hashtag1","hashtag2"]},{"1396393969":["hashtag1","hashtag2"]},{"1396393984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396393982, 1396393976, 1396393979, 1396393972, 1396393969, 1396393984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85994219779968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:29:02.939428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/15/image_27112025_10_16_05_10770.jpg', '/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_15_9794.jpg', '/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_25_9843.jpg', '/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_34_9681.jpg', '/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_45_10608.jpg', '/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_55_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/15/image_27112025_10_16_05_10770.jpg
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_15_9794.jpg
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_25_9843.jpg
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_34_9681.jpg
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_45_10608.jpg
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_16_55_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394010","1396394024","1396393985","1396393999","1396393990","1396393987"],"photo_ids_order":["1396393985","1396393987","1396393990","1396393999","1396394010","1396394024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6d12b05f47a8112111318f6e45d704a.jpg","text":"TemporaryFile(/tmp/multipartBody5528462026185765180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12d523ca4c07a721d345c8540076c32c.jpg","text":"TemporaryFile(/tmp/multipartBody259290280850804012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7b4431cf9558305d7a5aef377a37047.jpg","text":"TemporaryFile(/tmp/multipartBody5313519438110304019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_05_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7309ed21a61bf0f74e0d08b8346fd404.jpg","text":"TemporaryFile(/tmp/multipartBody9021992998802717843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f169fb5caf9119e45d792d763c81824b.jpg","text":"TemporaryFile(/tmp/multipartBody5033776225160219790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_25_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/27/796c19ce8ae2be6d07a906b704b94018.jpg","text":"TemporaryFile(/tmp/multipartBody4531028300754761107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235803821,"filename":"image_27112025_10_16_15_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396393990","file1":"1396393987","file0":"1396393985","file4":"1396394010","file5":"1396394024","file3":"1396393999"},"map_files_photo_id_array":[{"photo_id":"1396394024","filename":"file5"},{"photo_id":"1396393990","filename":"file2"},{"photo_id":"1396394010","filename":"file4"},{"photo_id":"1396393987","filename":"file1"},{"photo_id":"1396393985","filename":"file0"},{"photo_id":"1396393999","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394010":["hashtag1","hashtag2"]},{"1396394024":["hashtag1","hashtag2"]},{"1396393985":["hashtag1","hashtag2"]},{"1396393999":["hashtag1","hashtag2"]},{"1396393990":["hashtag1","hashtag2"]},{"1396393987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394010, 1396394024, 1396393985, 1396393999, 1396393990, 1396393987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.385926485061646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:29:42.264600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_30_2946.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_41_2706.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_48_2852.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_51_3015.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_56_2813.jpg', '/home/pi/Desktop/images/31102025/02/20/image_31102025_02_21_00_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_30_2946.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_41_2706.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_48_2852.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_51_3015.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_20_56_2813.jpg
/home/pi/Desktop/images/31102025/02/20/image_31102025_02_21_00_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394037","1396394039","1396394036","1396394038","1396394040","1396394034"],"photo_ids_order":["1396394034","1396394036","1396394037","1396394038","1396394039","1396394040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9dbd4d2b3b147368d6c8c6c3e9d56259.jpg","text":"TemporaryFile(/tmp/multipartBody7126158737209212572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_20_48_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/443a7b263e18f207fae6063d5a50084c.jpg","text":"TemporaryFile(/tmp/multipartBody194244275181577838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_20_56_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/27/f61a12440ff246f557b92abf6a55ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody6550968206226462565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_20_41_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/27/334ab5462b71769301d2c24fb44c1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1962330608204895021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_20_51_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/27/f58c062fc69793f29672a5f9505a4d68.jpg","text":"TemporaryFile(/tmp/multipartBody7573026396438848139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_21_00_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/27/9de2dc614b944d7b3e829b31ac9869b2.jpg","text":"TemporaryFile(/tmp/multipartBody6115114724883778892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235843893,"filename":"image_31102025_02_20_30_2946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394037","file1":"1396394036","file0":"1396394034","file4":"1396394039","file5":"1396394040","file3":"1396394038"},"map_files_photo_id_array":[{"photo_id":"1396394040","filename":"file5"},{"photo_id":"1396394037","filename":"file2"},{"photo_id":"1396394039","filename":"file4"},{"photo_id":"1396394036","filename":"file1"},{"photo_id":"1396394034","filename":"file0"},{"photo_id":"1396394038","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396394037":["hashtag1","hashtag2"]},{"1396394039":["hashtag1","hashtag2"]},{"1396394036":["hashtag1","hashtag2"]},{"1396394038":["hashtag1","hashtag2"]},{"1396394040":["hashtag1","hashtag2"]},{"1396394034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396394037, 1396394039, 1396394036, 1396394038, 1396394040, 1396394034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.365912675857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:30:22.432381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/16/image_27112025_10_17_04_9624.jpg', '/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_15_10855.jpg', '/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_25_9748.jpg', '/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_35_9728.jpg', '/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_44_9657.jpg', '/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_55_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/16/image_27112025_10_17_04_9624.jpg
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_15_10855.jpg
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_25_9748.jpg
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_35_9728.jpg
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_44_9657.jpg
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_17_55_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394060","1396394063","1396394066","1396394051","1396394046","1396394055"],"photo_ids_order":["1396394046","1396394051","1396394055","1396394060","1396394063","1396394066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fe267c3e1657e6ce0ed5ef6bb14d459.jpg","text":"TemporaryFile(/tmp/multipartBody2861355648025118967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff352eb24e27fee69f34a0ef4c358351.jpg","text":"TemporaryFile(/tmp/multipartBody2764644178504427812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b634469ce7f76a518b2031fb563012c.jpg","text":"TemporaryFile(/tmp/multipartBody8104311251130925789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_55_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f07c8bb8bc1193994716c678bc7632d.jpg","text":"TemporaryFile(/tmp/multipartBody897423770664502714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_15_10855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/355186e62457e7cf4b028982d85f4dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6464451272203986808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_04_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/27/c86e09f944786075fc9442762c93d51f.jpg","text":"TemporaryFile(/tmp/multipartBody4566537198853863463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235883173,"filename":"image_27112025_10_17_25_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394055","file1":"1396394051","file0":"1396394046","file4":"1396394063","file5":"1396394066","file3":"1396394060"},"map_files_photo_id_array":[{"photo_id":"1396394066","filename":"file5"},{"photo_id":"1396394055","filename":"file2"},{"photo_id":"1396394063","filename":"file4"},{"photo_id":"1396394051","filename":"file1"},{"photo_id":"1396394046","filename":"file0"},{"photo_id":"1396394060","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394060":["hashtag1","hashtag2"]},{"1396394063":["hashtag1","hashtag2"]},{"1396394066":["hashtag1","hashtag2"]},{"1396394051":["hashtag1","hashtag2"]},{"1396394046":["hashtag1","hashtag2"]},{"1396394055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394060, 1396394063, 1396394066, 1396394051, 1396394046, 1396394055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79107689857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:31:03.276260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/17/image_27112025_10_18_05_9789.jpg', '/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_15_9738.jpg', '/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_25_10645.jpg', '/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_35_9651.jpg', '/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_45_9737.jpg', '/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_54_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/17/image_27112025_10_18_05_9789.jpg
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_15_9738.jpg
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_25_10645.jpg
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_35_9651.jpg
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_45_9737.jpg
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_18_54_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394093","1396394117","1396394092","1396394095","1396394137","1396394094"],"photo_ids_order":["1396394092","1396394093","1396394094","1396394095","1396394117","1396394137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c0b63dac32810dbac6040f83caf393e.jpg","text":"TemporaryFile(/tmp/multipartBody7560580678590245614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78d51429c38645ff7bf3c9825adf6273.jpg","text":"TemporaryFile(/tmp/multipartBody6034902100341860152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a9034ade50125d5229800f83faf4359.jpg","text":"TemporaryFile(/tmp/multipartBody5487307796472864103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a372668e3480dda05fb128dee1ff1589.jpg","text":"TemporaryFile(/tmp/multipartBody2138418797626375746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f65e2d14f4061cc58fde1ed58794bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5959239293943292358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ccb7572687befbef89de8cf4f4fc601.jpg","text":"TemporaryFile(/tmp/multipartBody6704487161221267639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235924153,"filename":"image_27112025_10_18_25_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394094","file1":"1396394093","file0":"1396394092","file4":"1396394117","file5":"1396394137","file3":"1396394095"},"map_files_photo_id_array":[{"photo_id":"1396394137","filename":"file5"},{"photo_id":"1396394094","filename":"file2"},{"photo_id":"1396394117","filename":"file4"},{"photo_id":"1396394093","filename":"file1"},{"photo_id":"1396394092","filename":"file0"},{"photo_id":"1396394095","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394093":["hashtag1","hashtag2"]},{"1396394117":["hashtag1","hashtag2"]},{"1396394092":["hashtag1","hashtag2"]},{"1396394095":["hashtag1","hashtag2"]},{"1396394137":["hashtag1","hashtag2"]},{"1396394094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394093, 1396394117, 1396394092, 1396394095, 1396394137, 1396394094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.026726961135864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:31:42.753280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_03_2753.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_05_2708.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_27_2876.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_32_2900.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_36_3513.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_41_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_03_2753.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_05_2708.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_27_2876.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_32_2900.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_36_3513.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_41_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394150","1396394153","1396394152","1396394149","1396394146","1396394151"],"photo_ids_order":["1396394146","1396394149","1396394150","1396394151","1396394152","1396394153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4d85ae2565594081ed71632cb6fee9b.jpg","text":"TemporaryFile(/tmp/multipartBody8544466952818926214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_27_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/27/4cc6e60e733a3b12cfa71e7a0a441746.jpg","text":"TemporaryFile(/tmp/multipartBody8052332064770859102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_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/27/ca3f02e9644df035d10432b5eb14ae6d.jpg","text":"TemporaryFile(/tmp/multipartBody3534169514857210061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_36_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/27/e0140070eeac16e64b05710e8c4da7c4.jpg","text":"TemporaryFile(/tmp/multipartBody2444896467591148679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_05_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/27/1841f0d04ca1bf2c887942b3d0f56dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8083619529582887506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_03_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/27/fa9793554fc02e6df803021d517bf14d.jpg","text":"TemporaryFile(/tmp/multipartBody1919325611087622403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764235964383,"filename":"image_31102025_02_21_32_2900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394150","file1":"1396394149","file0":"1396394146","file4":"1396394152","file5":"1396394153","file3":"1396394151"},"map_files_photo_id_array":[{"photo_id":"1396394153","filename":"file5"},{"photo_id":"1396394150","filename":"file2"},{"photo_id":"1396394152","filename":"file4"},{"photo_id":"1396394149","filename":"file1"},{"photo_id":"1396394146","filename":"file0"},{"photo_id":"1396394151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396394150":["hashtag1","hashtag2"]},{"1396394153":["hashtag1","hashtag2"]},{"1396394152":["hashtag1","hashtag2"]},{"1396394149":["hashtag1","hashtag2"]},{"1396394146":["hashtag1","hashtag2"]},{"1396394151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396394150, 1396394153, 1396394152, 1396394149, 1396394146, 1396394151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97622108459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:32:21.916685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/18/image_27112025_10_19_05_10675.jpg', '/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_15_9767.jpg', '/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_25_9803.jpg', '/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_35_10654.jpg', '/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_45_9695.jpg', '/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_55_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/18/image_27112025_10_19_05_10675.jpg
/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_15_9767.jpg
/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_25_9803.jpg
/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_35_10654.jpg
/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_45_9695.jpg
/home/pi/Desktop/images/27112025/10/19/image_27112025_10_19_55_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394168","1396394171","1396394165","1396394161","1396394155","1396394158"],"photo_ids_order":["1396394155","1396394158","1396394161","1396394165","1396394168","1396394171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa6e6c7886c6f62770634a62f8418056.jpg","text":"TemporaryFile(/tmp/multipartBody5162930322233319976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5547f3dcc82e249c2f5d3589bce9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4716987617266682130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fa0470bcb962cca4984e0f58cf37ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1770681945550214781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/771b812d43fc4496deb2dea56cefefba.jpg","text":"TemporaryFile(/tmp/multipartBody6268016495446681079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c35ee381d5a2c7fd2367cf35c1cc358.jpg","text":"TemporaryFile(/tmp/multipartBody2596625487918693818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a96dd14f3587cd231894a13c376140d7.jpg","text":"TemporaryFile(/tmp/multipartBody9092566702961420061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236002635,"filename":"image_27112025_10_19_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394161","file1":"1396394158","file0":"1396394155","file4":"1396394168","file5":"1396394171","file3":"1396394165"},"map_files_photo_id_array":[{"photo_id":"1396394171","filename":"file5"},{"photo_id":"1396394161","filename":"file2"},{"photo_id":"1396394168","filename":"file4"},{"photo_id":"1396394158","filename":"file1"},{"photo_id":"1396394155","filename":"file0"},{"photo_id":"1396394165","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394168":["hashtag1","hashtag2"]},{"1396394171":["hashtag1","hashtag2"]},{"1396394165":["hashtag1","hashtag2"]},{"1396394161":["hashtag1","hashtag2"]},{"1396394155":["hashtag1","hashtag2"]},{"1396394158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394168, 1396394171, 1396394165, 1396394161, 1396394155, 1396394158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.229328870773315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:33:02.551922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_15_10054.jpg', '/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_25_10727.jpg', '/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_35_9693.jpg', '/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_45_9719.jpg', '/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_55_10556.jpg', '/home/pi/Desktop/images/27112025/10/20/image_27112025_10_21_05_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_15_10054.jpg
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_25_10727.jpg
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_35_9693.jpg
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_45_9719.jpg
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_20_55_10556.jpg
/home/pi/Desktop/images/27112025/10/20/image_27112025_10_21_05_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394174","1396394249","1396394173","1396394176","1396394175","1396394211"],"photo_ids_order":["1396394173","1396394174","1396394175","1396394176","1396394211","1396394249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8a38cbca05115f057f6e46420435fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5424695961504841248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_20_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/552af6419ed09a11167a9ff3cd0fb199.jpg","text":"TemporaryFile(/tmp/multipartBody5280106543919340822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_21_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a7fe7d3c217ffdf3e2c9cf651d567ce.jpg","text":"TemporaryFile(/tmp/multipartBody47299892068517564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_20_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7a624e9667d940046aee069f4d4e309.jpg","text":"TemporaryFile(/tmp/multipartBody3843329143026145501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_20_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45f9b12809ba708acc5c5e3452862cbf.jpg","text":"TemporaryFile(/tmp/multipartBody9219565061256143132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_20_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2548813189c174d6d990dc4dcde8ba71.jpg","text":"TemporaryFile(/tmp/multipartBody3723519337225042749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236043402,"filename":"image_27112025_10_20_55_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394175","file1":"1396394174","file0":"1396394173","file4":"1396394211","file5":"1396394249","file3":"1396394176"},"map_files_photo_id_array":[{"photo_id":"1396394249","filename":"file5"},{"photo_id":"1396394175","filename":"file2"},{"photo_id":"1396394211","filename":"file4"},{"photo_id":"1396394174","filename":"file1"},{"photo_id":"1396394173","filename":"file0"},{"photo_id":"1396394176","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394174":["hashtag1","hashtag2"]},{"1396394249":["hashtag1","hashtag2"]},{"1396394173":["hashtag1","hashtag2"]},{"1396394176":["hashtag1","hashtag2"]},{"1396394175":["hashtag1","hashtag2"]},{"1396394211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394174, 1396394249, 1396394173, 1396394176, 1396394175, 1396394211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16398334503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:33:42.176020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_53_2852.jpg', '/home/pi/Desktop/images/31102025/02/21/image_31102025_02_22_00_3792.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_02_2555.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_07_4627.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_08_1549.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_11_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_21_53_2852.jpg
/home/pi/Desktop/images/31102025/02/21/image_31102025_02_22_00_3792.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_02_2555.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_07_4627.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_08_1549.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_11_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394396","1396394579","1396394543","1396394438","1396394510","1396394476"],"photo_ids_order":["1396394396","1396394438","1396394476","1396394510","1396394543","1396394579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e375bbf9930b5fbf4e2f8c3adcde75f.jpg","text":"TemporaryFile(/tmp/multipartBody5121314665207579641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_21_53_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ff1145c931d64672f530d8f3aa3708a.jpg","text":"TemporaryFile(/tmp/multipartBody4460008086398752560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_22_11_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/27/0a0e7ecba76fbcad15c7e0222863c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7618448176298794343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_22_08_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/27/fc838d96d40fdfd58e37d08370a92f72.jpg","text":"TemporaryFile(/tmp/multipartBody6892777277770042176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_22_00_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/27/307760d734dcbc6ad19d6b8d4574a96d.jpg","text":"TemporaryFile(/tmp/multipartBody7438455372745502699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_22_07_4627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0523818cbcb05bc76df3d3fd8d7c7bea.jpg","text":"TemporaryFile(/tmp/multipartBody1077033746746726246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236083755,"filename":"image_31102025_02_22_02_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394476","file1":"1396394438","file0":"1396394396","file4":"1396394543","file5":"1396394579","file3":"1396394510"},"map_files_photo_id_array":[{"photo_id":"1396394579","filename":"file5"},{"photo_id":"1396394476","filename":"file2"},{"photo_id":"1396394543","filename":"file4"},{"photo_id":"1396394438","filename":"file1"},{"photo_id":"1396394396","filename":"file0"},{"photo_id":"1396394510","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396394396":["hashtag1","hashtag2"]},{"1396394579":["hashtag1","hashtag2"]},{"1396394543":["hashtag1","hashtag2"]},{"1396394438":["hashtag1","hashtag2"]},{"1396394510":["hashtag1","hashtag2"]},{"1396394476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396394396, 1396394579, 1396394543, 1396394438, 1396394510, 1396394476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.227344274520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:34:22.359238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_16_10672.jpg', '/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_25_9770.jpg', '/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_35_10001.jpg', '/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_45_9764.jpg', '/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_55_9655.jpg', '/home/pi/Desktop/images/27112025/10/21/image_27112025_10_22_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_16_10672.jpg
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_25_9770.jpg
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_35_10001.jpg
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_45_9764.jpg
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_21_55_9655.jpg
/home/pi/Desktop/images/27112025/10/21/image_27112025_10_22_05_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394712","1396394753","1396394912","1396394884","1396394839","1396394796"],"photo_ids_order":["1396394712","1396394753","1396394796","1396394839","1396394884","1396394912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb08e2e453089b60b7a49c089f6ece7f.jpg","text":"TemporaryFile(/tmp/multipartBody288839863443191979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_21_16_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a295607a30e96001f91eed1a86e0496.jpg","text":"TemporaryFile(/tmp/multipartBody2774250393277486636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_21_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c58ac49d2f1ddc7a7bb1553e707940ae.jpg","text":"TemporaryFile(/tmp/multipartBody4572770964152067719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_22_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31ee8021e8e21780bc0be04f7501942c.jpg","text":"TemporaryFile(/tmp/multipartBody2447122624611987340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_21_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ae0621864547b121005b2f6ee3e49cf.jpg","text":"TemporaryFile(/tmp/multipartBody2460393906158487860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_21_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/499229eebfb321e28a18ea27496d0861.jpg","text":"TemporaryFile(/tmp/multipartBody928830901882724394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236123099,"filename":"image_27112025_10_21_35_10001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394796","file1":"1396394753","file0":"1396394712","file4":"1396394884","file5":"1396394912","file3":"1396394839"},"map_files_photo_id_array":[{"photo_id":"1396394912","filename":"file5"},{"photo_id":"1396394796","filename":"file2"},{"photo_id":"1396394884","filename":"file4"},{"photo_id":"1396394753","filename":"file1"},{"photo_id":"1396394712","filename":"file0"},{"photo_id":"1396394839","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394712":["hashtag1","hashtag2"]},{"1396394753":["hashtag1","hashtag2"]},{"1396394912":["hashtag1","hashtag2"]},{"1396394884":["hashtag1","hashtag2"]},{"1396394839":["hashtag1","hashtag2"]},{"1396394796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394712, 1396394753, 1396394912, 1396394884, 1396394839, 1396394796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98469281196594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:35:03.275873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_15_9742.jpg', '/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_25_9825.jpg', '/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_35_9740.jpg', '/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_45_10757.jpg', '/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_55_9712.jpg', '/home/pi/Desktop/images/27112025/10/22/image_27112025_10_23_05_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_15_9742.jpg
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_25_9825.jpg
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_35_9740.jpg
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_45_10757.jpg
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_22_55_9712.jpg
/home/pi/Desktop/images/27112025/10/22/image_27112025_10_23_05_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396394937","1396394966","1396395005","1396394932","1396394935","1396394934"],"photo_ids_order":["1396394932","1396394934","1396394935","1396394937","1396394966","1396395005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2bd3838040c02ae3ca9e340ad8014c8.jpg","text":"TemporaryFile(/tmp/multipartBody4740960685858285469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_22_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c912f63cde92b3b87a23d0dd029594da.jpg","text":"TemporaryFile(/tmp/multipartBody4606093249518647527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_22_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f678feed023547eb0b881cc6ab3d2afe.jpg","text":"TemporaryFile(/tmp/multipartBody6482479215316020776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_23_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0462662185a03593c627eb5994f56b0.jpg","text":"TemporaryFile(/tmp/multipartBody5561450789582093217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_22_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8aa2c47d1d75cd485d1cb16f1f6a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6261073596920022895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_22_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa3c99af527bcac5d624d720253fc13d.jpg","text":"TemporaryFile(/tmp/multipartBody4342331699124866391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236164075,"filename":"image_27112025_10_22_25_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396394935","file1":"1396394934","file0":"1396394932","file4":"1396394966","file5":"1396395005","file3":"1396394937"},"map_files_photo_id_array":[{"photo_id":"1396395005","filename":"file5"},{"photo_id":"1396394935","filename":"file2"},{"photo_id":"1396394966","filename":"file4"},{"photo_id":"1396394934","filename":"file1"},{"photo_id":"1396394932","filename":"file0"},{"photo_id":"1396394937","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396394937":["hashtag1","hashtag2"]},{"1396394966":["hashtag1","hashtag2"]},{"1396395005":["hashtag1","hashtag2"]},{"1396394932":["hashtag1","hashtag2"]},{"1396394935":["hashtag1","hashtag2"]},{"1396394934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396394937, 1396394966, 1396395005, 1396394932, 1396394935, 1396394934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8386971950531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:35:42.426682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_17_2651.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_23_2560.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_27_3794.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_29_2571.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_32_2684.jpg', '/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_44_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_17_2651.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_23_2560.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_27_3794.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_29_2571.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_32_2684.jpg
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_44_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396395152","1396395176","1396395212","1396395151","1396395138","1396395153"],"photo_ids_order":["1396395138","1396395151","1396395152","1396395153","1396395176","1396395212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53a8a0afc0e9973dab547bb8c9115ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6542625883478572025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_27_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/27/a7e94e83c24e7aa953e084a046fd0168.jpg","text":"TemporaryFile(/tmp/multipartBody5961209967711060320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_32_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/27/a0edf4aadb49061e09451f6eb2bc8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1975740760080212380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_44_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/27/5812bdbeeb0a5e2e3f2811e9576229a7.jpg","text":"TemporaryFile(/tmp/multipartBody2100435363762389770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_23_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/27/68de2e015a52fe613c2c1b1b5d5e9db3.jpg","text":"TemporaryFile(/tmp/multipartBody3523086239634273321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_17_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/27/c7f07498b7cf8126e808578ef7d8a559.jpg","text":"TemporaryFile(/tmp/multipartBody4906391313123170214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236204019,"filename":"image_31102025_02_22_29_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395152","file1":"1396395151","file0":"1396395138","file4":"1396395176","file5":"1396395212","file3":"1396395153"},"map_files_photo_id_array":[{"photo_id":"1396395212","filename":"file5"},{"photo_id":"1396395152","filename":"file2"},{"photo_id":"1396395176","filename":"file4"},{"photo_id":"1396395151","filename":"file1"},{"photo_id":"1396395138","filename":"file0"},{"photo_id":"1396395153","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396395152":["hashtag1","hashtag2"]},{"1396395176":["hashtag1","hashtag2"]},{"1396395212":["hashtag1","hashtag2"]},{"1396395151":["hashtag1","hashtag2"]},{"1396395138":["hashtag1","hashtag2"]},{"1396395153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396395152, 1396395176, 1396395212, 1396395151, 1396395138, 1396395153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71368885040283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:36:22.596124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_15_10626.jpg', '/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_25_9699.jpg', '/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_35_9773.jpg', '/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_45_9797.jpg', '/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_55_10763.jpg', '/home/pi/Desktop/images/27112025/10/23/image_27112025_10_24_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_15_10626.jpg
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_25_9699.jpg
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_35_9773.jpg
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_45_9797.jpg
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_23_55_10763.jpg
/home/pi/Desktop/images/27112025/10/23/image_27112025_10_24_05_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396395293","1396395272","1396395302","1396395298","1396395265","1396395290"],"photo_ids_order":["1396395265","1396395272","1396395290","1396395293","1396395298","1396395302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21a76d327c9458b8bc72b5ba8c1fbaf2.jpg","text":"TemporaryFile(/tmp/multipartBody5817459318626461649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_23_45_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8191298ac7a76e5f55c84953320cbf8.jpg","text":"TemporaryFile(/tmp/multipartBody5591210557290248409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_23_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/990017e51506290585d53f3aa7bdbcb5.jpg","text":"TemporaryFile(/tmp/multipartBody3559049297698043276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_24_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/461aafdfc03ddcac64c5fc10744a6d35.jpg","text":"TemporaryFile(/tmp/multipartBody1480303620569951217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_23_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1da2e424158ba097bf606726f55a1285.jpg","text":"TemporaryFile(/tmp/multipartBody8440213004570047117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_23_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6208af4347abce4c3b5d9235b70b053d.jpg","text":"TemporaryFile(/tmp/multipartBody6115825037111922642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236243337,"filename":"image_27112025_10_23_35_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395290","file1":"1396395272","file0":"1396395265","file4":"1396395298","file5":"1396395302","file3":"1396395293"},"map_files_photo_id_array":[{"photo_id":"1396395302","filename":"file5"},{"photo_id":"1396395290","filename":"file2"},{"photo_id":"1396395298","filename":"file4"},{"photo_id":"1396395272","filename":"file1"},{"photo_id":"1396395265","filename":"file0"},{"photo_id":"1396395293","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396395293":["hashtag1","hashtag2"]},{"1396395272":["hashtag1","hashtag2"]},{"1396395302":["hashtag1","hashtag2"]},{"1396395298":["hashtag1","hashtag2"]},{"1396395265":["hashtag1","hashtag2"]},{"1396395290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396395293, 1396395272, 1396395302, 1396395298, 1396395265, 1396395290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00979924201965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:37:03.423895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_15_9614.jpg', '/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_25_10660.jpg', '/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_35_9550.jpg', '/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_45_9772.jpg', '/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_55_10565.jpg', '/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_15_9614.jpg
/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_25_10660.jpg
/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_35_9550.jpg
/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_45_9772.jpg
/home/pi/Desktop/images/27112025/10/24/image_27112025_10_24_55_10565.jpg
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396395431","1396395436","1396395403","1396395381","1396395456","1396395411"],"photo_ids_order":["1396395381","1396395403","1396395411","1396395431","1396395436","1396395456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f3664a5da64388211dbe24c349daaa2.jpg","text":"TemporaryFile(/tmp/multipartBody2705011836973900606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_24_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5baae2c8cebc42f1c8a640c9d042a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody8271966492850258838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_24_55_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/548683eb1ccea6cb5e560e9059efc914.jpg","text":"TemporaryFile(/tmp/multipartBody6483474876132990838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_24_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5255463607d9742127cf6cee12fb86d8.jpg","text":"TemporaryFile(/tmp/multipartBody1246368343603708833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_24_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69c6e8904299ed065f18fb9f3e6a8034.jpg","text":"TemporaryFile(/tmp/multipartBody8932067993777375070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_26_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f005229e03e1c36a8d316a330c68f17a.jpg","text":"TemporaryFile(/tmp/multipartBody1198685084183479513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236284241,"filename":"image_27112025_10_24_35_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395411","file1":"1396395403","file0":"1396395381","file4":"1396395436","file5":"1396395456","file3":"1396395431"},"map_files_photo_id_array":[{"photo_id":"1396395456","filename":"file5"},{"photo_id":"1396395411","filename":"file2"},{"photo_id":"1396395436","filename":"file4"},{"photo_id":"1396395403","filename":"file1"},{"photo_id":"1396395381","filename":"file0"},{"photo_id":"1396395431","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396395431":["hashtag1","hashtag2"]},{"1396395436":["hashtag1","hashtag2"]},{"1396395403":["hashtag1","hashtag2"]},{"1396395381":["hashtag1","hashtag2"]},{"1396395456":["hashtag1","hashtag2"]},{"1396395411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396395431, 1396395436, 1396395403, 1396395381, 1396395456, 1396395411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74299168586731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:37:42.793198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_56_2578.jpg', '/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_03_2838.jpg', '/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_17_2800.jpg', '/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_24_3690.jpg', '/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_26_2626.jpg', '/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_56_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/22/image_31102025_02_22_56_2578.jpg
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_03_2838.jpg
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_17_2800.jpg
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_24_3690.jpg
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_26_2626.jpg
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_56_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396395545","1396395473","1396395509","1396395607","1396395579","1396395606"],"photo_ids_order":["1396395473","1396395509","1396395545","1396395579","1396395606","1396395607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5df7651135cb5b944596730cca64d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3508618348207881128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_23_17_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/27/839ac17b622b4877e399a2b082943cce.jpg","text":"TemporaryFile(/tmp/multipartBody1342434690601905568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_22_56_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/27/2b5df22c073fea3699e847d12cde3db6.jpg","text":"TemporaryFile(/tmp/multipartBody7324426909180489254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_23_03_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/27/9b25fa4cfd9457416b4ef3fa907227e9.jpg","text":"TemporaryFile(/tmp/multipartBody381815102292246100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_23_56_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/27/079d35ba6f61487fd87b511acfe52eab.jpg","text":"TemporaryFile(/tmp/multipartBody1080511338087550508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_23_24_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/27/b965b65193494bbda46c40949506e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody5061919231214834139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236324391,"filename":"image_31102025_02_23_26_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395545","file1":"1396395509","file0":"1396395473","file4":"1396395606","file5":"1396395607","file3":"1396395579"},"map_files_photo_id_array":[{"photo_id":"1396395607","filename":"file5"},{"photo_id":"1396395545","filename":"file2"},{"photo_id":"1396395606","filename":"file4"},{"photo_id":"1396395509","filename":"file1"},{"photo_id":"1396395473","filename":"file0"},{"photo_id":"1396395579","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396395545":["hashtag1","hashtag2"]},{"1396395473":["hashtag1","hashtag2"]},{"1396395509":["hashtag1","hashtag2"]},{"1396395607":["hashtag1","hashtag2"]},{"1396395579":["hashtag1","hashtag2"]},{"1396395606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396395545, 1396395473, 1396395509, 1396395607, 1396395579, 1396395606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3456757068634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:38:21.977189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_24_10026.jpg', '/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_35_10744.jpg', '/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_44_9890.jpg', '/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_54_9629.jpg', '/home/pi/Desktop/images/27112025/10/26/image_27112025_10_27_04_9726.jpg', '/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_14_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_24_10026.jpg
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_35_10744.jpg
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_44_9890.jpg
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_26_54_9629.jpg
/home/pi/Desktop/images/27112025/10/26/image_27112025_10_27_04_9726.jpg
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_14_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396395677","1396395725","1396395655","1396395700","1396395696","1396395744"],"photo_ids_order":["1396395655","1396395677","1396395696","1396395700","1396395725","1396395744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5ae1a687dc9f76f5de8006247fcb6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1396307037881423004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_26_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38a3f01f51c4fa8581f32a015f06f78f.jpg","text":"TemporaryFile(/tmp/multipartBody9158737467100006157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_27_04_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/27/3b7434f4a41c4219f6d8e3dd69bf58ea.jpg","text":"TemporaryFile(/tmp/multipartBody5383854950770189772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_26_24_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/27/33c127ef90168beb77bc4efbbff76f56.jpg","text":"TemporaryFile(/tmp/multipartBody317518434900999733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_26_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/285cb562ee438b7db1b3d0e09efda959.jpg","text":"TemporaryFile(/tmp/multipartBody1485190322142406702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_26_44_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78f58a5e539876bdce6278e501a5498b.jpg","text":"TemporaryFile(/tmp/multipartBody3294209928342030160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236362721,"filename":"image_27112025_10_27_14_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395696","file1":"1396395677","file0":"1396395655","file4":"1396395725","file5":"1396395744","file3":"1396395700"},"map_files_photo_id_array":[{"photo_id":"1396395744","filename":"file5"},{"photo_id":"1396395696","filename":"file2"},{"photo_id":"1396395725","filename":"file4"},{"photo_id":"1396395677","filename":"file1"},{"photo_id":"1396395655","filename":"file0"},{"photo_id":"1396395700","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396395677":["hashtag1","hashtag2"]},{"1396395725":["hashtag1","hashtag2"]},{"1396395655":["hashtag1","hashtag2"]},{"1396395700":["hashtag1","hashtag2"]},{"1396395696":["hashtag1","hashtag2"]},{"1396395744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396395677, 1396395725, 1396395655, 1396395700, 1396395696, 1396395744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55534815788269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:39:03.192268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_24_9747.jpg', '/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_34_9638.jpg', '/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_45_10860.jpg', '/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_54_9655.jpg', '/home/pi/Desktop/images/27112025/10/27/image_27112025_10_28_04_9720.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_24_9747.jpg
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_34_9638.jpg
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_45_10860.jpg
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_27_54_9655.jpg
/home/pi/Desktop/images/27112025/10/27/image_27112025_10_28_04_9720.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396395857","1396395836","1396395824","1396395806","1396395877","1396395767"],"photo_ids_order":["1396395767","1396395806","1396395824","1396395836","1396395857","1396395877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcfa97a20e9d0ef9a687b58534faf9e0.jpg","text":"TemporaryFile(/tmp/multipartBody1438777367643113369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_28_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd4e9846fce9496e3618ee20e111b20e.jpg","text":"TemporaryFile(/tmp/multipartBody34692968939431353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_27_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/effa6386814dd9c691f2f2c9ac8dbfc4.jpg","text":"TemporaryFile(/tmp/multipartBody3184638444905611837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_27_45_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1071b0a2ac3eadb5129ce0efcf732b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4401402625810682003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_27_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59718d8c0cb33dc7b75ddc6afac0c077.jpg","text":"TemporaryFile(/tmp/multipartBody1769917167782337446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_28_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d92d72ffbbbcf76ab4a727fbb823fb83.jpg","text":"TemporaryFile(/tmp/multipartBody1654462876357138477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236404183,"filename":"image_27112025_10_27_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396395824","file1":"1396395806","file0":"1396395767","file4":"1396395857","file5":"1396395877","file3":"1396395836"},"map_files_photo_id_array":[{"photo_id":"1396395877","filename":"file5"},{"photo_id":"1396395824","filename":"file2"},{"photo_id":"1396395857","filename":"file4"},{"photo_id":"1396395806","filename":"file1"},{"photo_id":"1396395767","filename":"file0"},{"photo_id":"1396395836","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396395857":["hashtag1","hashtag2"]},{"1396395836":["hashtag1","hashtag2"]},{"1396395824":["hashtag1","hashtag2"]},{"1396395806":["hashtag1","hashtag2"]},{"1396395877":["hashtag1","hashtag2"]},{"1396395767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396395857, 1396395836, 1396395824, 1396395806, 1396395877, 1396395767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58153772354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:40:02.763326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_25_10729.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_34_9769.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_44_9800.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_54_9865.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_29_05_10638.jpg', '/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_14_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_25_10729.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_34_9769.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_44_9800.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_54_9865.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_29_05_10638.jpg
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_14_9823.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6959288120269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 10:40:12.422211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_31_2624.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_34_3635.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_38_3253.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_40_2757.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_43_2688.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_46_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_31_2624.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_34_3635.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_38_3253.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_40_2757.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_43_2688.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_46_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396025","1396396004","1396396018","1396396035","1396396032","1396396028"],"photo_ids_order":["1396396004","1396396018","1396396025","1396396028","1396396032","1396396035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a4b81d725b223c592392e775d3dde7c.jpg","text":"TemporaryFile(/tmp/multipartBody5348240419431665413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_38_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/149fd1421d28ddc077ac205154b5ccba.jpg","text":"TemporaryFile(/tmp/multipartBody4034764632885140868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_31_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/27/1e0ebf67773054299953fa82c43fec18.jpg","text":"TemporaryFile(/tmp/multipartBody70523876669766609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_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/27/024d5a064b28b8f6e570ade335781c0e.jpg","text":"TemporaryFile(/tmp/multipartBody555688774969054292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_46_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/27/81f2d15ed769e96cac07bcc7a0f6a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody8375554957452021232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_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/27/e2319488b5d2cb167266f77e4cc4600a.jpg","text":"TemporaryFile(/tmp/multipartBody774323583003604199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236474187,"filename":"image_21112025_20_50_40_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396025","file1":"1396396018","file0":"1396396004","file4":"1396396032","file5":"1396396035","file3":"1396396028"},"map_files_photo_id_array":[{"photo_id":"1396396035","filename":"file5"},{"photo_id":"1396396025","filename":"file2"},{"photo_id":"1396396032","filename":"file4"},{"photo_id":"1396396018","filename":"file1"},{"photo_id":"1396396004","filename":"file0"},{"photo_id":"1396396028","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396396025":["hashtag1","hashtag2"]},{"1396396004":["hashtag1","hashtag2"]},{"1396396018":["hashtag1","hashtag2"]},{"1396396035":["hashtag1","hashtag2"]},{"1396396032":["hashtag1","hashtag2"]},{"1396396028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396396025, 1396396004, 1396396018, 1396396035, 1396396032, 1396396028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.895463943481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:41:03.297779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_25_10729.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_34_9769.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_44_9800.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_54_9865.jpg', '/home/pi/Desktop/images/27112025/10/28/image_27112025_10_29_05_10638.jpg', '/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_14_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_25_10729.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_34_9769.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_44_9800.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_28_54_9865.jpg
/home/pi/Desktop/images/27112025/10/28/image_27112025_10_29_05_10638.jpg
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_14_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396043","1396396042","1396396120","1396396083","1396396041","1396396046"],"photo_ids_order":["1396396041","1396396042","1396396043","1396396046","1396396083","1396396120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f1b7f7749024ee0105986d75b568ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6809045233113500170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_28_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/433307e9dfd8aa8b9a1098663702bf1c.jpg","text":"TemporaryFile(/tmp/multipartBody95261690119540272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_28_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b8d1196f2c613f4063d7413798a44ac.jpg","text":"TemporaryFile(/tmp/multipartBody8603415403421334006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_29_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0660b7e37b13115669e9641800120605.jpg","text":"TemporaryFile(/tmp/multipartBody5354232262050162693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_29_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9063c9904219fc33f93dae3b316a7a1.jpg","text":"TemporaryFile(/tmp/multipartBody376509728757324089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_28_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db6382a4a073315887596d43204ade57.jpg","text":"TemporaryFile(/tmp/multipartBody522549624922072740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236524110,"filename":"image_27112025_10_28_54_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396043","file1":"1396396042","file0":"1396396041","file4":"1396396083","file5":"1396396120","file3":"1396396046"},"map_files_photo_id_array":[{"photo_id":"1396396120","filename":"file5"},{"photo_id":"1396396043","filename":"file2"},{"photo_id":"1396396083","filename":"file4"},{"photo_id":"1396396042","filename":"file1"},{"photo_id":"1396396041","filename":"file0"},{"photo_id":"1396396046","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396396043":["hashtag1","hashtag2"]},{"1396396042":["hashtag1","hashtag2"]},{"1396396120":["hashtag1","hashtag2"]},{"1396396083":["hashtag1","hashtag2"]},{"1396396041":["hashtag1","hashtag2"]},{"1396396046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396396043, 1396396042, 1396396120, 1396396083, 1396396041, 1396396046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.331177711486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:41:42.625472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_59_2661.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_05_2745.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_14_2962.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_18_3618.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_20_2876.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_23_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/23/image_31102025_02_23_59_2661.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_05_2745.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_14_2962.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_18_3618.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_20_2876.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_23_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396235","1396396173","1396396254","1396396236","1396396212","1396396271"],"photo_ids_order":["1396396173","1396396212","1396396235","1396396236","1396396254","1396396271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe2e6c2bdf735ab5671209f19dbf06f0.jpg","text":"TemporaryFile(/tmp/multipartBody3313634328970074620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_24_14_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c654db4671e26979c105f6e5ce217d1.jpg","text":"TemporaryFile(/tmp/multipartBody4606118671049753906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_23_59_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/27/d8c169ef1216f88059ca08ddccdaf783.jpg","text":"TemporaryFile(/tmp/multipartBody8870969081027619089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_24_20_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/27/f3e67b17703fb1220b574c506d2f7bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3825946687322266330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_24_18_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/27/40c8bdd3d14f3d87d2a50969faa4be1a.jpg","text":"TemporaryFile(/tmp/multipartBody1253069728445219419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_24_05_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/27/1f432cd3bb75c2fc3053a4ed1590ea47.jpg","text":"TemporaryFile(/tmp/multipartBody3556667080620339694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236564237,"filename":"image_31102025_02_24_23_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396235","file1":"1396396212","file0":"1396396173","file4":"1396396254","file5":"1396396271","file3":"1396396236"},"map_files_photo_id_array":[{"photo_id":"1396396271","filename":"file5"},{"photo_id":"1396396235","filename":"file2"},{"photo_id":"1396396254","filename":"file4"},{"photo_id":"1396396212","filename":"file1"},{"photo_id":"1396396173","filename":"file0"},{"photo_id":"1396396236","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396396235":["hashtag1","hashtag2"]},{"1396396173":["hashtag1","hashtag2"]},{"1396396254":["hashtag1","hashtag2"]},{"1396396236":["hashtag1","hashtag2"]},{"1396396212":["hashtag1","hashtag2"]},{"1396396271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396396235, 1396396173, 1396396254, 1396396236, 1396396212, 1396396271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20496726036072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:42:22.814582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_24_9709.jpg', '/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_34_9826.jpg', '/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_44_9846.jpg', '/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_54_10631.jpg', '/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_14_10037.jpg', '/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_24_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_24_9709.jpg
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_34_9826.jpg
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_44_9846.jpg
/home/pi/Desktop/images/27112025/10/29/image_27112025_10_29_54_10631.jpg
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_14_10037.jpg
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_24_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396333","1396396336","1396396339","1396396330","1396396327","1396396323"],"photo_ids_order":["1396396323","1396396327","1396396330","1396396333","1396396336","1396396339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a1c4c007b4b0cbb090fcf658cff437b.jpg","text":"TemporaryFile(/tmp/multipartBody2539064087532256693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_29_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26d2e83ba623eb20d8c7e700fd1ad25a.jpg","text":"TemporaryFile(/tmp/multipartBody7060286577787645374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_31_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bf7679cf0086f683b114fc58b9380c6.jpg","text":"TemporaryFile(/tmp/multipartBody1833702180134714660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_31_24_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/260b5287aa2254370da4b01e2f79ac04.jpg","text":"TemporaryFile(/tmp/multipartBody8280072544868706996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_29_44_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93b7dea0820defa0cb208bfda220b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody685379802726685981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_29_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00eba8c1594d2863218d6e21833de7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5197229367983701826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236603590,"filename":"image_27112025_10_29_24_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396330","file1":"1396396327","file0":"1396396323","file4":"1396396336","file5":"1396396339","file3":"1396396333"},"map_files_photo_id_array":[{"photo_id":"1396396339","filename":"file5"},{"photo_id":"1396396330","filename":"file2"},{"photo_id":"1396396336","filename":"file4"},{"photo_id":"1396396327","filename":"file1"},{"photo_id":"1396396323","filename":"file0"},{"photo_id":"1396396333","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396396333":["hashtag1","hashtag2"]},{"1396396336":["hashtag1","hashtag2"]},{"1396396339":["hashtag1","hashtag2"]},{"1396396330":["hashtag1","hashtag2"]},{"1396396327":["hashtag1","hashtag2"]},{"1396396323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396396333, 1396396336, 1396396339, 1396396330, 1396396327, 1396396323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38045811653137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:43:02.659416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_34_9668.jpg', '/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_44_9854.jpg', '/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_54_9836.jpg', '/home/pi/Desktop/images/27112025/10/31/image_27112025_10_32_04_10674.jpg', '/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_14_10063.jpg', '/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_24_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_34_9668.jpg
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_44_9854.jpg
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_31_54_9836.jpg
/home/pi/Desktop/images/27112025/10/31/image_27112025_10_32_04_10674.jpg
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_14_10063.jpg
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_24_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396348","1396396345","1396396350","1396396353","1396396347","1396396343"],"photo_ids_order":["1396396343","1396396345","1396396347","1396396348","1396396350","1396396353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b6a393669971852dedcccdc6d774ace.jpg","text":"TemporaryFile(/tmp/multipartBody5558655733826494567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_32_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afcd45d2d841c47e22bb4270c7135fcb.jpg","text":"TemporaryFile(/tmp/multipartBody528091654001074559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_31_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14e3beb1e8e71d298c315b51687bcbcd.jpg","text":"TemporaryFile(/tmp/multipartBody8056515423958836254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_32_14_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/228d0bb0d8776c85a7a748836fd77abb.jpg","text":"TemporaryFile(/tmp/multipartBody6608377123578647832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_32_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5d86da06fd4d53a5484612b80d7093f.jpg","text":"TemporaryFile(/tmp/multipartBody6534497427283816908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_31_54_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e408c529c997df42333cd3ae196fbc65.jpg","text":"TemporaryFile(/tmp/multipartBody1988051045877792115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236643497,"filename":"image_27112025_10_31_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396347","file1":"1396396345","file0":"1396396343","file4":"1396396350","file5":"1396396353","file3":"1396396348"},"map_files_photo_id_array":[{"photo_id":"1396396353","filename":"file5"},{"photo_id":"1396396347","filename":"file2"},{"photo_id":"1396396350","filename":"file4"},{"photo_id":"1396396345","filename":"file1"},{"photo_id":"1396396343","filename":"file0"},{"photo_id":"1396396348","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396396348":["hashtag1","hashtag2"]},{"1396396345":["hashtag1","hashtag2"]},{"1396396350":["hashtag1","hashtag2"]},{"1396396353":["hashtag1","hashtag2"]},{"1396396347":["hashtag1","hashtag2"]},{"1396396343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396396348, 1396396345, 1396396350, 1396396353, 1396396347, 1396396343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7943480014801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:43:42.011601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_26_2687.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_29_3635.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_32_2678.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_35_2772.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_44_2814.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_47_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_26_2687.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_29_3635.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_32_2678.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_35_2772.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_44_2814.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_47_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396366","1396396369","1396396363","1396396405","1396396368","1396396367"],"photo_ids_order":["1396396363","1396396366","1396396367","1396396368","1396396369","1396396405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/683ca5ea3ea328c44335378757a103d3.jpg","text":"TemporaryFile(/tmp/multipartBody5138517178159489566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_29_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/27/19ad8925bf3a17373ec652bb7e88a060.jpg","text":"TemporaryFile(/tmp/multipartBody9154064412012264169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_44_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/27/21a85a50c35c1be971ac715a842dabf4.jpg","text":"TemporaryFile(/tmp/multipartBody1603040089840296854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_26_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/27/a0fadc3259332d14ffc688d493532995.jpg","text":"TemporaryFile(/tmp/multipartBody7275347543532354551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_47_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/27/1b50eedcd0f45110a0025995ecbb61f6.jpg","text":"TemporaryFile(/tmp/multipartBody2594657924236113247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_35_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/27/6ba28210834706e7c2af88e61eeba198.jpg","text":"TemporaryFile(/tmp/multipartBody3485527515649323930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236683612,"filename":"image_31102025_02_24_32_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396367","file1":"1396396366","file0":"1396396363","file4":"1396396369","file5":"1396396405","file3":"1396396368"},"map_files_photo_id_array":[{"photo_id":"1396396405","filename":"file5"},{"photo_id":"1396396367","filename":"file2"},{"photo_id":"1396396369","filename":"file4"},{"photo_id":"1396396366","filename":"file1"},{"photo_id":"1396396363","filename":"file0"},{"photo_id":"1396396368","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396396366":["hashtag1","hashtag2"]},{"1396396369":["hashtag1","hashtag2"]},{"1396396363":["hashtag1","hashtag2"]},{"1396396405":["hashtag1","hashtag2"]},{"1396396368":["hashtag1","hashtag2"]},{"1396396367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396396366, 1396396369, 1396396363, 1396396405, 1396396368, 1396396367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.913146018981934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:44:22.271144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_34_9825.jpg', '/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_44_9693.jpg', '/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_54_10716.jpg', '/home/pi/Desktop/images/27112025/10/32/image_27112025_10_33_04_9726.jpg', '/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_14_9629.jpg', '/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_24_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_34_9825.jpg
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_44_9693.jpg
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_32_54_10716.jpg
/home/pi/Desktop/images/27112025/10/32/image_27112025_10_33_04_9726.jpg
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_14_9629.jpg
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_24_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396687","1396396684","1396396533","1396396608","1396396571","1396396646"],"photo_ids_order":["1396396533","1396396571","1396396608","1396396646","1396396684","1396396687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/068dddd729bdc319e72ad5a86d404e1b.jpg","text":"TemporaryFile(/tmp/multipartBody298601791742355550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_33_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27f717335de4b70d8327859bdf6b182f.jpg","text":"TemporaryFile(/tmp/multipartBody4703352537756077394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_33_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10fc859a89801cbbb63ff791a4ebc556.jpg","text":"TemporaryFile(/tmp/multipartBody4667148071805242832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_32_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0691479f9b7c6e6accdc0af6d4560e4.jpg","text":"TemporaryFile(/tmp/multipartBody712220563426408525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_32_54_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e39f3f56df142b41f8464ffc8c6d86dd.jpg","text":"TemporaryFile(/tmp/multipartBody2083995340180037443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_32_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7844db1039814a8106f3aab9d9eb94cc.jpg","text":"TemporaryFile(/tmp/multipartBody69598864896948206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236723014,"filename":"image_27112025_10_33_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396608","file1":"1396396571","file0":"1396396533","file4":"1396396684","file5":"1396396687","file3":"1396396646"},"map_files_photo_id_array":[{"photo_id":"1396396687","filename":"file5"},{"photo_id":"1396396608","filename":"file2"},{"photo_id":"1396396684","filename":"file4"},{"photo_id":"1396396571","filename":"file1"},{"photo_id":"1396396533","filename":"file0"},{"photo_id":"1396396646","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396396687":["hashtag1","hashtag2"]},{"1396396684":["hashtag1","hashtag2"]},{"1396396533":["hashtag1","hashtag2"]},{"1396396608":["hashtag1","hashtag2"]},{"1396396571":["hashtag1","hashtag2"]},{"1396396646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396396687, 1396396684, 1396396533, 1396396608, 1396396571, 1396396646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44052982330322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:45:03.161812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_34_9662.jpg', '/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_44_9658.jpg', '/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_54_10699.jpg', '/home/pi/Desktop/images/27112025/10/33/image_27112025_10_34_04_9694.jpg', '/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_14_9715.jpg', '/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_24_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_34_9662.jpg
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_44_9658.jpg
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_33_54_10699.jpg
/home/pi/Desktop/images/27112025/10/33/image_27112025_10_34_04_9694.jpg
/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_14_9715.jpg
/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_24_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396823","1396396718","1396396789","1396396819","1396396751","1396396688"],"photo_ids_order":["1396396688","1396396718","1396396751","1396396789","1396396819","1396396823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ebb56c6aceca410163f83f12c631253.jpg","text":"TemporaryFile(/tmp/multipartBody634034676046595434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_34_24_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cfdbf07679e0615c9c2f199bddbe0576.jpg","text":"TemporaryFile(/tmp/multipartBody1925701044455025018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_33_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb8797372ffb1f49178f3c5be17e756f.jpg","text":"TemporaryFile(/tmp/multipartBody1996444067440446782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_34_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4849f1512f0bac7cbc12b6a93007634b.jpg","text":"TemporaryFile(/tmp/multipartBody8930093503876947840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_34_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e5a5b9c90641897c4051b80eec2abeb.jpg","text":"TemporaryFile(/tmp/multipartBody3829521326978923009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_33_54_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e249089ca3b15c7d5930f707d91761a.jpg","text":"TemporaryFile(/tmp/multipartBody1926454885797154907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236764029,"filename":"image_27112025_10_33_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396751","file1":"1396396718","file0":"1396396688","file4":"1396396819","file5":"1396396823","file3":"1396396789"},"map_files_photo_id_array":[{"photo_id":"1396396823","filename":"file5"},{"photo_id":"1396396751","filename":"file2"},{"photo_id":"1396396819","filename":"file4"},{"photo_id":"1396396718","filename":"file1"},{"photo_id":"1396396688","filename":"file0"},{"photo_id":"1396396789","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396396823":["hashtag1","hashtag2"]},{"1396396718":["hashtag1","hashtag2"]},{"1396396789":["hashtag1","hashtag2"]},{"1396396819":["hashtag1","hashtag2"]},{"1396396751":["hashtag1","hashtag2"]},{"1396396688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396396823, 1396396718, 1396396789, 1396396819, 1396396751, 1396396688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81100630760193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:45:42.403304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_50_3776.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_53_2617.jpg', '/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_56_2693.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_02_2874.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_09_3602.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_11_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_50_3776.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_53_2617.jpg
/home/pi/Desktop/images/31102025/02/24/image_31102025_02_24_56_2693.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_02_2874.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_09_3602.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_11_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396396894","1396396899","1396396893","1396396935","1396396892","1396396889"],"photo_ids_order":["1396396889","1396396892","1396396893","1396396894","1396396899","1396396935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02387d14af3b56c00130fbaa64e266b5.jpg","text":"TemporaryFile(/tmp/multipartBody3705882302440778034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_25_02_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/27/f98d232cb9420fc122cab6b7be734a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2987903110398723990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_25_09_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/27/21869902f0f3d89b533444398dcc2165.jpg","text":"TemporaryFile(/tmp/multipartBody736111481771711555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_24_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/27/aebbb7d97deef59c7244579cd049ce12.jpg","text":"TemporaryFile(/tmp/multipartBody5135665927721355707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_25_11_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/27/c04c29096b925b29fe05fdb683c84193.jpg","text":"TemporaryFile(/tmp/multipartBody8491897836012371915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_24_53_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/27/b0d55ce67f0f35dd79b3ff278100f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1683839979523264271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236803997,"filename":"image_31102025_02_24_50_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396396893","file1":"1396396892","file0":"1396396889","file4":"1396396899","file5":"1396396935","file3":"1396396894"},"map_files_photo_id_array":[{"photo_id":"1396396935","filename":"file5"},{"photo_id":"1396396893","filename":"file2"},{"photo_id":"1396396899","filename":"file4"},{"photo_id":"1396396892","filename":"file1"},{"photo_id":"1396396889","filename":"file0"},{"photo_id":"1396396894","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396396894":["hashtag1","hashtag2"]},{"1396396899":["hashtag1","hashtag2"]},{"1396396893":["hashtag1","hashtag2"]},{"1396396935":["hashtag1","hashtag2"]},{"1396396892":["hashtag1","hashtag2"]},{"1396396889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396396894, 1396396899, 1396396893, 1396396935, 1396396892, 1396396889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97061586380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:46:22.628175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_34_9733.jpg', '/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_44_9588.jpg', '/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_54_10664.jpg', '/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_14_10057.jpg', '/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_25_10701.jpg', '/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_34_9733.jpg
/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_44_9588.jpg
/home/pi/Desktop/images/27112025/10/34/image_27112025_10_34_54_10664.jpg
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_14_10057.jpg
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_25_10701.jpg
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_34_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397013","1396397001","1396397010","1396397018","1396397006","1396397003"],"photo_ids_order":["1396397001","1396397003","1396397006","1396397010","1396397013","1396397018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6520c0433ad1c6df8ee60ef9cc2e797d.jpg","text":"TemporaryFile(/tmp/multipartBody375431026185984934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_35_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4fe0547d3dcbb0f2c226c887a526823.jpg","text":"TemporaryFile(/tmp/multipartBody31465218811507684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_34_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b33af42e8f2cd45472dfa3ac9e449df.jpg","text":"TemporaryFile(/tmp/multipartBody4458153296211368009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_35_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63d97aaec078275aa13585470f4feffb.jpg","text":"TemporaryFile(/tmp/multipartBody4024795801437084779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_35_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f5f406f9309c02860b0730fc5a697cb.jpg","text":"TemporaryFile(/tmp/multipartBody2162504763842792289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_34_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/483abb4bd7a7d845b600ec405dc2140f.jpg","text":"TemporaryFile(/tmp/multipartBody5906945970296575502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236843374,"filename":"image_27112025_10_34_44_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397006","file1":"1396397003","file0":"1396397001","file4":"1396397013","file5":"1396397018","file3":"1396397010"},"map_files_photo_id_array":[{"photo_id":"1396397018","filename":"file5"},{"photo_id":"1396397006","filename":"file2"},{"photo_id":"1396397013","filename":"file4"},{"photo_id":"1396397003","filename":"file1"},{"photo_id":"1396397001","filename":"file0"},{"photo_id":"1396397010","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397013":["hashtag1","hashtag2"]},{"1396397001":["hashtag1","hashtag2"]},{"1396397010":["hashtag1","hashtag2"]},{"1396397018":["hashtag1","hashtag2"]},{"1396397006":["hashtag1","hashtag2"]},{"1396397003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397013, 1396397001, 1396397010, 1396397018, 1396397006, 1396397003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.017098903656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:47:03.305245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_44_9667.jpg', '/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_55_10715.jpg', '/home/pi/Desktop/images/27112025/10/35/image_27112025_10_36_04_9613.jpg', '/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_14_10044.jpg', '/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_24_9680.jpg', '/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_35_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_44_9667.jpg
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_35_55_10715.jpg
/home/pi/Desktop/images/27112025/10/35/image_27112025_10_36_04_9613.jpg
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_14_10044.jpg
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_24_9680.jpg
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_35_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397023","1396397022","1396397025","1396397030","1396397024","1396397027"],"photo_ids_order":["1396397022","1396397023","1396397024","1396397025","1396397027","1396397030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b4cbcbd9e2b9172394942b38be0ae32.jpg","text":"TemporaryFile(/tmp/multipartBody5051149541130628764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_35_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/083a6db34cfb8e69b148e7ba6ce0ed40.jpg","text":"TemporaryFile(/tmp/multipartBody5589645311919714292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_35_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2376bbcb01d0737416205c152205aadf.jpg","text":"TemporaryFile(/tmp/multipartBody7989165318235652392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_36_14_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e1ea18b5211d7cfc538c2b025ef6f53.jpg","text":"TemporaryFile(/tmp/multipartBody670248523061028161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_36_35_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c66973dac2266443a2a683292060ac0f.jpg","text":"TemporaryFile(/tmp/multipartBody3328801426308168775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_36_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3251917832b62886ce3a8e4f47232e6.jpg","text":"TemporaryFile(/tmp/multipartBody4767233913369535442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236884121,"filename":"image_27112025_10_36_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397024","file1":"1396397023","file0":"1396397022","file4":"1396397027","file5":"1396397030","file3":"1396397025"},"map_files_photo_id_array":[{"photo_id":"1396397030","filename":"file5"},{"photo_id":"1396397024","filename":"file2"},{"photo_id":"1396397027","filename":"file4"},{"photo_id":"1396397023","filename":"file1"},{"photo_id":"1396397022","filename":"file0"},{"photo_id":"1396397025","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397023":["hashtag1","hashtag2"]},{"1396397022":["hashtag1","hashtag2"]},{"1396397025":["hashtag1","hashtag2"]},{"1396397030":["hashtag1","hashtag2"]},{"1396397024":["hashtag1","hashtag2"]},{"1396397027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397023, 1396397022, 1396397025, 1396397030, 1396397024, 1396397027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.711753129959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:47:42.839415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_14_2978.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_17_2744.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_20_2711.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_23_3613.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_26_2578.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_32_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_14_2978.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_17_2744.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_20_2711.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_23_3613.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_26_2578.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_32_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397047","1396397044","1396397043","1396397042","1396397045","1396397039"],"photo_ids_order":["1396397039","1396397042","1396397043","1396397044","1396397045","1396397047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8813a67533fd7c807fffd870b3cdc9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2622043637278586134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_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/27/e8608c65aec0e6d73e54e7f20984bacd.jpg","text":"TemporaryFile(/tmp/multipartBody731177816179497352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_23_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/27/280526de2426532e2ee3d61b43d8005e.jpg","text":"TemporaryFile(/tmp/multipartBody1083889239930113185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_20_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/27/0db5fcbc43758d0af2067ffe9f43864c.jpg","text":"TemporaryFile(/tmp/multipartBody8860475592580141302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_17_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/27/c8a471cd55a14427ed1333200ae43083.jpg","text":"TemporaryFile(/tmp/multipartBody3124041895647574260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_26_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/27/49591001a0b3c1d280bd82981dfcb690.jpg","text":"TemporaryFile(/tmp/multipartBody9010015802749761635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236924445,"filename":"image_31102025_02_25_14_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397043","file1":"1396397042","file0":"1396397039","file4":"1396397045","file5":"1396397047","file3":"1396397044"},"map_files_photo_id_array":[{"photo_id":"1396397047","filename":"file5"},{"photo_id":"1396397043","filename":"file2"},{"photo_id":"1396397045","filename":"file4"},{"photo_id":"1396397042","filename":"file1"},{"photo_id":"1396397039","filename":"file0"},{"photo_id":"1396397044","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397047":["hashtag1","hashtag2"]},{"1396397044":["hashtag1","hashtag2"]},{"1396397043":["hashtag1","hashtag2"]},{"1396397042":["hashtag1","hashtag2"]},{"1396397045":["hashtag1","hashtag2"]},{"1396397039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397047, 1396397044, 1396397043, 1396397042, 1396397045, 1396397039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87322807312012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:48:22.000653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_44_9544.jpg', '/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_54_9747.jpg', '/home/pi/Desktop/images/27112025/10/36/image_27112025_10_37_05_10615.jpg', '/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_15_10073.jpg', '/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_24_9761.jpg', '/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_34_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_44_9544.jpg
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_36_54_9747.jpg
/home/pi/Desktop/images/27112025/10/36/image_27112025_10_37_05_10615.jpg
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_15_10073.jpg
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_24_9761.jpg
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_34_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397056","1396397070","1396397064","1396397067","1396397052","1396397060"],"photo_ids_order":["1396397052","1396397056","1396397060","1396397064","1396397067","1396397070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83fabdb2f867b34dc53a8df3228a7b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8150574884809989399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_36_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a38172743ebe572d86cdbe7198507cc.jpg","text":"TemporaryFile(/tmp/multipartBody2674537953621335593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_37_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19ac3ca28eae91ee8125747ff297c39f.jpg","text":"TemporaryFile(/tmp/multipartBody2940346363754840837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_37_15_10073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16d98c1d6ca06dc6fa5227b8e3c38510.jpg","text":"TemporaryFile(/tmp/multipartBody4843740299971506320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_37_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3680338fca99863b72561dde604be671.jpg","text":"TemporaryFile(/tmp/multipartBody5469869392596108561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_36_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/410575feded52722e28fb3d38d55563a.jpg","text":"TemporaryFile(/tmp/multipartBody6444894705879537361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764236962767,"filename":"image_27112025_10_37_05_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397060","file1":"1396397056","file0":"1396397052","file4":"1396397067","file5":"1396397070","file3":"1396397064"},"map_files_photo_id_array":[{"photo_id":"1396397070","filename":"file5"},{"photo_id":"1396397060","filename":"file2"},{"photo_id":"1396397067","filename":"file4"},{"photo_id":"1396397056","filename":"file1"},{"photo_id":"1396397052","filename":"file0"},{"photo_id":"1396397064","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397056":["hashtag1","hashtag2"]},{"1396397070":["hashtag1","hashtag2"]},{"1396397064":["hashtag1","hashtag2"]},{"1396397067":["hashtag1","hashtag2"]},{"1396397052":["hashtag1","hashtag2"]},{"1396397060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397056, 1396397070, 1396397064, 1396397067, 1396397052, 1396397060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4395432472229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:49:03.339717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_45_10661.jpg', '/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_54_9706.jpg', '/home/pi/Desktop/images/27112025/10/37/image_27112025_10_38_04_9724.jpg', '/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_14_9762.jpg', '/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_25_10744.jpg', '/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_45_10661.jpg
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_37_54_9706.jpg
/home/pi/Desktop/images/27112025/10/37/image_27112025_10_38_04_9724.jpg
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_14_9762.jpg
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_25_10744.jpg
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_34_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397074","1396397085","1396397139","1396397073","1396397102","1396397086"],"photo_ids_order":["1396397073","1396397074","1396397085","1396397086","1396397102","1396397139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d8436c66f3c5dc144674a8b5085d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6710329964198074932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_37_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04558ae6c407cf92c0311a8455787565.jpg","text":"TemporaryFile(/tmp/multipartBody833113018577834775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_38_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55c731dc39a528e23d6735cd705b3b1c.jpg","text":"TemporaryFile(/tmp/multipartBody6422792913588915059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_38_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fbd94fcbc2a1008f6cc63245a85fa3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3313096697637146884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_37_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2155e5ce73c2bcd28a1ee1af66bba2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3435097230282660619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_38_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/621c183f3f9f4819e66c0a82e4204894.jpg","text":"TemporaryFile(/tmp/multipartBody3778170477904688409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237004241,"filename":"image_27112025_10_38_14_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397085","file1":"1396397074","file0":"1396397073","file4":"1396397102","file5":"1396397139","file3":"1396397086"},"map_files_photo_id_array":[{"photo_id":"1396397139","filename":"file5"},{"photo_id":"1396397085","filename":"file2"},{"photo_id":"1396397102","filename":"file4"},{"photo_id":"1396397074","filename":"file1"},{"photo_id":"1396397073","filename":"file0"},{"photo_id":"1396397086","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397074":["hashtag1","hashtag2"]},{"1396397085":["hashtag1","hashtag2"]},{"1396397139":["hashtag1","hashtag2"]},{"1396397073":["hashtag1","hashtag2"]},{"1396397102":["hashtag1","hashtag2"]},{"1396397086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397074, 1396397085, 1396397139, 1396397073, 1396397102, 1396397086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86341214179993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:49:42.203017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_35_3760.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_38_2737.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_44_2553.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_47_3705.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_53_2778.jpg', '/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_56_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_35_3760.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_38_2737.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_44_2553.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_47_3705.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_53_2778.jpg
/home/pi/Desktop/images/31102025/02/25/image_31102025_02_25_56_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397320","1396397323","1396397286","1396397250","1396397243","1396397246"],"photo_ids_order":["1396397243","1396397246","1396397250","1396397286","1396397320","1396397323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa96a8f9c4cc0723b43670d139f570ea.jpg","text":"TemporaryFile(/tmp/multipartBody4909454747188692469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_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/27/e2a3ea247b09fc7e3df228d300befddf.jpg","text":"TemporaryFile(/tmp/multipartBody5625580458126191914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_56_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/27/c6ca3f3a303793aa94c9a5936e562336.jpg","text":"TemporaryFile(/tmp/multipartBody4573808760724284748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_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/27/f4009c8324869d7763d79f7859c6bbdc.jpg","text":"TemporaryFile(/tmp/multipartBody8496886063799263164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_44_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/27/438fb25853514a187233f490749b9424.jpg","text":"TemporaryFile(/tmp/multipartBody201315444568527367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_35_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/27/fbf2397794fa8b00e59ddc1bb65d20e3.jpg","text":"TemporaryFile(/tmp/multipartBody5025376378150418498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237043804,"filename":"image_31102025_02_25_38_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397250","file1":"1396397246","file0":"1396397243","file4":"1396397320","file5":"1396397323","file3":"1396397286"},"map_files_photo_id_array":[{"photo_id":"1396397323","filename":"file5"},{"photo_id":"1396397250","filename":"file2"},{"photo_id":"1396397320","filename":"file4"},{"photo_id":"1396397246","filename":"file1"},{"photo_id":"1396397243","filename":"file0"},{"photo_id":"1396397286","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397320":["hashtag1","hashtag2"]},{"1396397323":["hashtag1","hashtag2"]},{"1396397286":["hashtag1","hashtag2"]},{"1396397250":["hashtag1","hashtag2"]},{"1396397243":["hashtag1","hashtag2"]},{"1396397246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397320, 1396397323, 1396397286, 1396397250, 1396397243, 1396397246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98087525367737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:50:22.347714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_44_9779.jpg', '/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_54_9722.jpg', '/home/pi/Desktop/images/27112025/10/38/image_27112025_10_39_05_10825.jpg', '/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_14_9587.jpg', '/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_24_9693.jpg', '/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_35_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_44_9779.jpg
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_38_54_9722.jpg
/home/pi/Desktop/images/27112025/10/38/image_27112025_10_39_05_10825.jpg
/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_14_9587.jpg
/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_24_9693.jpg
/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_35_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397431","1396397434","1396397428","1396397411","1396397374","1396397377"],"photo_ids_order":["1396397374","1396397377","1396397411","1396397428","1396397431","1396397434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19c3b9ce863b681e8e3addf55eb7d750.jpg","text":"TemporaryFile(/tmp/multipartBody5809572893053083695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_39_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b35d2c28cc787758010f879ca888cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6849466960003194083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_39_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4dfa82bb46de14577c194ba208eb988.jpg","text":"TemporaryFile(/tmp/multipartBody5827455592562177262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_39_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d86c15bcb6ee3017e29667f2ad9cdd5.jpg","text":"TemporaryFile(/tmp/multipartBody1634173690273520297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_39_05_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98d5419578689a1f4d900a4909448270.jpg","text":"TemporaryFile(/tmp/multipartBody3358716455761237715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_38_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee06e5788d2ff833f708e975e94064ba.jpg","text":"TemporaryFile(/tmp/multipartBody1760202072430836202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237083139,"filename":"image_27112025_10_38_54_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397411","file1":"1396397377","file0":"1396397374","file4":"1396397431","file5":"1396397434","file3":"1396397428"},"map_files_photo_id_array":[{"photo_id":"1396397434","filename":"file5"},{"photo_id":"1396397411","filename":"file2"},{"photo_id":"1396397431","filename":"file4"},{"photo_id":"1396397377","filename":"file1"},{"photo_id":"1396397374","filename":"file0"},{"photo_id":"1396397428","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397431":["hashtag1","hashtag2"]},{"1396397434":["hashtag1","hashtag2"]},{"1396397428":["hashtag1","hashtag2"]},{"1396397411":["hashtag1","hashtag2"]},{"1396397374":["hashtag1","hashtag2"]},{"1396397377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397431, 1396397434, 1396397428, 1396397411, 1396397374, 1396397377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.519858598709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:51:03.229324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_44_9670.jpg', '/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_54_9614.jpg', '/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_14_10051.jpg', '/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_24_9995.jpg', '/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_35_10628.jpg', '/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_45_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_44_9670.jpg
/home/pi/Desktop/images/27112025/10/39/image_27112025_10_39_54_9614.jpg
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_14_10051.jpg
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_24_9995.jpg
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_35_10628.jpg
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_45_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397437","1396397454","1396397436","1396397439","1396397444","1396397438"],"photo_ids_order":["1396397436","1396397437","1396397438","1396397439","1396397444","1396397454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65ae72b28f3b62457c589e40ffc80a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6017133940715838251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_39_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4a8f34be21942855a410f4afebacec7.jpg","text":"TemporaryFile(/tmp/multipartBody4675230257402913291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_40_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79b11df4dfddb315ac6e3a6cd4e0bccb.jpg","text":"TemporaryFile(/tmp/multipartBody3121671834030951738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_39_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e63ae31be9c1791a0fc8810d7288f398.jpg","text":"TemporaryFile(/tmp/multipartBody6504713381445540730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_40_24_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8374b8235d23401cb7bc4bb279423253.jpg","text":"TemporaryFile(/tmp/multipartBody3115828299255392407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_40_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/680efe4834f73e25e504987ebee4af22.jpg","text":"TemporaryFile(/tmp/multipartBody5322268599153650067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237124193,"filename":"image_27112025_10_40_14_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397438","file1":"1396397437","file0":"1396397436","file4":"1396397444","file5":"1396397454","file3":"1396397439"},"map_files_photo_id_array":[{"photo_id":"1396397454","filename":"file5"},{"photo_id":"1396397438","filename":"file2"},{"photo_id":"1396397444","filename":"file4"},{"photo_id":"1396397437","filename":"file1"},{"photo_id":"1396397436","filename":"file0"},{"photo_id":"1396397439","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397437":["hashtag1","hashtag2"]},{"1396397454":["hashtag1","hashtag2"]},{"1396397436":["hashtag1","hashtag2"]},{"1396397439":["hashtag1","hashtag2"]},{"1396397444":["hashtag1","hashtag2"]},{"1396397438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397437, 1396397454, 1396397436, 1396397439, 1396397444, 1396397438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.761754751205444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:51:42.576306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_02_2597.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_08_3760.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_11_2751.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_14_2992.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_20_2965.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_23_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_02_2597.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_08_3760.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_11_2751.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_14_2992.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_20_2965.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_23_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397470","1396397464","1396397467","1396397469","1396397471","1396397468"],"photo_ids_order":["1396397464","1396397467","1396397468","1396397469","1396397470","1396397471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90f72cd93420400bb0ade1eedafc9661.jpg","text":"TemporaryFile(/tmp/multipartBody8821874336968770042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_20_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/27/dc4ae044e9f2d14529354db30e333b69.jpg","text":"TemporaryFile(/tmp/multipartBody3989367717577966370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_02_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/27/33a154c2c82cb0f0a3a282a32d031073.jpg","text":"TemporaryFile(/tmp/multipartBody4474451529619741771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_08_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/27/84f8b701719d7808ed9725ba218cd632.jpg","text":"TemporaryFile(/tmp/multipartBody3241523095771644640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_14_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/27/b715768e5a6c1be8cf3e2e6ce4973310.jpg","text":"TemporaryFile(/tmp/multipartBody7132778565640915464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_23_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/27/05d0e52d85ef94fa8b1b8c5e2d48dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody8659973116332769225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237164246,"filename":"image_31102025_02_26_11_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397468","file1":"1396397467","file0":"1396397464","file4":"1396397470","file5":"1396397471","file3":"1396397469"},"map_files_photo_id_array":[{"photo_id":"1396397471","filename":"file5"},{"photo_id":"1396397468","filename":"file2"},{"photo_id":"1396397470","filename":"file4"},{"photo_id":"1396397467","filename":"file1"},{"photo_id":"1396397464","filename":"file0"},{"photo_id":"1396397469","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397470":["hashtag1","hashtag2"]},{"1396397464":["hashtag1","hashtag2"]},{"1396397467":["hashtag1","hashtag2"]},{"1396397469":["hashtag1","hashtag2"]},{"1396397471":["hashtag1","hashtag2"]},{"1396397468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397470, 1396397464, 1396397467, 1396397469, 1396397471, 1396397468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.124016761779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:52:22.762130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_54_9581.jpg', '/home/pi/Desktop/images/27112025/10/40/image_27112025_10_41_05_10667.jpg', '/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_15_9679.jpg', '/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_24_9763.jpg', '/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_34_9883.jpg', '/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_45_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_40_54_9581.jpg
/home/pi/Desktop/images/27112025/10/40/image_27112025_10_41_05_10667.jpg
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_15_9679.jpg
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_24_9763.jpg
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_34_9883.jpg
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_45_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397490","1396397484","1396397487","1396397481","1396397475","1396397478"],"photo_ids_order":["1396397475","1396397478","1396397481","1396397484","1396397487","1396397490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd311c49841f0dff87f9b6540b724a9d.jpg","text":"TemporaryFile(/tmp/multipartBody6164292890787869959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_41_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a94d7923b2380692e18677c2486a118.jpg","text":"TemporaryFile(/tmp/multipartBody2360636435662382541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_41_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7454cd2c787f07a804c4a24dd11610b8.jpg","text":"TemporaryFile(/tmp/multipartBody6996582981737347837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_41_34_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e3e6e806a0c88f268c1b9f7f1025d73.jpg","text":"TemporaryFile(/tmp/multipartBody5872172588910391990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_41_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/968c0650267000606ecea9642f476ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5388875332919635669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_40_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f497a945bbba3f5b230e4e368d79bfba.jpg","text":"TemporaryFile(/tmp/multipartBody1645426000448907305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237203557,"filename":"image_27112025_10_41_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397481","file1":"1396397478","file0":"1396397475","file4":"1396397487","file5":"1396397490","file3":"1396397484"},"map_files_photo_id_array":[{"photo_id":"1396397490","filename":"file5"},{"photo_id":"1396397481","filename":"file2"},{"photo_id":"1396397487","filename":"file4"},{"photo_id":"1396397478","filename":"file1"},{"photo_id":"1396397475","filename":"file0"},{"photo_id":"1396397484","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397490":["hashtag1","hashtag2"]},{"1396397484":["hashtag1","hashtag2"]},{"1396397487":["hashtag1","hashtag2"]},{"1396397481":["hashtag1","hashtag2"]},{"1396397475":["hashtag1","hashtag2"]},{"1396397478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397490, 1396397484, 1396397487, 1396397481, 1396397475, 1396397478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.171403646469116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:53:02.678892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_55_9740.jpg', '/home/pi/Desktop/images/27112025/10/41/image_27112025_10_42_04_9741.jpg', '/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_15_10645.jpg', '/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_25_9790.jpg', '/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_35_9837.jpg', '/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_41_55_9740.jpg
/home/pi/Desktop/images/27112025/10/41/image_27112025_10_42_04_9741.jpg
/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_15_10645.jpg
/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_25_9790.jpg
/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_35_9837.jpg
/home/pi/Desktop/images/27112025/10/42/image_27112025_10_42_55_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397524","1396397518","1396397527","1396397511","1396397513","1396397522"],"photo_ids_order":["1396397511","1396397513","1396397518","1396397522","1396397524","1396397527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30ec9893246a3b2201aa851ef0f48b86.jpg","text":"TemporaryFile(/tmp/multipartBody2344517775729746420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_42_35_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6474e88a7c8f939f2dd3c62ab9f71a48.jpg","text":"TemporaryFile(/tmp/multipartBody2089949874899227365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_42_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f86195ea5f66fe31d05dc9fa7b565833.jpg","text":"TemporaryFile(/tmp/multipartBody554874659126330611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_42_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad217b6de93c3f0a6c3fa3819e8ad2e5.jpg","text":"TemporaryFile(/tmp/multipartBody7914095728479754681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_41_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/644ec4f17d28da5fbe28c708ae28be75.jpg","text":"TemporaryFile(/tmp/multipartBody2917330566779803015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_42_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8e5b48a736c2e92b9b3ccaa3a7474c7.jpg","text":"TemporaryFile(/tmp/multipartBody4381068552266868069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237243538,"filename":"image_27112025_10_42_25_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397518","file1":"1396397513","file0":"1396397511","file4":"1396397524","file5":"1396397527","file3":"1396397522"},"map_files_photo_id_array":[{"photo_id":"1396397527","filename":"file5"},{"photo_id":"1396397518","filename":"file2"},{"photo_id":"1396397524","filename":"file4"},{"photo_id":"1396397513","filename":"file1"},{"photo_id":"1396397511","filename":"file0"},{"photo_id":"1396397522","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397524":["hashtag1","hashtag2"]},{"1396397518":["hashtag1","hashtag2"]},{"1396397527":["hashtag1","hashtag2"]},{"1396397511":["hashtag1","hashtag2"]},{"1396397513":["hashtag1","hashtag2"]},{"1396397522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397524, 1396397518, 1396397527, 1396397511, 1396397513, 1396397522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94083094596863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:53:41.933423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_26_2678.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_29_2713.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_32_3615.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_35_2786.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_38_2558.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_40_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_26_2678.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_29_2713.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_32_3615.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_35_2786.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_38_2558.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_40_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397665","1396397664","1396397637","1396397567","1396397537","1396397603"],"photo_ids_order":["1396397537","1396397567","1396397603","1396397637","1396397664","1396397665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da53cf53fe36442722baa472dc3d3bad.jpg","text":"TemporaryFile(/tmp/multipartBody5754085836707867077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_40_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/27/c96aa4bbdcb221e4343ab7e2bcec8282.jpg","text":"TemporaryFile(/tmp/multipartBody3721638195028099367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_38_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/27/c5b4d85c528baaf641ec1c6fea18bec8.jpg","text":"TemporaryFile(/tmp/multipartBody1297294560156936031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_35_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/27/3e3c321c673d2e33fd4bd9d0cf8e1092.jpg","text":"TemporaryFile(/tmp/multipartBody815465443296517581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_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/27/40297ac4f47797d806a01c455e7307e3.jpg","text":"TemporaryFile(/tmp/multipartBody5751930509113978593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_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/27/06d85480366fd743c5c4c5da78279b11.jpg","text":"TemporaryFile(/tmp/multipartBody3594204481190789920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237283517,"filename":"image_31102025_02_26_32_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397603","file1":"1396397567","file0":"1396397537","file4":"1396397664","file5":"1396397665","file3":"1396397637"},"map_files_photo_id_array":[{"photo_id":"1396397665","filename":"file5"},{"photo_id":"1396397603","filename":"file2"},{"photo_id":"1396397664","filename":"file4"},{"photo_id":"1396397567","filename":"file1"},{"photo_id":"1396397537","filename":"file0"},{"photo_id":"1396397637","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397665":["hashtag1","hashtag2"]},{"1396397664":["hashtag1","hashtag2"]},{"1396397637":["hashtag1","hashtag2"]},{"1396397567":["hashtag1","hashtag2"]},{"1396397537":["hashtag1","hashtag2"]},{"1396397603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397665, 1396397664, 1396397637, 1396397567, 1396397537, 1396397603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41825079917908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:54:22.017205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/42/image_27112025_10_43_05_9635.jpg', '/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_15_9783.jpg', '/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_25_10710.jpg', '/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_35_9692.jpg', '/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_45_9645.jpg', '/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_54_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/42/image_27112025_10_43_05_9635.jpg
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_15_9783.jpg
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_25_10710.jpg
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_35_9692.jpg
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_45_9645.jpg
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_43_54_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397677","1396397667","1396397684","1396397671","1396397680","1396397674"],"photo_ids_order":["1396397667","1396397671","1396397674","1396397677","1396397680","1396397684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a46e5161c1fe74fdc594adedcfae4b8.jpg","text":"TemporaryFile(/tmp/multipartBody6431700955985447447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/407b55dd9b866b18e0e1979e8e98d45f.jpg","text":"TemporaryFile(/tmp/multipartBody8033579895619880637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff9bf5dc6b176826254779aca38c0501.jpg","text":"TemporaryFile(/tmp/multipartBody3876108207036191299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90de536393f8d5ecff46f2ee8d6c0e66.jpg","text":"TemporaryFile(/tmp/multipartBody7215044792777588485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc60949a1e55631c4a169956d39d3d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1160583283736655266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ca0e2cc95ec5e5548792a0f10fe77fd.jpg","text":"TemporaryFile(/tmp/multipartBody2780932106525462594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237322743,"filename":"image_27112025_10_43_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397674","file1":"1396397671","file0":"1396397667","file4":"1396397680","file5":"1396397684","file3":"1396397677"},"map_files_photo_id_array":[{"photo_id":"1396397684","filename":"file5"},{"photo_id":"1396397674","filename":"file2"},{"photo_id":"1396397680","filename":"file4"},{"photo_id":"1396397671","filename":"file1"},{"photo_id":"1396397667","filename":"file0"},{"photo_id":"1396397677","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397677":["hashtag1","hashtag2"]},{"1396397667":["hashtag1","hashtag2"]},{"1396397684":["hashtag1","hashtag2"]},{"1396397671":["hashtag1","hashtag2"]},{"1396397680":["hashtag1","hashtag2"]},{"1396397674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397677, 1396397667, 1396397684, 1396397671, 1396397680, 1396397674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32397222518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:55:03.057356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/43/image_27112025_10_44_05_10789.jpg', '/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_15_9690.jpg', '/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_25_9813.jpg', '/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_34_9797.jpg', '/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_45_10595.jpg', '/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_55_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/43/image_27112025_10_44_05_10789.jpg
/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_15_9690.jpg
/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_25_9813.jpg
/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_34_9797.jpg
/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_45_10595.jpg
/home/pi/Desktop/images/27112025/10/44/image_27112025_10_44_55_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397691","1396397694","1396397693","1396397696","1396397699","1396397689"],"photo_ids_order":["1396397689","1396397691","1396397693","1396397694","1396397696","1396397699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0285810fdac07f38ee3bcd7dd97ef279.jpg","text":"TemporaryFile(/tmp/multipartBody8941114066535970055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccaaf4a1c08480c77bcb68cbe0df53c5.jpg","text":"TemporaryFile(/tmp/multipartBody7562232959945073219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e0bf18484ad7bb503eae9068f5159fa.jpg","text":"TemporaryFile(/tmp/multipartBody72658781909975527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9080ba92c1a118b7f0105a98f8852349.jpg","text":"TemporaryFile(/tmp/multipartBody1916586598201365261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07bb6ecef63328de7c70b308fdbc766e.jpg","text":"TemporaryFile(/tmp/multipartBody2093297823700210749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_55_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54f61e230146bb26930d3a67665ac2c4.jpg","text":"TemporaryFile(/tmp/multipartBody7601359404670163199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237363923,"filename":"image_27112025_10_44_05_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397693","file1":"1396397691","file0":"1396397689","file4":"1396397696","file5":"1396397699","file3":"1396397694"},"map_files_photo_id_array":[{"photo_id":"1396397699","filename":"file5"},{"photo_id":"1396397693","filename":"file2"},{"photo_id":"1396397696","filename":"file4"},{"photo_id":"1396397691","filename":"file1"},{"photo_id":"1396397689","filename":"file0"},{"photo_id":"1396397694","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397691":["hashtag1","hashtag2"]},{"1396397694":["hashtag1","hashtag2"]},{"1396397693":["hashtag1","hashtag2"]},{"1396397696":["hashtag1","hashtag2"]},{"1396397699":["hashtag1","hashtag2"]},{"1396397689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397691, 1396397694, 1396397693, 1396397696, 1396397699, 1396397689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97931146621704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:55:42.308226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_47_2929.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_52_2683.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_56_3606.jpg', '/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_59_2727.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_05_3685.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_08_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_47_2929.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_52_2683.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_56_3606.jpg
/home/pi/Desktop/images/31102025/02/26/image_31102025_02_26_59_2727.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_05_3685.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_08_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397716","1396397713","1396397715","1396397709","1396397712","1396397714"],"photo_ids_order":["1396397709","1396397712","1396397713","1396397714","1396397715","1396397716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/722cafc53fbcea362981775de6cf1731.jpg","text":"TemporaryFile(/tmp/multipartBody1774003298746972433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_27_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/27/dd140b84be68e15bd029f9c3d3d96981.jpg","text":"TemporaryFile(/tmp/multipartBody8641736251153417611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_26_56_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/27/f73a38a8ff282e3e774996ad09dcaeee.jpg","text":"TemporaryFile(/tmp/multipartBody8643315373299572422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_27_05_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/27/cca9a09139bb5f39211089362e8a96c7.jpg","text":"TemporaryFile(/tmp/multipartBody1322808852109279750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_26_47_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57ac76c49b09323710ee7c6c06ab27f3.jpg","text":"TemporaryFile(/tmp/multipartBody6742066799543368132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_26_52_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/27/e5283836eabdfc9996d0f497a94f1687.jpg","text":"TemporaryFile(/tmp/multipartBody918801927279007236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237403904,"filename":"image_31102025_02_26_59_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397713","file1":"1396397712","file0":"1396397709","file4":"1396397715","file5":"1396397716","file3":"1396397714"},"map_files_photo_id_array":[{"photo_id":"1396397716","filename":"file5"},{"photo_id":"1396397713","filename":"file2"},{"photo_id":"1396397715","filename":"file4"},{"photo_id":"1396397712","filename":"file1"},{"photo_id":"1396397709","filename":"file0"},{"photo_id":"1396397714","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397716":["hashtag1","hashtag2"]},{"1396397713":["hashtag1","hashtag2"]},{"1396397715":["hashtag1","hashtag2"]},{"1396397709":["hashtag1","hashtag2"]},{"1396397712":["hashtag1","hashtag2"]},{"1396397714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397716, 1396397713, 1396397715, 1396397709, 1396397712, 1396397714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19938039779663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 10:56:22.459581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_14_10058.jpg', '/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_24_10739.jpg', '/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_34_9630.jpg', '/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_44_9724.jpg', '/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_55_10727.jpg', '/home/pi/Desktop/images/27112025/10/45/image_27112025_10_46_04_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_14_10058.jpg
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_24_10739.jpg
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_34_9630.jpg
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_44_9724.jpg
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_45_55_10727.jpg
/home/pi/Desktop/images/27112025/10/45/image_27112025_10_46_04_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397734","1396397719","1396397727","1396397721","1396397730","1396397724"],"photo_ids_order":["1396397719","1396397721","1396397724","1396397727","1396397730","1396397734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df568d756b5d446fb66638b278ac3873.jpg","text":"TemporaryFile(/tmp/multipartBody199899177571337101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_46_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4255dfd89a1e98355724312412ff32a.jpg","text":"TemporaryFile(/tmp/multipartBody3016414389389199705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_45_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3762ae3d4128a454a57adb3ccc92365.jpg","text":"TemporaryFile(/tmp/multipartBody4827916286903756239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_45_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf03333906c0e1f01ec185d7f593b62c.jpg","text":"TemporaryFile(/tmp/multipartBody2587037637750906267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_45_24_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4123464a1fe4e8f3d13181c68816cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody3061096024418931811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_45_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6f7f9e91f0f8e68ce1b32dc65acaeba.jpg","text":"TemporaryFile(/tmp/multipartBody4830408857677424394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237443251,"filename":"image_27112025_10_45_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397724","file1":"1396397721","file0":"1396397719","file4":"1396397730","file5":"1396397734","file3":"1396397727"},"map_files_photo_id_array":[{"photo_id":"1396397734","filename":"file5"},{"photo_id":"1396397724","filename":"file2"},{"photo_id":"1396397730","filename":"file4"},{"photo_id":"1396397721","filename":"file1"},{"photo_id":"1396397719","filename":"file0"},{"photo_id":"1396397727","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397734":["hashtag1","hashtag2"]},{"1396397719":["hashtag1","hashtag2"]},{"1396397727":["hashtag1","hashtag2"]},{"1396397721":["hashtag1","hashtag2"]},{"1396397730":["hashtag1","hashtag2"]},{"1396397724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397734, 1396397719, 1396397727, 1396397721, 1396397730, 1396397724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85172724723816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:57:03.419896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_14_9701.jpg', '/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_24_9850.jpg', '/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_35_10765.jpg', '/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_44_9671.jpg', '/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_54_9853.jpg', '/home/pi/Desktop/images/27112025/10/46/image_27112025_10_47_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_14_9701.jpg
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_24_9850.jpg
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_35_10765.jpg
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_44_9671.jpg
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_46_54_9853.jpg
/home/pi/Desktop/images/27112025/10/46/image_27112025_10_47_04_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397740","1396397746","1396397742","1396397750","1396397744","1396397752"],"photo_ids_order":["1396397740","1396397742","1396397744","1396397746","1396397750","1396397752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a10a2ca4d978d82641c4c371f8712bf.jpg","text":"TemporaryFile(/tmp/multipartBody3990639187549871949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_46_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2c8576b07d1d4c9a7a0c8376b982f41.jpg","text":"TemporaryFile(/tmp/multipartBody2677934693495798686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_46_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bd124ddea9dcf7a44f2107b459ea5f9.jpg","text":"TemporaryFile(/tmp/multipartBody736289726555570760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_46_24_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66573e48d4282da9dd899b96bdbcc3a5.jpg","text":"TemporaryFile(/tmp/multipartBody5489913554809479050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_46_54_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06217e674bd404e04bd2678d61217d60.jpg","text":"TemporaryFile(/tmp/multipartBody8641351621023966368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_46_35_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66912d15a1a3694f9ec83f5b58cadcdc.jpg","text":"TemporaryFile(/tmp/multipartBody358215994546968462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237484262,"filename":"image_27112025_10_47_04_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397744","file1":"1396397742","file0":"1396397740","file4":"1396397750","file5":"1396397752","file3":"1396397746"},"map_files_photo_id_array":[{"photo_id":"1396397752","filename":"file5"},{"photo_id":"1396397744","filename":"file2"},{"photo_id":"1396397750","filename":"file4"},{"photo_id":"1396397742","filename":"file1"},{"photo_id":"1396397740","filename":"file0"},{"photo_id":"1396397746","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396397740":["hashtag1","hashtag2"]},{"1396397746":["hashtag1","hashtag2"]},{"1396397742":["hashtag1","hashtag2"]},{"1396397750":["hashtag1","hashtag2"]},{"1396397744":["hashtag1","hashtag2"]},{"1396397752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396397740, 1396397746, 1396397742, 1396397750, 1396397744, 1396397752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.475335359573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 10:57:42.713775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_10_2753.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_14_3714.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_17_2652.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_19_2652.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_23_3641.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_26_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_10_2753.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_14_3714.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_17_2652.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_19_2652.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_23_3641.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_26_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396397764","1396397757","1396397766","1396397760","1396397762","1396397767"],"photo_ids_order":["1396397757","1396397760","1396397762","1396397764","1396397766","1396397767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5ea83ccfcc35818a27c9dfbf0af8633.jpg","text":"TemporaryFile(/tmp/multipartBody197028506053822134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_27_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/27/c2d223a64c45c0a695472a1b8917ea00.jpg","text":"TemporaryFile(/tmp/multipartBody3774343772855316225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_27_10_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/27/ed35cea3b18956284b0250419a209a91.jpg","text":"TemporaryFile(/tmp/multipartBody747246516085558878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_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/27/37bf1d8522a448f5b612e78ca908ca91.jpg","text":"TemporaryFile(/tmp/multipartBody8636703645156603399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_27_14_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/27/b2ff060df4cddfffae39e299caca560e.jpg","text":"TemporaryFile(/tmp/multipartBody1989347132410496507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_27_17_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/27/a63713fd97ebeb07596e51780a83ecee.jpg","text":"TemporaryFile(/tmp/multipartBody1387120938169031099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237524312,"filename":"image_31102025_02_27_26_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396397762","file1":"1396397760","file0":"1396397757","file4":"1396397766","file5":"1396397767","file3":"1396397764"},"map_files_photo_id_array":[{"photo_id":"1396397767","filename":"file5"},{"photo_id":"1396397762","filename":"file2"},{"photo_id":"1396397766","filename":"file4"},{"photo_id":"1396397760","filename":"file1"},{"photo_id":"1396397757","filename":"file0"},{"photo_id":"1396397764","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396397764":["hashtag1","hashtag2"]},{"1396397757":["hashtag1","hashtag2"]},{"1396397766":["hashtag1","hashtag2"]},{"1396397760":["hashtag1","hashtag2"]},{"1396397762":["hashtag1","hashtag2"]},{"1396397767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396397764, 1396397757, 1396397766, 1396397760, 1396397762, 1396397767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28335165977478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 10:59:06.381519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 10:59:15.750860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_50_3759.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_52_2646.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_55_2840.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_58_2688.jpg', '/home/pi/Desktop/images/21112025/20/50/image_21112025_20_51_01_3568.jpg', '/home/pi/Desktop/images/21112025/20/51/image_21112025_20_51_04_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_50_3759.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_52_2646.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_55_2840.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_50_58_2688.jpg
/home/pi/Desktop/images/21112025/20/50/image_21112025_20_51_01_3568.jpg
/home/pi/Desktop/images/21112025/20/51/image_21112025_20_51_04_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396398313","1396398354","1396398228","1396398128","1396398271","1396398166"],"photo_ids_order":["1396398128","1396398166","1396398228","1396398271","1396398313","1396398354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/244389698fcab3da5687c0486d194ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7051667386970191968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_51_01_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/27/ba612cd04cfdce61f20cbcd2afef4724.jpg","text":"TemporaryFile(/tmp/multipartBody3652211586365732901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_51_04_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/27/89502ddb1a9664b74e00bb2368c6605e.jpg","text":"TemporaryFile(/tmp/multipartBody2079640676596742930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_50_55_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/27/5c0b157bdc1e74246f77a4c48594588e.jpg","text":"TemporaryFile(/tmp/multipartBody889504651925949839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_50_50_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/27/db569df688189b35048a849287cd6b32.jpg","text":"TemporaryFile(/tmp/multipartBody1822195318612732320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_50_58_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/27/591a88ca6e9486e85546cc7a9f8642ac.jpg","text":"TemporaryFile(/tmp/multipartBody2727326123388192608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237617554,"filename":"image_21112025_20_50_52_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396398228","file1":"1396398166","file0":"1396398128","file4":"1396398313","file5":"1396398354","file3":"1396398271"},"map_files_photo_id_array":[{"photo_id":"1396398354","filename":"file5"},{"photo_id":"1396398228","filename":"file2"},{"photo_id":"1396398313","filename":"file4"},{"photo_id":"1396398166","filename":"file1"},{"photo_id":"1396398128","filename":"file0"},{"photo_id":"1396398271","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396398313":["hashtag1","hashtag2"]},{"1396398354":["hashtag1","hashtag2"]},{"1396398228":["hashtag1","hashtag2"]},{"1396398128":["hashtag1","hashtag2"]},{"1396398271":["hashtag1","hashtag2"]},{"1396398166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396398313, 1396398354, 1396398228, 1396398128, 1396398271, 1396398166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.8410108089447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:00:02.354359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_15_10818.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_24_9743.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_34_9660.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_44_9756.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_54_10690.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_48_04_9300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_15_10818.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_24_9743.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_34_9660.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_44_9756.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_54_10690.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_48_04_9300.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7022013664245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:00:16.927470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_07_3018.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_10_3571.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_13_2580.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_16_3016.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_19_3137.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_32_12710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_07_3018.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_10_3571.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_13_2580.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_16_3016.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_19_3137.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_32_12710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396398916","1396398696","1396398606","1396399151","1396399027","1396398808"],"photo_ids_order":["1396398606","1396398696","1396398808","1396398916","1396399027","1396399151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4045d5e379e68a75e6a286daeb1fcac.jpg","text":"TemporaryFile(/tmp/multipartBody6675125757624927931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_16_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/27/0ba888985ccecc7eb38f2798f04344f1.jpg","text":"TemporaryFile(/tmp/multipartBody1739356745848436257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_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/27/9a65bdb1654146a772b75065129696c5.jpg","text":"TemporaryFile(/tmp/multipartBody7321140120681895074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_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/27/de4cc9438de8a5d6a8ade24bea474e03.jpg","text":"TemporaryFile(/tmp/multipartBody4284383197166946846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_32_12710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41519c81e9c30531ff5e04c787e474ee.jpg","text":"TemporaryFile(/tmp/multipartBody3351452250330835987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_19_3137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79fe55cd26631e5bd13f0da99ab95009.jpg","text":"TemporaryFile(/tmp/multipartBody5545685735857360653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237678699,"filename":"image_21112025_20_52_13_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396398808","file1":"1396398696","file0":"1396398606","file4":"1396399027","file5":"1396399151","file3":"1396398916"},"map_files_photo_id_array":[{"photo_id":"1396399151","filename":"file5"},{"photo_id":"1396398808","filename":"file2"},{"photo_id":"1396399027","filename":"file4"},{"photo_id":"1396398696","filename":"file1"},{"photo_id":"1396398606","filename":"file0"},{"photo_id":"1396398916","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396398916":["hashtag1","hashtag2"]},{"1396398696":["hashtag1","hashtag2"]},{"1396398606":["hashtag1","hashtag2"]},{"1396399151":["hashtag1","hashtag2"]},{"1396399027":["hashtag1","hashtag2"]},{"1396398808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396398916, 1396398696, 1396398606, 1396399151, 1396399027, 1396398808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57069492340088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:01:02.690601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_15_10818.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_24_9743.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_34_9660.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_44_9756.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_54_10690.jpg', '/home/pi/Desktop/images/27112025/10/47/image_27112025_10_48_04_9300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_15_10818.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_24_9743.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_34_9660.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_44_9756.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_47_54_10690.jpg
/home/pi/Desktop/images/27112025/10/47/image_27112025_10_48_04_9300.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396399929","1396399857","1396399685","1396400010","1396399779","1396400084"],"photo_ids_order":["1396399685","1396399779","1396399857","1396399929","1396400010","1396400084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e065171bb07d8ffd136959ad3e9e509.jpg","text":"TemporaryFile(/tmp/multipartBody5978022924813976822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_47_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53606870708babd5b3f454ec7e160932.jpg","text":"TemporaryFile(/tmp/multipartBody2432379127401552291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_47_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db7ab4081391d550308d5098be40b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4856459926924449245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_47_15_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbe80ee496bfda099b251ce89cdbc4c7.jpg","text":"TemporaryFile(/tmp/multipartBody841245315944604855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_47_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b345539932f0287eecc92e50ec197f4.jpg","text":"TemporaryFile(/tmp/multipartBody8592057234969871365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_47_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41d9b00ba93abf3b095d88c9e1e30dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5185595018979345800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237724729,"filename":"image_27112025_10_48_04_9300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396399857","file1":"1396399779","file0":"1396399685","file4":"1396400010","file5":"1396400084","file3":"1396399929"},"map_files_photo_id_array":[{"photo_id":"1396400084","filename":"file5"},{"photo_id":"1396399857","filename":"file2"},{"photo_id":"1396400010","filename":"file4"},{"photo_id":"1396399779","filename":"file1"},{"photo_id":"1396399685","filename":"file0"},{"photo_id":"1396399929","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396399929":["hashtag1","hashtag2"]},{"1396399857":["hashtag1","hashtag2"]},{"1396399685":["hashtag1","hashtag2"]},{"1396400010":["hashtag1","hashtag2"]},{"1396399779":["hashtag1","hashtag2"]},{"1396400084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396399929, 1396399857, 1396399685, 1396400010, 1396399779, 1396400084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84074664115906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:02:02.857247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_14_10644.jpg', '/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_24_9753.jpg', '/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_34_9808.jpg', '/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_44_9697.jpg', '/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_54_10615.jpg', '/home/pi/Desktop/images/27112025/10/48/image_27112025_10_49_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_14_10644.jpg
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_24_9753.jpg
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_34_9808.jpg
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_44_9697.jpg
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_48_54_10615.jpg
/home/pi/Desktop/images/27112025/10/48/image_27112025_10_49_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396400756","1396400750","1396400609","1396400752","1396400731","1396400682"],"photo_ids_order":["1396400609","1396400682","1396400731","1396400750","1396400752","1396400756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdeca89b5720a8f838df4658dab8f637.jpg","text":"TemporaryFile(/tmp/multipartBody3160444477265026379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_49_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23830d27f92b8d6bfd4931fdbe8402f5.jpg","text":"TemporaryFile(/tmp/multipartBody4897763816251961561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_48_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/149eb761ed0ab76585c8084a6d034d12.jpg","text":"TemporaryFile(/tmp/multipartBody9151803666463060027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_48_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84acee37d9126b8d065688b069170512.jpg","text":"TemporaryFile(/tmp/multipartBody923710512193737803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_48_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bf222dbb0d0efdd904db49594e0e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody9020581742070005821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_48_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/574b06aa23e829825edd0365c47f7ab5.jpg","text":"TemporaryFile(/tmp/multipartBody314457368453305687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237783632,"filename":"image_27112025_10_48_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396400731","file1":"1396400682","file0":"1396400609","file4":"1396400752","file5":"1396400756","file3":"1396400750"},"map_files_photo_id_array":[{"photo_id":"1396400756","filename":"file5"},{"photo_id":"1396400731","filename":"file2"},{"photo_id":"1396400752","filename":"file4"},{"photo_id":"1396400682","filename":"file1"},{"photo_id":"1396400609","filename":"file0"},{"photo_id":"1396400750","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396400756":["hashtag1","hashtag2"]},{"1396400750":["hashtag1","hashtag2"]},{"1396400609":["hashtag1","hashtag2"]},{"1396400752":["hashtag1","hashtag2"]},{"1396400731":["hashtag1","hashtag2"]},{"1396400682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396400756, 1396400750, 1396400609, 1396400752, 1396400731, 1396400682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28270959854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:02:42.249019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_35_2824.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_40_2663.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_44_3864.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_49_2537.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_55_2863.jpg', '/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_59_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_35_2824.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_40_2663.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_44_3864.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_49_2537.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_55_2863.jpg
/home/pi/Desktop/images/31102025/02/27/image_31102025_02_27_59_3756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396400845","1396400868","1396400940","1396400904","1396400978","1396400864"],"photo_ids_order":["1396400845","1396400864","1396400868","1396400904","1396400940","1396400978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bd6380573705efc7e0fca2d10b53f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8577595793706340562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_35_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/27/25b2869d316ca1a77d36683dc3c2d0fa.jpg","text":"TemporaryFile(/tmp/multipartBody1699382449221391804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_44_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/27/6698f4c388fd99ee9b1946deca556c76.jpg","text":"TemporaryFile(/tmp/multipartBody1884563076334993536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_55_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/27/86fe7cc4b141bee82e73da4ddd80e657.jpg","text":"TemporaryFile(/tmp/multipartBody7441916642823261189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_49_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/27/542b2cb2c2382d21d9ec258f3c2d2a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3692322875375502062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_59_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/27/a548d9b72ed34babc2f7ff370092719d.jpg","text":"TemporaryFile(/tmp/multipartBody226232729014687517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237823755,"filename":"image_31102025_02_27_40_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396400868","file1":"1396400864","file0":"1396400845","file4":"1396400940","file5":"1396400978","file3":"1396400904"},"map_files_photo_id_array":[{"photo_id":"1396400978","filename":"file5"},{"photo_id":"1396400868","filename":"file2"},{"photo_id":"1396400940","filename":"file4"},{"photo_id":"1396400864","filename":"file1"},{"photo_id":"1396400845","filename":"file0"},{"photo_id":"1396400904","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396400845":["hashtag1","hashtag2"]},{"1396400868":["hashtag1","hashtag2"]},{"1396400940":["hashtag1","hashtag2"]},{"1396400904":["hashtag1","hashtag2"]},{"1396400978":["hashtag1","hashtag2"]},{"1396400864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396400845, 1396400868, 1396400940, 1396400904, 1396400978, 1396400864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46895742416382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:03:32.447647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_35_2915.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_36_1588.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_38_1633.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_40_1754.jpg', '/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_41_1782.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_35_2915.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_36_1588.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_38_1633.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_40_1754.jpg
/home/pi/Desktop/images/21112025/20/52/image_21112025_20_52_41_1782.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_07_3012.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401154","1396401178","1396401157","1396401276","1396401158","1396401218"],"photo_ids_order":["1396401154","1396401157","1396401158","1396401178","1396401218","1396401276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f13f0472bce9b8084eb879272c22891a.jpg","text":"TemporaryFile(/tmp/multipartBody3040110983869687050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_52_35_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/27/9a90ae8501be53c562d0c22e236984e6.jpg","text":"TemporaryFile(/tmp/multipartBody6933470623840700161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_52_40_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/27/8cd17f978db7e16a328922b55fc50d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3013399721976872605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_52_36_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/27/23458ededfe21dfd792611ffb4303494.jpg","text":"TemporaryFile(/tmp/multipartBody4778946128831337747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_54_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/27/a76a20714ab46a714afa4c1ae7f69e00.jpg","text":"TemporaryFile(/tmp/multipartBody8924463774636648894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_52_38_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/27/1813670b05a14aee3541f2b8e498925f.jpg","text":"TemporaryFile(/tmp/multipartBody3934258836047898031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237874302,"filename":"image_21112025_20_52_41_1782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401158","file1":"1396401157","file0":"1396401154","file4":"1396401218","file5":"1396401276","file3":"1396401178"},"map_files_photo_id_array":[{"photo_id":"1396401276","filename":"file5"},{"photo_id":"1396401158","filename":"file2"},{"photo_id":"1396401218","filename":"file4"},{"photo_id":"1396401157","filename":"file1"},{"photo_id":"1396401154","filename":"file0"},{"photo_id":"1396401178","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396401154":["hashtag1","hashtag2"]},{"1396401178":["hashtag1","hashtag2"]},{"1396401157":["hashtag1","hashtag2"]},{"1396401276":["hashtag1","hashtag2"]},{"1396401158":["hashtag1","hashtag2"]},{"1396401218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396401154, 1396401178, 1396401157, 1396401276, 1396401158, 1396401218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58842372894287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:04:12.738630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_11_3674.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_13_2605.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_17_3647.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_20_2583.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_22_2629.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_26_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_11_3674.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_13_2605.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_17_3647.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_20_2583.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_22_2629.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_26_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401574","1396401500","1396401736","1396401451","1396401689","1396401653"],"photo_ids_order":["1396401451","1396401500","1396401574","1396401653","1396401689","1396401736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b936c318ed8dca900282c02f6596c19b.jpg","text":"TemporaryFile(/tmp/multipartBody5488470756819309357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_17_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/27/8bb4f614cd463d476e92696ce4cc2fab.jpg","text":"TemporaryFile(/tmp/multipartBody4970196533727061521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_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/27/4d42f58915250f485213afdaac2b9e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4431751223350556633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_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/27/db9f2795a1a01288780a08fbd590f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody8181682239883062197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_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/27/c3bfba2917564306b195acc64fd7617e.jpg","text":"TemporaryFile(/tmp/multipartBody2054042702218177360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_22_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/27/b0aff2d5f3b5a760f50a297c501f648e.jpg","text":"TemporaryFile(/tmp/multipartBody6313736870345960555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237914583,"filename":"image_21112025_20_54_20_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401574","file1":"1396401500","file0":"1396401451","file4":"1396401689","file5":"1396401736","file3":"1396401653"},"map_files_photo_id_array":[{"photo_id":"1396401736","filename":"file5"},{"photo_id":"1396401574","filename":"file2"},{"photo_id":"1396401689","filename":"file4"},{"photo_id":"1396401500","filename":"file1"},{"photo_id":"1396401451","filename":"file0"},{"photo_id":"1396401653","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396401574":["hashtag1","hashtag2"]},{"1396401500":["hashtag1","hashtag2"]},{"1396401736":["hashtag1","hashtag2"]},{"1396401451":["hashtag1","hashtag2"]},{"1396401689":["hashtag1","hashtag2"]},{"1396401653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396401574, 1396401500, 1396401736, 1396401451, 1396401689, 1396401653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40272259712219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:05:02.364771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_14_9739.jpg', '/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_25_10851.jpg', '/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_34_9813.jpg', '/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_44_9616.jpg', '/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_54_9686.jpg', '/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_14_9739.jpg
/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_25_10851.jpg
/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_34_9813.jpg
/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_44_9616.jpg
/home/pi/Desktop/images/27112025/10/49/image_27112025_10_49_54_9686.jpg
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_14_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401892","1396401894","1396401882","1396401893","1396401896","1396401899"],"photo_ids_order":["1396401882","1396401892","1396401893","1396401894","1396401896","1396401899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b46bf1acfbb77df8dc317f083792460.jpg","text":"TemporaryFile(/tmp/multipartBody6109487794130893331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_49_25_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3e136f0040f1b5bb0766a2c59d1e395.jpg","text":"TemporaryFile(/tmp/multipartBody7730130820214133949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_49_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75312e17e7cdba3163e4be74a4409272.jpg","text":"TemporaryFile(/tmp/multipartBody879812798531412459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_49_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46c38ca870d7961839d75afb38148ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1291852274980804609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_49_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bad7beca057be90f57347545817427c4.jpg","text":"TemporaryFile(/tmp/multipartBody2078353824732070791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_49_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c1798c65f58b24b6fbe53ad69c3dc90.jpg","text":"TemporaryFile(/tmp/multipartBody7110619271328511329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764237963183,"filename":"image_27112025_10_50_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401893","file1":"1396401892","file0":"1396401882","file4":"1396401896","file5":"1396401899","file3":"1396401894"},"map_files_photo_id_array":[{"photo_id":"1396401899","filename":"file5"},{"photo_id":"1396401893","filename":"file2"},{"photo_id":"1396401896","filename":"file4"},{"photo_id":"1396401892","filename":"file1"},{"photo_id":"1396401882","filename":"file0"},{"photo_id":"1396401894","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396401892":["hashtag1","hashtag2"]},{"1396401894":["hashtag1","hashtag2"]},{"1396401882":["hashtag1","hashtag2"]},{"1396401893":["hashtag1","hashtag2"]},{"1396401896":["hashtag1","hashtag2"]},{"1396401899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396401892, 1396401894, 1396401882, 1396401893, 1396401896, 1396401899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22857165336609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:05:41.883712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_08_3636.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_11_2766.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_14_2738.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_20_3661.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_29_3651.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_34_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_08_3636.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_11_2766.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_14_2738.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_20_3661.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_29_3651.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_34_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401920","1396401922","1396401919","1396401921","1396401909","1396401923"],"photo_ids_order":["1396401909","1396401919","1396401920","1396401921","1396401922","1396401923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6923fefce45e65d1ff11790f7cc6a9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4383728210807388837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_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/27/6c5f0f9627aa46dd63446cda5424c5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8454863927028897652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_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/27/b859f800c507932cae1b4864125ca2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1160322405411075853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_11_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/27/5f37ebcb33191744abec14650013fffd.jpg","text":"TemporaryFile(/tmp/multipartBody2702941050895526229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_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/27/5ebf87a3ab33b04111c1f0c749fa510e.jpg","text":"TemporaryFile(/tmp/multipartBody6983442024293923573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_08_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/27/b802c68e5fcb327db9df65ed45c01c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1578799821552135184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238003516,"filename":"image_31102025_02_28_34_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401920","file1":"1396401919","file0":"1396401909","file4":"1396401922","file5":"1396401923","file3":"1396401921"},"map_files_photo_id_array":[{"photo_id":"1396401923","filename":"file5"},{"photo_id":"1396401920","filename":"file2"},{"photo_id":"1396401922","filename":"file4"},{"photo_id":"1396401919","filename":"file1"},{"photo_id":"1396401909","filename":"file0"},{"photo_id":"1396401921","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396401920":["hashtag1","hashtag2"]},{"1396401922":["hashtag1","hashtag2"]},{"1396401919":["hashtag1","hashtag2"]},{"1396401921":["hashtag1","hashtag2"]},{"1396401909":["hashtag1","hashtag2"]},{"1396401923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396401920, 1396401922, 1396401919, 1396401921, 1396401909, 1396401923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62568140029907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:06:22.038248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_25_10653.jpg', '/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_35_9726.jpg', '/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_44_9598.jpg', '/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_55_10666.jpg', '/home/pi/Desktop/images/27112025/10/50/image_27112025_10_51_05_9723.jpg', '/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_14_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_25_10653.jpg
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_35_9726.jpg
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_44_9598.jpg
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_50_55_10666.jpg
/home/pi/Desktop/images/27112025/10/50/image_27112025_10_51_05_9723.jpg
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_14_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401929","1396401939","1396401933","1396401942","1396401936","1396401926"],"photo_ids_order":["1396401926","1396401929","1396401933","1396401936","1396401939","1396401942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e803d23722b64ac992c19b5affe3263a.jpg","text":"TemporaryFile(/tmp/multipartBody810587366250302014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_50_35_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/27/8647c18ea8a171b492ae52ef4129e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1450618873988017288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_51_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/968d6c82ebc8c3f0834fb60b784e63e0.jpg","text":"TemporaryFile(/tmp/multipartBody390494636383726437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_50_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae59a56b9d04ae1786a85a78812d8f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1279889199488008847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_51_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a499ada66d46bd25f99758ff246d15b5.jpg","text":"TemporaryFile(/tmp/multipartBody3071493607738844846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_50_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81eb99b2e5a89de16bc032a5e637d970.jpg","text":"TemporaryFile(/tmp/multipartBody695015409820453944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238042782,"filename":"image_27112025_10_50_25_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401933","file1":"1396401929","file0":"1396401926","file4":"1396401939","file5":"1396401942","file3":"1396401936"},"map_files_photo_id_array":[{"photo_id":"1396401942","filename":"file5"},{"photo_id":"1396401933","filename":"file2"},{"photo_id":"1396401939","filename":"file4"},{"photo_id":"1396401929","filename":"file1"},{"photo_id":"1396401926","filename":"file0"},{"photo_id":"1396401936","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396401929":["hashtag1","hashtag2"]},{"1396401939":["hashtag1","hashtag2"]},{"1396401933":["hashtag1","hashtag2"]},{"1396401942":["hashtag1","hashtag2"]},{"1396401936":["hashtag1","hashtag2"]},{"1396401926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396401929, 1396401939, 1396401933, 1396401942, 1396401936, 1396401926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.870848655700684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:07:03.055657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_24_9839.jpg', '/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_35_10570.jpg', '/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_44_9602.jpg', '/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_55_10662.jpg', '/home/pi/Desktop/images/27112025/10/51/image_27112025_10_52_05_9591.jpg', '/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_14_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_24_9839.jpg
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_35_10570.jpg
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_44_9602.jpg
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_51_55_10662.jpg
/home/pi/Desktop/images/27112025/10/51/image_27112025_10_52_05_9591.jpg
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_14_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401946","1396401961","1396401955","1396401957","1396401944","1396401953"],"photo_ids_order":["1396401944","1396401946","1396401953","1396401955","1396401957","1396401961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32ffa2aaf3cd96f8af0f9eecc0de642e.jpg","text":"TemporaryFile(/tmp/multipartBody8212684165829658934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_51_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d496283e40fc44ef819bc555453cb39c.jpg","text":"TemporaryFile(/tmp/multipartBody8584672016550764319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_52_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea33e214406c535d8daa3f8861dd38c4.jpg","text":"TemporaryFile(/tmp/multipartBody3658621195198425603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_51_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ea4fa6e5f9d06d5cea4370f2b268b1b.jpg","text":"TemporaryFile(/tmp/multipartBody3299073240871376203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_52_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96e4f3e06676cea5e58a3be84ef5ea68.jpg","text":"TemporaryFile(/tmp/multipartBody8377079203579074044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_51_24_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/457c39c1964545800fb6e5d57467459b.jpg","text":"TemporaryFile(/tmp/multipartBody1040865863492920984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238083909,"filename":"image_27112025_10_51_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401953","file1":"1396401946","file0":"1396401944","file4":"1396401957","file5":"1396401961","file3":"1396401955"},"map_files_photo_id_array":[{"photo_id":"1396401961","filename":"file5"},{"photo_id":"1396401953","filename":"file2"},{"photo_id":"1396401957","filename":"file4"},{"photo_id":"1396401946","filename":"file1"},{"photo_id":"1396401944","filename":"file0"},{"photo_id":"1396401955","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396401946":["hashtag1","hashtag2"]},{"1396401961":["hashtag1","hashtag2"]},{"1396401955":["hashtag1","hashtag2"]},{"1396401957":["hashtag1","hashtag2"]},{"1396401944":["hashtag1","hashtag2"]},{"1396401953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396401946, 1396401961, 1396401955, 1396401957, 1396401944, 1396401953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90553045272827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:07:42.273347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_41_2746.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_44_2684.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_50_3647.jpg', '/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_56_2691.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_05_2607.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_07_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_41_2746.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_44_2684.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_50_3647.jpg
/home/pi/Desktop/images/31102025/02/28/image_31102025_02_28_56_2691.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_05_2607.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_07_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401970","1396401973","1396401975","1396401972","1396401974","1396401971"],"photo_ids_order":["1396401970","1396401971","1396401972","1396401973","1396401974","1396401975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ae2d0d4f26d96122546f779e69a7c90.jpg","text":"TemporaryFile(/tmp/multipartBody8422376615170633391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_28_41_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/27/e89a60a0251f3c39d986ef9ad6ecbb31.jpg","text":"TemporaryFile(/tmp/multipartBody8472378686360886293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_28_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/27/44466d53735b5b5950fd078f1e8b2dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1869255429342308216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_29_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/27/91afb7c0bc4fd4855dcbc9277700cf8d.jpg","text":"TemporaryFile(/tmp/multipartBody2500929142402732101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_28_50_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/27/5f4e576ce1ec5cc9211afcd19d69622c.jpg","text":"TemporaryFile(/tmp/multipartBody1860792380754737618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_29_05_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/27/6796c380ccbfd9a93edbe0baf7bff8de.jpg","text":"TemporaryFile(/tmp/multipartBody4539619209156167045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238123862,"filename":"image_31102025_02_28_44_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401972","file1":"1396401971","file0":"1396401970","file4":"1396401974","file5":"1396401975","file3":"1396401973"},"map_files_photo_id_array":[{"photo_id":"1396401975","filename":"file5"},{"photo_id":"1396401972","filename":"file2"},{"photo_id":"1396401974","filename":"file4"},{"photo_id":"1396401971","filename":"file1"},{"photo_id":"1396401970","filename":"file0"},{"photo_id":"1396401973","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396401970":["hashtag1","hashtag2"]},{"1396401973":["hashtag1","hashtag2"]},{"1396401975":["hashtag1","hashtag2"]},{"1396401972":["hashtag1","hashtag2"]},{"1396401974":["hashtag1","hashtag2"]},{"1396401971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396401970, 1396401973, 1396401975, 1396401972, 1396401974, 1396401971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.118998289108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:08:22.443305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_25_10664.jpg', '/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_35_9874.jpg', '/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_45_9662.jpg', '/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_54_9677.jpg', '/home/pi/Desktop/images/27112025/10/52/image_27112025_10_53_05_10879.jpg', '/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_15_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_25_10664.jpg
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_35_9874.jpg
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_45_9662.jpg
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_52_54_9677.jpg
/home/pi/Desktop/images/27112025/10/52/image_27112025_10_53_05_10879.jpg
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_15_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396401979","1396401993","1396401981","1396401990","1396401984","1396401987"],"photo_ids_order":["1396401979","1396401981","1396401984","1396401987","1396401990","1396401993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04a575b10ee95182f2ccb80fe517b06d.jpg","text":"TemporaryFile(/tmp/multipartBody170594040313216751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_52_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff1fc3a004881818d4279afcc95b30c0.jpg","text":"TemporaryFile(/tmp/multipartBody4790106284015750981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_53_15_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ae00341b368eb78f9f8b1d3b8eb3d09.jpg","text":"TemporaryFile(/tmp/multipartBody2037085197933345690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_52_35_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ace409fa8f996a65f9e82b1d91f6b24e.jpg","text":"TemporaryFile(/tmp/multipartBody8915398572915827378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_53_05_10879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4245e31bf29c208ac8d147a7f134aa89.jpg","text":"TemporaryFile(/tmp/multipartBody4032501130011280923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_52_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/922fa12a5d25bce6573e9173523b5119.jpg","text":"TemporaryFile(/tmp/multipartBody6519764466049524164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238163197,"filename":"image_27112025_10_52_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396401984","file1":"1396401981","file0":"1396401979","file4":"1396401990","file5":"1396401993","file3":"1396401987"},"map_files_photo_id_array":[{"photo_id":"1396401993","filename":"file5"},{"photo_id":"1396401984","filename":"file2"},{"photo_id":"1396401990","filename":"file4"},{"photo_id":"1396401981","filename":"file1"},{"photo_id":"1396401979","filename":"file0"},{"photo_id":"1396401987","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396401979":["hashtag1","hashtag2"]},{"1396401993":["hashtag1","hashtag2"]},{"1396401981":["hashtag1","hashtag2"]},{"1396401990":["hashtag1","hashtag2"]},{"1396401984":["hashtag1","hashtag2"]},{"1396401987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396401979, 1396401993, 1396401981, 1396401990, 1396401984, 1396401987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.107215881347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:09:03.202514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_25_9719.jpg', '/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_35_9870.jpg', '/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_44_9854.jpg', '/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_55_10630.jpg', '/home/pi/Desktop/images/27112025/10/53/image_27112025_10_54_05_9871.jpg', '/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_15_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_25_9719.jpg
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_35_9870.jpg
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_44_9854.jpg
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_53_55_10630.jpg
/home/pi/Desktop/images/27112025/10/53/image_27112025_10_54_05_9871.jpg
/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_15_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402012","1396402006","1396402009","1396402008","1396402023","1396402007"],"photo_ids_order":["1396402006","1396402007","1396402008","1396402009","1396402012","1396402023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08c9f470128854ac9d5f0289aad5357d.jpg","text":"TemporaryFile(/tmp/multipartBody5873852398409499737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_54_05_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d27a03edb3b4a56afff4ef692b53c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody541603764289663224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_53_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49052e36b8c5be8f5751fd5051f291e3.jpg","text":"TemporaryFile(/tmp/multipartBody8031755068480104149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_53_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ccb43b1d024becbd88611fd56764b13.jpg","text":"TemporaryFile(/tmp/multipartBody5692979386657995581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_53_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0178b91e7b56f563c62891f309e89a7.jpg","text":"TemporaryFile(/tmp/multipartBody3066302621583509294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_54_15_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b05139a32e21fd39e488bc45ceffcdf9.jpg","text":"TemporaryFile(/tmp/multipartBody7291606206455526366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238204101,"filename":"image_27112025_10_53_35_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402008","file1":"1396402007","file0":"1396402006","file4":"1396402012","file5":"1396402023","file3":"1396402009"},"map_files_photo_id_array":[{"photo_id":"1396402023","filename":"file5"},{"photo_id":"1396402008","filename":"file2"},{"photo_id":"1396402012","filename":"file4"},{"photo_id":"1396402007","filename":"file1"},{"photo_id":"1396402006","filename":"file0"},{"photo_id":"1396402009","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402012":["hashtag1","hashtag2"]},{"1396402006":["hashtag1","hashtag2"]},{"1396402009":["hashtag1","hashtag2"]},{"1396402008":["hashtag1","hashtag2"]},{"1396402023":["hashtag1","hashtag2"]},{"1396402007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402012, 1396402006, 1396402009, 1396402008, 1396402023, 1396402007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17695355415344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:09:42.580897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_17_2805.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_19_2717.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_23_3744.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_26_2753.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_49_2633.jpg', '/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_58_2979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_17_2805.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_19_2717.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_23_3744.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_26_2753.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_49_2633.jpg
/home/pi/Desktop/images/31102025/02/29/image_31102025_02_29_58_2979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402060","1396402063","1396402062","1396402059","1396402061","1396402058"],"photo_ids_order":["1396402058","1396402059","1396402060","1396402061","1396402062","1396402063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3328fddc9d25dd15c6af724ae3c17370.jpg","text":"TemporaryFile(/tmp/multipartBody6888388828750814285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_23_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/27/6a0f2a53fe223772bff666092bb7f3c9.jpg","text":"TemporaryFile(/tmp/multipartBody3411407057739998705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_58_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a27603b4020112a7ddb5a69f43495ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6996565544064678150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_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/27/49e9e171f840d499f1e08970354b0dae.jpg","text":"TemporaryFile(/tmp/multipartBody4614146539944128851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_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/27/95df3482e742b494c52eaf8115dce3dc.jpg","text":"TemporaryFile(/tmp/multipartBody4109195378639956447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_26_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/27/ce59e9b19974be30c56dc5ceed8a6e06.jpg","text":"TemporaryFile(/tmp/multipartBody3180185513053278567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238244220,"filename":"image_31102025_02_29_17_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402060","file1":"1396402059","file0":"1396402058","file4":"1396402062","file5":"1396402063","file3":"1396402061"},"map_files_photo_id_array":[{"photo_id":"1396402063","filename":"file5"},{"photo_id":"1396402060","filename":"file2"},{"photo_id":"1396402062","filename":"file4"},{"photo_id":"1396402059","filename":"file1"},{"photo_id":"1396402058","filename":"file0"},{"photo_id":"1396402061","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402060":["hashtag1","hashtag2"]},{"1396402063":["hashtag1","hashtag2"]},{"1396402062":["hashtag1","hashtag2"]},{"1396402059":["hashtag1","hashtag2"]},{"1396402061":["hashtag1","hashtag2"]},{"1396402058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402060, 1396402063, 1396402062, 1396402059, 1396402061, 1396402058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.458319664001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:10:22.905013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_25_9742.jpg', '/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_34_9636.jpg', '/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_44_9933.jpg', '/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_55_10788.jpg', '/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_14_10056.jpg', '/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_24_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_25_9742.jpg
/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_34_9636.jpg
/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_44_9933.jpg
/home/pi/Desktop/images/27112025/10/54/image_27112025_10_54_55_10788.jpg
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_14_10056.jpg
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_24_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402066","1396402074","1396402077","1396402071","1396402068","1396402081"],"photo_ids_order":["1396402066","1396402068","1396402071","1396402074","1396402077","1396402081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f91b722f81eedd5caa6ff0f91100149a.jpg","text":"TemporaryFile(/tmp/multipartBody888456338378111346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_54_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd7e8d4216b798265d5167d4270665ef.jpg","text":"TemporaryFile(/tmp/multipartBody7810780276855881866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_54_55_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/912458d2982c9eec9d015f4c33300acb.jpg","text":"TemporaryFile(/tmp/multipartBody8100082798616660028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_55_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf3ca00e40607828cdccac8e806a5557.jpg","text":"TemporaryFile(/tmp/multipartBody2340932558415300792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_54_44_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/859450519cae08aec9e144833f56be4e.jpg","text":"TemporaryFile(/tmp/multipartBody2717407212496741156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_54_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08c0d340e8df9264ee935a575bb56419.jpg","text":"TemporaryFile(/tmp/multipartBody1065403470664853615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238283655,"filename":"image_27112025_10_55_24_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402071","file1":"1396402068","file0":"1396402066","file4":"1396402077","file5":"1396402081","file3":"1396402074"},"map_files_photo_id_array":[{"photo_id":"1396402081","filename":"file5"},{"photo_id":"1396402071","filename":"file2"},{"photo_id":"1396402077","filename":"file4"},{"photo_id":"1396402068","filename":"file1"},{"photo_id":"1396402066","filename":"file0"},{"photo_id":"1396402074","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402066":["hashtag1","hashtag2"]},{"1396402074":["hashtag1","hashtag2"]},{"1396402077":["hashtag1","hashtag2"]},{"1396402071":["hashtag1","hashtag2"]},{"1396402068":["hashtag1","hashtag2"]},{"1396402081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402066, 1396402074, 1396402077, 1396402071, 1396402068, 1396402081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876240253448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:11:02.733732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_34_9639.jpg', '/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_44_9654.jpg', '/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_54_10817.jpg', '/home/pi/Desktop/images/27112025/10/55/image_27112025_10_56_04_9699.jpg', '/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_14_9872.jpg', '/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_34_9639.jpg
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_44_9654.jpg
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_55_54_10817.jpg
/home/pi/Desktop/images/27112025/10/55/image_27112025_10_56_04_9699.jpg
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_14_9872.jpg
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402092","1396402095","1396402107","1396402094","1396402099","1396402090"],"photo_ids_order":["1396402090","1396402092","1396402094","1396402095","1396402099","1396402107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82fa1a6b6d94953471f440803a15c8df.jpg","text":"TemporaryFile(/tmp/multipartBody4397200718191860572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_55_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e87712bcab6deb85c7499c09e11b0aed.jpg","text":"TemporaryFile(/tmp/multipartBody8206590136518639509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_56_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29c510bef869c52338685f5a9bf2ee17.jpg","text":"TemporaryFile(/tmp/multipartBody1413938848095816483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_56_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efcc262eef3b1cfdc8c41ee5e8c9578e.jpg","text":"TemporaryFile(/tmp/multipartBody1888481767624804838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_55_54_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f0eb13fc018f801a3a3f5325c78f9b0.jpg","text":"TemporaryFile(/tmp/multipartBody7656453947583738513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_56_14_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/678034592804746ab39f15d27bc77a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3790202152878501068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238323602,"filename":"image_27112025_10_55_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402094","file1":"1396402092","file0":"1396402090","file4":"1396402099","file5":"1396402107","file3":"1396402095"},"map_files_photo_id_array":[{"photo_id":"1396402107","filename":"file5"},{"photo_id":"1396402094","filename":"file2"},{"photo_id":"1396402099","filename":"file4"},{"photo_id":"1396402092","filename":"file1"},{"photo_id":"1396402090","filename":"file0"},{"photo_id":"1396402095","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402092":["hashtag1","hashtag2"]},{"1396402095":["hashtag1","hashtag2"]},{"1396402107":["hashtag1","hashtag2"]},{"1396402094":["hashtag1","hashtag2"]},{"1396402099":["hashtag1","hashtag2"]},{"1396402090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402092, 1396402095, 1396402107, 1396402094, 1396402099, 1396402090)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.23893356323242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:12:02.824481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_34_10657.jpg', '/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_44_9724.jpg', '/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_54_10022.jpg', '/home/pi/Desktop/images/27112025/10/56/image_27112025_10_57_04_9585.jpg', '/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_14_10636.jpg', '/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_24_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_34_10657.jpg
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_44_9724.jpg
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_56_54_10022.jpg
/home/pi/Desktop/images/27112025/10/56/image_27112025_10_57_04_9585.jpg
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_14_10636.jpg
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_24_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402144","1396402141","1396402138","1396402140","1396402148","1396402139"],"photo_ids_order":["1396402138","1396402139","1396402140","1396402141","1396402144","1396402148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6175390bd096d91ba703121dafef8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1757029187427128793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_57_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c3a450e7041d0338dddd11c1694c136.jpg","text":"TemporaryFile(/tmp/multipartBody4923782564046538551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_57_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/230f314174dd71b3125e39bf7928a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3799678906711766939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_56_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1e6add377f65541611aa94585a0bfc3.jpg","text":"TemporaryFile(/tmp/multipartBody941302828155717992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_56_54_10022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/853303040af1fef5fd4f2fc8b0ce65d3.jpg","text":"TemporaryFile(/tmp/multipartBody1963206740997569647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_57_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b76e641e689f786535a3bf435ea40188.jpg","text":"TemporaryFile(/tmp/multipartBody2364342839194964534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238384226,"filename":"image_27112025_10_56_44_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402140","file1":"1396402139","file0":"1396402138","file4":"1396402144","file5":"1396402148","file3":"1396402141"},"map_files_photo_id_array":[{"photo_id":"1396402148","filename":"file5"},{"photo_id":"1396402140","filename":"file2"},{"photo_id":"1396402144","filename":"file4"},{"photo_id":"1396402139","filename":"file1"},{"photo_id":"1396402138","filename":"file0"},{"photo_id":"1396402141","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402144":["hashtag1","hashtag2"]},{"1396402141":["hashtag1","hashtag2"]},{"1396402138":["hashtag1","hashtag2"]},{"1396402140":["hashtag1","hashtag2"]},{"1396402148":["hashtag1","hashtag2"]},{"1396402139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402144, 1396402141, 1396402138, 1396402140, 1396402148, 1396402139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.538001537323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:12:42.388768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_07_2705.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_14_2803.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_17_2764.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_19_2855.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_38_3647.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_50_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_07_2705.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_14_2803.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_17_2764.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_19_2855.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_38_3647.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_50_3886.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5056493282318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:13:03.137397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_34_9638.jpg', '/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_44_10629.jpg', '/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_54_9635.jpg', '/home/pi/Desktop/images/27112025/10/57/image_27112025_10_58_04_9779.jpg', '/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_14_10703.jpg', '/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_34_19871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_34_9638.jpg
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_44_10629.jpg
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_57_54_9635.jpg
/home/pi/Desktop/images/27112025/10/57/image_27112025_10_58_04_9779.jpg
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_14_10703.jpg
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_34_19871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402165","1396402170","1396402164","1396402167","1396402163","1396402162"],"photo_ids_order":["1396402162","1396402163","1396402164","1396402165","1396402167","1396402170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82ef550cd61386cbd33bb883ee160931.jpg","text":"TemporaryFile(/tmp/multipartBody40161072336079533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_58_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d38d10819b56a08d6d56573bcf3787c.jpg","text":"TemporaryFile(/tmp/multipartBody8767859834111584293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_58_34_19871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85bd618c64d67807a3115f06c2fd47d7.jpg","text":"TemporaryFile(/tmp/multipartBody9071594858888314394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_57_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ce4af5998bc86a7ff3d3cbf0702c009.jpg","text":"TemporaryFile(/tmp/multipartBody5073675416250963647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_58_14_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db0ac3b114a93a0536a41d2bfc390a08.jpg","text":"TemporaryFile(/tmp/multipartBody3571186775071826588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_57_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/729e1e63e928b86e2ec9d7766baf8c51.jpg","text":"TemporaryFile(/tmp/multipartBody3383439020020176238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238443985,"filename":"image_27112025_10_57_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402164","file1":"1396402163","file0":"1396402162","file4":"1396402167","file5":"1396402170","file3":"1396402165"},"map_files_photo_id_array":[{"photo_id":"1396402170","filename":"file5"},{"photo_id":"1396402164","filename":"file2"},{"photo_id":"1396402167","filename":"file4"},{"photo_id":"1396402163","filename":"file1"},{"photo_id":"1396402162","filename":"file0"},{"photo_id":"1396402165","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402165":["hashtag1","hashtag2"]},{"1396402170":["hashtag1","hashtag2"]},{"1396402164":["hashtag1","hashtag2"]},{"1396402167":["hashtag1","hashtag2"]},{"1396402163":["hashtag1","hashtag2"]},{"1396402162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402165, 1396402170, 1396402164, 1396402167, 1396402163, 1396402162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75636267662048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:13:42.628943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_07_2705.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_14_2803.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_17_2764.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_19_2855.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_38_3647.jpg', '/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_50_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_07_2705.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_14_2803.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_17_2764.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_19_2855.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_38_3647.jpg
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_50_3886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402182","1396402185","1396402184","1396402181","1396402180","1396402183"],"photo_ids_order":["1396402180","1396402181","1396402182","1396402183","1396402184","1396402185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a143e6b14feeaff41838f8f83fa4cb10.jpg","text":"TemporaryFile(/tmp/multipartBody693878309049060257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_17_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/27/4d80b1067b7aecf8e3f74b3f0f324d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3884436109287489605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_50_3886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2aa0a6a39d1244d8b70f58ca963e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody3427207029658909994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_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/27/6e087ce4aaa830c18214f777b449f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8689555797260151907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_14_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/27/8688d01db0ff1a191e022029ac444b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8765728200204022614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_07_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/27/884239a900d2ad2569c985eb2bf6480a.jpg","text":"TemporaryFile(/tmp/multipartBody4870764176794696773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238484062,"filename":"image_31102025_02_30_19_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402182","file1":"1396402181","file0":"1396402180","file4":"1396402184","file5":"1396402185","file3":"1396402183"},"map_files_photo_id_array":[{"photo_id":"1396402185","filename":"file5"},{"photo_id":"1396402182","filename":"file2"},{"photo_id":"1396402184","filename":"file4"},{"photo_id":"1396402181","filename":"file1"},{"photo_id":"1396402180","filename":"file0"},{"photo_id":"1396402183","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402182":["hashtag1","hashtag2"]},{"1396402185":["hashtag1","hashtag2"]},{"1396402184":["hashtag1","hashtag2"]},{"1396402181":["hashtag1","hashtag2"]},{"1396402180":["hashtag1","hashtag2"]},{"1396402183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402182, 1396402185, 1396402184, 1396402181, 1396402180, 1396402183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90573692321777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:14:22.795599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_36_1494.jpg', '/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_45_8700.jpg', '/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_54_9731.jpg', '/home/pi/Desktop/images/27112025/10/58/image_27112025_10_59_04_9703.jpg', '/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_14_9665.jpg', '/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_24_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_36_1494.jpg
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_45_8700.jpg
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_58_54_9731.jpg
/home/pi/Desktop/images/27112025/10/58/image_27112025_10_59_04_9703.jpg
/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_14_9665.jpg
/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_24_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402216","1396402204","1396402194","1396402197","1396402200","1396402190"],"photo_ids_order":["1396402190","1396402194","1396402197","1396402200","1396402204","1396402216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b8556e8ce2e2700e0ebb4ae41504fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7535626684440610715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_59_24_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a17c773743d8da48f44ca3e7d3020693.jpg","text":"TemporaryFile(/tmp/multipartBody1067809779718242027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_59_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b25d7f816c5b0a929d70ced27ce8bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3337493323893018041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_58_45_8700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f8b56f0e32ef64fa4c9481fac5dc2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1005366971710934450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_58_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/372022c259f2adf3e692cbf64032838a.jpg","text":"TemporaryFile(/tmp/multipartBody5128208415924811021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_59_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c475be0aa9ce5d57c34fce4310949054.jpg","text":"TemporaryFile(/tmp/multipartBody5013830887930587873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238523539,"filename":"image_27112025_10_58_36_1494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402197","file1":"1396402194","file0":"1396402190","file4":"1396402204","file5":"1396402216","file3":"1396402200"},"map_files_photo_id_array":[{"photo_id":"1396402216","filename":"file5"},{"photo_id":"1396402197","filename":"file2"},{"photo_id":"1396402204","filename":"file4"},{"photo_id":"1396402194","filename":"file1"},{"photo_id":"1396402190","filename":"file0"},{"photo_id":"1396402200","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402216":["hashtag1","hashtag2"]},{"1396402204":["hashtag1","hashtag2"]},{"1396402194":["hashtag1","hashtag2"]},{"1396402197":["hashtag1","hashtag2"]},{"1396402200":["hashtag1","hashtag2"]},{"1396402190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402216, 1396402204, 1396402194, 1396402197, 1396402200, 1396402190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96725559234619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:15:02.628876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_34_10747.jpg', '/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_44_9741.jpg', '/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_54_9921.jpg', '/home/pi/Desktop/images/27112025/10/59/image_27112025_11_00_04_9593.jpg', '/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_14_10040.jpg', '/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_24_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_34_10747.jpg
/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_44_9741.jpg
/home/pi/Desktop/images/27112025/10/59/image_27112025_10_59_54_9921.jpg
/home/pi/Desktop/images/27112025/10/59/image_27112025_11_00_04_9593.jpg
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_14_10040.jpg
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_24_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402222","1396402224","1396402218","1396402227","1396402221","1396402220"],"photo_ids_order":["1396402218","1396402220","1396402221","1396402222","1396402224","1396402227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd5b52b22b11aca098fdf295cd624d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3411962014477801915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_11_00_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a313e018f33e6b99273ba25ce7344450.jpg","text":"TemporaryFile(/tmp/multipartBody2596882436968122343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_11_01_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/236190e678d2c03868800e80a287d76e.jpg","text":"TemporaryFile(/tmp/multipartBody3775187358798585328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_10_59_34_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26f440430024d8c3c5ce8377d69b88ec.jpg","text":"TemporaryFile(/tmp/multipartBody7521707474888885618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_11_01_24_10497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bebc40c8d78f5f26711a26b5b5ec073a.jpg","text":"TemporaryFile(/tmp/multipartBody1871869123228208857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_10_59_54_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5133ffd1b4e7e1bf2b81f5ce5431f677.jpg","text":"TemporaryFile(/tmp/multipartBody7820585252250230651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238563438,"filename":"image_27112025_10_59_44_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402221","file1":"1396402220","file0":"1396402218","file4":"1396402224","file5":"1396402227","file3":"1396402222"},"map_files_photo_id_array":[{"photo_id":"1396402227","filename":"file5"},{"photo_id":"1396402221","filename":"file2"},{"photo_id":"1396402224","filename":"file4"},{"photo_id":"1396402220","filename":"file1"},{"photo_id":"1396402218","filename":"file0"},{"photo_id":"1396402222","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402222":["hashtag1","hashtag2"]},{"1396402224":["hashtag1","hashtag2"]},{"1396402218":["hashtag1","hashtag2"]},{"1396402227":["hashtag1","hashtag2"]},{"1396402221":["hashtag1","hashtag2"]},{"1396402220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402222, 1396402224, 1396402218, 1396402227, 1396402221, 1396402220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57390546798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:15:42.078737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_55_2690.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_08_3649.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_20_3755.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_22_2619.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_25_2674.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_35_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/30/image_31102025_02_30_55_2690.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_08_3649.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_20_3755.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_22_2619.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_25_2674.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_35_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402240","1396402237","1396402236","1396402239","1396402241","1396402238"],"photo_ids_order":["1396402236","1396402237","1396402238","1396402239","1396402240","1396402241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58b6d74b9338fabe93bee1b034e209d2.jpg","text":"TemporaryFile(/tmp/multipartBody4781527311394453816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_31_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/27/43d3bd9cdd3208886bab423badb850ab.jpg","text":"TemporaryFile(/tmp/multipartBody3841541154119140193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_31_08_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/27/aa2102580f7c4e4072c0fe34c70bfe65.jpg","text":"TemporaryFile(/tmp/multipartBody6418170639395283932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_30_55_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/27/75b0e98d7cddc17d7ee324de4f38ffce.jpg","text":"TemporaryFile(/tmp/multipartBody7319816438234281305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_31_22_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/27/6f04101ca8df7e2ef9dc022ca00308cd.jpg","text":"TemporaryFile(/tmp/multipartBody7815135196699124236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_31_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/27/c561c2ca2e4b95850eef85801fc0b235.jpg","text":"TemporaryFile(/tmp/multipartBody8400376176673848188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238603677,"filename":"image_31102025_02_31_20_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402238","file1":"1396402237","file0":"1396402236","file4":"1396402240","file5":"1396402241","file3":"1396402239"},"map_files_photo_id_array":[{"photo_id":"1396402241","filename":"file5"},{"photo_id":"1396402238","filename":"file2"},{"photo_id":"1396402240","filename":"file4"},{"photo_id":"1396402237","filename":"file1"},{"photo_id":"1396402236","filename":"file0"},{"photo_id":"1396402239","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402240":["hashtag1","hashtag2"]},{"1396402237":["hashtag1","hashtag2"]},{"1396402236":["hashtag1","hashtag2"]},{"1396402239":["hashtag1","hashtag2"]},{"1396402241":["hashtag1","hashtag2"]},{"1396402238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402240, 1396402237, 1396402236, 1396402239, 1396402241, 1396402238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.494025230407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:16:22.324558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_34_9680.jpg', '/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_44_10778.jpg', '/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_54_9967.jpg', '/home/pi/Desktop/images/27112025/11/01/image_27112025_11_02_04_9768.jpg', '/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_14_9661.jpg', '/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_34_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_34_9680.jpg
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_44_10778.jpg
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_01_54_9967.jpg
/home/pi/Desktop/images/27112025/11/01/image_27112025_11_02_04_9768.jpg
/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_14_9661.jpg
/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_34_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402260","1396402254","1396402257","1396402251","1396402248","1396402244"],"photo_ids_order":["1396402244","1396402248","1396402251","1396402254","1396402257","1396402260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09e639a392e9e819203d53ddc4b81328.jpg","text":"TemporaryFile(/tmp/multipartBody5335011055430347400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_02_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c01e5dc29b86e57905e70eba113a275f.jpg","text":"TemporaryFile(/tmp/multipartBody3136616688225703182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_02_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c94d809fdec887814379e50c2b1f1be8.jpg","text":"TemporaryFile(/tmp/multipartBody3114549100844422148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_02_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/904971c46e0813d4d6969f943fe3f4de.jpg","text":"TemporaryFile(/tmp/multipartBody2845959016529130327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_01_54_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f83068bb323893d811d342eecdc048c7.jpg","text":"TemporaryFile(/tmp/multipartBody3988969229973172523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_01_44_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da2ca9fb30b6c6745be917ce22025186.jpg","text":"TemporaryFile(/tmp/multipartBody8355070180852084881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238643109,"filename":"image_27112025_11_01_34_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402251","file1":"1396402248","file0":"1396402244","file4":"1396402257","file5":"1396402260","file3":"1396402254"},"map_files_photo_id_array":[{"photo_id":"1396402260","filename":"file5"},{"photo_id":"1396402251","filename":"file2"},{"photo_id":"1396402257","filename":"file4"},{"photo_id":"1396402248","filename":"file1"},{"photo_id":"1396402244","filename":"file0"},{"photo_id":"1396402254","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402260":["hashtag1","hashtag2"]},{"1396402254":["hashtag1","hashtag2"]},{"1396402257":["hashtag1","hashtag2"]},{"1396402251":["hashtag1","hashtag2"]},{"1396402248":["hashtag1","hashtag2"]},{"1396402244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402260, 1396402254, 1396402257, 1396402251, 1396402248, 1396402244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37106466293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:17:03.212885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_44_9766.jpg', '/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_54_9588.jpg', '/home/pi/Desktop/images/27112025/11/02/image_27112025_11_03_04_10678.jpg', '/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_14_9583.jpg', '/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_24_9794.jpg', '/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_34_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_44_9766.jpg
/home/pi/Desktop/images/27112025/11/02/image_27112025_11_02_54_9588.jpg
/home/pi/Desktop/images/27112025/11/02/image_27112025_11_03_04_10678.jpg
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_14_9583.jpg
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_24_9794.jpg
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_34_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402264","1396402267","1396402275","1396402271","1396402265","1396402262"],"photo_ids_order":["1396402262","1396402264","1396402265","1396402267","1396402271","1396402275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43f0a8deeeb4419026ddc7ea0d5ca514.jpg","text":"TemporaryFile(/tmp/multipartBody6975155943418838619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_02_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebd5c05cf6dd8aa0e0b71e2ac1ea0776.jpg","text":"TemporaryFile(/tmp/multipartBody4161497568432421330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_03_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c441a39ca7da0a2184a7e92808c768a3.jpg","text":"TemporaryFile(/tmp/multipartBody8139928250182606166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_03_34_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1467ba73de8518eb0870b96158c23dda.jpg","text":"TemporaryFile(/tmp/multipartBody9030881812497141878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_03_24_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/062b4bd0bcd5a4aaa908384ca0bea804.jpg","text":"TemporaryFile(/tmp/multipartBody6301422500038526438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_03_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9333d673dc461f05535f703894bffc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5876430519949870832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238684050,"filename":"image_27112025_11_02_44_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402265","file1":"1396402264","file0":"1396402262","file4":"1396402271","file5":"1396402275","file3":"1396402267"},"map_files_photo_id_array":[{"photo_id":"1396402275","filename":"file5"},{"photo_id":"1396402265","filename":"file2"},{"photo_id":"1396402271","filename":"file4"},{"photo_id":"1396402264","filename":"file1"},{"photo_id":"1396402262","filename":"file0"},{"photo_id":"1396402267","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402264":["hashtag1","hashtag2"]},{"1396402267":["hashtag1","hashtag2"]},{"1396402275":["hashtag1","hashtag2"]},{"1396402271":["hashtag1","hashtag2"]},{"1396402265":["hashtag1","hashtag2"]},{"1396402262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402264, 1396402267, 1396402275, 1396402271, 1396402265, 1396402262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2262499332428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:17:42.441343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_37_2627.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_53_3696.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_58_2597.jpg', '/home/pi/Desktop/images/31102025/02/31/image_31102025_02_32_01_3567.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_04_2902.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_14_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_37_2627.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_53_3696.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_31_58_2597.jpg
/home/pi/Desktop/images/31102025/02/31/image_31102025_02_32_01_3567.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_04_2902.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_14_3571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402285","1396402300","1396402299","1396402296","1396402298","1396402302"],"photo_ids_order":["1396402285","1396402296","1396402298","1396402299","1396402300","1396402302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75b3536d8eceb4d29762e60bfc651dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7377141985384384861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_31_37_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/27/842fe62ddc9d89c226f8f8b3ca2187a6.jpg","text":"TemporaryFile(/tmp/multipartBody2425493554507106534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_32_04_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f3efe5cbcc6bce4c29b69882e8d6110.jpg","text":"TemporaryFile(/tmp/multipartBody3429893585018567147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_32_01_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/27/44a04f61c440ef9f70df2b589e8cd538.jpg","text":"TemporaryFile(/tmp/multipartBody3278182191651902969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_31_53_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/27/9185af807ed73b0e6f344cb3f86e4d21.jpg","text":"TemporaryFile(/tmp/multipartBody3751652079706444788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_31_58_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/27/173b7f9fd01447b623758ac23c8ff7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4236323145705910046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238724044,"filename":"image_31102025_02_32_14_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402298","file1":"1396402296","file0":"1396402285","file4":"1396402300","file5":"1396402302","file3":"1396402299"},"map_files_photo_id_array":[{"photo_id":"1396402302","filename":"file5"},{"photo_id":"1396402298","filename":"file2"},{"photo_id":"1396402300","filename":"file4"},{"photo_id":"1396402296","filename":"file1"},{"photo_id":"1396402285","filename":"file0"},{"photo_id":"1396402299","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402285":["hashtag1","hashtag2"]},{"1396402300":["hashtag1","hashtag2"]},{"1396402299":["hashtag1","hashtag2"]},{"1396402296":["hashtag1","hashtag2"]},{"1396402298":["hashtag1","hashtag2"]},{"1396402302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402285, 1396402300, 1396402299, 1396402296, 1396402298, 1396402302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44795107841492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:18:23.019146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_44_9797.jpg', '/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_54_9822.jpg', '/home/pi/Desktop/images/27112025/11/03/image_27112025_11_04_04_9713.jpg', '/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_14_10067.jpg', '/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_24_10418.jpg', '/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_34_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_44_9797.jpg
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_03_54_9822.jpg
/home/pi/Desktop/images/27112025/11/03/image_27112025_11_04_04_9713.jpg
/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_14_10067.jpg
/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_24_10418.jpg
/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_34_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402305","1396402320","1396402313","1396402316","1396402310","1396402307"],"photo_ids_order":["1396402305","1396402307","1396402310","1396402313","1396402316","1396402320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/707309ba6cb324ead28000488807aee4.jpg","text":"TemporaryFile(/tmp/multipartBody4091440248166662626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_03_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c77b188cc19f702e3f110e8cfd73dc59.jpg","text":"TemporaryFile(/tmp/multipartBody2020484233765691902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_04_34_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67033c69a72b60cf9603d999aeb83fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7505262113927068247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_04_14_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4673a042be6d5ae556b16c9d819d214d.jpg","text":"TemporaryFile(/tmp/multipartBody8132743062423167967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_04_24_10418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aed67cef73f28cae401e9eeb5f7f2d04.jpg","text":"TemporaryFile(/tmp/multipartBody1249629377671702965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_04_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68316db6e844f2f23a6492697668244c.jpg","text":"TemporaryFile(/tmp/multipartBody7126590948291934093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238763763,"filename":"image_27112025_11_03_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402310","file1":"1396402307","file0":"1396402305","file4":"1396402316","file5":"1396402320","file3":"1396402313"},"map_files_photo_id_array":[{"photo_id":"1396402320","filename":"file5"},{"photo_id":"1396402310","filename":"file2"},{"photo_id":"1396402316","filename":"file4"},{"photo_id":"1396402307","filename":"file1"},{"photo_id":"1396402305","filename":"file0"},{"photo_id":"1396402313","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402305":["hashtag1","hashtag2"]},{"1396402320":["hashtag1","hashtag2"]},{"1396402313":["hashtag1","hashtag2"]},{"1396402316":["hashtag1","hashtag2"]},{"1396402310":["hashtag1","hashtag2"]},{"1396402307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402305, 1396402320, 1396402313, 1396402316, 1396402310, 1396402307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96593618392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:19:03.071993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_44_9849.jpg', '/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_54_9650.jpg', '/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_14_10049.jpg', '/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_25_10712.jpg', '/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_35_9777.jpg', '/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_44_9849.jpg
/home/pi/Desktop/images/27112025/11/04/image_27112025_11_04_54_9650.jpg
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_14_10049.jpg
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_25_10712.jpg
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_35_9777.jpg
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402327","1396402335","1396402326","1396402329","1396402331","1396402328"],"photo_ids_order":["1396402326","1396402327","1396402328","1396402329","1396402331","1396402335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39d7524078391fc23d62cd31a9fba5cb.jpg","text":"TemporaryFile(/tmp/multipartBody8127237595777039331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_04_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f00c4d93e8e04f48d5260707e96170f.jpg","text":"TemporaryFile(/tmp/multipartBody4068706451115107203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_05_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6289c8f9f26ab4b4d2ff5c01e4619c4.jpg","text":"TemporaryFile(/tmp/multipartBody219396458666887223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_04_44_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3389d0b06dd6e0aa0669a91de49886b9.jpg","text":"TemporaryFile(/tmp/multipartBody700203319823982832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_05_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/182d759f07f09c695570394bbd0d76ac.jpg","text":"TemporaryFile(/tmp/multipartBody235450560418220654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_05_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d486df43599820c413a9dab13ed8a75.jpg","text":"TemporaryFile(/tmp/multipartBody5142797480603202135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238803898,"filename":"image_27112025_11_05_14_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402328","file1":"1396402327","file0":"1396402326","file4":"1396402331","file5":"1396402335","file3":"1396402329"},"map_files_photo_id_array":[{"photo_id":"1396402335","filename":"file5"},{"photo_id":"1396402328","filename":"file2"},{"photo_id":"1396402331","filename":"file4"},{"photo_id":"1396402327","filename":"file1"},{"photo_id":"1396402326","filename":"file0"},{"photo_id":"1396402329","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402327":["hashtag1","hashtag2"]},{"1396402335":["hashtag1","hashtag2"]},{"1396402326":["hashtag1","hashtag2"]},{"1396402329":["hashtag1","hashtag2"]},{"1396402331":["hashtag1","hashtag2"]},{"1396402328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402327, 1396402335, 1396402326, 1396402329, 1396402331, 1396402328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31179404258728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:19:42.446638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_19_2690.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_23_3598.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_25_2596.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_50_3670.jpg', '/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_52_2653.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_01_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_19_2690.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_23_3598.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_25_2596.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_50_3670.jpg
/home/pi/Desktop/images/31102025/02/32/image_31102025_02_32_52_2653.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_01_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402351","1396402345","1396402348","1396402347","1396402346","1396402343"],"photo_ids_order":["1396402343","1396402345","1396402346","1396402347","1396402348","1396402351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd6aac5a1f622121b71e7bf03b31a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody4322739360389518524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_33_01_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/27/2d696cd2e7e1710247ae0ed7a2eb335a.jpg","text":"TemporaryFile(/tmp/multipartBody5521793360605070297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_32_23_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/27/040aebd6d686786733a59001bd7da886.jpg","text":"TemporaryFile(/tmp/multipartBody3291309278574851771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_32_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/27/2135a1f79e32db5f4ff599bdc181cc00.jpg","text":"TemporaryFile(/tmp/multipartBody3470064833666437076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_32_50_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/27/d485a3e13a01f0d475eb81065a13ae05.jpg","text":"TemporaryFile(/tmp/multipartBody4967030934261535772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_32_25_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/27/49af45f701d7f0ec3f528f0a0adac487.jpg","text":"TemporaryFile(/tmp/multipartBody5221872498797289340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238844027,"filename":"image_31102025_02_32_19_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402346","file1":"1396402345","file0":"1396402343","file4":"1396402348","file5":"1396402351","file3":"1396402347"},"map_files_photo_id_array":[{"photo_id":"1396402351","filename":"file5"},{"photo_id":"1396402346","filename":"file2"},{"photo_id":"1396402348","filename":"file4"},{"photo_id":"1396402345","filename":"file1"},{"photo_id":"1396402343","filename":"file0"},{"photo_id":"1396402347","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402351":["hashtag1","hashtag2"]},{"1396402345":["hashtag1","hashtag2"]},{"1396402348":["hashtag1","hashtag2"]},{"1396402347":["hashtag1","hashtag2"]},{"1396402346":["hashtag1","hashtag2"]},{"1396402343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402351, 1396402345, 1396402348, 1396402347, 1396402346, 1396402343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65064191818237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:20:22.617337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_55_10818.jpg', '/home/pi/Desktop/images/27112025/11/05/image_27112025_11_06_05_9792.jpg', '/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_15_9831.jpg', '/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_24_9672.jpg', '/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_35_10654.jpg', '/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_45_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_05_55_10818.jpg
/home/pi/Desktop/images/27112025/11/05/image_27112025_11_06_05_9792.jpg
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_15_9831.jpg
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_24_9672.jpg
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_35_10654.jpg
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_45_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402363","1396402357","1396402354","1396402368","1396402365","1396402360"],"photo_ids_order":["1396402354","1396402357","1396402360","1396402363","1396402365","1396402368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4be778f059ab4b3ce04c785ada2626c1.jpg","text":"TemporaryFile(/tmp/multipartBody7060832775280219819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_06_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86c42727b8b27259bad0c1bb247026b0.jpg","text":"TemporaryFile(/tmp/multipartBody8883530172899412751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_06_05_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00fd6679e41d903bca5047a39a134b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5999346407005466836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_05_55_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cfb98859f9cff856d68d1a0b399cc2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6989896960255348683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_06_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3458560ccd208751814c2e0ddc263c67.jpg","text":"TemporaryFile(/tmp/multipartBody4514877246836211365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_06_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fcf35b505137eaef02b87014de15e13.jpg","text":"TemporaryFile(/tmp/multipartBody5459417447831105114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238883432,"filename":"image_27112025_11_06_15_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402360","file1":"1396402357","file0":"1396402354","file4":"1396402365","file5":"1396402368","file3":"1396402363"},"map_files_photo_id_array":[{"photo_id":"1396402368","filename":"file5"},{"photo_id":"1396402360","filename":"file2"},{"photo_id":"1396402365","filename":"file4"},{"photo_id":"1396402357","filename":"file1"},{"photo_id":"1396402354","filename":"file0"},{"photo_id":"1396402363","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402363":["hashtag1","hashtag2"]},{"1396402357":["hashtag1","hashtag2"]},{"1396402354":["hashtag1","hashtag2"]},{"1396402368":["hashtag1","hashtag2"]},{"1396402365":["hashtag1","hashtag2"]},{"1396402360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402363, 1396402357, 1396402354, 1396402368, 1396402365, 1396402360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35839772224426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:21:02.593596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_55_10241.jpg', '/home/pi/Desktop/images/27112025/11/06/image_27112025_11_07_05_9840.jpg', '/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_14_9383.jpg', '/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_25_10728.jpg', '/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_34_9383.jpg', '/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_45_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_06_55_10241.jpg
/home/pi/Desktop/images/27112025/11/06/image_27112025_11_07_05_9840.jpg
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_14_9383.jpg
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_25_10728.jpg
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_34_9383.jpg
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_45_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402399","1396402398","1396402401","1396402400","1396402403","1396402406"],"photo_ids_order":["1396402398","1396402399","1396402400","1396402401","1396402403","1396402406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da5f42a44e41a565411526e029cb0a32.jpg","text":"TemporaryFile(/tmp/multipartBody7454097191799353245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_07_05_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35b969b0436a7c3a60f2baa857608400.jpg","text":"TemporaryFile(/tmp/multipartBody934690155239793962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_06_55_10241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42a7a7f01786cb9229b7cb340befc37b.jpg","text":"TemporaryFile(/tmp/multipartBody5657785370315485844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_07_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7e40dafbb46b6f3b981d5a27bfdda8a.jpg","text":"TemporaryFile(/tmp/multipartBody1849712304630266624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_07_14_9383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8076200dd06bb74bd13210f08045a07.jpg","text":"TemporaryFile(/tmp/multipartBody2055245555262140200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_07_34_9383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2815166717eaf7b087fead7208675a5f.jpg","text":"TemporaryFile(/tmp/multipartBody997831581024052279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238923490,"filename":"image_27112025_11_07_45_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402400","file1":"1396402399","file0":"1396402398","file4":"1396402403","file5":"1396402406","file3":"1396402401"},"map_files_photo_id_array":[{"photo_id":"1396402406","filename":"file5"},{"photo_id":"1396402400","filename":"file2"},{"photo_id":"1396402403","filename":"file4"},{"photo_id":"1396402399","filename":"file1"},{"photo_id":"1396402398","filename":"file0"},{"photo_id":"1396402401","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402399":["hashtag1","hashtag2"]},{"1396402398":["hashtag1","hashtag2"]},{"1396402401":["hashtag1","hashtag2"]},{"1396402400":["hashtag1","hashtag2"]},{"1396402403":["hashtag1","hashtag2"]},{"1396402406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402399, 1396402398, 1396402401, 1396402400, 1396402403, 1396402406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45731520652771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:21:41.901384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_04_2772.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_08_3623.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_15_1661.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_16_1549.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_19_2563.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_23_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_04_2772.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_08_3623.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_15_1661.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_16_1549.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_19_2563.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_23_3782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402429","1396402420","1396402422","1396402416","1396402421","1396402424"],"photo_ids_order":["1396402416","1396402420","1396402421","1396402422","1396402424","1396402429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d46a9612ef261931bbca6771848f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody5655590234863208070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_23_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/27/e1cc2914db05ff2f646a7c4c61d2c598.jpg","text":"TemporaryFile(/tmp/multipartBody6485030410607879062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_08_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/27/3400e9d1a96c5d6cdd247ff8ab8223b7.jpg","text":"TemporaryFile(/tmp/multipartBody1293439856730086698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_16_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/27/d680ca6763477cd7ac8de3d715e77c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6283635071558807229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_04_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/27/40c41e26041d5f17cdf8414915d803e2.jpg","text":"TemporaryFile(/tmp/multipartBody4391587986346527706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_15_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/27/485773d4a7b3d90f0fb2473c2bea41b2.jpg","text":"TemporaryFile(/tmp/multipartBody6263258215433826607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764238963505,"filename":"image_31102025_02_33_19_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402421","file1":"1396402420","file0":"1396402416","file4":"1396402424","file5":"1396402429","file3":"1396402422"},"map_files_photo_id_array":[{"photo_id":"1396402429","filename":"file5"},{"photo_id":"1396402421","filename":"file2"},{"photo_id":"1396402424","filename":"file4"},{"photo_id":"1396402420","filename":"file1"},{"photo_id":"1396402416","filename":"file0"},{"photo_id":"1396402422","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402429":["hashtag1","hashtag2"]},{"1396402420":["hashtag1","hashtag2"]},{"1396402422":["hashtag1","hashtag2"]},{"1396402416":["hashtag1","hashtag2"]},{"1396402421":["hashtag1","hashtag2"]},{"1396402424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402429, 1396402420, 1396402422, 1396402416, 1396402421, 1396402424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62816882133484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:22:22.078672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_55_9765.jpg', '/home/pi/Desktop/images/27112025/11/07/image_27112025_11_08_05_9734.jpg', '/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_14_9884.jpg', '/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_24_9769.jpg', '/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_35_10742.jpg', '/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_45_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_07_55_9765.jpg
/home/pi/Desktop/images/27112025/11/07/image_27112025_11_08_05_9734.jpg
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_14_9884.jpg
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_24_9769.jpg
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_35_10742.jpg
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_45_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402450","1396402444","1396402453","1396402447","1396402455","1396402440"],"photo_ids_order":["1396402440","1396402444","1396402447","1396402450","1396402453","1396402455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69090b8b0633af3317a3b89bbdcc42bf.jpg","text":"TemporaryFile(/tmp/multipartBody2952391106447030015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_08_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/141e5da2020a76729d2ea41c2796362a.jpg","text":"TemporaryFile(/tmp/multipartBody1090814449515556092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_08_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c58184207402a778459c7e633a56df6.jpg","text":"TemporaryFile(/tmp/multipartBody3591347611601243412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_08_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e091cbb202aec1a5f2ae04849c2d4276.jpg","text":"TemporaryFile(/tmp/multipartBody41688454159597803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_08_14_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21d00ab6c83ea77c0e037012739a8073.jpg","text":"TemporaryFile(/tmp/multipartBody6388394716985879772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_08_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf36bbb99f1aa2c70cd3e1acfcb8c061.jpg","text":"TemporaryFile(/tmp/multipartBody2486730171708206631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239002863,"filename":"image_27112025_11_07_55_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402447","file1":"1396402444","file0":"1396402440","file4":"1396402453","file5":"1396402455","file3":"1396402450"},"map_files_photo_id_array":[{"photo_id":"1396402455","filename":"file5"},{"photo_id":"1396402447","filename":"file2"},{"photo_id":"1396402453","filename":"file4"},{"photo_id":"1396402444","filename":"file1"},{"photo_id":"1396402440","filename":"file0"},{"photo_id":"1396402450","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402450":["hashtag1","hashtag2"]},{"1396402444":["hashtag1","hashtag2"]},{"1396402453":["hashtag1","hashtag2"]},{"1396402447":["hashtag1","hashtag2"]},{"1396402455":["hashtag1","hashtag2"]},{"1396402440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402450, 1396402444, 1396402453, 1396402447, 1396402455, 1396402440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84585738182068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:23:02.854190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_54_9683.jpg', '/home/pi/Desktop/images/27112025/11/08/image_27112025_11_09_05_10667.jpg', '/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_15_9660.jpg', '/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_25_10304.jpg', '/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_35_9685.jpg', '/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_44_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_08_54_9683.jpg
/home/pi/Desktop/images/27112025/11/08/image_27112025_11_09_05_10667.jpg
/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_15_9660.jpg
/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_25_10304.jpg
/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_35_9685.jpg
/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_44_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402504","1396402513","1396402497","1396402488","1396402493","1396402499"],"photo_ids_order":["1396402488","1396402493","1396402497","1396402499","1396402504","1396402513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e911822a4741a69b7f7a53d426eed66a.jpg","text":"TemporaryFile(/tmp/multipartBody401356062616874859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_09_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/291be52295449b6c4eab7611592f76f6.jpg","text":"TemporaryFile(/tmp/multipartBody1719398233092739878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_09_44_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c7898acf0e50859383f7e44d2946d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6446844098774267190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_09_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d37f6402cb13a8c4f57075bea4b6f162.jpg","text":"TemporaryFile(/tmp/multipartBody8770297131874221288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_08_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98827430f474d94bcb2f4df5413f21b5.jpg","text":"TemporaryFile(/tmp/multipartBody2102601600322494247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_09_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fba5b357c5bb29e1e997b57b565ccf50.jpg","text":"TemporaryFile(/tmp/multipartBody8449825166345192846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239043692,"filename":"image_27112025_11_09_25_10304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402497","file1":"1396402493","file0":"1396402488","file4":"1396402504","file5":"1396402513","file3":"1396402499"},"map_files_photo_id_array":[{"photo_id":"1396402513","filename":"file5"},{"photo_id":"1396402497","filename":"file2"},{"photo_id":"1396402504","filename":"file4"},{"photo_id":"1396402493","filename":"file1"},{"photo_id":"1396402488","filename":"file0"},{"photo_id":"1396402499","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402504":["hashtag1","hashtag2"]},{"1396402513":["hashtag1","hashtag2"]},{"1396402497":["hashtag1","hashtag2"]},{"1396402488":["hashtag1","hashtag2"]},{"1396402493":["hashtag1","hashtag2"]},{"1396402499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402504, 1396402513, 1396402497, 1396402488, 1396402493, 1396402499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940276861190796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:23:42.208137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_26_2832.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_28_2749.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_37_2914.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_41_3664.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_43_2754.jpg', '/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_46_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_26_2832.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_28_2749.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_37_2914.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_41_3664.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_43_2754.jpg
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_46_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402549","1396402537","1396402552","1396402551","1396402542","1396402550"],"photo_ids_order":["1396402537","1396402542","1396402549","1396402550","1396402551","1396402552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1030fa479daef77b40c564c26f7b63b.jpg","text":"TemporaryFile(/tmp/multipartBody5784311194659206576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_37_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/27/76ce45d9afcea1300aec68d13ae569ed.jpg","text":"TemporaryFile(/tmp/multipartBody6123451165223886547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_26_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/27/638151308892b9bdd67a47aeea1f117f.jpg","text":"TemporaryFile(/tmp/multipartBody4081843062487296481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_46_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/27/0eae45962b2162e4889d24bf231f7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1632196817548032524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_43_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/27/88ff7729c7aee8f38fc3c7f89831a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4435469994495190617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_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/27/c7a7b999cc37f589322ab6edcd3ad9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7186530801271737132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239083818,"filename":"image_31102025_02_33_41_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402549","file1":"1396402542","file0":"1396402537","file4":"1396402551","file5":"1396402552","file3":"1396402550"},"map_files_photo_id_array":[{"photo_id":"1396402552","filename":"file5"},{"photo_id":"1396402549","filename":"file2"},{"photo_id":"1396402551","filename":"file4"},{"photo_id":"1396402542","filename":"file1"},{"photo_id":"1396402537","filename":"file0"},{"photo_id":"1396402550","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402549":["hashtag1","hashtag2"]},{"1396402537":["hashtag1","hashtag2"]},{"1396402552":["hashtag1","hashtag2"]},{"1396402551":["hashtag1","hashtag2"]},{"1396402542":["hashtag1","hashtag2"]},{"1396402550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402549, 1396402537, 1396402552, 1396402551, 1396402542, 1396402550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96122074127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:24:22.377819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_54_10050.jpg', '/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_14_10036.jpg', '/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_25_10727.jpg', '/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_35_9825.jpg', '/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_44_9670.jpg', '/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/09/image_27112025_11_09_54_10050.jpg
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_14_10036.jpg
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_25_10727.jpg
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_35_9825.jpg
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_44_9670.jpg
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_11_55_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402561","1396402555","1396402558","1396402571","1396402565","1396402568"],"photo_ids_order":["1396402555","1396402558","1396402561","1396402565","1396402568","1396402571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b687896caab713c3b1c512b1397f9cee.jpg","text":"TemporaryFile(/tmp/multipartBody8911947749788127943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_11_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54cf61563533908e2c4bc12b8ea87121.jpg","text":"TemporaryFile(/tmp/multipartBody5905479820473787988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_09_54_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2ee66eaff90a5ace475ce3d893f5bef.jpg","text":"TemporaryFile(/tmp/multipartBody8936039192497817799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_11_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93a206f8ac2c6b91edfa38a088e085d7.jpg","text":"TemporaryFile(/tmp/multipartBody9136650962977572298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_11_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0f1da10830a0728121c6835b9716a99.jpg","text":"TemporaryFile(/tmp/multipartBody4466775004303998422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_11_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0eccf4831dd0202624e528d76815c63d.jpg","text":"TemporaryFile(/tmp/multipartBody2407748861005183054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239123131,"filename":"image_27112025_11_11_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402561","file1":"1396402558","file0":"1396402555","file4":"1396402568","file5":"1396402571","file3":"1396402565"},"map_files_photo_id_array":[{"photo_id":"1396402571","filename":"file5"},{"photo_id":"1396402561","filename":"file2"},{"photo_id":"1396402568","filename":"file4"},{"photo_id":"1396402558","filename":"file1"},{"photo_id":"1396402555","filename":"file0"},{"photo_id":"1396402565","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402561":["hashtag1","hashtag2"]},{"1396402555":["hashtag1","hashtag2"]},{"1396402558":["hashtag1","hashtag2"]},{"1396402571":["hashtag1","hashtag2"]},{"1396402565":["hashtag1","hashtag2"]},{"1396402568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402561, 1396402555, 1396402558, 1396402571, 1396402565, 1396402568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.384039640426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:25:03.305727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/11/image_27112025_11_12_05_9636.jpg', '/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_14_9698.jpg', '/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_25_10650.jpg', '/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_34_9628.jpg', '/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_44_9711.jpg', '/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_54_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/11/image_27112025_11_12_05_9636.jpg
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_14_9698.jpg
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_25_10650.jpg
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_34_9628.jpg
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_44_9711.jpg
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_12_54_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402576","1396402581","1396402578","1396402575","1396402574","1396402573"],"photo_ids_order":["1396402573","1396402574","1396402575","1396402576","1396402578","1396402581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0887954a91daf1eb235bc775d6e6121.jpg","text":"TemporaryFile(/tmp/multipartBody1931017607841220600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42b38f889762631e9778352091418b81.jpg","text":"TemporaryFile(/tmp/multipartBody3081844649677034685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_54_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/771f63451cd75a67cea3ae2a2909e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody8543309219488741713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/745662d32ec8f7a2a19644ec9291ea35.jpg","text":"TemporaryFile(/tmp/multipartBody6621882937036813092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca64d29755471bc9b2fbb582af0bff8f.jpg","text":"TemporaryFile(/tmp/multipartBody7150650656038464486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86a274841ae0cedfc262e0902dcb19ca.jpg","text":"TemporaryFile(/tmp/multipartBody1943105365412051531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239164160,"filename":"image_27112025_11_12_05_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402575","file1":"1396402574","file0":"1396402573","file4":"1396402578","file5":"1396402581","file3":"1396402576"},"map_files_photo_id_array":[{"photo_id":"1396402581","filename":"file5"},{"photo_id":"1396402575","filename":"file2"},{"photo_id":"1396402578","filename":"file4"},{"photo_id":"1396402574","filename":"file1"},{"photo_id":"1396402573","filename":"file0"},{"photo_id":"1396402576","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402576":["hashtag1","hashtag2"]},{"1396402581":["hashtag1","hashtag2"]},{"1396402578":["hashtag1","hashtag2"]},{"1396402575":["hashtag1","hashtag2"]},{"1396402574":["hashtag1","hashtag2"]},{"1396402573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402576, 1396402581, 1396402578, 1396402575, 1396402574, 1396402573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.184194564819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:25:42.548989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_53_3899.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_02_3706.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_04_2694.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_11_3621.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_13_2754.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_28_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/33/image_31102025_02_33_53_3899.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_02_3706.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_04_2694.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_11_3621.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_13_2754.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_28_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":["1396402642","1396402624","1396402614","1396402611","1396402598","1396402643"],"photo_ids_order":["1396402598","1396402611","1396402614","1396402624","1396402642","1396402643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15b31ed32ad030b970e2f92c4280f40c.jpg","text":"TemporaryFile(/tmp/multipartBody3055225029259039797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_34_13_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/27/aba03e84976c7082c1991195a18bd084.jpg","text":"TemporaryFile(/tmp/multipartBody1430783813815808661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_34_11_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/27/677464b6714c09dac1fc982b7110dee2.jpg","text":"TemporaryFile(/tmp/multipartBody1206610691717287189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_34_04_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/27/51c987b9c048a44069ccfa9235fa4cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5345194215953795780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_34_02_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/27/c35c1e7aee48b6de564f1bf2bc681b32.jpg","text":"TemporaryFile(/tmp/multipartBody5880391662446148219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_33_53_3899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d1e4559269f6779737363f548d12572.jpg","text":"TemporaryFile(/tmp/multipartBody4940126420315540298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239204210,"filename":"image_31102025_02_34_28_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402614","file1":"1396402611","file0":"1396402598","file4":"1396402642","file5":"1396402643","file3":"1396402624"},"map_files_photo_id_array":[{"photo_id":"1396402643","filename":"file5"},{"photo_id":"1396402614","filename":"file2"},{"photo_id":"1396402642","filename":"file4"},{"photo_id":"1396402611","filename":"file1"},{"photo_id":"1396402598","filename":"file0"},{"photo_id":"1396402624","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402642":["hashtag1","hashtag2"]},{"1396402624":["hashtag1","hashtag2"]},{"1396402614":["hashtag1","hashtag2"]},{"1396402611":["hashtag1","hashtag2"]},{"1396402598":["hashtag1","hashtag2"]},{"1396402643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402642, 1396402624, 1396402614, 1396402611, 1396402598, 1396402643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.227110862731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:26:22.744473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/12/image_27112025_11_13_05_10799.jpg', '/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_14_9640.jpg', '/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_25_10137.jpg', '/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_34_9891.jpg', '/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_44_9770.jpg', '/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_54_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/12/image_27112025_11_13_05_10799.jpg
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_14_9640.jpg
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_25_10137.jpg
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_34_9891.jpg
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_44_9770.jpg
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_13_54_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402660","1396402648","1396402650","1396402653","1396402656","1396402664"],"photo_ids_order":["1396402648","1396402650","1396402653","1396402656","1396402660","1396402664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32d6660657880f6b34b59f4df306a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody5324724787675119251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37deff83d1109424ea599abaf8762f50.jpg","text":"TemporaryFile(/tmp/multipartBody5935173898949699628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_05_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/203c7fd274cb270f3778e28aa52950e7.jpg","text":"TemporaryFile(/tmp/multipartBody3705984581673122417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7437704d9a7d6a810e07dc31d9fe3509.jpg","text":"TemporaryFile(/tmp/multipartBody4412165210046450129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_25_10137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29e9533dbb81f61dcfcea6bca5e27178.jpg","text":"TemporaryFile(/tmp/multipartBody4714960285018876698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_34_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d05bfa4e2c67c71e7c2701e58d4cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody6097832327415790069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239243491,"filename":"image_27112025_11_13_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402653","file1":"1396402650","file0":"1396402648","file4":"1396402660","file5":"1396402664","file3":"1396402656"},"map_files_photo_id_array":[{"photo_id":"1396402664","filename":"file5"},{"photo_id":"1396402653","filename":"file2"},{"photo_id":"1396402660","filename":"file4"},{"photo_id":"1396402650","filename":"file1"},{"photo_id":"1396402648","filename":"file0"},{"photo_id":"1396402656","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402660":["hashtag1","hashtag2"]},{"1396402648":["hashtag1","hashtag2"]},{"1396402650":["hashtag1","hashtag2"]},{"1396402653":["hashtag1","hashtag2"]},{"1396402656":["hashtag1","hashtag2"]},{"1396402664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402660, 1396402648, 1396402650, 1396402653, 1396402656, 1396402664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.935800075531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:27:02.696029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/13/image_27112025_11_14_05_10817.jpg', '/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_14_9580.jpg', '/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_24_9939.jpg', '/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_34_9818.jpg', '/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_45_10782.jpg', '/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_55_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/13/image_27112025_11_14_05_10817.jpg
/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_14_9580.jpg
/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_24_9939.jpg
/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_34_9818.jpg
/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_45_10782.jpg
/home/pi/Desktop/images/27112025/11/14/image_27112025_11_14_55_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402675","1396402669","1396402668","1396402670","1396402672","1396402666"],"photo_ids_order":["1396402666","1396402668","1396402669","1396402670","1396402672","1396402675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0eee92952590f9b9898c7eb19de3cbcd.jpg","text":"TemporaryFile(/tmp/multipartBody6042275713282333974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_55_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75b5f117b93861d5346a70d32bd02aa5.jpg","text":"TemporaryFile(/tmp/multipartBody801015685599932261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_24_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbd685342a48f0d65cb360c5850088a2.jpg","text":"TemporaryFile(/tmp/multipartBody8250791764092962364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_14_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9439ae256322b9a6b367d0d715f917f1.jpg","text":"TemporaryFile(/tmp/multipartBody3546754745715132562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_34_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/27/b3abc0afcd7258d93acbc7b48dc78279.jpg","text":"TemporaryFile(/tmp/multipartBody9013230834140549729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_45_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8160e3a2b1cf6fa1327fd1ac444079b3.jpg","text":"TemporaryFile(/tmp/multipartBody3048228528891691797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239283507,"filename":"image_27112025_11_14_05_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402669","file1":"1396402668","file0":"1396402666","file4":"1396402672","file5":"1396402675","file3":"1396402670"},"map_files_photo_id_array":[{"photo_id":"1396402675","filename":"file5"},{"photo_id":"1396402669","filename":"file2"},{"photo_id":"1396402672","filename":"file4"},{"photo_id":"1396402668","filename":"file1"},{"photo_id":"1396402666","filename":"file0"},{"photo_id":"1396402670","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402675":["hashtag1","hashtag2"]},{"1396402669":["hashtag1","hashtag2"]},{"1396402668":["hashtag1","hashtag2"]},{"1396402670":["hashtag1","hashtag2"]},{"1396402672":["hashtag1","hashtag2"]},{"1396402666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402675, 1396402669, 1396402668, 1396402670, 1396402672, 1396402666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.767223834991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:27:41.906675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_31_2876.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_34_3669.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_55_2761.jpg', '/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_58_2850.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_01_2730.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_04_3037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_31_2876.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_34_3669.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_55_2761.jpg
/home/pi/Desktop/images/31102025/02/34/image_31102025_02_34_58_2850.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_01_2730.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_04_3037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402714","1396402717","1396402711","1396402713","1396402716","1396402715"],"photo_ids_order":["1396402711","1396402713","1396402714","1396402715","1396402716","1396402717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cb3434c953923075a35e15b3acc565a.jpg","text":"TemporaryFile(/tmp/multipartBody2649718407357193616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_34_55_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/27/3a895481058c6024bb9d1082cd55290f.jpg","text":"TemporaryFile(/tmp/multipartBody1526784033140656025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_35_04_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/27/5a2e3619ff3d774f9e0356b2d080217c.jpg","text":"TemporaryFile(/tmp/multipartBody3888379450354907476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_34_31_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/27/dbf6ed51a89e0db9a214582bb2769870.jpg","text":"TemporaryFile(/tmp/multipartBody8697478810053885331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_34_34_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/27/247d08f0dda4964aba9a8bea2f399c47.jpg","text":"TemporaryFile(/tmp/multipartBody7415562641509317919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_35_01_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/27/eb2bf0279fd38f2d9b04d6a87e0a20c3.jpg","text":"TemporaryFile(/tmp/multipartBody6952186953629118154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239323528,"filename":"image_31102025_02_34_58_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402714","file1":"1396402713","file0":"1396402711","file4":"1396402716","file5":"1396402717","file3":"1396402715"},"map_files_photo_id_array":[{"photo_id":"1396402717","filename":"file5"},{"photo_id":"1396402714","filename":"file2"},{"photo_id":"1396402716","filename":"file4"},{"photo_id":"1396402713","filename":"file1"},{"photo_id":"1396402711","filename":"file0"},{"photo_id":"1396402715","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402714":["hashtag1","hashtag2"]},{"1396402717":["hashtag1","hashtag2"]},{"1396402711":["hashtag1","hashtag2"]},{"1396402713":["hashtag1","hashtag2"]},{"1396402716":["hashtag1","hashtag2"]},{"1396402715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402714, 1396402717, 1396402711, 1396402713, 1396402716, 1396402715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8938775062561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:28:22.078686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_14_10054.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_25_10890.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_35_9759.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_45_9678.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_55_10035.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_16_05_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_14_10054.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_25_10890.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_35_9759.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_45_9678.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_55_10035.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_16_05_9812.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.710364818572998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:28:32.083342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_29_2738.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_36_7941.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_38_1690.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_40_1859.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_42_1577.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_43_1852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_29_2738.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_36_7941.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_38_1690.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_40_1859.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_42_1577.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_43_1852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402729","1396402746","1396402737","1396402745","1396402739","1396402733"],"photo_ids_order":["1396402729","1396402733","1396402737","1396402739","1396402745","1396402746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e05cef4fffc75ad38da9ad6b8dbaad13.jpg","text":"TemporaryFile(/tmp/multipartBody3259837773976825756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_29_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/27/95ac5d54adc6f02440905decb7f21e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2813231719942994649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_43_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b71fe18f26c266dd5a13d546851d8122.jpg","text":"TemporaryFile(/tmp/multipartBody7234486455502995183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_38_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e04010934b5e64839e5d6f900b23bab5.jpg","text":"TemporaryFile(/tmp/multipartBody1873426382261353994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_42_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/27/4e54a98042c5f8ffe183fd9e13c87799.jpg","text":"TemporaryFile(/tmp/multipartBody5987805588039445787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_40_1859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dac8cb4ccc255804ce54931f25d1cec4.jpg","text":"TemporaryFile(/tmp/multipartBody4427113088164405263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239374037,"filename":"image_21112025_20_54_36_7941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402737","file1":"1396402733","file0":"1396402729","file4":"1396402745","file5":"1396402746","file3":"1396402739"},"map_files_photo_id_array":[{"photo_id":"1396402746","filename":"file5"},{"photo_id":"1396402737","filename":"file2"},{"photo_id":"1396402745","filename":"file4"},{"photo_id":"1396402733","filename":"file1"},{"photo_id":"1396402729","filename":"file0"},{"photo_id":"1396402739","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396402729":["hashtag1","hashtag2"]},{"1396402746":["hashtag1","hashtag2"]},{"1396402737":["hashtag1","hashtag2"]},{"1396402745":["hashtag1","hashtag2"]},{"1396402739":["hashtag1","hashtag2"]},{"1396402733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396402729, 1396402746, 1396402737, 1396402745, 1396402739, 1396402733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39742064476013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:29:12.220233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_46_2726.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_50_3689.jpg', '/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_52_2569.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_14_2584.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_16_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_46_2726.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_50_3689.jpg
/home/pi/Desktop/images/21112025/20/54/image_21112025_20_54_52_2569.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_07_3011.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_14_2584.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_16_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402747","1396402752","1396402755","1396402766","1396402759","1396402750"],"photo_ids_order":["1396402747","1396402750","1396402752","1396402755","1396402759","1396402766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ddc9d037c5788a88374de492cfdc00bb.jpg","text":"TemporaryFile(/tmp/multipartBody3848586214407042472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_54_46_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/27/5e3d08dff26fd01c75ddae1467778be5.jpg","text":"TemporaryFile(/tmp/multipartBody6923575869720183247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_54_52_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/27/f9cf5c7512ab2cc7bc4d6dfd05b9399d.jpg","text":"TemporaryFile(/tmp/multipartBody4341093319131026644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_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/27/fbe8b73039155cd188e502881a896f5b.jpg","text":"TemporaryFile(/tmp/multipartBody203773278798556809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_56_16_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/27/ebcde3eee2337260794d8d95d46ee3f0.jpg","text":"TemporaryFile(/tmp/multipartBody4226723811998037325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_56_14_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/27/f78e4cb76b6b212d53199abf97860295.jpg","text":"TemporaryFile(/tmp/multipartBody7485984962493635719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239414013,"filename":"image_21112025_20_54_50_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402752","file1":"1396402750","file0":"1396402747","file4":"1396402759","file5":"1396402766","file3":"1396402755"},"map_files_photo_id_array":[{"photo_id":"1396402766","filename":"file5"},{"photo_id":"1396402752","filename":"file2"},{"photo_id":"1396402759","filename":"file4"},{"photo_id":"1396402750","filename":"file1"},{"photo_id":"1396402747","filename":"file0"},{"photo_id":"1396402755","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396402747":["hashtag1","hashtag2"]},{"1396402752":["hashtag1","hashtag2"]},{"1396402755":["hashtag1","hashtag2"]},{"1396402766":["hashtag1","hashtag2"]},{"1396402759":["hashtag1","hashtag2"]},{"1396402750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396402747, 1396402752, 1396402755, 1396402766, 1396402759, 1396402750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88427400588989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:30:02.794545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_14_10054.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_25_10890.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_35_9759.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_45_9678.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_55_10035.jpg', '/home/pi/Desktop/images/27112025/11/15/image_27112025_11_16_05_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_14_10054.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_25_10890.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_35_9759.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_45_9678.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_15_55_10035.jpg
/home/pi/Desktop/images/27112025/11/15/image_27112025_11_16_05_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402816","1396402810","1396402815","1396402823","1396402817","1396402820"],"photo_ids_order":["1396402810","1396402815","1396402816","1396402817","1396402820","1396402823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16cac7b631ba4203de99865b49bd697a.jpg","text":"TemporaryFile(/tmp/multipartBody4575749470113908527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_15_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae43588cfabc2a9c16b9777680aba111.jpg","text":"TemporaryFile(/tmp/multipartBody5572501339235790726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_15_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afbf3c6eea8c78a22e343d3df273d81c.jpg","text":"TemporaryFile(/tmp/multipartBody2188854787608584818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_15_25_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10657dc70d4f6cd1a2b82869adc76718.jpg","text":"TemporaryFile(/tmp/multipartBody264909718424622425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_16_05_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/119cb40c1b1efc465ae4176222f34315.jpg","text":"TemporaryFile(/tmp/multipartBody3049810051165118109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_15_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3bc0c8715fb5e83d818987fa6f8e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1005771264845363766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239463627,"filename":"image_27112025_11_15_55_10035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402816","file1":"1396402815","file0":"1396402810","file4":"1396402820","file5":"1396402823","file3":"1396402817"},"map_files_photo_id_array":[{"photo_id":"1396402823","filename":"file5"},{"photo_id":"1396402816","filename":"file2"},{"photo_id":"1396402820","filename":"file4"},{"photo_id":"1396402815","filename":"file1"},{"photo_id":"1396402810","filename":"file0"},{"photo_id":"1396402817","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402816":["hashtag1","hashtag2"]},{"1396402810":["hashtag1","hashtag2"]},{"1396402815":["hashtag1","hashtag2"]},{"1396402823":["hashtag1","hashtag2"]},{"1396402817":["hashtag1","hashtag2"]},{"1396402820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402816, 1396402810, 1396402815, 1396402823, 1396402817, 1396402820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88942551612854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:30:42.378673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_16_2785.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_19_3638.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_22_2569.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_25_2674.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_32_3596.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_46_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_16_2785.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_19_3638.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_22_2569.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_25_2674.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_32_3596.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_46_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":["1396402840","1396402837","1396402839","1396402833","1396402836","1396402838"],"photo_ids_order":["1396402833","1396402836","1396402837","1396402838","1396402839","1396402840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0237a28ad2e87fd5313dce07219a5e70.jpg","text":"TemporaryFile(/tmp/multipartBody5854819798329147326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_46_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/27/89999b216eccc3cc95623f1156414f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6930803657745733474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_22_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/27/a599bb16d03ce47b5f200d716012e427.jpg","text":"TemporaryFile(/tmp/multipartBody3436742295222251460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_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/27/420cebd436ccf8f79f1089860827f75e.jpg","text":"TemporaryFile(/tmp/multipartBody166076728712565232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_16_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/27/da08a5b1110add968b05df35c6d8be5c.jpg","text":"TemporaryFile(/tmp/multipartBody2213958981948710093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_19_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/27/5a8159d0ed32dc84123647df8396ca6c.jpg","text":"TemporaryFile(/tmp/multipartBody276570830111873324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239503942,"filename":"image_31102025_02_35_25_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402837","file1":"1396402836","file0":"1396402833","file4":"1396402839","file5":"1396402840","file3":"1396402838"},"map_files_photo_id_array":[{"photo_id":"1396402840","filename":"file5"},{"photo_id":"1396402837","filename":"file2"},{"photo_id":"1396402839","filename":"file4"},{"photo_id":"1396402836","filename":"file1"},{"photo_id":"1396402833","filename":"file0"},{"photo_id":"1396402838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402840":["hashtag1","hashtag2"]},{"1396402837":["hashtag1","hashtag2"]},{"1396402839":["hashtag1","hashtag2"]},{"1396402833":["hashtag1","hashtag2"]},{"1396402836":["hashtag1","hashtag2"]},{"1396402838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402840, 1396402837, 1396402839, 1396402833, 1396402836, 1396402838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64397978782654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:31:22.659091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_15_10606.jpg', '/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_25_9645.jpg', '/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_35_9676.jpg', '/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_44_9863.jpg', '/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_55_10729.jpg', '/home/pi/Desktop/images/27112025/11/16/image_27112025_11_17_05_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_15_10606.jpg
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_25_9645.jpg
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_35_9676.jpg
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_44_9863.jpg
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_16_55_10729.jpg
/home/pi/Desktop/images/27112025/11/16/image_27112025_11_17_05_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402852","1396402846","1396402855","1396402849","1396402857","1396402844"],"photo_ids_order":["1396402844","1396402846","1396402849","1396402852","1396402855","1396402857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afb926f6ec1da10ac30838617fd68316.jpg","text":"TemporaryFile(/tmp/multipartBody5089899801954142356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_16_44_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/338f5219ae6b88cf50bf68b963a631eb.jpg","text":"TemporaryFile(/tmp/multipartBody7095408236711987595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_16_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccc02cef8700f98f0463a5908fc18702.jpg","text":"TemporaryFile(/tmp/multipartBody4811699506048773991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_16_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1960b69e5e83be48e6d93f80672f78eb.jpg","text":"TemporaryFile(/tmp/multipartBody1758992028396585621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_16_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef990b9b52dd81e6f8dddf786b25431c.jpg","text":"TemporaryFile(/tmp/multipartBody5840549972329003722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_17_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b4b9a557a2bcc40e28c762e8069b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody3654021066608935720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239543487,"filename":"image_27112025_11_16_15_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402849","file1":"1396402846","file0":"1396402844","file4":"1396402855","file5":"1396402857","file3":"1396402852"},"map_files_photo_id_array":[{"photo_id":"1396402857","filename":"file5"},{"photo_id":"1396402849","filename":"file2"},{"photo_id":"1396402855","filename":"file4"},{"photo_id":"1396402846","filename":"file1"},{"photo_id":"1396402844","filename":"file0"},{"photo_id":"1396402852","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402852":["hashtag1","hashtag2"]},{"1396402846":["hashtag1","hashtag2"]},{"1396402855":["hashtag1","hashtag2"]},{"1396402849":["hashtag1","hashtag2"]},{"1396402857":["hashtag1","hashtag2"]},{"1396402844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402852, 1396402846, 1396402855, 1396402849, 1396402857, 1396402844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.481812953948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:32:03.231670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_15_9804.jpg', '/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_25_10720.jpg', '/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_35_9882.jpg', '/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_45_9961.jpg', '/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_55_9616.jpg', '/home/pi/Desktop/images/27112025/11/17/image_27112025_11_18_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_15_9804.jpg
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_25_10720.jpg
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_35_9882.jpg
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_45_9961.jpg
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_17_55_9616.jpg
/home/pi/Desktop/images/27112025/11/17/image_27112025_11_18_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402863","1396402866","1396402862","1396402870","1396402864","1396402858"],"photo_ids_order":["1396402858","1396402862","1396402863","1396402864","1396402866","1396402870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b21d52faafb053b0fbb3695eddd4fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5221105291381185599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_17_35_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad46c20b73adf825da3b18c591578ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6118217029336660674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_17_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f2c1ac59ebac7106160064a7d3abddf.jpg","text":"TemporaryFile(/tmp/multipartBody6248927080897412060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_17_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76c55ee02aba9beb9afabbe3286ff419.jpg","text":"TemporaryFile(/tmp/multipartBody5513138033022578798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_18_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7fe25172a8a817390bd498348605412.jpg","text":"TemporaryFile(/tmp/multipartBody1623802907409621356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_17_45_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64d1dd0029f2c9d2162a7dafabf64764.jpg","text":"TemporaryFile(/tmp/multipartBody4605341944357978248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239584046,"filename":"image_27112025_11_17_15_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402863","file1":"1396402862","file0":"1396402858","file4":"1396402866","file5":"1396402870","file3":"1396402864"},"map_files_photo_id_array":[{"photo_id":"1396402870","filename":"file5"},{"photo_id":"1396402863","filename":"file2"},{"photo_id":"1396402866","filename":"file4"},{"photo_id":"1396402862","filename":"file1"},{"photo_id":"1396402858","filename":"file0"},{"photo_id":"1396402864","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402863":["hashtag1","hashtag2"]},{"1396402866":["hashtag1","hashtag2"]},{"1396402862":["hashtag1","hashtag2"]},{"1396402870":["hashtag1","hashtag2"]},{"1396402864":["hashtag1","hashtag2"]},{"1396402858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402863, 1396402866, 1396402862, 1396402870, 1396402864, 1396402858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.727041244506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:32:42.908355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_55_2702.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_58_3738.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_01_2794.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_04_2691.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_07_2791.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_10_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_55_2702.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_58_3738.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_01_2794.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_04_2691.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_07_2791.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_10_2839.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5522046089172363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:33:02.842642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_15_10676.jpg', '/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_25_9656.jpg', '/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_35_9801.jpg', '/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_45_10570.jpg', '/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_55_9899.jpg', '/home/pi/Desktop/images/27112025/11/18/image_27112025_11_19_05_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_15_10676.jpg
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_25_9656.jpg
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_35_9801.jpg
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_45_10570.jpg
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_18_55_9899.jpg
/home/pi/Desktop/images/27112025/11/18/image_27112025_11_19_05_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402899","1396402903","1396402905","1396402898","1396402895","1396402897"],"photo_ids_order":["1396402895","1396402897","1396402898","1396402899","1396402903","1396402905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/158f9c56ee46ffc165f2dc8448578e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2460584150876867731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_18_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9780322ecb9aaa25255bb8bb6bdbe04b.jpg","text":"TemporaryFile(/tmp/multipartBody4653480245437011805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_18_55_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37e5afd8c28248435cb4a77cef3fcebe.jpg","text":"TemporaryFile(/tmp/multipartBody1367535215238445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_19_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04c90549a6af551948e12c388d884b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6633022005928422317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_18_35_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25d672241718467f1976da385f82ea2b.jpg","text":"TemporaryFile(/tmp/multipartBody3268221216422189494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_18_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6218d586c49d6a710175a54b61d2deb5.jpg","text":"TemporaryFile(/tmp/multipartBody1350515150422882165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239643636,"filename":"image_27112025_11_18_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402898","file1":"1396402897","file0":"1396402895","file4":"1396402903","file5":"1396402905","file3":"1396402899"},"map_files_photo_id_array":[{"photo_id":"1396402905","filename":"file5"},{"photo_id":"1396402898","filename":"file2"},{"photo_id":"1396402903","filename":"file4"},{"photo_id":"1396402897","filename":"file1"},{"photo_id":"1396402895","filename":"file0"},{"photo_id":"1396402899","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402899":["hashtag1","hashtag2"]},{"1396402903":["hashtag1","hashtag2"]},{"1396402905":["hashtag1","hashtag2"]},{"1396402898":["hashtag1","hashtag2"]},{"1396402895":["hashtag1","hashtag2"]},{"1396402897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402899, 1396402903, 1396402905, 1396402898, 1396402895, 1396402897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69110035896301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:33:42.120522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_55_2702.jpg', '/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_58_3738.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_01_2794.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_04_2691.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_07_2791.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_10_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_55_2702.jpg
/home/pi/Desktop/images/31102025/02/35/image_31102025_02_35_58_3738.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_01_2794.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_04_2691.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_07_2791.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_10_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402918","1396402920","1396402914","1396402917","1396402916","1396402919"],"photo_ids_order":["1396402914","1396402916","1396402917","1396402918","1396402919","1396402920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22517747e30bbe2484899e9f024f81b5.jpg","text":"TemporaryFile(/tmp/multipartBody5802384042100957238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_36_04_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/27/2e3eba5680bcdbddd11807e8ace76a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8814840493463802108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_36_10_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/27/a5eb7f5b08bbe49b525bc350ef29fb9a.jpg","text":"TemporaryFile(/tmp/multipartBody307962008474549492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_35_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/27/7453ae2efc5c48e732fc5491e37c697c.jpg","text":"TemporaryFile(/tmp/multipartBody5041849867769547648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_36_01_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/27/72573aef1e6c3d3e74f4563f4f7f436e.jpg","text":"TemporaryFile(/tmp/multipartBody5727076722952461399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_35_58_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/27/d5a2f091000e6d104eec8e6a3fdb81f0.jpg","text":"TemporaryFile(/tmp/multipartBody5389110797564310492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239683607,"filename":"image_31102025_02_36_07_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402917","file1":"1396402916","file0":"1396402914","file4":"1396402919","file5":"1396402920","file3":"1396402918"},"map_files_photo_id_array":[{"photo_id":"1396402920","filename":"file5"},{"photo_id":"1396402917","filename":"file2"},{"photo_id":"1396402919","filename":"file4"},{"photo_id":"1396402916","filename":"file1"},{"photo_id":"1396402914","filename":"file0"},{"photo_id":"1396402918","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396402918":["hashtag1","hashtag2"]},{"1396402920":["hashtag1","hashtag2"]},{"1396402914":["hashtag1","hashtag2"]},{"1396402917":["hashtag1","hashtag2"]},{"1396402916":["hashtag1","hashtag2"]},{"1396402919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396402918, 1396402920, 1396402914, 1396402917, 1396402916, 1396402919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35171437263489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:34:22.304422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_15_10702.jpg', '/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_25_9676.jpg', '/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_35_9691.jpg', '/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_44_9648.jpg', '/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_55_10757.jpg', '/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_15_10702.jpg
/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_25_9676.jpg
/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_35_9691.jpg
/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_44_9648.jpg
/home/pi/Desktop/images/27112025/11/19/image_27112025_11_19_55_10757.jpg
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402945","1396402930","1396402927","1396402923","1396402932","1396402935"],"photo_ids_order":["1396402923","1396402927","1396402930","1396402932","1396402935","1396402945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9aa996cd04a1ffac3e7928b086d28c3.jpg","text":"TemporaryFile(/tmp/multipartBody5394841308493121678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_21_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3aedda0e9a5c2073efac41327f8d5a46.jpg","text":"TemporaryFile(/tmp/multipartBody6675734057120856191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_19_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcbd556ff420e4b7f0f7ce2aeb149fee.jpg","text":"TemporaryFile(/tmp/multipartBody2614906504202108039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_19_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d779bd62ca6784cb9f35dafb182ab92.jpg","text":"TemporaryFile(/tmp/multipartBody2659023481790274841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_19_15_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/27/28d51daa7a403fd99bdc85ed6a5a4f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8476303867193113547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_19_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/444106e82e8c026919de5f84474d9435.jpg","text":"TemporaryFile(/tmp/multipartBody5844984075145464222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239723066,"filename":"image_27112025_11_19_55_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402930","file1":"1396402927","file0":"1396402923","file4":"1396402935","file5":"1396402945","file3":"1396402932"},"map_files_photo_id_array":[{"photo_id":"1396402945","filename":"file5"},{"photo_id":"1396402930","filename":"file2"},{"photo_id":"1396402935","filename":"file4"},{"photo_id":"1396402927","filename":"file1"},{"photo_id":"1396402923","filename":"file0"},{"photo_id":"1396402932","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402945":["hashtag1","hashtag2"]},{"1396402930":["hashtag1","hashtag2"]},{"1396402927":["hashtag1","hashtag2"]},{"1396402923":["hashtag1","hashtag2"]},{"1396402932":["hashtag1","hashtag2"]},{"1396402935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402945, 1396402930, 1396402927, 1396402923, 1396402932, 1396402935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.159754276275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:35:03.188292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_24_10022.jpg', '/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_35_10609.jpg', '/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_44_9760.jpg', '/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_54_10006.jpg', '/home/pi/Desktop/images/27112025/11/21/image_27112025_11_22_04_9777.jpg', '/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_15_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_24_10022.jpg
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_35_10609.jpg
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_44_9760.jpg
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_21_54_10006.jpg
/home/pi/Desktop/images/27112025/11/21/image_27112025_11_22_04_9777.jpg
/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_15_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396402962","1396402971","1396402965","1396402964","1396402967","1396402963"],"photo_ids_order":["1396402962","1396402963","1396402964","1396402965","1396402967","1396402971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e815ced28ec69bcd56a28b14cb91e82.jpg","text":"TemporaryFile(/tmp/multipartBody8570869446900371972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_21_24_10022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6b5d9ff6aba3fdeee8044a6bad9b963.jpg","text":"TemporaryFile(/tmp/multipartBody2457000012700249597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_22_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68ee88085f544d30abd194f9b42afec6.jpg","text":"TemporaryFile(/tmp/multipartBody8708975318595018775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_21_54_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd7052b953f5db9833e64d0080d0cc80.jpg","text":"TemporaryFile(/tmp/multipartBody3543190217585435768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_21_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d50998b9ba89d7390555a72c8edcd5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3001804456732081764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_22_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/672fae0c71f361ab9d7cceacfd9cc84e.jpg","text":"TemporaryFile(/tmp/multipartBody2109895435935867552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239764032,"filename":"image_27112025_11_21_35_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402964","file1":"1396402963","file0":"1396402962","file4":"1396402967","file5":"1396402971","file3":"1396402965"},"map_files_photo_id_array":[{"photo_id":"1396402971","filename":"file5"},{"photo_id":"1396402964","filename":"file2"},{"photo_id":"1396402967","filename":"file4"},{"photo_id":"1396402963","filename":"file1"},{"photo_id":"1396402962","filename":"file0"},{"photo_id":"1396402965","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396402962":["hashtag1","hashtag2"]},{"1396402971":["hashtag1","hashtag2"]},{"1396402965":["hashtag1","hashtag2"]},{"1396402964":["hashtag1","hashtag2"]},{"1396402967":["hashtag1","hashtag2"]},{"1396402963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396402962, 1396402971, 1396402965, 1396402964, 1396402967, 1396402963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25896501541138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:35:42.489682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_16_2968.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_25_2849.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_46_2817.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_49_3536.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_54_2629.jpg', '/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_58_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_16_2968.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_25_2849.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_46_2817.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_49_3536.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_54_2629.jpg
/home/pi/Desktop/images/31102025/02/36/image_31102025_02_36_58_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403017","1396403002","1396402992","1396402985","1396402994","1396403003"],"photo_ids_order":["1396402985","1396402992","1396402994","1396403002","1396403003","1396403017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/466b932f8105032838634fb745b6f4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4663280929416768109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_58_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/27/d12aa29144aeb8944f3f7ce0ab460f02.jpg","text":"TemporaryFile(/tmp/multipartBody8416072376640805445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_49_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/27/00353031eaa053b90b2438f92eec6453.jpg","text":"TemporaryFile(/tmp/multipartBody1664544690650971035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_25_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/27/fabee3f608d36100fae893c829f35928.jpg","text":"TemporaryFile(/tmp/multipartBody527932141429816832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_16_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/27/a627e0d3a85952c54719f1c728430a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3249571732534838220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_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/27/afaf280dda4d5796911d0be1bee724da.jpg","text":"TemporaryFile(/tmp/multipartBody1730884083370167908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239804136,"filename":"image_31102025_02_36_54_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396402994","file1":"1396402992","file0":"1396402985","file4":"1396403003","file5":"1396403017","file3":"1396403002"},"map_files_photo_id_array":[{"photo_id":"1396403017","filename":"file5"},{"photo_id":"1396402994","filename":"file2"},{"photo_id":"1396403003","filename":"file4"},{"photo_id":"1396402992","filename":"file1"},{"photo_id":"1396402985","filename":"file0"},{"photo_id":"1396403002","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403017":["hashtag1","hashtag2"]},{"1396403002":["hashtag1","hashtag2"]},{"1396402992":["hashtag1","hashtag2"]},{"1396402985":["hashtag1","hashtag2"]},{"1396402994":["hashtag1","hashtag2"]},{"1396403003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403017, 1396403002, 1396402992, 1396402985, 1396402994, 1396403003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95532035827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:36:22.707304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_25_9855.jpg', '/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_44_9610.jpg', '/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_55_10739.jpg', '/home/pi/Desktop/images/27112025/11/22/image_27112025_11_23_05_9731.jpg', '/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_14_9831.jpg', '/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_24_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_25_9855.jpg
/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_44_9610.jpg
/home/pi/Desktop/images/27112025/11/22/image_27112025_11_22_55_10739.jpg
/home/pi/Desktop/images/27112025/11/22/image_27112025_11_23_05_9731.jpg
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_14_9831.jpg
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_24_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403040","1396403037","1396403031","1396403034","1396403028","1396403026"],"photo_ids_order":["1396403026","1396403028","1396403031","1396403034","1396403037","1396403040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30b7e21c315bedfe8ffd902dbd22f50c.jpg","text":"TemporaryFile(/tmp/multipartBody6059491034870664108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_23_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f218af70eba905bc12a5970d819197aa.jpg","text":"TemporaryFile(/tmp/multipartBody1594806104617813722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_23_14_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b75ef074961da2bc2024e5d88f89dba6.jpg","text":"TemporaryFile(/tmp/multipartBody1211163605873792954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_22_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1405ec8ee0a26eca6b1658b142997981.jpg","text":"TemporaryFile(/tmp/multipartBody5225364664975253378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_23_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6fbdad0bce75b7ea933c7383e60f724.jpg","text":"TemporaryFile(/tmp/multipartBody4056464404790471807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_22_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ab735b138e95fcee0b1c07ab7d34d25.jpg","text":"TemporaryFile(/tmp/multipartBody7193169274811674322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239843466,"filename":"image_27112025_11_22_25_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403031","file1":"1396403028","file0":"1396403026","file4":"1396403037","file5":"1396403040","file3":"1396403034"},"map_files_photo_id_array":[{"photo_id":"1396403040","filename":"file5"},{"photo_id":"1396403031","filename":"file2"},{"photo_id":"1396403037","filename":"file4"},{"photo_id":"1396403028","filename":"file1"},{"photo_id":"1396403026","filename":"file0"},{"photo_id":"1396403034","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403040":["hashtag1","hashtag2"]},{"1396403037":["hashtag1","hashtag2"]},{"1396403031":["hashtag1","hashtag2"]},{"1396403034":["hashtag1","hashtag2"]},{"1396403028":["hashtag1","hashtag2"]},{"1396403026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403040, 1396403037, 1396403031, 1396403034, 1396403028, 1396403026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7278790473938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:37:03.466926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_34_9904.jpg', '/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_44_10067.jpg', '/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_55_10763.jpg', '/home/pi/Desktop/images/27112025/11/23/image_27112025_11_24_04_9107.jpg', '/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_15_10730.jpg', '/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_24_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_34_9904.jpg
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_44_10067.jpg
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_23_55_10763.jpg
/home/pi/Desktop/images/27112025/11/23/image_27112025_11_24_04_9107.jpg
/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_15_10730.jpg
/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_24_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403049","1396403058","1396403051","1396403045","1396403054","1396403047"],"photo_ids_order":["1396403045","1396403047","1396403049","1396403051","1396403054","1396403058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/808bb1a249ebdb60555c3bda76e81d7a.jpg","text":"TemporaryFile(/tmp/multipartBody468283870103363715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_23_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4367f659cc7c18957b9f35a4cea0a33c.jpg","text":"TemporaryFile(/tmp/multipartBody1841243955886955782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_24_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61d039cf33fc7f8d05fe533d443de2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5882905374051003445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_24_04_9107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47357fe0d3b196e162043d15bd9778c7.jpg","text":"TemporaryFile(/tmp/multipartBody7998000881077493871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_23_34_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cc84c1156510a75eb732441436f5689.jpg","text":"TemporaryFile(/tmp/multipartBody4427735151906592427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_24_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb6179d2bceaf092c4325cba1eb3c50f.jpg","text":"TemporaryFile(/tmp/multipartBody336566868621392961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239884343,"filename":"image_27112025_11_23_44_10067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403049","file1":"1396403047","file0":"1396403045","file4":"1396403054","file5":"1396403058","file3":"1396403051"},"map_files_photo_id_array":[{"photo_id":"1396403058","filename":"file5"},{"photo_id":"1396403049","filename":"file2"},{"photo_id":"1396403054","filename":"file4"},{"photo_id":"1396403047","filename":"file1"},{"photo_id":"1396403045","filename":"file0"},{"photo_id":"1396403051","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403049":["hashtag1","hashtag2"]},{"1396403058":["hashtag1","hashtag2"]},{"1396403051":["hashtag1","hashtag2"]},{"1396403045":["hashtag1","hashtag2"]},{"1396403054":["hashtag1","hashtag2"]},{"1396403047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403049, 1396403058, 1396403051, 1396403045, 1396403054, 1396403047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55082654953003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:37:42.832054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_03_2694.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_10_2648.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_18_5079.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_20_1676.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_34_2695.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_45_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_03_2694.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_10_2648.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_18_5079.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_20_1676.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_34_2695.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_45_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403085","1396403104","1396403103","1396403106","1396403105","1396403071"],"photo_ids_order":["1396403071","1396403085","1396403103","1396403104","1396403105","1396403106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ad139fe4dd2bdb394b8436bc9772f21.jpg","text":"TemporaryFile(/tmp/multipartBody8072660198874065112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_10_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/27/f8501dd374d7f8a0b9042283348317ab.jpg","text":"TemporaryFile(/tmp/multipartBody7820115401371186082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_20_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/27/68c4a831fb3b42059dc3f817ea9bf3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5871186348033282718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_18_5079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b1c091e929ee0faf963382f43caf8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2927803501009152324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_45_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/27/8596940f959d3a45a1298819ebdd4537.jpg","text":"TemporaryFile(/tmp/multipartBody1193148718512277287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_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/27/07cff65cc9ada5f194202a1ecad01147.jpg","text":"TemporaryFile(/tmp/multipartBody3453119729018337785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239924486,"filename":"image_31102025_02_37_03_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403103","file1":"1396403085","file0":"1396403071","file4":"1396403105","file5":"1396403106","file3":"1396403104"},"map_files_photo_id_array":[{"photo_id":"1396403106","filename":"file5"},{"photo_id":"1396403103","filename":"file2"},{"photo_id":"1396403105","filename":"file4"},{"photo_id":"1396403085","filename":"file1"},{"photo_id":"1396403071","filename":"file0"},{"photo_id":"1396403104","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403085":["hashtag1","hashtag2"]},{"1396403104":["hashtag1","hashtag2"]},{"1396403103":["hashtag1","hashtag2"]},{"1396403106":["hashtag1","hashtag2"]},{"1396403105":["hashtag1","hashtag2"]},{"1396403071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403085, 1396403104, 1396403103, 1396403106, 1396403105, 1396403071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0746533870697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:38:22.026314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_34_9778.jpg', '/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_44_9844.jpg', '/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_55_10562.jpg', '/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_14_10053.jpg', '/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_25_10927.jpg', '/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_34_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_34_9778.jpg
/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_44_9844.jpg
/home/pi/Desktop/images/27112025/11/24/image_27112025_11_24_55_10562.jpg
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_14_10053.jpg
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_25_10927.jpg
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_34_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403121","1396403124","1396403118","1396403112","1396403115","1396403109"],"photo_ids_order":["1396403109","1396403112","1396403115","1396403118","1396403121","1396403124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcfbbd56f2a8960a5562395826511976.jpg","text":"TemporaryFile(/tmp/multipartBody3351864045256742182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_25_25_10927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b790b32b65d0e8b12633aa4f3ed7e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2670125317452088253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_25_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4216552f5ee115096fc61a91d96cddab.jpg","text":"TemporaryFile(/tmp/multipartBody8147389078376599984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_25_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/648441faeb986d4d07de7ca25db2fa52.jpg","text":"TemporaryFile(/tmp/multipartBody3714447737935533301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_24_44_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/508a12927d492873a8457467e7867f64.jpg","text":"TemporaryFile(/tmp/multipartBody7070077495258118361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_24_55_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d0299f8c50756cd61810c751ba4b653.jpg","text":"TemporaryFile(/tmp/multipartBody2073827967454087349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764239962777,"filename":"image_27112025_11_24_34_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403115","file1":"1396403112","file0":"1396403109","file4":"1396403121","file5":"1396403124","file3":"1396403118"},"map_files_photo_id_array":[{"photo_id":"1396403124","filename":"file5"},{"photo_id":"1396403115","filename":"file2"},{"photo_id":"1396403121","filename":"file4"},{"photo_id":"1396403112","filename":"file1"},{"photo_id":"1396403109","filename":"file0"},{"photo_id":"1396403118","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403121":["hashtag1","hashtag2"]},{"1396403124":["hashtag1","hashtag2"]},{"1396403118":["hashtag1","hashtag2"]},{"1396403112":["hashtag1","hashtag2"]},{"1396403115":["hashtag1","hashtag2"]},{"1396403109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403121, 1396403124, 1396403118, 1396403112, 1396403115, 1396403109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45213794708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:39:02.988122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_44_9694.jpg', '/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_54_9744.jpg', '/home/pi/Desktop/images/27112025/11/25/image_27112025_11_26_04_9852.jpg', '/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_14_10529.jpg', '/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_24_9873.jpg', '/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_34_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_44_9694.jpg
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_25_54_9744.jpg
/home/pi/Desktop/images/27112025/11/25/image_27112025_11_26_04_9852.jpg
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_14_10529.jpg
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_24_9873.jpg
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_34_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403128","1396403136","1396403130","1396403127","1396403132","1396403129"],"photo_ids_order":["1396403127","1396403128","1396403129","1396403130","1396403132","1396403136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34839b059a6734c75e4d1a3eb1070d17.jpg","text":"TemporaryFile(/tmp/multipartBody8399691924893162286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_25_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51490ef8d001493cc1b6da1c0c299bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2583770004645056325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_26_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/144bdd56588efb08321c58607a03472a.jpg","text":"TemporaryFile(/tmp/multipartBody7189060482266097976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_26_14_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d97b4828e17bb06e92e469d2973e67e.jpg","text":"TemporaryFile(/tmp/multipartBody7270182326677382625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_25_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16a1a86d8151e59423f7833a5b9cd71e.jpg","text":"TemporaryFile(/tmp/multipartBody733146900850470532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_26_24_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72e9718277aecb1f32b1d0cd73f115fd.jpg","text":"TemporaryFile(/tmp/multipartBody439944744031096415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240003889,"filename":"image_27112025_11_26_04_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403129","file1":"1396403128","file0":"1396403127","file4":"1396403132","file5":"1396403136","file3":"1396403130"},"map_files_photo_id_array":[{"photo_id":"1396403136","filename":"file5"},{"photo_id":"1396403129","filename":"file2"},{"photo_id":"1396403132","filename":"file4"},{"photo_id":"1396403128","filename":"file1"},{"photo_id":"1396403127","filename":"file0"},{"photo_id":"1396403130","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403128":["hashtag1","hashtag2"]},{"1396403136":["hashtag1","hashtag2"]},{"1396403130":["hashtag1","hashtag2"]},{"1396403127":["hashtag1","hashtag2"]},{"1396403132":["hashtag1","hashtag2"]},{"1396403129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403128, 1396403136, 1396403130, 1396403127, 1396403132, 1396403129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30852484703064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:39:42.118737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_49_3738.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_52_2664.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_57_2825.jpg', '/home/pi/Desktop/images/31102025/02/37/image_31102025_02_38_01_3878.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_07_3259.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_12_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_49_3738.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_52_2664.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_37_57_2825.jpg
/home/pi/Desktop/images/31102025/02/37/image_31102025_02_38_01_3878.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_07_3259.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_12_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403178","1396403180","1396403147","1396403207","1396403179","1396403158"],"photo_ids_order":["1396403147","1396403158","1396403178","1396403179","1396403180","1396403207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f56f0581edcfad92282dcccb4fb25d2.jpg","text":"TemporaryFile(/tmp/multipartBody9090241772984335462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_37_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/27/0f6056733b0f54f396772ba660dfcb65.jpg","text":"TemporaryFile(/tmp/multipartBody8108819867356463652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_38_07_3259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e996129d4c8ee06a69af42baa549f11.jpg","text":"TemporaryFile(/tmp/multipartBody216486718508588058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_37_49_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/27/c756ee024898acc33398843bb1f8e46e.jpg","text":"TemporaryFile(/tmp/multipartBody6763877204275532395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_38_12_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/27/ea1fb7041003538fc30e952abd415ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6950084650624696411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_38_01_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2e934fa3953aa5f92047eb2649a4547.jpg","text":"TemporaryFile(/tmp/multipartBody5667026109713596227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240043751,"filename":"image_31102025_02_37_52_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403178","file1":"1396403158","file0":"1396403147","file4":"1396403180","file5":"1396403207","file3":"1396403179"},"map_files_photo_id_array":[{"photo_id":"1396403207","filename":"file5"},{"photo_id":"1396403178","filename":"file2"},{"photo_id":"1396403180","filename":"file4"},{"photo_id":"1396403158","filename":"file1"},{"photo_id":"1396403147","filename":"file0"},{"photo_id":"1396403179","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403178":["hashtag1","hashtag2"]},{"1396403180":["hashtag1","hashtag2"]},{"1396403147":["hashtag1","hashtag2"]},{"1396403207":["hashtag1","hashtag2"]},{"1396403179":["hashtag1","hashtag2"]},{"1396403158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403178, 1396403180, 1396403147, 1396403207, 1396403179, 1396403158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.330122232437134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:40:22.293482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_44_10518.jpg', '/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_54_9731.jpg', '/home/pi/Desktop/images/27112025/11/26/image_27112025_11_27_05_10621.jpg', '/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_15_9823.jpg', '/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_24_9826.jpg', '/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_44_10518.jpg
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_26_54_9731.jpg
/home/pi/Desktop/images/27112025/11/26/image_27112025_11_27_05_10621.jpg
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_15_9823.jpg
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_24_9826.jpg
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_34_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403232","1396403220","1396403223","1396403228","1396403242","1396403239"],"photo_ids_order":["1396403220","1396403223","1396403228","1396403232","1396403239","1396403242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/adf606450004a1ed09079e327fb200c1.jpg","text":"TemporaryFile(/tmp/multipartBody2683378455031174481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_27_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccd6c2e1c07f1547ccf49fada0a4c8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6337265002793632731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_26_44_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a96b5ed3201a8b5e92de965b5590c73.jpg","text":"TemporaryFile(/tmp/multipartBody7392317053296797642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_26_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc8e17232c3ff0ae044eb9860dfc6f24.jpg","text":"TemporaryFile(/tmp/multipartBody8765622611527618372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_27_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a9b6e3685a85d52cd4be6c513a30e74.jpg","text":"TemporaryFile(/tmp/multipartBody8350836237816773543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_27_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/206e96d107bd956e3f2955b6fb920d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7013787889602387998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240083067,"filename":"image_27112025_11_27_24_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403228","file1":"1396403223","file0":"1396403220","file4":"1396403239","file5":"1396403242","file3":"1396403232"},"map_files_photo_id_array":[{"photo_id":"1396403242","filename":"file5"},{"photo_id":"1396403228","filename":"file2"},{"photo_id":"1396403239","filename":"file4"},{"photo_id":"1396403223","filename":"file1"},{"photo_id":"1396403220","filename":"file0"},{"photo_id":"1396403232","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403232":["hashtag1","hashtag2"]},{"1396403220":["hashtag1","hashtag2"]},{"1396403223":["hashtag1","hashtag2"]},{"1396403228":["hashtag1","hashtag2"]},{"1396403242":["hashtag1","hashtag2"]},{"1396403239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403232, 1396403220, 1396403223, 1396403228, 1396403242, 1396403239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54937386512756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:41:03.121293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_45_10727.jpg', '/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_54_9765.jpg', '/home/pi/Desktop/images/27112025/11/27/image_27112025_11_28_04_9716.jpg', '/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_14_9993.jpg', '/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_24_9856.jpg', '/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_34_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_45_10727.jpg
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_27_54_9765.jpg
/home/pi/Desktop/images/27112025/11/27/image_27112025_11_28_04_9716.jpg
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_14_9993.jpg
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_24_9856.jpg
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_34_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403253","1396403261","1396403252","1396403255","1396403254","1396403257"],"photo_ids_order":["1396403252","1396403253","1396403254","1396403255","1396403257","1396403261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/046cddbdc0c07f7a8c4a05f9cb04c201.jpg","text":"TemporaryFile(/tmp/multipartBody4394111509244625425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_27_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e4e1ba7079b3424c305de6a1dd3b455.jpg","text":"TemporaryFile(/tmp/multipartBody1210237426792284250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_28_34_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8e130994d11aec6071e7dd1c097e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody2398534711771156077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_27_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be4121d21b450a6544ad66ec79c62a20.jpg","text":"TemporaryFile(/tmp/multipartBody3720825837727015397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_28_14_9993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/daeae9a22aabeb9a4566c623c65b320e.jpg","text":"TemporaryFile(/tmp/multipartBody8546014504600392815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_28_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2e7540311f8c27685a8d36aa8fc4ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4581645174052379936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240123981,"filename":"image_27112025_11_28_24_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403254","file1":"1396403253","file0":"1396403252","file4":"1396403257","file5":"1396403261","file3":"1396403255"},"map_files_photo_id_array":[{"photo_id":"1396403261","filename":"file5"},{"photo_id":"1396403254","filename":"file2"},{"photo_id":"1396403257","filename":"file4"},{"photo_id":"1396403253","filename":"file1"},{"photo_id":"1396403252","filename":"file0"},{"photo_id":"1396403255","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403253":["hashtag1","hashtag2"]},{"1396403261":["hashtag1","hashtag2"]},{"1396403252":["hashtag1","hashtag2"]},{"1396403255":["hashtag1","hashtag2"]},{"1396403254":["hashtag1","hashtag2"]},{"1396403257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403253, 1396403261, 1396403252, 1396403255, 1396403254, 1396403257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53693413734436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:41:42.485862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_22_3585.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_25_2564.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_31_3726.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_37_3115.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_40_2861.jpg', '/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_57_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_22_3585.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_25_2564.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_31_3726.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_37_3115.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_40_2861.jpg
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_38_57_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403277","1396403274","1396403276","1396403272","1396403275","1396403278"],"photo_ids_order":["1396403272","1396403274","1396403275","1396403276","1396403277","1396403278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1056cee33053a6137ee032189f65e418.jpg","text":"TemporaryFile(/tmp/multipartBody6292336506382499872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_40_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/27/a8e9a518be11bb5f8469e17ce3b5d69b.jpg","text":"TemporaryFile(/tmp/multipartBody7647128379598526568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_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/27/05ef533ac570dd30dc9d2a4f1176db73.jpg","text":"TemporaryFile(/tmp/multipartBody3303997799138761405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_37_3115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e34d052740ca930fcfd723d858bd82b.jpg","text":"TemporaryFile(/tmp/multipartBody6071889660150116470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_22_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/27/4a9bff635058f562c3806b7a66717708.jpg","text":"TemporaryFile(/tmp/multipartBody8077025250757412666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_31_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/27/747cb460b902b9f93b94bf7894d3cc0a.jpg","text":"TemporaryFile(/tmp/multipartBody7665548976368985584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240164192,"filename":"image_31102025_02_38_57_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403275","file1":"1396403274","file0":"1396403272","file4":"1396403277","file5":"1396403278","file3":"1396403276"},"map_files_photo_id_array":[{"photo_id":"1396403278","filename":"file5"},{"photo_id":"1396403275","filename":"file2"},{"photo_id":"1396403277","filename":"file4"},{"photo_id":"1396403274","filename":"file1"},{"photo_id":"1396403272","filename":"file0"},{"photo_id":"1396403276","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403277":["hashtag1","hashtag2"]},{"1396403274":["hashtag1","hashtag2"]},{"1396403276":["hashtag1","hashtag2"]},{"1396403272":["hashtag1","hashtag2"]},{"1396403275":["hashtag1","hashtag2"]},{"1396403278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403277, 1396403274, 1396403276, 1396403272, 1396403275, 1396403278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25258231163025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:42:22.654963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_45_10649.jpg', '/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_54_9727.jpg', '/home/pi/Desktop/images/27112025/11/28/image_27112025_11_29_04_9896.jpg', '/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_14_9857.jpg', '/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_24_9816.jpg', '/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_35_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_45_10649.jpg
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_28_54_9727.jpg
/home/pi/Desktop/images/27112025/11/28/image_27112025_11_29_04_9896.jpg
/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_14_9857.jpg
/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_24_9816.jpg
/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_35_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403283","1396403292","1396403286","1396403289","1396403296","1396403281"],"photo_ids_order":["1396403281","1396403283","1396403286","1396403289","1396403292","1396403296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3dca4dda7175e5a5831041b182580ba3.jpg","text":"TemporaryFile(/tmp/multipartBody22046615440231907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_28_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd03439c87eb54815896fbd506543f39.jpg","text":"TemporaryFile(/tmp/multipartBody4148366700527201413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_29_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da53534f340e324b19592e2d8e65a86b.jpg","text":"TemporaryFile(/tmp/multipartBody10096479365933974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_29_04_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bacdc58aa87e208d6d2e589bd33815e2.jpg","text":"TemporaryFile(/tmp/multipartBody3970454301240103234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_29_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f50f3dd8e179ce7272319c0a7bacb62c.jpg","text":"TemporaryFile(/tmp/multipartBody6528655925660738734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_29_35_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b62f94454a72a74251d3333cdf6100d.jpg","text":"TemporaryFile(/tmp/multipartBody5865323223492650858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240203390,"filename":"image_27112025_11_28_45_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403286","file1":"1396403283","file0":"1396403281","file4":"1396403292","file5":"1396403296","file3":"1396403289"},"map_files_photo_id_array":[{"photo_id":"1396403296","filename":"file5"},{"photo_id":"1396403286","filename":"file2"},{"photo_id":"1396403292","filename":"file4"},{"photo_id":"1396403283","filename":"file1"},{"photo_id":"1396403281","filename":"file0"},{"photo_id":"1396403289","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403283":["hashtag1","hashtag2"]},{"1396403292":["hashtag1","hashtag2"]},{"1396403286":["hashtag1","hashtag2"]},{"1396403289":["hashtag1","hashtag2"]},{"1396403296":["hashtag1","hashtag2"]},{"1396403281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403283, 1396403292, 1396403286, 1396403289, 1396403296, 1396403281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13259220123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:43:02.488335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_44_9643.jpg', '/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_54_9706.jpg', '/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_14_10037.jpg', '/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_25_10743.jpg', '/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_34_9701.jpg', '/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_44_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_44_9643.jpg
/home/pi/Desktop/images/27112025/11/29/image_27112025_11_29_54_9706.jpg
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_14_10037.jpg
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_25_10743.jpg
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_34_9701.jpg
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_44_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403311","1396403305","1396403314","1396403308","1396403304","1396403306"],"photo_ids_order":["1396403304","1396403305","1396403306","1396403308","1396403311","1396403314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52d790ceca8a74cce00cef0c8d27d2cc.jpg","text":"TemporaryFile(/tmp/multipartBody3485009078861663018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_31_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a19cf2af4a828c9552ca8372bf9370a.jpg","text":"TemporaryFile(/tmp/multipartBody4041807791069158252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_29_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13ce6eec1a9a6e9d7f0f46d973fcce10.jpg","text":"TemporaryFile(/tmp/multipartBody5544574305599798540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_31_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2cc131d4241cef811ec35a8b2cc4779.jpg","text":"TemporaryFile(/tmp/multipartBody2522549174024733519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_31_25_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5cfbd6b062c0519f5f9aaa0377cf697.jpg","text":"TemporaryFile(/tmp/multipartBody223772416958068674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_29_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/243a8c3499fb43404e524806bbc4f8d7.jpg","text":"TemporaryFile(/tmp/multipartBody7940661373977209160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240247405,"filename":"image_27112025_11_31_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403306","file1":"1396403305","file0":"1396403304","file4":"1396403311","file5":"1396403314","file3":"1396403308"},"map_files_photo_id_array":[{"photo_id":"1396403314","filename":"file5"},{"photo_id":"1396403306","filename":"file2"},{"photo_id":"1396403311","filename":"file4"},{"photo_id":"1396403305","filename":"file1"},{"photo_id":"1396403304","filename":"file0"},{"photo_id":"1396403308","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403311":["hashtag1","hashtag2"]},{"1396403305":["hashtag1","hashtag2"]},{"1396403314":["hashtag1","hashtag2"]},{"1396403308":["hashtag1","hashtag2"]},{"1396403304":["hashtag1","hashtag2"]},{"1396403306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403311, 1396403305, 1396403314, 1396403308, 1396403304, 1396403306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.996354818344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:44:02.722600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_54_9858.jpg', '/home/pi/Desktop/images/27112025/11/31/image_27112025_11_32_05_10734.jpg', '/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_14_9823.jpg', '/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_24_9656.jpg', '/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_35_10652.jpg', '/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_45_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_31_54_9858.jpg
/home/pi/Desktop/images/27112025/11/31/image_27112025_11_32_05_10734.jpg
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_14_9823.jpg
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_24_9656.jpg
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_35_10652.jpg
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_45_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403332","1396403334","1396403337","1396403325","1396403330","1396403327"],"photo_ids_order":["1396403325","1396403327","1396403330","1396403332","1396403334","1396403337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/322eae9f7da157677e352950537483d5.jpg","text":"TemporaryFile(/tmp/multipartBody6809450705644405597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_32_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fab392c71a5523c6b8f8632d13d4b22d.jpg","text":"TemporaryFile(/tmp/multipartBody7741294897158537543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_32_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60fe970e3e50e71c8fc270c4d10a3045.jpg","text":"TemporaryFile(/tmp/multipartBody8418579867590474592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_32_45_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7f4b28a537eb33adb6e4251c501cb7f.jpg","text":"TemporaryFile(/tmp/multipartBody1359654563475956855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_31_54_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fdc84461dd0511a09d802cb07ad57530.jpg","text":"TemporaryFile(/tmp/multipartBody3727938250675612482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_32_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9865bc0bcc3be6e3939648e447bbe5d1.jpg","text":"TemporaryFile(/tmp/multipartBody2452739726412762632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240303560,"filename":"image_27112025_11_32_05_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403330","file1":"1396403327","file0":"1396403325","file4":"1396403334","file5":"1396403337","file3":"1396403332"},"map_files_photo_id_array":[{"photo_id":"1396403337","filename":"file5"},{"photo_id":"1396403330","filename":"file2"},{"photo_id":"1396403334","filename":"file4"},{"photo_id":"1396403327","filename":"file1"},{"photo_id":"1396403325","filename":"file0"},{"photo_id":"1396403332","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403332":["hashtag1","hashtag2"]},{"1396403334":["hashtag1","hashtag2"]},{"1396403337":["hashtag1","hashtag2"]},{"1396403325":["hashtag1","hashtag2"]},{"1396403330":["hashtag1","hashtag2"]},{"1396403327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403332, 1396403334, 1396403337, 1396403325, 1396403330, 1396403327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.082873821258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:44:42.055309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/38/image_31102025_02_39_01_3640.jpg', '/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_04_2685.jpg', '/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_22_3606.jpg', '/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_25_2655.jpg', '/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_31_3730.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_28_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/38/image_31102025_02_39_01_3640.jpg
/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_04_2685.jpg
/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_22_3606.jpg
/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_25_2655.jpg
/home/pi/Desktop/images/31102025/02/39/image_31102025_02_39_31_3730.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_28_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403410","1396403391","1396403412","1396403369","1396403365","1396403368"],"photo_ids_order":["1396403365","1396403368","1396403369","1396403391","1396403410","1396403412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b938aaeb0c291c746634aee63fdfb7a.jpg","text":"TemporaryFile(/tmp/multipartBody6612319578780630658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_39_31_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/27/cfedd1effdfe9b9d61d3527a074ec439.jpg","text":"TemporaryFile(/tmp/multipartBody931865460695373571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_39_25_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/27/24ac6bceb0dd39b42e6116b9ffc9937d.jpg","text":"TemporaryFile(/tmp/multipartBody5393695898495467263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_40_28_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/27/026d97b145d8d0d7da0a80c1b037b597.jpg","text":"TemporaryFile(/tmp/multipartBody6615450481679276598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_39_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/27/b7c755032ce36889c3319ff70f82fbb6.jpg","text":"TemporaryFile(/tmp/multipartBody8116824663972583968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_39_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/27/3efdc0d8e6d8cf0af2a595f11a48c131.jpg","text":"TemporaryFile(/tmp/multipartBody8934707930427633342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240343666,"filename":"image_31102025_02_39_04_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403369","file1":"1396403368","file0":"1396403365","file4":"1396403410","file5":"1396403412","file3":"1396403391"},"map_files_photo_id_array":[{"photo_id":"1396403412","filename":"file5"},{"photo_id":"1396403369","filename":"file2"},{"photo_id":"1396403410","filename":"file4"},{"photo_id":"1396403368","filename":"file1"},{"photo_id":"1396403365","filename":"file0"},{"photo_id":"1396403391","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403410":["hashtag1","hashtag2"]},{"1396403391":["hashtag1","hashtag2"]},{"1396403412":["hashtag1","hashtag2"]},{"1396403369":["hashtag1","hashtag2"]},{"1396403365":["hashtag1","hashtag2"]},{"1396403368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403410, 1396403391, 1396403412, 1396403369, 1396403365, 1396403368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65309524536133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:45:22.196994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_54_9805.jpg', '/home/pi/Desktop/images/27112025/11/32/image_27112025_11_33_04_9740.jpg', '/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_14_9853.jpg', '/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_24_9922.jpg', '/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_35_10822.jpg', '/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_32_54_9805.jpg
/home/pi/Desktop/images/27112025/11/32/image_27112025_11_33_04_9740.jpg
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_14_9853.jpg
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_24_9922.jpg
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_35_10822.jpg
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_44_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403430","1396403427","1396403421","1396403415","1396403424","1396403418"],"photo_ids_order":["1396403415","1396403418","1396403421","1396403424","1396403427","1396403430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67c718a2013fdd11b33b3d21ae5bd8c9.jpg","text":"TemporaryFile(/tmp/multipartBody4550767322020828281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_33_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07b1c9971e50dfb4f3d341c88888f218.jpg","text":"TemporaryFile(/tmp/multipartBody3005036665055015544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_33_35_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cee154c46c23ef8bba5533656ee13014.jpg","text":"TemporaryFile(/tmp/multipartBody3728954787287564923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_33_14_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63528ba9f34ad490dd97687613039788.jpg","text":"TemporaryFile(/tmp/multipartBody6537189819303348117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_32_54_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac311a03b6cea3ccec6b808ffc294da9.jpg","text":"TemporaryFile(/tmp/multipartBody4177224472346083702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_33_24_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05430ed6e4c9e7e58098116627ce7fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1042588957579286292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240382934,"filename":"image_27112025_11_33_04_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403421","file1":"1396403418","file0":"1396403415","file4":"1396403427","file5":"1396403430","file3":"1396403424"},"map_files_photo_id_array":[{"photo_id":"1396403430","filename":"file5"},{"photo_id":"1396403421","filename":"file2"},{"photo_id":"1396403427","filename":"file4"},{"photo_id":"1396403418","filename":"file1"},{"photo_id":"1396403415","filename":"file0"},{"photo_id":"1396403424","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403430":["hashtag1","hashtag2"]},{"1396403427":["hashtag1","hashtag2"]},{"1396403421":["hashtag1","hashtag2"]},{"1396403415":["hashtag1","hashtag2"]},{"1396403424":["hashtag1","hashtag2"]},{"1396403418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403430, 1396403427, 1396403421, 1396403415, 1396403424, 1396403418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.795172452926636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:46:03.068354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_54_9544.jpg', '/home/pi/Desktop/images/27112025/11/33/image_27112025_11_34_04_9931.jpg', '/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_15_10719.jpg', '/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_24_9781.jpg', '/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_34_9651.jpg', '/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_44_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_33_54_9544.jpg
/home/pi/Desktop/images/27112025/11/33/image_27112025_11_34_04_9931.jpg
/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_15_10719.jpg
/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_24_9781.jpg
/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_34_9651.jpg
/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_44_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403448","1396403433","1396403519","1396403432","1396403491","1396403434"],"photo_ids_order":["1396403432","1396403433","1396403434","1396403448","1396403491","1396403519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6016ce29c47bd52d92ad885b8cf7a941.jpg","text":"TemporaryFile(/tmp/multipartBody1318435192832824542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_34_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8fd52d19680c297877799d85baa7b31.jpg","text":"TemporaryFile(/tmp/multipartBody7452277639989162059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_34_04_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97b2246dba02f39a53d8f1fdc4d62204.jpg","text":"TemporaryFile(/tmp/multipartBody3344306040475583152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_34_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e61017b1a376d2b0e6d352d1f8788807.jpg","text":"TemporaryFile(/tmp/multipartBody900811177549605806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_33_54_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02ec984a270326f992ef91806aeff2a5.jpg","text":"TemporaryFile(/tmp/multipartBody1444390103479250472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_34_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70b010dbbb6163a7ca782e845afd0357.jpg","text":"TemporaryFile(/tmp/multipartBody528672718422448630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240423821,"filename":"image_27112025_11_34_15_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403434","file1":"1396403433","file0":"1396403432","file4":"1396403491","file5":"1396403519","file3":"1396403448"},"map_files_photo_id_array":[{"photo_id":"1396403519","filename":"file5"},{"photo_id":"1396403434","filename":"file2"},{"photo_id":"1396403491","filename":"file4"},{"photo_id":"1396403433","filename":"file1"},{"photo_id":"1396403432","filename":"file0"},{"photo_id":"1396403448","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403448":["hashtag1","hashtag2"]},{"1396403433":["hashtag1","hashtag2"]},{"1396403519":["hashtag1","hashtag2"]},{"1396403432":["hashtag1","hashtag2"]},{"1396403491":["hashtag1","hashtag2"]},{"1396403434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403448, 1396403433, 1396403519, 1396403432, 1396403491, 1396403434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.667054176330566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:46:42.547527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_31_2970.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_37_2676.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_39_2645.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_43_3686.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_46_2557.jpg', '/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_52_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_31_2970.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_37_2676.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_39_2645.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_43_3686.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_46_2557.jpg
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_52_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403583","1396403616","1396403615","1396403612","1396403578","1396403614"],"photo_ids_order":["1396403578","1396403583","1396403612","1396403614","1396403615","1396403616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aab348e8cdc07dd62ec95162aa4bf587.jpg","text":"TemporaryFile(/tmp/multipartBody8595496729439154340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_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/27/ddfbe36184a173931ee024e0826aae5f.jpg","text":"TemporaryFile(/tmp/multipartBody5064355072447513893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_52_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/27/834e14cc8189cb9179302f9ad55475c9.jpg","text":"TemporaryFile(/tmp/multipartBody2837702624795347773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_46_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/27/02fd4c1cf5d6f590d8b45a40577f71f2.jpg","text":"TemporaryFile(/tmp/multipartBody212311179370039605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_39_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/27/99787259a6dd8c30af9312b0930bc7a9.jpg","text":"TemporaryFile(/tmp/multipartBody6076349530938430883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_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/27/1ceff0f9242ab37259d458378e77088f.jpg","text":"TemporaryFile(/tmp/multipartBody2907218146882335171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240464192,"filename":"image_31102025_02_40_43_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403612","file1":"1396403583","file0":"1396403578","file4":"1396403615","file5":"1396403616","file3":"1396403614"},"map_files_photo_id_array":[{"photo_id":"1396403616","filename":"file5"},{"photo_id":"1396403612","filename":"file2"},{"photo_id":"1396403615","filename":"file4"},{"photo_id":"1396403583","filename":"file1"},{"photo_id":"1396403578","filename":"file0"},{"photo_id":"1396403614","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403583":["hashtag1","hashtag2"]},{"1396403616":["hashtag1","hashtag2"]},{"1396403615":["hashtag1","hashtag2"]},{"1396403612":["hashtag1","hashtag2"]},{"1396403578":["hashtag1","hashtag2"]},{"1396403614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403583, 1396403616, 1396403615, 1396403612, 1396403578, 1396403614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91226577758789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:47:22.750725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_55_10652.jpg', '/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_14_10058.jpg', '/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_25_10771.jpg', '/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_35_10025.jpg', '/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_44_9732.jpg', '/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/34/image_27112025_11_34_55_10652.jpg
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_14_10058.jpg
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_25_10771.jpg
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_35_10025.jpg
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_44_9732.jpg
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_35_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403623","1396403634","1396403632","1396403626","1396403629","1396403620"],"photo_ids_order":["1396403620","1396403623","1396403626","1396403629","1396403632","1396403634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b5a7b74c1f10f918f85489b6dac6315.jpg","text":"TemporaryFile(/tmp/multipartBody7942367627262366666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_35_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5debf79832efafda9abe68286a9bec73.jpg","text":"TemporaryFile(/tmp/multipartBody7248861948077366255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_35_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/355e36ef9f8905d460f5d3efa9241438.jpg","text":"TemporaryFile(/tmp/multipartBody2168176914203391817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_35_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c55e1804cac1fd9217056b35ca728e86.jpg","text":"TemporaryFile(/tmp/multipartBody1117022552595042069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_35_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38149f86239887bd7dfb56c884f68f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4623264317376279673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_35_35_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a563c342f17edf5802cc07bcd3f104f1.jpg","text":"TemporaryFile(/tmp/multipartBody7907219191989345151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240503486,"filename":"image_27112025_11_34_55_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403626","file1":"1396403623","file0":"1396403620","file4":"1396403632","file5":"1396403634","file3":"1396403629"},"map_files_photo_id_array":[{"photo_id":"1396403634","filename":"file5"},{"photo_id":"1396403626","filename":"file2"},{"photo_id":"1396403632","filename":"file4"},{"photo_id":"1396403623","filename":"file1"},{"photo_id":"1396403620","filename":"file0"},{"photo_id":"1396403629","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403623":["hashtag1","hashtag2"]},{"1396403634":["hashtag1","hashtag2"]},{"1396403632":["hashtag1","hashtag2"]},{"1396403626":["hashtag1","hashtag2"]},{"1396403629":["hashtag1","hashtag2"]},{"1396403620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403623, 1396403634, 1396403632, 1396403626, 1396403629, 1396403620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59605813026428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 11:48:11.880421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_23_2667.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_25_2585.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_29_3728.jpg', '/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_34_2654.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_07_3011.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_10_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_23_2667.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_25_2585.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_29_3728.jpg
/home/pi/Desktop/images/21112025/20/56/image_21112025_20_56_34_2654.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_07_3011.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_10_3528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403637","1396403648","1396403642","1396403645","1396403639","1396403635"],"photo_ids_order":["1396403635","1396403637","1396403639","1396403642","1396403645","1396403648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/322c5dfee0a98f05b37093cb66858035.jpg","text":"TemporaryFile(/tmp/multipartBody6355711505083936897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_56_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/27/12ffc7548cb910d5f0f0e987740c722e.jpg","text":"TemporaryFile(/tmp/multipartBody8116632054041677351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_58_10_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/27/b669939bb8d93c1dd105cae8f0c662a9.jpg","text":"TemporaryFile(/tmp/multipartBody1305297172305589472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_56_34_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/27/7a8e21ef616520a493f8758ab783856b.jpg","text":"TemporaryFile(/tmp/multipartBody2549697512810481438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_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/27/8e93881b8cd479c5553fe833229c5d93.jpg","text":"TemporaryFile(/tmp/multipartBody1129714189837454849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_56_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/27/6f5974e1f2ae75af35e22fad94ce3adf.jpg","text":"TemporaryFile(/tmp/multipartBody6237309256480104891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240553655,"filename":"image_21112025_20_56_23_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403639","file1":"1396403637","file0":"1396403635","file4":"1396403645","file5":"1396403648","file3":"1396403642"},"map_files_photo_id_array":[{"photo_id":"1396403648","filename":"file5"},{"photo_id":"1396403639","filename":"file2"},{"photo_id":"1396403645","filename":"file4"},{"photo_id":"1396403637","filename":"file1"},{"photo_id":"1396403635","filename":"file0"},{"photo_id":"1396403642","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396403637":["hashtag1","hashtag2"]},{"1396403648":["hashtag1","hashtag2"]},{"1396403642":["hashtag1","hashtag2"]},{"1396403645":["hashtag1","hashtag2"]},{"1396403639":["hashtag1","hashtag2"]},{"1396403635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396403637, 1396403648, 1396403642, 1396403645, 1396403639, 1396403635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31673979759216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:49:02.871411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/35/image_27112025_11_36_04_9906.jpg', '/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_15_10809.jpg', '/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_24_9706.jpg', '/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_34_9769.jpg', '/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_44_10106.jpg', '/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/35/image_27112025_11_36_04_9906.jpg
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_15_10809.jpg
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_24_9706.jpg
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_34_9769.jpg
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_44_10106.jpg
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_36_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403655","1396403658","1396403660","1396403663","1396403657","1396403656"],"photo_ids_order":["1396403655","1396403656","1396403657","1396403658","1396403660","1396403663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3f6cf4507f0f11b761e74bdd6e7e2a5.jpg","text":"TemporaryFile(/tmp/multipartBody9188107614180237963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_04_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6506e5fb9d4b5692a067f05fd198ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody8497968531699549597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc4b2ad83cf7e2a9e5ee49b5638655ba.jpg","text":"TemporaryFile(/tmp/multipartBody8976091482023107960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_44_10106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9bc049ec801752b28871ed806d4d823.jpg","text":"TemporaryFile(/tmp/multipartBody2222833674396216015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5d50a544d6ba1cbbde24a85c0d402a7.jpg","text":"TemporaryFile(/tmp/multipartBody8087564803829441341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e02874afe044bdcd66571aa8a3be443.jpg","text":"TemporaryFile(/tmp/multipartBody3317065406119114478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240603752,"filename":"image_27112025_11_36_15_10809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403657","file1":"1396403656","file0":"1396403655","file4":"1396403660","file5":"1396403663","file3":"1396403658"},"map_files_photo_id_array":[{"photo_id":"1396403663","filename":"file5"},{"photo_id":"1396403657","filename":"file2"},{"photo_id":"1396403660","filename":"file4"},{"photo_id":"1396403656","filename":"file1"},{"photo_id":"1396403655","filename":"file0"},{"photo_id":"1396403658","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403655":["hashtag1","hashtag2"]},{"1396403658":["hashtag1","hashtag2"]},{"1396403660":["hashtag1","hashtag2"]},{"1396403663":["hashtag1","hashtag2"]},{"1396403657":["hashtag1","hashtag2"]},{"1396403656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403655, 1396403658, 1396403660, 1396403663, 1396403657, 1396403656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.476595640182495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:49:42.238968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_57_2709.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_04_3653.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_13_3769.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_18_2795.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_21_2780.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_30_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/40/image_31102025_02_40_57_2709.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_04_3653.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_13_3769.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_18_2795.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_21_2780.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_30_2534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403685","1396403673","1396403676","1396403687","1396403675","1396403686"],"photo_ids_order":["1396403673","1396403675","1396403676","1396403685","1396403686","1396403687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2504562469a4577c5ef7bea2f515c77.jpg","text":"TemporaryFile(/tmp/multipartBody9205454811396401953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_41_18_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/27/5756c65833d54b0b89c19ad32f8b9396.jpg","text":"TemporaryFile(/tmp/multipartBody5975618146988094561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_40_57_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/27/13a34f4ed5809a899e22b5a268e38d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8896874539736608852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_41_13_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/27/e8681379736c85cadf91fc29382d6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8535588895163186520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_41_30_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/27/d354f863e105422b2fd2a04b63af388a.jpg","text":"TemporaryFile(/tmp/multipartBody6393840958979226675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_41_04_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/27/ac018178320fd8ff3d18c875f0b45c33.jpg","text":"TemporaryFile(/tmp/multipartBody3536442097215451931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240643814,"filename":"image_31102025_02_41_21_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403676","file1":"1396403675","file0":"1396403673","file4":"1396403686","file5":"1396403687","file3":"1396403685"},"map_files_photo_id_array":[{"photo_id":"1396403687","filename":"file5"},{"photo_id":"1396403676","filename":"file2"},{"photo_id":"1396403686","filename":"file4"},{"photo_id":"1396403675","filename":"file1"},{"photo_id":"1396403673","filename":"file0"},{"photo_id":"1396403685","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396403685":["hashtag1","hashtag2"]},{"1396403673":["hashtag1","hashtag2"]},{"1396403676":["hashtag1","hashtag2"]},{"1396403687":["hashtag1","hashtag2"]},{"1396403675":["hashtag1","hashtag2"]},{"1396403686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396403685, 1396403673, 1396403676, 1396403687, 1396403675, 1396403686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.458911180496216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:50:22.399965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/36/image_27112025_11_37_05_10724.jpg', '/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_14_9066.jpg', '/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_25_10839.jpg', '/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_35_10018.jpg', '/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_44_9517.jpg', '/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/36/image_27112025_11_37_05_10724.jpg
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_14_9066.jpg
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_25_10839.jpg
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_35_10018.jpg
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_44_9517.jpg
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_37_54_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403710","1396403704","1396403718","1396403702","1396403713","1396403707"],"photo_ids_order":["1396403702","1396403704","1396403707","1396403710","1396403713","1396403718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae934f19da939752117f7a97eaddddc1.jpg","text":"TemporaryFile(/tmp/multipartBody3184669397442366659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_35_10018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88080260db1c85d6b60d3f4c98328775.jpg","text":"TemporaryFile(/tmp/multipartBody3360440552348288097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_14_9066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d0a1cb5a17cbe3bc70165f48b28c357.jpg","text":"TemporaryFile(/tmp/multipartBody2666236260898627101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_54_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb363546d653c5fe9b9f349744bfd8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8124678929529470731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/860528b975fb256e40a6b8048ba35e42.jpg","text":"TemporaryFile(/tmp/multipartBody9004917070326971687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_44_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a8a5fef4535a7d51cfaae8fe1b1b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody5681347445235467888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240683171,"filename":"image_27112025_11_37_25_10839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403707","file1":"1396403704","file0":"1396403702","file4":"1396403713","file5":"1396403718","file3":"1396403710"},"map_files_photo_id_array":[{"photo_id":"1396403718","filename":"file5"},{"photo_id":"1396403707","filename":"file2"},{"photo_id":"1396403713","filename":"file4"},{"photo_id":"1396403704","filename":"file1"},{"photo_id":"1396403702","filename":"file0"},{"photo_id":"1396403710","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403710":["hashtag1","hashtag2"]},{"1396403704":["hashtag1","hashtag2"]},{"1396403718":["hashtag1","hashtag2"]},{"1396403702":["hashtag1","hashtag2"]},{"1396403713":["hashtag1","hashtag2"]},{"1396403707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403710, 1396403704, 1396403718, 1396403702, 1396403713, 1396403707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.239707946777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:51:03.271860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/37/image_27112025_11_38_05_10668.jpg', '/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_15_10048.jpg', '/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_25_9897.jpg', '/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_34_9649.jpg', '/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_44_9740.jpg', '/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_54_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/37/image_27112025_11_38_05_10668.jpg
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_15_10048.jpg
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_25_9897.jpg
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_34_9649.jpg
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_44_9740.jpg
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_38_54_9946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396403931","1396403890","1396403810","1396403770","1396403851","1396403731"],"photo_ids_order":["1396403731","1396403770","1396403810","1396403851","1396403890","1396403931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab7488dbce1c8fdb20a0e9b1da7dd07d.jpg","text":"TemporaryFile(/tmp/multipartBody5959623205917480395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_54_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46f537b8050c754a9e4da06edfce25f1.jpg","text":"TemporaryFile(/tmp/multipartBody8875522720172854163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_44_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d94788004e4c666e350c3b8b1d6e85de.jpg","text":"TemporaryFile(/tmp/multipartBody1624473191686308028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_25_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d38b9d588907622087ebbf7983c6032.jpg","text":"TemporaryFile(/tmp/multipartBody7263175419982057772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_15_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d2af9f29fa5fd148c1ffe62e0cfe9c2.jpg","text":"TemporaryFile(/tmp/multipartBody1847580773437623808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51ef895950e74081df4685dfce5d71e5.jpg","text":"TemporaryFile(/tmp/multipartBody492141700464853808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240724145,"filename":"image_27112025_11_38_05_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396403810","file1":"1396403770","file0":"1396403731","file4":"1396403890","file5":"1396403931","file3":"1396403851"},"map_files_photo_id_array":[{"photo_id":"1396403931","filename":"file5"},{"photo_id":"1396403810","filename":"file2"},{"photo_id":"1396403890","filename":"file4"},{"photo_id":"1396403770","filename":"file1"},{"photo_id":"1396403731","filename":"file0"},{"photo_id":"1396403851","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396403931":["hashtag1","hashtag2"]},{"1396403890":["hashtag1","hashtag2"]},{"1396403810":["hashtag1","hashtag2"]},{"1396403770":["hashtag1","hashtag2"]},{"1396403851":["hashtag1","hashtag2"]},{"1396403731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396403931, 1396403890, 1396403810, 1396403770, 1396403851, 1396403731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97869515419006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:51:42.778076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_33_3067.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_37_3679.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_40_2868.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_42_2589.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_46_3606.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_48_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_33_3067.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_37_3679.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_40_2868.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_42_2589.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_46_3606.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_48_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":["1396404054","1396404057","1396404050","1396404047","1396404052","1396404055"],"photo_ids_order":["1396404047","1396404050","1396404052","1396404054","1396404055","1396404057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22d513657a6f27a3069503e26582950a.jpg","text":"TemporaryFile(/tmp/multipartBody6553267599012869234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_42_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/27/1f579fa3f3201cf22d27ad4567d5b587.jpg","text":"TemporaryFile(/tmp/multipartBody2321058375801295198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_48_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/27/7aba4b0712ea4d74b8679e68f1f07454.jpg","text":"TemporaryFile(/tmp/multipartBody5329867211750671132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_37_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/27/4edc53bf44fe0d8d1be7c18fe7bb7a23.jpg","text":"TemporaryFile(/tmp/multipartBody2507790633018307377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_33_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/27/6c9c7b4d8609fa453c9c0c56289197a4.jpg","text":"TemporaryFile(/tmp/multipartBody6745884898379499231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_40_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/114e2363963681a5640e0de8fb822603.jpg","text":"TemporaryFile(/tmp/multipartBody677722412121973089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240764380,"filename":"image_31102025_02_41_46_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404052","file1":"1396404050","file0":"1396404047","file4":"1396404055","file5":"1396404057","file3":"1396404054"},"map_files_photo_id_array":[{"photo_id":"1396404057","filename":"file5"},{"photo_id":"1396404052","filename":"file2"},{"photo_id":"1396404055","filename":"file4"},{"photo_id":"1396404050","filename":"file1"},{"photo_id":"1396404047","filename":"file0"},{"photo_id":"1396404054","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396404054":["hashtag1","hashtag2"]},{"1396404057":["hashtag1","hashtag2"]},{"1396404050":["hashtag1","hashtag2"]},{"1396404047":["hashtag1","hashtag2"]},{"1396404052":["hashtag1","hashtag2"]},{"1396404055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396404054, 1396404057, 1396404050, 1396404047, 1396404052, 1396404055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027493476867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:52:21.955797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/38/image_27112025_11_39_04_9827.jpg', '/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_14_9940.jpg', '/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_25_10767.jpg', '/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_34_9657.jpg', '/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_44_9713.jpg', '/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_54_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/38/image_27112025_11_39_04_9827.jpg
/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_14_9940.jpg
/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_25_10767.jpg
/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_34_9657.jpg
/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_44_9713.jpg
/home/pi/Desktop/images/27112025/11/39/image_27112025_11_39_54_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404066","1396404074","1396404068","1396404070","1396404064","1396404063"],"photo_ids_order":["1396404063","1396404064","1396404066","1396404068","1396404070","1396404074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89cf532b66f31eb2a01ecb52a46d0989.jpg","text":"TemporaryFile(/tmp/multipartBody1219650223181505715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_25_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d25f8dac638f15f0dbb23fafcc3b72de.jpg","text":"TemporaryFile(/tmp/multipartBody4788719763851218656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_54_10415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c347da62d76d26d187fa7cdfcac1961.jpg","text":"TemporaryFile(/tmp/multipartBody3251737850916816107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c15aac65ed7594b70de1de624611f03.jpg","text":"TemporaryFile(/tmp/multipartBody1389504776888844752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ecfafe80b920380dadad4dc00fcebabe.jpg","text":"TemporaryFile(/tmp/multipartBody3215690820619032565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_14_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/830e2f52ac912906917b2b91ca68892a.jpg","text":"TemporaryFile(/tmp/multipartBody8470616071091079340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240802696,"filename":"image_27112025_11_39_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404066","file1":"1396404064","file0":"1396404063","file4":"1396404070","file5":"1396404074","file3":"1396404068"},"map_files_photo_id_array":[{"photo_id":"1396404074","filename":"file5"},{"photo_id":"1396404066","filename":"file2"},{"photo_id":"1396404070","filename":"file4"},{"photo_id":"1396404064","filename":"file1"},{"photo_id":"1396404063","filename":"file0"},{"photo_id":"1396404068","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404066":["hashtag1","hashtag2"]},{"1396404074":["hashtag1","hashtag2"]},{"1396404068":["hashtag1","hashtag2"]},{"1396404070":["hashtag1","hashtag2"]},{"1396404064":["hashtag1","hashtag2"]},{"1396404063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404066, 1396404074, 1396404068, 1396404070, 1396404064, 1396404063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.708032846450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:53:02.782138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_14_10054.jpg', '/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_25_10936.jpg', '/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_35_9641.jpg', '/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_45_9671.jpg', '/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_55_9902.jpg', '/home/pi/Desktop/images/27112025/11/40/image_27112025_11_41_05_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_14_10054.jpg
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_25_10936.jpg
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_35_9641.jpg
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_45_9671.jpg
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_40_55_9902.jpg
/home/pi/Desktop/images/27112025/11/40/image_27112025_11_41_05_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404080","1396404083","1396404085","1396404088","1396404082","1396404081"],"photo_ids_order":["1396404080","1396404081","1396404082","1396404083","1396404085","1396404088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/619ba099425ab8da20383c630638af37.jpg","text":"TemporaryFile(/tmp/multipartBody3776963790625520296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_40_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6edadb040778410fcaa91613e95ad5de.jpg","text":"TemporaryFile(/tmp/multipartBody2839487444099114650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_40_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1ebdaa79d0dcae928a7c85be237611a.jpg","text":"TemporaryFile(/tmp/multipartBody3438444414485711354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_40_55_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/27/bec5ffd8f28586bb44abbb30d168a1e0.jpg","text":"TemporaryFile(/tmp/multipartBody378692339970064194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_41_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/117a959e948703053f79318a7e9b494d.jpg","text":"TemporaryFile(/tmp/multipartBody5557966591785901323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_40_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33d566324dbeeb7c404f2c5459ee9edf.jpg","text":"TemporaryFile(/tmp/multipartBody6006364551621896607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240843672,"filename":"image_27112025_11_40_25_10936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404082","file1":"1396404081","file0":"1396404080","file4":"1396404085","file5":"1396404088","file3":"1396404083"},"map_files_photo_id_array":[{"photo_id":"1396404088","filename":"file5"},{"photo_id":"1396404082","filename":"file2"},{"photo_id":"1396404085","filename":"file4"},{"photo_id":"1396404081","filename":"file1"},{"photo_id":"1396404080","filename":"file0"},{"photo_id":"1396404083","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404080":["hashtag1","hashtag2"]},{"1396404083":["hashtag1","hashtag2"]},{"1396404085":["hashtag1","hashtag2"]},{"1396404088":["hashtag1","hashtag2"]},{"1396404082":["hashtag1","hashtag2"]},{"1396404081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404080, 1396404083, 1396404085, 1396404088, 1396404082, 1396404081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2184693813324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:53:42.180512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_51_2602.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_55_3671.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_42_00_2847.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_06_3064.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_09_2811.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_15_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_51_2602.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_55_3671.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_42_00_2847.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_06_3064.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_09_2811.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_15_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: 1.6022863388061523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:54:03.127863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_15_9722.jpg', '/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_25_9782.jpg', '/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_35_9817.jpg', '/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_45_9906.jpg', '/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_55_10700.jpg', '/home/pi/Desktop/images/27112025/11/41/image_27112025_11_42_05_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_15_9722.jpg
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_25_9782.jpg
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_35_9817.jpg
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_45_9906.jpg
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_41_55_10700.jpg
/home/pi/Desktop/images/27112025/11/41/image_27112025_11_42_05_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404108","1396404111","1396404105","1396404101","1396404104","1396404106"],"photo_ids_order":["1396404101","1396404104","1396404105","1396404106","1396404108","1396404111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e748983f092aa7b458d837c6b63c6209.jpg","text":"TemporaryFile(/tmp/multipartBody7605673500397609240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_41_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a191195267a1286b95e8eefb7e0b1ac.jpg","text":"TemporaryFile(/tmp/multipartBody2765795327514116117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_42_05_9340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11f7cf3176662ecc1750c7dab8db0036.jpg","text":"TemporaryFile(/tmp/multipartBody8569370558078314963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_41_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f9dea8961f9268946948733005dcf0f.jpg","text":"TemporaryFile(/tmp/multipartBody2100082560105946400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_41_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/666a4b73ab5288dd55a06d670101cc10.jpg","text":"TemporaryFile(/tmp/multipartBody1219763397797730818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_41_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c97adb28038ab0c85e324ac1b9087aad.jpg","text":"TemporaryFile(/tmp/multipartBody6385429576421707435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240903911,"filename":"image_27112025_11_41_45_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404105","file1":"1396404104","file0":"1396404101","file4":"1396404108","file5":"1396404111","file3":"1396404106"},"map_files_photo_id_array":[{"photo_id":"1396404111","filename":"file5"},{"photo_id":"1396404105","filename":"file2"},{"photo_id":"1396404108","filename":"file4"},{"photo_id":"1396404104","filename":"file1"},{"photo_id":"1396404101","filename":"file0"},{"photo_id":"1396404106","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404108":["hashtag1","hashtag2"]},{"1396404111":["hashtag1","hashtag2"]},{"1396404105":["hashtag1","hashtag2"]},{"1396404101":["hashtag1","hashtag2"]},{"1396404104":["hashtag1","hashtag2"]},{"1396404106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404108, 1396404111, 1396404105, 1396404101, 1396404104, 1396404106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28226065635681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:54:42.356596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_51_2602.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_55_3671.jpg', '/home/pi/Desktop/images/31102025/02/41/image_31102025_02_42_00_2847.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_06_3064.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_09_2811.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_15_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_51_2602.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_41_55_3671.jpg
/home/pi/Desktop/images/31102025/02/41/image_31102025_02_42_00_2847.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_06_3064.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_09_2811.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_15_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404126","1396404120","1396404123","1396404125","1396404122","1396404124"],"photo_ids_order":["1396404120","1396404122","1396404123","1396404124","1396404125","1396404126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e188a1abd7c35cfb1ce04533f143796.jpg","text":"TemporaryFile(/tmp/multipartBody5833760282489230305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_42_15_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/27/0c05d4bfc7395d0c06c7c0e8b20e6f46.jpg","text":"TemporaryFile(/tmp/multipartBody2860911096635099163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_41_51_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/27/30db3e1d9e8dd6ecc677dc7ccaaa32ab.jpg","text":"TemporaryFile(/tmp/multipartBody5214668744737374436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_42_00_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/27/2b28bade46f71cb07e992c45f7231b47.jpg","text":"TemporaryFile(/tmp/multipartBody8548054724200305726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_42_09_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/27/71023497a7e624060abcdf707a521ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2652498059841228497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_41_55_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/27/01e873b9ceff65f1da8c65b6d0045e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5650396964390858175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240943853,"filename":"image_31102025_02_42_06_3064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404123","file1":"1396404122","file0":"1396404120","file4":"1396404125","file5":"1396404126","file3":"1396404124"},"map_files_photo_id_array":[{"photo_id":"1396404126","filename":"file5"},{"photo_id":"1396404123","filename":"file2"},{"photo_id":"1396404125","filename":"file4"},{"photo_id":"1396404122","filename":"file1"},{"photo_id":"1396404120","filename":"file0"},{"photo_id":"1396404124","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396404126":["hashtag1","hashtag2"]},{"1396404120":["hashtag1","hashtag2"]},{"1396404123":["hashtag1","hashtag2"]},{"1396404125":["hashtag1","hashtag2"]},{"1396404122":["hashtag1","hashtag2"]},{"1396404124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396404126, 1396404120, 1396404123, 1396404125, 1396404122, 1396404124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.807029724121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:55:22.503835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_15_10176.jpg', '/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_25_9722.jpg', '/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_35_10674.jpg', '/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_45_9682.jpg', '/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_54_9629.jpg', '/home/pi/Desktop/images/27112025/11/42/image_27112025_11_43_05_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_15_10176.jpg
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_25_9722.jpg
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_35_10674.jpg
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_45_9682.jpg
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_42_54_9629.jpg
/home/pi/Desktop/images/27112025/11/42/image_27112025_11_43_05_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404144","1396404141","1396404138","1396404133","1396404136","1396404130"],"photo_ids_order":["1396404130","1396404133","1396404136","1396404138","1396404141","1396404144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bc98c08e46fd801b0ab18b8d8cca6ca.jpg","text":"TemporaryFile(/tmp/multipartBody9196211783278953964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_43_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/348a1922d0e30d548e39822beabb453a.jpg","text":"TemporaryFile(/tmp/multipartBody4064655977831579712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_42_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86ac2dc54b95e0cf50b65448a37b5691.jpg","text":"TemporaryFile(/tmp/multipartBody7406742938064028323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_42_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5f7d0e98c4a4d39c08203335443961d.jpg","text":"TemporaryFile(/tmp/multipartBody3853057572764243685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_42_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c18d0a93a1a6e173e90d55a5ceab947.jpg","text":"TemporaryFile(/tmp/multipartBody8900187951913329260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_42_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4b2a39774b414f218d7c62893dd25e9.jpg","text":"TemporaryFile(/tmp/multipartBody3738773436552035447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764240983290,"filename":"image_27112025_11_42_15_10176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404136","file1":"1396404133","file0":"1396404130","file4":"1396404141","file5":"1396404144","file3":"1396404138"},"map_files_photo_id_array":[{"photo_id":"1396404144","filename":"file5"},{"photo_id":"1396404136","filename":"file2"},{"photo_id":"1396404141","filename":"file4"},{"photo_id":"1396404133","filename":"file1"},{"photo_id":"1396404130","filename":"file0"},{"photo_id":"1396404138","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404144":["hashtag1","hashtag2"]},{"1396404141":["hashtag1","hashtag2"]},{"1396404138":["hashtag1","hashtag2"]},{"1396404133":["hashtag1","hashtag2"]},{"1396404136":["hashtag1","hashtag2"]},{"1396404130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404144, 1396404141, 1396404138, 1396404133, 1396404136, 1396404130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.863974809646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:56:03.267598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_15_9762.jpg', '/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_25_10071.jpg', '/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_35_9710.jpg', '/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_45_10647.jpg', '/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_55_9879.jpg', '/home/pi/Desktop/images/27112025/11/43/image_27112025_11_44_05_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_15_9762.jpg
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_25_10071.jpg
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_35_9710.jpg
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_45_10647.jpg
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_43_55_9879.jpg
/home/pi/Desktop/images/27112025/11/43/image_27112025_11_44_05_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404147","1396404149","1396404146","1396404151","1396404154","1396404148"],"photo_ids_order":["1396404146","1396404147","1396404148","1396404149","1396404151","1396404154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/187c5a752b92c328b77eb2db143bd893.jpg","text":"TemporaryFile(/tmp/multipartBody2587956417707916584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_43_25_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b36a38a9f2df57021dc6cb59b100c427.jpg","text":"TemporaryFile(/tmp/multipartBody3563640869065281926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_43_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4abe9bba8a70fc5f4291a89cc88b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2075849958886994634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_43_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b10aace3176732db49769b1abff84c3d.jpg","text":"TemporaryFile(/tmp/multipartBody561444802596461219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_43_55_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69a09ccb2e308cf21281d1361052b019.jpg","text":"TemporaryFile(/tmp/multipartBody7243362124250621062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_44_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9128db71d72ab7807c49526dd5ea3912.jpg","text":"TemporaryFile(/tmp/multipartBody5884729358724747107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241024053,"filename":"image_27112025_11_43_35_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404148","file1":"1396404147","file0":"1396404146","file4":"1396404151","file5":"1396404154","file3":"1396404149"},"map_files_photo_id_array":[{"photo_id":"1396404154","filename":"file5"},{"photo_id":"1396404148","filename":"file2"},{"photo_id":"1396404151","filename":"file4"},{"photo_id":"1396404147","filename":"file1"},{"photo_id":"1396404146","filename":"file0"},{"photo_id":"1396404149","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404147":["hashtag1","hashtag2"]},{"1396404149":["hashtag1","hashtag2"]},{"1396404146":["hashtag1","hashtag2"]},{"1396404151":["hashtag1","hashtag2"]},{"1396404154":["hashtag1","hashtag2"]},{"1396404148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404147, 1396404149, 1396404146, 1396404151, 1396404154, 1396404148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31831884384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 11:56:42.730671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_30_2719.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_36_2706.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_45_2546.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_48_2859.jpg', '/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_55_3625.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_09_5209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_30_2719.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_36_2706.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_45_2546.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_48_2859.jpg
/home/pi/Desktop/images/31102025/02/42/image_31102025_02_42_55_3625.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_09_5209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404168","1396404167","1396404170","1396404166","1396404169","1396404163"],"photo_ids_order":["1396404163","1396404166","1396404167","1396404168","1396404169","1396404170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b20bffc127f95e92c854b246a1bc20a.jpg","text":"TemporaryFile(/tmp/multipartBody672818724776725727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_42_48_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/27/338025ee7f04fe16aca24086052e9719.jpg","text":"TemporaryFile(/tmp/multipartBody4356594941752896343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_42_45_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/27/5bd7cf65676d842f7af4ff922e030116.jpg","text":"TemporaryFile(/tmp/multipartBody1710920371882730082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_43_09_5209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcedd1ea10f5a679e2ec31202e62c0ed.jpg","text":"TemporaryFile(/tmp/multipartBody6997034233278134361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_42_36_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/27/f7c024396e3ea694ead8089a96433386.jpg","text":"TemporaryFile(/tmp/multipartBody273748581454261833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_42_55_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/27/9fbf9be1b53256db01945e2eec9f34dd.jpg","text":"TemporaryFile(/tmp/multipartBody5259372162296480957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241064395,"filename":"image_31102025_02_42_30_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404167","file1":"1396404166","file0":"1396404163","file4":"1396404169","file5":"1396404170","file3":"1396404168"},"map_files_photo_id_array":[{"photo_id":"1396404170","filename":"file5"},{"photo_id":"1396404167","filename":"file2"},{"photo_id":"1396404169","filename":"file4"},{"photo_id":"1396404166","filename":"file1"},{"photo_id":"1396404163","filename":"file0"},{"photo_id":"1396404168","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396404168":["hashtag1","hashtag2"]},{"1396404167":["hashtag1","hashtag2"]},{"1396404170":["hashtag1","hashtag2"]},{"1396404166":["hashtag1","hashtag2"]},{"1396404169":["hashtag1","hashtag2"]},{"1396404163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396404168, 1396404167, 1396404170, 1396404166, 1396404169, 1396404163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.534751415252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 11:57:21.931865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_15_9737.jpg', '/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_24_9743.jpg', '/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_34_10040.jpg', '/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_45_10744.jpg', '/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_54_9177.jpg', '/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_15_9737.jpg
/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_24_9743.jpg
/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_34_10040.jpg
/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_45_10744.jpg
/home/pi/Desktop/images/27112025/11/44/image_27112025_11_44_54_9177.jpg
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404186","1396404174","1396404179","1396404190","1396404193","1396404183"],"photo_ids_order":["1396404174","1396404179","1396404183","1396404186","1396404190","1396404193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79273d0a8e1754fcd83d501ae8637944.jpg","text":"TemporaryFile(/tmp/multipartBody4393873439246853865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_44_45_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef86da552ad70506ba1be1c465e42496.jpg","text":"TemporaryFile(/tmp/multipartBody4979062247630904009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_44_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e184d0dd8cfb32b0af17318063eb43be.jpg","text":"TemporaryFile(/tmp/multipartBody8930748686408253094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_44_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2a7f025479d1e8566bf3831522759a5.jpg","text":"TemporaryFile(/tmp/multipartBody474814659217011395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_44_54_9177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5d4d86df0c0c24dd062a6f7d621631f.jpg","text":"TemporaryFile(/tmp/multipartBody7643619314144520243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_45_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/499a87bfdafd7275353fd1cf761096cb.jpg","text":"TemporaryFile(/tmp/multipartBody8012236899260316241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241102723,"filename":"image_27112025_11_44_34_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404183","file1":"1396404179","file0":"1396404174","file4":"1396404190","file5":"1396404193","file3":"1396404186"},"map_files_photo_id_array":[{"photo_id":"1396404193","filename":"file5"},{"photo_id":"1396404183","filename":"file2"},{"photo_id":"1396404190","filename":"file4"},{"photo_id":"1396404179","filename":"file1"},{"photo_id":"1396404174","filename":"file0"},{"photo_id":"1396404186","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404186":["hashtag1","hashtag2"]},{"1396404174":["hashtag1","hashtag2"]},{"1396404179":["hashtag1","hashtag2"]},{"1396404190":["hashtag1","hashtag2"]},{"1396404193":["hashtag1","hashtag2"]},{"1396404183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404186, 1396404174, 1396404179, 1396404190, 1396404193, 1396404183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44729280471802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 11:59:03.078910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_25_10629.jpg', '/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_34_9992.jpg', '/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_44_9453.jpg', '/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_55_10745.jpg', '/home/pi/Desktop/images/27112025/11/45/image_27112025_11_46_05_9827.jpg', '/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_15_10122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_25_10629.jpg
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_34_9992.jpg
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_44_9453.jpg
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_45_55_10745.jpg
/home/pi/Desktop/images/27112025/11/45/image_27112025_11_46_05_9827.jpg
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_15_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404321","1396404281","1396404212","1396404247","1396404202","1396404205"],"photo_ids_order":["1396404202","1396404205","1396404212","1396404247","1396404281","1396404321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a38149dbbe3eb0b7716717e15d2aabc6.jpg","text":"TemporaryFile(/tmp/multipartBody7007947221359183263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_46_15_10122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/813d8df441ff594de0f796f6f2b51a59.jpg","text":"TemporaryFile(/tmp/multipartBody2884426530866205900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_46_05_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e8809edf04be48c9dfaebd78650a307.jpg","text":"TemporaryFile(/tmp/multipartBody1783524151204725380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_45_44_9453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c4005bd6faac7e6421467627a9d9b21.jpg","text":"TemporaryFile(/tmp/multipartBody4763430898553396926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_45_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0d1e8ffe3445c91460da48082d1c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody8687726423418551932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_45_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d71d44296ee57de566346b4f7ce969a9.jpg","text":"TemporaryFile(/tmp/multipartBody6931482324441941043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241204112,"filename":"image_27112025_11_45_34_9992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404212","file1":"1396404205","file0":"1396404202","file4":"1396404281","file5":"1396404321","file3":"1396404247"},"map_files_photo_id_array":[{"photo_id":"1396404321","filename":"file5"},{"photo_id":"1396404212","filename":"file2"},{"photo_id":"1396404281","filename":"file4"},{"photo_id":"1396404205","filename":"file1"},{"photo_id":"1396404202","filename":"file0"},{"photo_id":"1396404247","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404321":["hashtag1","hashtag2"]},{"1396404281":["hashtag1","hashtag2"]},{"1396404212":["hashtag1","hashtag2"]},{"1396404247":["hashtag1","hashtag2"]},{"1396404202":["hashtag1","hashtag2"]},{"1396404205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404321, 1396404281, 1396404212, 1396404247, 1396404202, 1396404205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11546611785889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:00:02.888201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_24_9580.jpg', '/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_34_9708.jpg', '/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_44_10561.jpg', '/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_54_9874.jpg', '/home/pi/Desktop/images/27112025/11/46/image_27112025_11_47_04_9904.jpg', '/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_24_9580.jpg
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_34_9708.jpg
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_44_10561.jpg
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_46_54_9874.jpg
/home/pi/Desktop/images/27112025/11/46/image_27112025_11_47_04_9904.jpg
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_14_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396404711","1396404659","1396404838","1396404751","1396404931","1396404613"],"photo_ids_order":["1396404613","1396404659","1396404711","1396404751","1396404838","1396404931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5322d756d441891bcae6cec6c209408e.jpg","text":"TemporaryFile(/tmp/multipartBody4323243104427622302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_46_44_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40a798335d229279c90e8aa99b916e71.jpg","text":"TemporaryFile(/tmp/multipartBody3803445205202738032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_46_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18e1d0300206404d74fcfafc8c5690d9.jpg","text":"TemporaryFile(/tmp/multipartBody2578393354496739232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_47_04_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f559501cba0c08cdd08e5e34e32141b8.jpg","text":"TemporaryFile(/tmp/multipartBody8375462138863260927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_46_54_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2975ec04bcf89e162352d08dbfffce85.jpg","text":"TemporaryFile(/tmp/multipartBody7830686071333125635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_47_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a291831e160da86edd8555da118ebf83.jpg","text":"TemporaryFile(/tmp/multipartBody2101425661439677658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241263694,"filename":"image_27112025_11_46_24_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396404711","file1":"1396404659","file0":"1396404613","file4":"1396404838","file5":"1396404931","file3":"1396404751"},"map_files_photo_id_array":[{"photo_id":"1396404931","filename":"file5"},{"photo_id":"1396404711","filename":"file2"},{"photo_id":"1396404838","filename":"file4"},{"photo_id":"1396404659","filename":"file1"},{"photo_id":"1396404613","filename":"file0"},{"photo_id":"1396404751","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396404711":["hashtag1","hashtag2"]},{"1396404659":["hashtag1","hashtag2"]},{"1396404838":["hashtag1","hashtag2"]},{"1396404751":["hashtag1","hashtag2"]},{"1396404931":["hashtag1","hashtag2"]},{"1396404613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396404711, 1396404659, 1396404838, 1396404751, 1396404931, 1396404613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41335606575012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:01:03.111830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_25_10716.jpg', '/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_34_9717.jpg', '/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_44_9791.jpg', '/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_54_9632.jpg', '/home/pi/Desktop/images/27112025/11/47/image_27112025_11_48_05_10788.jpg', '/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_15_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_25_10716.jpg
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_34_9717.jpg
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_44_9791.jpg
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_47_54_9632.jpg
/home/pi/Desktop/images/27112025/11/47/image_27112025_11_48_05_10788.jpg
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_15_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396405920","1396405768","1396405840","1396405695","1396406078","1396405994"],"photo_ids_order":["1396405695","1396405768","1396405840","1396405920","1396405994","1396406078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1228b86facdc19bef619f1fae1954bda.jpg","text":"TemporaryFile(/tmp/multipartBody4684641176991081163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_47_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c46666a5c83c2cb83b952d81c8b266f4.jpg","text":"TemporaryFile(/tmp/multipartBody3457924790640256633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_47_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b97388f896a57680ec0e6ca4f898a1e.jpg","text":"TemporaryFile(/tmp/multipartBody2970314258441358776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_47_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3caf45d7f05720d7cff74b5a6995a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2379252789924365689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_47_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28e599d458c5e6764bf9f0fa29ff1fca.jpg","text":"TemporaryFile(/tmp/multipartBody6707871392100529286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_48_15_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca3b9a52e5714605158e36374eaf7664.jpg","text":"TemporaryFile(/tmp/multipartBody20505544704602920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241323951,"filename":"image_27112025_11_48_05_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396405840","file1":"1396405768","file0":"1396405695","file4":"1396405994","file5":"1396406078","file3":"1396405920"},"map_files_photo_id_array":[{"photo_id":"1396406078","filename":"file5"},{"photo_id":"1396405840","filename":"file2"},{"photo_id":"1396405994","filename":"file4"},{"photo_id":"1396405768","filename":"file1"},{"photo_id":"1396405695","filename":"file0"},{"photo_id":"1396405920","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396405920":["hashtag1","hashtag2"]},{"1396405768":["hashtag1","hashtag2"]},{"1396405840":["hashtag1","hashtag2"]},{"1396405695":["hashtag1","hashtag2"]},{"1396406078":["hashtag1","hashtag2"]},{"1396405994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396405920, 1396405768, 1396405840, 1396405695, 1396406078, 1396405994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68501400947571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:01:42.562058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_12_2851.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_13_1683.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_15_1871.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_18_2784.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_31_3668.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_39_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_12_2851.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_13_1683.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_15_1871.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_18_2784.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_31_3668.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_39_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":["1396406438","1396406695","1396406659","1396406611","1396406542","1396406361"],"photo_ids_order":["1396406361","1396406438","1396406542","1396406611","1396406659","1396406695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31ca0a786d8e8812d406912418a84493.jpg","text":"TemporaryFile(/tmp/multipartBody4824585773633022258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_13_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18274e3ba5087c864639ceaf27cf728c.jpg","text":"TemporaryFile(/tmp/multipartBody3163756387717028550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_39_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/27/71b6dcd98a0df1655f31aeee8debc474.jpg","text":"TemporaryFile(/tmp/multipartBody3853600341885043006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_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/27/fff6004f52b8d2753767f3940fdf2e54.jpg","text":"TemporaryFile(/tmp/multipartBody7880156656669287685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_18_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/27/98a71b652e214aa2726067b9ae826958.jpg","text":"TemporaryFile(/tmp/multipartBody942660194649026893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_15_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d705e6377fa60f1fb2abf6eff894f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7004917575008785108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241364171,"filename":"image_31102025_02_43_12_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396406542","file1":"1396406438","file0":"1396406361","file4":"1396406659","file5":"1396406695","file3":"1396406611"},"map_files_photo_id_array":[{"photo_id":"1396406695","filename":"file5"},{"photo_id":"1396406542","filename":"file2"},{"photo_id":"1396406659","filename":"file4"},{"photo_id":"1396406438","filename":"file1"},{"photo_id":"1396406361","filename":"file0"},{"photo_id":"1396406611","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396406438":["hashtag1","hashtag2"]},{"1396406695":["hashtag1","hashtag2"]},{"1396406659":["hashtag1","hashtag2"]},{"1396406611":["hashtag1","hashtag2"]},{"1396406542":["hashtag1","hashtag2"]},{"1396406361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396406438, 1396406695, 1396406659, 1396406611, 1396406542, 1396406361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.407156467437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:02:22.876862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_24_9710.jpg', '/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_34_9883.jpg', '/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_44_9832.jpg', '/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_55_10638.jpg', '/home/pi/Desktop/images/27112025/11/48/image_27112025_11_49_04_9692.jpg', '/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_14_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_24_9710.jpg
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_34_9883.jpg
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_44_9832.jpg
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_48_55_10638.jpg
/home/pi/Desktop/images/27112025/11/48/image_27112025_11_49_04_9692.jpg
/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_14_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396406939","1396406983","1396407004","1396406878","1396407007","1396407001"],"photo_ids_order":["1396406878","1396406939","1396406983","1396407001","1396407004","1396407007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9427e44a4ce2eb332480aea4014da049.jpg","text":"TemporaryFile(/tmp/multipartBody4185771765628634079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_48_34_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2586966d15cba31efda2296f185988cf.jpg","text":"TemporaryFile(/tmp/multipartBody517714500892235357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_48_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f32456b1e6cbaa4b4b4c453afdaae75.jpg","text":"TemporaryFile(/tmp/multipartBody1923581622187759082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_49_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65bf117ad435ced1b6ac9700d9a58cfd.jpg","text":"TemporaryFile(/tmp/multipartBody443493859932639105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_48_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba73dacfc0b88da9cf4cd643d89cc66c.jpg","text":"TemporaryFile(/tmp/multipartBody9082705691419346706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_49_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/642948bf71fb51cde1c90a355192b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2863533801173496261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241403648,"filename":"image_27112025_11_48_55_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396406983","file1":"1396406939","file0":"1396406878","file4":"1396407004","file5":"1396407007","file3":"1396407001"},"map_files_photo_id_array":[{"photo_id":"1396407007","filename":"file5"},{"photo_id":"1396406983","filename":"file2"},{"photo_id":"1396407004","filename":"file4"},{"photo_id":"1396406939","filename":"file1"},{"photo_id":"1396406878","filename":"file0"},{"photo_id":"1396407001","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396406939":["hashtag1","hashtag2"]},{"1396406983":["hashtag1","hashtag2"]},{"1396407004":["hashtag1","hashtag2"]},{"1396406878":["hashtag1","hashtag2"]},{"1396407007":["hashtag1","hashtag2"]},{"1396407001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396406939, 1396406983, 1396407004, 1396406878, 1396407007, 1396407001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.246740102767944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:03:02.811380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_25_10704.jpg', '/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_34_9655.jpg', '/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_44_9732.jpg', '/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_55_10600.jpg', '/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_14_10037.jpg', '/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_24_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_25_10704.jpg
/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_34_9655.jpg
/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_44_9732.jpg
/home/pi/Desktop/images/27112025/11/49/image_27112025_11_49_55_10600.jpg
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_14_10037.jpg
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_24_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407481","1396407430","1396407354","1396407507","1396407476","1396407281"],"photo_ids_order":["1396407281","1396407354","1396407430","1396407476","1396407481","1396407507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/851861cbdc0dd9ed7f1dba45a8931f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4054151912730096238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_51_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/439751856bc8509be8299a5c97c5ac38.jpg","text":"TemporaryFile(/tmp/multipartBody340285675014966095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_49_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d2fe1a610953e871867cc71fc00667b.jpg","text":"TemporaryFile(/tmp/multipartBody2589086460259910201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_49_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d79254240dc16c86f911a14221ad6a7a.jpg","text":"TemporaryFile(/tmp/multipartBody2796872536673973068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_51_24_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51e38f261cd4144b855cd925572f04f8.jpg","text":"TemporaryFile(/tmp/multipartBody8386537996367657150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_49_55_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afe3661e07d7f592bda00066599e26fd.jpg","text":"TemporaryFile(/tmp/multipartBody7120133296364810585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241443614,"filename":"image_27112025_11_49_25_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407430","file1":"1396407354","file0":"1396407281","file4":"1396407481","file5":"1396407507","file3":"1396407476"},"map_files_photo_id_array":[{"photo_id":"1396407507","filename":"file5"},{"photo_id":"1396407430","filename":"file2"},{"photo_id":"1396407481","filename":"file4"},{"photo_id":"1396407354","filename":"file1"},{"photo_id":"1396407281","filename":"file0"},{"photo_id":"1396407476","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396407481":["hashtag1","hashtag2"]},{"1396407430":["hashtag1","hashtag2"]},{"1396407354":["hashtag1","hashtag2"]},{"1396407507":["hashtag1","hashtag2"]},{"1396407476":["hashtag1","hashtag2"]},{"1396407281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396407481, 1396407430, 1396407354, 1396407507, 1396407476, 1396407281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19634246826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:03:41.899223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_42_3030.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_46_3688.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_48_2887.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_51_2768.jpg', '/home/pi/Desktop/images/31102025/02/43/image_31102025_02_44_00_2744.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_03_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_42_3030.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_46_3688.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_48_2887.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_43_51_2768.jpg
/home/pi/Desktop/images/31102025/02/43/image_31102025_02_44_00_2744.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_03_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407623","1396407694","1396407658","1396407693","1396407692","1396407581"],"photo_ids_order":["1396407581","1396407623","1396407658","1396407692","1396407693","1396407694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7b68a81902b42943e2d0e71a525cb06.jpg","text":"TemporaryFile(/tmp/multipartBody3262811686834018237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_43_46_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/27/8768c0d599b972fafb06f6cb0ad556b7.jpg","text":"TemporaryFile(/tmp/multipartBody4411564170639465315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_44_03_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/27/4c6cc5a95bde1b62a435f1033fab7565.jpg","text":"TemporaryFile(/tmp/multipartBody3732937796284266941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_43_48_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/27/fd85ef2669fe1abc3754d730d5dbe840.jpg","text":"TemporaryFile(/tmp/multipartBody7263635128568222201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_44_00_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/27/a23db2b2cc6636a900f755d504db4c95.jpg","text":"TemporaryFile(/tmp/multipartBody6671809346933282233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_43_51_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/27/e16e84a80fb529ff63bb25deb3ee2a16.jpg","text":"TemporaryFile(/tmp/multipartBody4826291477439363819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241483546,"filename":"image_31102025_02_43_42_3030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407658","file1":"1396407623","file0":"1396407581","file4":"1396407693","file5":"1396407694","file3":"1396407692"},"map_files_photo_id_array":[{"photo_id":"1396407694","filename":"file5"},{"photo_id":"1396407658","filename":"file2"},{"photo_id":"1396407693","filename":"file4"},{"photo_id":"1396407623","filename":"file1"},{"photo_id":"1396407581","filename":"file0"},{"photo_id":"1396407692","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396407623":["hashtag1","hashtag2"]},{"1396407694":["hashtag1","hashtag2"]},{"1396407658":["hashtag1","hashtag2"]},{"1396407693":["hashtag1","hashtag2"]},{"1396407692":["hashtag1","hashtag2"]},{"1396407581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396407623, 1396407694, 1396407658, 1396407693, 1396407692, 1396407581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6809184551239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:04:24.240995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_34_9650.jpg', '/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_44_9709.jpg', '/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_54_10694.jpg', '/home/pi/Desktop/images/27112025/11/51/image_27112025_11_52_04_9617.jpg', '/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_14_9695.jpg', '/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_24_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_34_9650.jpg
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_44_9709.jpg
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_51_54_10694.jpg
/home/pi/Desktop/images/27112025/11/51/image_27112025_11_52_04_9617.jpg
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_14_9695.jpg
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_24_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407814","1396407817","1396407819","1396407810","1396407785","1396407812"],"photo_ids_order":["1396407785","1396407810","1396407812","1396407814","1396407817","1396407819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d3c925d58db20279c89ccb86c1781f1.jpg","text":"TemporaryFile(/tmp/multipartBody6933957033932718730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_52_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7c8dfd9fc5c254329b1f62c6fa976fc.jpg","text":"TemporaryFile(/tmp/multipartBody3028380881022398720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_52_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffc352a562fb5ec2f971d2f2d37c860f.jpg","text":"TemporaryFile(/tmp/multipartBody7710341511176065553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_52_24_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab22b04707bff546440f0a41a9a0ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody7735390354215854564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_51_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ecc1c0390d73c3c8e7b95b4722a6743.jpg","text":"TemporaryFile(/tmp/multipartBody3253541168072775363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_51_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86bd83cd7e10d7063307b3ab690fc881.jpg","text":"TemporaryFile(/tmp/multipartBody7718651791933002747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241524965,"filename":"image_27112025_11_51_54_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407812","file1":"1396407810","file0":"1396407785","file4":"1396407817","file5":"1396407819","file3":"1396407814"},"map_files_photo_id_array":[{"photo_id":"1396407819","filename":"file5"},{"photo_id":"1396407812","filename":"file2"},{"photo_id":"1396407817","filename":"file4"},{"photo_id":"1396407810","filename":"file1"},{"photo_id":"1396407785","filename":"file0"},{"photo_id":"1396407814","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396407814":["hashtag1","hashtag2"]},{"1396407817":["hashtag1","hashtag2"]},{"1396407819":["hashtag1","hashtag2"]},{"1396407810":["hashtag1","hashtag2"]},{"1396407785":["hashtag1","hashtag2"]},{"1396407812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396407814, 1396407817, 1396407819, 1396407810, 1396407785, 1396407812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45858645439148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:05:03.158847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_34_9825.jpg', '/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_44_9732.jpg', '/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_54_9717.jpg', '/home/pi/Desktop/images/27112025/11/52/image_27112025_11_53_05_10813.jpg', '/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_14_9592.jpg', '/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_24_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_34_9825.jpg
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_44_9732.jpg
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_52_54_9717.jpg
/home/pi/Desktop/images/27112025/11/52/image_27112025_11_53_05_10813.jpg
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_14_9592.jpg
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_24_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407823","1396407831","1396407825","1396407834","1396407828","1396407822"],"photo_ids_order":["1396407822","1396407823","1396407825","1396407828","1396407831","1396407834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/113c255e3360be61cac4873657399f96.jpg","text":"TemporaryFile(/tmp/multipartBody1236247923067549546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_52_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b45fc68280619b4c0c5ee7a9948da01c.jpg","text":"TemporaryFile(/tmp/multipartBody8743524939305326533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_53_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bae761168d81764fd222128100f7a19.jpg","text":"TemporaryFile(/tmp/multipartBody1057416536617864212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_52_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a6471b6dbb8197b6f38cb7a512022fb.jpg","text":"TemporaryFile(/tmp/multipartBody2317769933672621780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_53_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24ce9f1a04fb9bcb2539d7bf22566009.jpg","text":"TemporaryFile(/tmp/multipartBody1677855812168234450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_53_05_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fbd8924e94b450ad8de72f58d04c58d5.jpg","text":"TemporaryFile(/tmp/multipartBody4567511298365373906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241566086,"filename":"image_27112025_11_52_34_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407825","file1":"1396407823","file0":"1396407822","file4":"1396407831","file5":"1396407834","file3":"1396407828"},"map_files_photo_id_array":[{"photo_id":"1396407834","filename":"file5"},{"photo_id":"1396407825","filename":"file2"},{"photo_id":"1396407831","filename":"file4"},{"photo_id":"1396407823","filename":"file1"},{"photo_id":"1396407822","filename":"file0"},{"photo_id":"1396407828","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396407823":["hashtag1","hashtag2"]},{"1396407831":["hashtag1","hashtag2"]},{"1396407825":["hashtag1","hashtag2"]},{"1396407834":["hashtag1","hashtag2"]},{"1396407828":["hashtag1","hashtag2"]},{"1396407822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396407823, 1396407831, 1396407825, 1396407834, 1396407828, 1396407822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81383752822876 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-27 12:06:02.312600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_35_10762.jpg', '/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_44_9632.jpg', '/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_54_9743.jpg', '/home/pi/Desktop/images/27112025/11/53/image_27112025_11_54_04_9685.jpg', '/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_14_10707.jpg', '/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_24_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_35_10762.jpg
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_44_9632.jpg
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_53_54_9743.jpg
/home/pi/Desktop/images/27112025/11/53/image_27112025_11_54_04_9685.jpg
/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_14_10707.jpg
/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_24_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407908","1396407946","1396407874","1396407841","1396407925","1396407907"],"photo_ids_order":["1396407841","1396407874","1396407907","1396407908","1396407925","1396407946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f26b086d3b5df80bfe564974c2a0db43.jpg","text":"TemporaryFile(/tmp/multipartBody6049530635359163610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_54_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e78bfe5fc6000320fa390768e2d9e79.jpg","text":"TemporaryFile(/tmp/multipartBody1898226508075667442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_54_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1830ee4925030e00abbb718138cb81c1.jpg","text":"TemporaryFile(/tmp/multipartBody6852800687906681397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_53_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/386275337b9a6feed0ce685d5b75d477.jpg","text":"TemporaryFile(/tmp/multipartBody5012939152051933621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_53_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73dca2bface5a883c911d339f0678d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1544031923431346241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_54_14_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c65461062a530840ffdc06ac88b42cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4952209302915803369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241623090,"filename":"image_27112025_11_53_54_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407907","file1":"1396407874","file0":"1396407841","file4":"1396407925","file5":"1396407946","file3":"1396407908"},"map_files_photo_id_array":[{"photo_id":"1396407946","filename":"file5"},{"photo_id":"1396407907","filename":"file2"},{"photo_id":"1396407925","filename":"file4"},{"photo_id":"1396407874","filename":"file1"},{"photo_id":"1396407841","filename":"file0"},{"photo_id":"1396407908","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396407908":["hashtag1","hashtag2"]},{"1396407946":["hashtag1","hashtag2"]},{"1396407874":["hashtag1","hashtag2"]},{"1396407841":["hashtag1","hashtag2"]},{"1396407925":["hashtag1","hashtag2"]},{"1396407907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396407908, 1396407946, 1396407874, 1396407841, 1396407925, 1396407907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97607159614563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:06:41.919013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_21_2693.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_27_3621.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_36_3672.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_39_2673.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_51_2688.jpg', '/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_55_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_21_2693.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_27_3621.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_36_3672.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_39_2673.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_51_2688.jpg
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_55_3747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396407991","1396407988","1396407993","1396407990","1396408008","1396407992"],"photo_ids_order":["1396407988","1396407990","1396407991","1396407992","1396407993","1396408008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6184f4afaa5c9b84de2cacd016ea213.jpg","text":"TemporaryFile(/tmp/multipartBody2588055422733493388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_36_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/27/9b65c5407b1206d710d3edc46bd9fde4.jpg","text":"TemporaryFile(/tmp/multipartBody3755350114459928632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_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/27/c4403827b9ae9f60c233d1938f171a31.jpg","text":"TemporaryFile(/tmp/multipartBody680101398651443493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_51_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/27/2be0dee011eb11932e3176d5b8d0f749.jpg","text":"TemporaryFile(/tmp/multipartBody690730682658114333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_27_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/27/ee9653c681e9a78aede46f12d2ffc9c3.jpg","text":"TemporaryFile(/tmp/multipartBody8489338788014131116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_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/27/949f8224d57069fb0eab3982bb7f42f6.jpg","text":"TemporaryFile(/tmp/multipartBody2714653166081179969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241663521,"filename":"image_31102025_02_44_39_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396407991","file1":"1396407990","file0":"1396407988","file4":"1396407993","file5":"1396408008","file3":"1396407992"},"map_files_photo_id_array":[{"photo_id":"1396408008","filename":"file5"},{"photo_id":"1396407991","filename":"file2"},{"photo_id":"1396407993","filename":"file4"},{"photo_id":"1396407990","filename":"file1"},{"photo_id":"1396407988","filename":"file0"},{"photo_id":"1396407992","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396407991":["hashtag1","hashtag2"]},{"1396407988":["hashtag1","hashtag2"]},{"1396407993":["hashtag1","hashtag2"]},{"1396407990":["hashtag1","hashtag2"]},{"1396408008":["hashtag1","hashtag2"]},{"1396407992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396407991, 1396407988, 1396407993, 1396407990, 1396408008, 1396407992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72237801551819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:07:22.202156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_34_9785.jpg', '/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_44_10711.jpg', '/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_54_9905.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_14_10054.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_25_10930.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_35_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_34_9785.jpg
/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_44_10711.jpg
/home/pi/Desktop/images/27112025/11/54/image_27112025_11_54_54_9905.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_14_10054.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_25_10930.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_35_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408144","1396408153","1396408077","1396408137","1396408110","1396408113"],"photo_ids_order":["1396408077","1396408110","1396408113","1396408137","1396408144","1396408153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6714e25bbef5ce9279243db78e6843cf.jpg","text":"TemporaryFile(/tmp/multipartBody5574946160449739965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_55_25_10930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/761a345333465adf4c28b84c4b7c7eee.jpg","text":"TemporaryFile(/tmp/multipartBody4916496136557756629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_55_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8e55ec36f044262285d49e7158b9be3.jpg","text":"TemporaryFile(/tmp/multipartBody6704236323118354709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_54_34_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/430fc63d3bdc528d397d11844a271466.jpg","text":"TemporaryFile(/tmp/multipartBody912940238393254701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_55_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fee4c0a0630aa09b023609502a6abeaa.jpg","text":"TemporaryFile(/tmp/multipartBody7550546320270235597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_54_44_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b7f32a3e15e60bb2b7b35a6b1d4e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2796751250220958992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241702963,"filename":"image_27112025_11_54_54_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408113","file1":"1396408110","file0":"1396408077","file4":"1396408144","file5":"1396408153","file3":"1396408137"},"map_files_photo_id_array":[{"photo_id":"1396408153","filename":"file5"},{"photo_id":"1396408113","filename":"file2"},{"photo_id":"1396408144","filename":"file4"},{"photo_id":"1396408110","filename":"file1"},{"photo_id":"1396408077","filename":"file0"},{"photo_id":"1396408137","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408144":["hashtag1","hashtag2"]},{"1396408153":["hashtag1","hashtag2"]},{"1396408077":["hashtag1","hashtag2"]},{"1396408137":["hashtag1","hashtag2"]},{"1396408110":["hashtag1","hashtag2"]},{"1396408113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408144, 1396408153, 1396408077, 1396408137, 1396408110, 1396408113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59574317932129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:08:02.799992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_44_9647.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_54_9800.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_56_05_10750.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_15_9693.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_24_9641.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_35_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_44_9647.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_54_9800.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_56_05_10750.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_15_9693.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_24_9641.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_35_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6435539722442627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 12:08:12.358941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_13_2628.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_17_3569.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_19_2681.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_22_2718.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_26_3768.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_28_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_13_2628.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_17_3569.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_19_2681.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_22_2718.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_26_3768.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_28_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408197","1396408185","1396408190","1396408187","1396408192","1396408195"],"photo_ids_order":["1396408185","1396408187","1396408190","1396408192","1396408195","1396408197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72995ed1bb0a43f1fc6b1d96fcd48dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4314041855661830851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_28_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/27/dd4c5eded6f0a1c829a84f5b2c513a42.jpg","text":"TemporaryFile(/tmp/multipartBody2730227833138986465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_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/27/80ad6d9201031b131e4015227c44090a.jpg","text":"TemporaryFile(/tmp/multipartBody8383493392755781083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_19_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/27/6b85756d49a469f1282402c47c7f997b.jpg","text":"TemporaryFile(/tmp/multipartBody294533579266975354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_17_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/27/82bf15e10ca4d123a7ed1831f74f44ac.jpg","text":"TemporaryFile(/tmp/multipartBody4727908799061116705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_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/27/1faa769f58158b7a29d27a5fbecd10ed.jpg","text":"TemporaryFile(/tmp/multipartBody6780449960729213056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241754118,"filename":"image_21112025_20_58_26_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408190","file1":"1396408187","file0":"1396408185","file4":"1396408195","file5":"1396408197","file3":"1396408192"},"map_files_photo_id_array":[{"photo_id":"1396408197","filename":"file5"},{"photo_id":"1396408190","filename":"file2"},{"photo_id":"1396408195","filename":"file4"},{"photo_id":"1396408187","filename":"file1"},{"photo_id":"1396408185","filename":"file0"},{"photo_id":"1396408192","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396408197":["hashtag1","hashtag2"]},{"1396408185":["hashtag1","hashtag2"]},{"1396408190":["hashtag1","hashtag2"]},{"1396408187":["hashtag1","hashtag2"]},{"1396408192":["hashtag1","hashtag2"]},{"1396408195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396408197, 1396408185, 1396408190, 1396408187, 1396408192, 1396408195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1120343208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:09:03.173798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_44_9647.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_54_9800.jpg', '/home/pi/Desktop/images/27112025/11/55/image_27112025_11_56_05_10750.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_15_9693.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_24_9641.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_35_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_44_9647.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_55_54_9800.jpg
/home/pi/Desktop/images/27112025/11/55/image_27112025_11_56_05_10750.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_15_9693.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_24_9641.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_35_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408270","1396408296","1396408269","1396408326","1396408308","1396408238"],"photo_ids_order":["1396408238","1396408269","1396408270","1396408296","1396408308","1396408326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a702f6b95b6839ef916d07ab126db584.jpg","text":"TemporaryFile(/tmp/multipartBody5981445220202901030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_56_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08d4b9a7d125b3d7620c88ed9f366dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4653675668025729182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_56_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d0bf7a3c3d958676993ad53fb04cd3b.jpg","text":"TemporaryFile(/tmp/multipartBody1498714857335451086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_55_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff27a8f51dc803abe316f429c2d0b78e.jpg","text":"TemporaryFile(/tmp/multipartBody9022085385068711456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_56_35_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2813db12b1904e8c733310e92e9ca24.jpg","text":"TemporaryFile(/tmp/multipartBody8335311020587579943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_56_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92b3e1716a950c6ecebaa0e16e2960da.jpg","text":"TemporaryFile(/tmp/multipartBody2114622665452706602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241804055,"filename":"image_27112025_11_55_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408270","file1":"1396408269","file0":"1396408238","file4":"1396408308","file5":"1396408326","file3":"1396408296"},"map_files_photo_id_array":[{"photo_id":"1396408326","filename":"file5"},{"photo_id":"1396408270","filename":"file2"},{"photo_id":"1396408308","filename":"file4"},{"photo_id":"1396408269","filename":"file1"},{"photo_id":"1396408238","filename":"file0"},{"photo_id":"1396408296","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408270":["hashtag1","hashtag2"]},{"1396408296":["hashtag1","hashtag2"]},{"1396408269":["hashtag1","hashtag2"]},{"1396408326":["hashtag1","hashtag2"]},{"1396408308":["hashtag1","hashtag2"]},{"1396408238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408270, 1396408296, 1396408269, 1396408326, 1396408308, 1396408238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12217950820923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:09:42.409646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_57_2798.jpg', '/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_12_3104.jpg', '/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_39_2676.jpg', '/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_48_2876.jpg', '/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_51_2618.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_03_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/44/image_31102025_02_44_57_2798.jpg
/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_12_3104.jpg
/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_39_2676.jpg
/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_48_2876.jpg
/home/pi/Desktop/images/31102025/02/45/image_31102025_02_45_51_2618.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_03_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408359","1396408449","1396408358","1396408373","1396408421","1396408409"],"photo_ids_order":["1396408358","1396408359","1396408373","1396408409","1396408421","1396408449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29d6dc80e9be7d5730a1deaff25f7442.jpg","text":"TemporaryFile(/tmp/multipartBody6305733305835922492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_45_12_3104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d74f58892386284b9a2fe499e0fc3915.jpg","text":"TemporaryFile(/tmp/multipartBody878489661136100700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_46_03_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/27/0ece5bd5f0e35b123d19fcd17f7ea496.jpg","text":"TemporaryFile(/tmp/multipartBody7909825691661661150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_44_57_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/27/d4ac8238ba11c5241267af733ac6fe55.jpg","text":"TemporaryFile(/tmp/multipartBody4169417202557280692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_45_39_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/27/48d5e5a3e9c165edef1b3beaaee450d0.jpg","text":"TemporaryFile(/tmp/multipartBody2355105899469246040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_45_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/27/45c6a23b13456db92666045fddd0a329.jpg","text":"TemporaryFile(/tmp/multipartBody1314397582370725604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241844006,"filename":"image_31102025_02_45_48_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408373","file1":"1396408359","file0":"1396408358","file4":"1396408421","file5":"1396408449","file3":"1396408409"},"map_files_photo_id_array":[{"photo_id":"1396408449","filename":"file5"},{"photo_id":"1396408373","filename":"file2"},{"photo_id":"1396408421","filename":"file4"},{"photo_id":"1396408359","filename":"file1"},{"photo_id":"1396408358","filename":"file0"},{"photo_id":"1396408409","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396408359":["hashtag1","hashtag2"]},{"1396408449":["hashtag1","hashtag2"]},{"1396408358":["hashtag1","hashtag2"]},{"1396408373":["hashtag1","hashtag2"]},{"1396408421":["hashtag1","hashtag2"]},{"1396408409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396408359, 1396408449, 1396408358, 1396408373, 1396408421, 1396408409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85154390335083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:10:22.616004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_45_9635.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_54_9696.jpg', '/home/pi/Desktop/images/27112025/11/56/image_27112025_11_57_04_9881.jpg', '/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_15_10718.jpg', '/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_25_10023.jpg', '/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_35_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_45_9635.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_56_54_9696.jpg
/home/pi/Desktop/images/27112025/11/56/image_27112025_11_57_04_9881.jpg
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_15_10718.jpg
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_25_10023.jpg
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_35_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408500","1396408493","1396408490","1396408483","1396408486","1396408495"],"photo_ids_order":["1396408483","1396408486","1396408490","1396408493","1396408495","1396408500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b521104947b35e7eef1a8d4a43818d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6844619720253526431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_57_35_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26c64da40dc17f7cfce95584fc501093.jpg","text":"TemporaryFile(/tmp/multipartBody8612901574870742325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_57_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b585a194794fc7533d0cf3ea513927d0.jpg","text":"TemporaryFile(/tmp/multipartBody4951679927570654426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_57_04_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9763a70c11694d43e4b78cf170e46847.jpg","text":"TemporaryFile(/tmp/multipartBody8147887732727472291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_56_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b97d632ea32c92846f85bf3c4a546cf.jpg","text":"TemporaryFile(/tmp/multipartBody4350170743489643321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_56_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62c282e0d14a3d963147da6b62a49442.jpg","text":"TemporaryFile(/tmp/multipartBody3484431713657358100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241883380,"filename":"image_27112025_11_57_25_10023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408490","file1":"1396408486","file0":"1396408483","file4":"1396408495","file5":"1396408500","file3":"1396408493"},"map_files_photo_id_array":[{"photo_id":"1396408500","filename":"file5"},{"photo_id":"1396408490","filename":"file2"},{"photo_id":"1396408495","filename":"file4"},{"photo_id":"1396408486","filename":"file1"},{"photo_id":"1396408483","filename":"file0"},{"photo_id":"1396408493","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408500":["hashtag1","hashtag2"]},{"1396408493":["hashtag1","hashtag2"]},{"1396408490":["hashtag1","hashtag2"]},{"1396408483":["hashtag1","hashtag2"]},{"1396408486":["hashtag1","hashtag2"]},{"1396408495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408500, 1396408493, 1396408490, 1396408483, 1396408486, 1396408495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77598190307617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:11:03.394620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_44_9705.jpg', '/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_54_9794.jpg', '/home/pi/Desktop/images/27112025/11/57/image_27112025_11_58_05_10765.jpg', '/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_15_9739.jpg', '/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_24_9638.jpg', '/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_35_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_44_9705.jpg
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_57_54_9794.jpg
/home/pi/Desktop/images/27112025/11/57/image_27112025_11_58_05_10765.jpg
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_15_9739.jpg
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_24_9638.jpg
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_35_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408558","1396408608","1396408586","1396408559","1396408535","1396408591"],"photo_ids_order":["1396408535","1396408558","1396408559","1396408586","1396408591","1396408608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f3a2fafe796f08d53d574bee0355ad5.jpg","text":"TemporaryFile(/tmp/multipartBody4554669728997914745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_57_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b80ad039d7466f6d4d34351c01aad4b.jpg","text":"TemporaryFile(/tmp/multipartBody1989972965126689107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_58_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/466019857ad1e9954267c52a17b0fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2483125399946657714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_58_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f062a23030ca35b162c1ad86c24546f.jpg","text":"TemporaryFile(/tmp/multipartBody2597442263574718912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_58_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29654ac21de5331771da99e15462b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody6627290716063361815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_57_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0799c5980c1486bfe9ef6a73aca378e.jpg","text":"TemporaryFile(/tmp/multipartBody3136033237626790732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241924226,"filename":"image_27112025_11_58_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408559","file1":"1396408558","file0":"1396408535","file4":"1396408591","file5":"1396408608","file3":"1396408586"},"map_files_photo_id_array":[{"photo_id":"1396408608","filename":"file5"},{"photo_id":"1396408559","filename":"file2"},{"photo_id":"1396408591","filename":"file4"},{"photo_id":"1396408558","filename":"file1"},{"photo_id":"1396408535","filename":"file0"},{"photo_id":"1396408586","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408558":["hashtag1","hashtag2"]},{"1396408608":["hashtag1","hashtag2"]},{"1396408586":["hashtag1","hashtag2"]},{"1396408559":["hashtag1","hashtag2"]},{"1396408535":["hashtag1","hashtag2"]},{"1396408591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408558, 1396408608, 1396408586, 1396408559, 1396408535, 1396408591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939170837402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:11:42.735025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_06_2737.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_15_3620.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_27_3615.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_48_3318.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_51_2847.jpg', '/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_54_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_06_2737.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_15_3620.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_27_3615.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_48_3318.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_51_2847.jpg
/home/pi/Desktop/images/31102025/02/46/image_31102025_02_46_54_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408642","1396408644","1396408638","1396408647","1396408640","1396408646"],"photo_ids_order":["1396408638","1396408640","1396408642","1396408644","1396408646","1396408647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7e2569302bf1e44c4c1710777364b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7059819744450580294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_27_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/27/9efd600c0cf14f37f579816643ffcb92.jpg","text":"TemporaryFile(/tmp/multipartBody7686245538077781463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_48_3318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e45e6139e50f1966cb107a9c0c03964.jpg","text":"TemporaryFile(/tmp/multipartBody6012022988072750370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_06_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/27/8ea9ea5e58c59875daeb0bb7bdb13e26.jpg","text":"TemporaryFile(/tmp/multipartBody4159017066978305799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_54_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/27/0e55acda51872052e8e0b1aed8922f68.jpg","text":"TemporaryFile(/tmp/multipartBody8384793224365627143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_15_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/27/198153b1e4ac6db366e8dbe86cae7cde.jpg","text":"TemporaryFile(/tmp/multipartBody4165918282318142863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764241964321,"filename":"image_31102025_02_46_51_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408642","file1":"1396408640","file0":"1396408638","file4":"1396408646","file5":"1396408647","file3":"1396408644"},"map_files_photo_id_array":[{"photo_id":"1396408647","filename":"file5"},{"photo_id":"1396408642","filename":"file2"},{"photo_id":"1396408646","filename":"file4"},{"photo_id":"1396408640","filename":"file1"},{"photo_id":"1396408638","filename":"file0"},{"photo_id":"1396408644","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396408642":["hashtag1","hashtag2"]},{"1396408644":["hashtag1","hashtag2"]},{"1396408638":["hashtag1","hashtag2"]},{"1396408647":["hashtag1","hashtag2"]},{"1396408640":["hashtag1","hashtag2"]},{"1396408646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396408642, 1396408644, 1396408638, 1396408647, 1396408640, 1396408646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36093544960022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:12:21.866659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_45_9835.jpg', '/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_55_9692.jpg', '/home/pi/Desktop/images/27112025/11/58/image_27112025_11_59_04_9821.jpg', '/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_14_9856.jpg', '/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_25_10897.jpg', '/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_34_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_45_9835.jpg
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_58_55_9692.jpg
/home/pi/Desktop/images/27112025/11/58/image_27112025_11_59_04_9821.jpg
/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_14_9856.jpg
/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_25_10897.jpg
/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_34_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408669","1396408653","1396408667","1396408661","1396408664","1396408658"],"photo_ids_order":["1396408653","1396408658","1396408661","1396408664","1396408667","1396408669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd97aa489ed6bfd37c88fbeade7ca97b.jpg","text":"TemporaryFile(/tmp/multipartBody6708018160381105260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_59_34_9403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c5939fc567a44b33764c40f7a27561e.jpg","text":"TemporaryFile(/tmp/multipartBody8433025601887197297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_58_45_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/448ccabf17bac3862964fd53384593a9.jpg","text":"TemporaryFile(/tmp/multipartBody8827119463327028325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_59_25_10897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e725194d3c219c138739b05376e068db.jpg","text":"TemporaryFile(/tmp/multipartBody4068562556984125829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_59_04_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/479567b7ea9704bd5fb46c463d624229.jpg","text":"TemporaryFile(/tmp/multipartBody638429783383137421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_59_14_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a77560441582a45104fa03a6a4bb637b.jpg","text":"TemporaryFile(/tmp/multipartBody4478647204305581339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242002634,"filename":"image_27112025_11_58_55_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408661","file1":"1396408658","file0":"1396408653","file4":"1396408667","file5":"1396408669","file3":"1396408664"},"map_files_photo_id_array":[{"photo_id":"1396408669","filename":"file5"},{"photo_id":"1396408661","filename":"file2"},{"photo_id":"1396408667","filename":"file4"},{"photo_id":"1396408658","filename":"file1"},{"photo_id":"1396408653","filename":"file0"},{"photo_id":"1396408664","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408669":["hashtag1","hashtag2"]},{"1396408653":["hashtag1","hashtag2"]},{"1396408667":["hashtag1","hashtag2"]},{"1396408661":["hashtag1","hashtag2"]},{"1396408664":["hashtag1","hashtag2"]},{"1396408658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408669, 1396408653, 1396408667, 1396408661, 1396408664, 1396408658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51051187515259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:13:02.679144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_44_9893.jpg', '/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_54_9772.jpg', '/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_14_10056.jpg', '/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_35_9791.jpg', '/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_45_10799.jpg', '/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_54_9103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_44_9893.jpg
/home/pi/Desktop/images/27112025/11/59/image_27112025_11_59_54_9772.jpg
/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_14_10056.jpg
/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_35_9791.jpg
/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_45_10799.jpg
/home/pi/Desktop/images/27112025/12/00/image_27112025_12_00_54_9103.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408674","1396408671","1396408679","1396408673","1396408676","1396408672"],"photo_ids_order":["1396408671","1396408672","1396408673","1396408674","1396408676","1396408679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e76a8307fb360e5c5c20032a9c4493af.jpg","text":"TemporaryFile(/tmp/multipartBody7289286889771931199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_12_00_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa3926ab279a0136e91c586279593508.jpg","text":"TemporaryFile(/tmp/multipartBody6856465373407375896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_11_59_44_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1108376bbf3de87749e4c10227060aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5349572363709860033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_12_00_54_9103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e69c3e0915d7765b7600f06e2231d77f.jpg","text":"TemporaryFile(/tmp/multipartBody972934670274414417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_12_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d40ddd1b3a25c08a6690322e20439eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8533703226388562649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_12_00_45_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/865d416f47e6c18ffc2a0e37adec5324.jpg","text":"TemporaryFile(/tmp/multipartBody8348752727543236324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242043519,"filename":"image_27112025_11_59_54_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408673","file1":"1396408672","file0":"1396408671","file4":"1396408676","file5":"1396408679","file3":"1396408674"},"map_files_photo_id_array":[{"photo_id":"1396408679","filename":"file5"},{"photo_id":"1396408673","filename":"file2"},{"photo_id":"1396408676","filename":"file4"},{"photo_id":"1396408672","filename":"file1"},{"photo_id":"1396408671","filename":"file0"},{"photo_id":"1396408674","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396408674":["hashtag1","hashtag2"]},{"1396408671":["hashtag1","hashtag2"]},{"1396408679":["hashtag1","hashtag2"]},{"1396408673":["hashtag1","hashtag2"]},{"1396408676":["hashtag1","hashtag2"]},{"1396408672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396408674, 1396408671, 1396408679, 1396408673, 1396408676, 1396408672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64061403274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:13:42.019800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_03_2671.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_06_2666.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_12_2711.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_15_2889.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_18_2821.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_21_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_03_2671.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_06_2666.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_12_2711.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_15_2889.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_18_2821.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_21_2872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396408951","1396408855","1396409037","1396408892","1396408984","1396408792"],"photo_ids_order":["1396408792","1396408855","1396408892","1396408951","1396408984","1396409037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4c40505ed9fcd767347d741d531cb40.jpg","text":"TemporaryFile(/tmp/multipartBody5537885533312594594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_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/27/467278f8dd81b09fc1832285db3c94e0.jpg","text":"TemporaryFile(/tmp/multipartBody4879939975554713947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_06_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/27/b35670b5dc3572a79c39819a440ca360.jpg","text":"TemporaryFile(/tmp/multipartBody3887506698020746609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_21_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/27/01dff462b83d35fb66bca3c5fdf64880.jpg","text":"TemporaryFile(/tmp/multipartBody3582874867646186104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_12_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/27/d9835c8aa0851c367557e5625535829c.jpg","text":"TemporaryFile(/tmp/multipartBody7990392181929633286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_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/27/07b9915b4bfb7ec036a8ffc93a788a40.jpg","text":"TemporaryFile(/tmp/multipartBody9063117549273125723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242083659,"filename":"image_31102025_02_47_03_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396408892","file1":"1396408855","file0":"1396408792","file4":"1396408984","file5":"1396409037","file3":"1396408951"},"map_files_photo_id_array":[{"photo_id":"1396409037","filename":"file5"},{"photo_id":"1396408892","filename":"file2"},{"photo_id":"1396408984","filename":"file4"},{"photo_id":"1396408855","filename":"file1"},{"photo_id":"1396408792","filename":"file0"},{"photo_id":"1396408951","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396408951":["hashtag1","hashtag2"]},{"1396408855":["hashtag1","hashtag2"]},{"1396409037":["hashtag1","hashtag2"]},{"1396408892":["hashtag1","hashtag2"]},{"1396408984":["hashtag1","hashtag2"]},{"1396408792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396408951, 1396408855, 1396409037, 1396408892, 1396408984, 1396408792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1407356262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:14:22.103837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/00/image_27112025_12_01_05_10662.jpg', '/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_15_9776.jpg', '/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_25_9825.jpg', '/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_35_10047.jpg', '/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_45_9750.jpg', '/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_55_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/00/image_27112025_12_01_05_10662.jpg
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_15_9776.jpg
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_25_9825.jpg
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_35_10047.jpg
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_45_9750.jpg
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_01_55_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409100","1396409174","1396409185","1396409080","1396409182","1396409140"],"photo_ids_order":["1396409080","1396409100","1396409140","1396409174","1396409182","1396409185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/448716f1f5f8f414bd537e29c8dded2b.jpg","text":"TemporaryFile(/tmp/multipartBody4401471570353862393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87da616b462c639edd906a8991046f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4563640089575255421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_35_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f73193858a9d405e1f862394a9fb9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3359447394272095401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f615f4cb85ea9fe75827d019cbe79fe7.jpg","text":"TemporaryFile(/tmp/multipartBody5947284402193239489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/617ec9eea2149d6b7fa457601bf053af.jpg","text":"TemporaryFile(/tmp/multipartBody6400771504859802058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_45_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2217ede8b707f4e3c00a136a5c0d074f.jpg","text":"TemporaryFile(/tmp/multipartBody5670400462113856245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242122787,"filename":"image_27112025_12_01_25_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409140","file1":"1396409100","file0":"1396409080","file4":"1396409182","file5":"1396409185","file3":"1396409174"},"map_files_photo_id_array":[{"photo_id":"1396409185","filename":"file5"},{"photo_id":"1396409140","filename":"file2"},{"photo_id":"1396409182","filename":"file4"},{"photo_id":"1396409100","filename":"file1"},{"photo_id":"1396409080","filename":"file0"},{"photo_id":"1396409174","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409100":["hashtag1","hashtag2"]},{"1396409174":["hashtag1","hashtag2"]},{"1396409185":["hashtag1","hashtag2"]},{"1396409080":["hashtag1","hashtag2"]},{"1396409182":["hashtag1","hashtag2"]},{"1396409140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409100, 1396409174, 1396409185, 1396409080, 1396409182, 1396409140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0361487865448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:15:03.233633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/01/image_27112025_12_02_05_9861.jpg', '/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_15_9574.jpg', '/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_25_9915.jpg', '/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_35_10310.jpg', '/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_45_9725.jpg', '/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_55_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/01/image_27112025_12_02_05_9861.jpg
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_15_9574.jpg
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_25_9915.jpg
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_35_10310.jpg
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_45_9725.jpg
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_02_55_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409244","1396409325","1396409328","1396409266","1396409302","1396409245"],"photo_ids_order":["1396409244","1396409245","1396409266","1396409302","1396409325","1396409328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc6e52ed661489563c15b1eb98c2ac26.jpg","text":"TemporaryFile(/tmp/multipartBody1013490092145818388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_05_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71f556feb5af32de1ce0bfcfe412b43d.jpg","text":"TemporaryFile(/tmp/multipartBody464682426127765667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ed64e80dbf3102a2823ed49b713c974.jpg","text":"TemporaryFile(/tmp/multipartBody732200878692223509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_55_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/261fd3379d9547da556c0d409814f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8163139540724217843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_25_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5732e08ae4d1705d3ae33a26759ec8f7.jpg","text":"TemporaryFile(/tmp/multipartBody135968268318110965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_35_10310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ece214bcaa29be0dff0e367d6b6dff8f.jpg","text":"TemporaryFile(/tmp/multipartBody124787279972058170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242164057,"filename":"image_27112025_12_02_15_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409266","file1":"1396409245","file0":"1396409244","file4":"1396409325","file5":"1396409328","file3":"1396409302"},"map_files_photo_id_array":[{"photo_id":"1396409328","filename":"file5"},{"photo_id":"1396409266","filename":"file2"},{"photo_id":"1396409325","filename":"file4"},{"photo_id":"1396409245","filename":"file1"},{"photo_id":"1396409244","filename":"file0"},{"photo_id":"1396409302","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409244":["hashtag1","hashtag2"]},{"1396409325":["hashtag1","hashtag2"]},{"1396409328":["hashtag1","hashtag2"]},{"1396409266":["hashtag1","hashtag2"]},{"1396409302":["hashtag1","hashtag2"]},{"1396409245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409244, 1396409325, 1396409328, 1396409266, 1396409302, 1396409245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97013998031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:15:42.449820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_30_2577.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_45_3645.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_48_2667.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_54_3748.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_57_2678.jpg', '/home/pi/Desktop/images/31102025/02/47/image_31102025_02_48_00_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_30_2577.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_45_3645.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_48_2667.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_54_3748.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_47_57_2678.jpg
/home/pi/Desktop/images/31102025/02/47/image_31102025_02_48_00_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409343","1396409340","1396409337","1396409342","1396409339","1396409341"],"photo_ids_order":["1396409337","1396409339","1396409340","1396409341","1396409342","1396409343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e0fa62c8b9c8911882a60fce5596f78.jpg","text":"TemporaryFile(/tmp/multipartBody8464195735995661192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_48_00_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/27/ac8ba06cbf153fa58657a6df7d480d74.jpg","text":"TemporaryFile(/tmp/multipartBody731685461822667398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_47_48_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/27/85174f15e702aed2e5a94a236ea53141.jpg","text":"TemporaryFile(/tmp/multipartBody6744740346554662954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_47_30_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/27/d54b0b90d954cd23e896a0780067ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody8308250341148202573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_47_57_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/27/4a7c2257761ac80b3d7f24809156f33e.jpg","text":"TemporaryFile(/tmp/multipartBody173115159947762437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_47_45_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/27/c0256feb64c6b298ab51a7c346aa9472.jpg","text":"TemporaryFile(/tmp/multipartBody6068583311151368149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242204011,"filename":"image_31102025_02_47_54_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409340","file1":"1396409339","file0":"1396409337","file4":"1396409342","file5":"1396409343","file3":"1396409341"},"map_files_photo_id_array":[{"photo_id":"1396409343","filename":"file5"},{"photo_id":"1396409340","filename":"file2"},{"photo_id":"1396409342","filename":"file4"},{"photo_id":"1396409339","filename":"file1"},{"photo_id":"1396409337","filename":"file0"},{"photo_id":"1396409341","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409343":["hashtag1","hashtag2"]},{"1396409340":["hashtag1","hashtag2"]},{"1396409337":["hashtag1","hashtag2"]},{"1396409342":["hashtag1","hashtag2"]},{"1396409339":["hashtag1","hashtag2"]},{"1396409341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409343, 1396409340, 1396409337, 1396409342, 1396409339, 1396409341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67288374900818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:16:22.697079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/02/image_27112025_12_03_05_9330.jpg', '/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_15_10594.jpg', '/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_25_9818.jpg', '/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_35_9651.jpg', '/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_45_10718.jpg', '/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_55_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/02/image_27112025_12_03_05_9330.jpg
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_15_10594.jpg
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_25_9818.jpg
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_35_9651.jpg
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_45_10718.jpg
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_03_55_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409346","1396409360","1396409354","1396409348","1396409351","1396409356"],"photo_ids_order":["1396409346","1396409348","1396409351","1396409354","1396409356","1396409360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e580686c83b8221ff2410eb5f0fbd93.jpg","text":"TemporaryFile(/tmp/multipartBody8401243934561036075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_05_9330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f88d90305d397e40a35addb36c256a7.jpg","text":"TemporaryFile(/tmp/multipartBody9093029438643482559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_55_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64bbc8f7d7e2342e45c30f19d057899d.jpg","text":"TemporaryFile(/tmp/multipartBody6613728022780848737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22cefa812bdd361204ddd3233b01b6c5.jpg","text":"TemporaryFile(/tmp/multipartBody2929368199508316349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2920cccf7fccd5547298cac398a4858.jpg","text":"TemporaryFile(/tmp/multipartBody3359178363511851085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_25_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/27/1c22aec81f783efb880aa2de36b7d5be.jpg","text":"TemporaryFile(/tmp/multipartBody3553086860241037368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242243376,"filename":"image_27112025_12_03_45_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409351","file1":"1396409348","file0":"1396409346","file4":"1396409356","file5":"1396409360","file3":"1396409354"},"map_files_photo_id_array":[{"photo_id":"1396409360","filename":"file5"},{"photo_id":"1396409351","filename":"file2"},{"photo_id":"1396409356","filename":"file4"},{"photo_id":"1396409348","filename":"file1"},{"photo_id":"1396409346","filename":"file0"},{"photo_id":"1396409354","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409346":["hashtag1","hashtag2"]},{"1396409360":["hashtag1","hashtag2"]},{"1396409354":["hashtag1","hashtag2"]},{"1396409348":["hashtag1","hashtag2"]},{"1396409351":["hashtag1","hashtag2"]},{"1396409356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409346, 1396409360, 1396409354, 1396409348, 1396409351, 1396409356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.754638671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:17:03.496331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/03/image_27112025_12_04_05_9699.jpg', '/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_15_9690.jpg', '/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_25_10638.jpg', '/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_35_9712.jpg', '/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_45_9603.jpg', '/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_55_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/03/image_27112025_12_04_05_9699.jpg
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_15_9690.jpg
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_25_10638.jpg
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_35_9712.jpg
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_45_9603.jpg
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_04_55_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409376","1396409370","1396409373","1396409367","1396409369","1396409371"],"photo_ids_order":["1396409367","1396409369","1396409370","1396409371","1396409373","1396409376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d7cd96af357c4bdf95d4ccc15c66190.jpg","text":"TemporaryFile(/tmp/multipartBody3928750722889376792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22a05df8eb0fab21b51d2c4a25fb0ce2.jpg","text":"TemporaryFile(/tmp/multipartBody978693084797937629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/139df78c343e8e122591d6bffe841176.jpg","text":"TemporaryFile(/tmp/multipartBody2347858994645040639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d87f5341b9cee6cf04ab7e83ab268373.jpg","text":"TemporaryFile(/tmp/multipartBody3366365815937742203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/738ae5ea03043cf4b549ef803fb3f776.jpg","text":"TemporaryFile(/tmp/multipartBody1416684215816655511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a269b664fe3f325d60952a649ed2356.jpg","text":"TemporaryFile(/tmp/multipartBody4949027477305153499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242284210,"filename":"image_27112025_12_04_35_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409370","file1":"1396409369","file0":"1396409367","file4":"1396409373","file5":"1396409376","file3":"1396409371"},"map_files_photo_id_array":[{"photo_id":"1396409376","filename":"file5"},{"photo_id":"1396409370","filename":"file2"},{"photo_id":"1396409373","filename":"file4"},{"photo_id":"1396409369","filename":"file1"},{"photo_id":"1396409367","filename":"file0"},{"photo_id":"1396409371","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409376":["hashtag1","hashtag2"]},{"1396409370":["hashtag1","hashtag2"]},{"1396409373":["hashtag1","hashtag2"]},{"1396409367":["hashtag1","hashtag2"]},{"1396409369":["hashtag1","hashtag2"]},{"1396409371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409376, 1396409370, 1396409373, 1396409367, 1396409369, 1396409371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741416931152344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:17:42.807272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_02_2668.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_06_3803.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_18_3720.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_21_2827.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_24_2879.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_26_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_02_2668.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_06_3803.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_18_3720.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_21_2827.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_24_2879.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_26_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409397","1396409385","1396409399","1396409403","1396409405","1396409401"],"photo_ids_order":["1396409385","1396409397","1396409399","1396409401","1396409403","1396409405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c283065c126acb552fc1b7ddd09954e.jpg","text":"TemporaryFile(/tmp/multipartBody4259678509770645499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_06_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/27/d88210dfd563567d8ed65fed61c80cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2036166678257676135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_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/27/d127ceed67e2c6d51f97e0d39bca14ef.jpg","text":"TemporaryFile(/tmp/multipartBody8851584142217510288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_18_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/27/a1a5b835d7b50a6630fed924e4009f6b.jpg","text":"TemporaryFile(/tmp/multipartBody251064568782058571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_24_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/27/e33025cfbc24882c85ab9fb2e55f0e49.jpg","text":"TemporaryFile(/tmp/multipartBody2294336879422788889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_26_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/27/287e62f5c394636af810a2eee5f0a38c.jpg","text":"TemporaryFile(/tmp/multipartBody6063652660965065898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242324328,"filename":"image_31102025_02_48_21_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409399","file1":"1396409397","file0":"1396409385","file4":"1396409403","file5":"1396409405","file3":"1396409401"},"map_files_photo_id_array":[{"photo_id":"1396409405","filename":"file5"},{"photo_id":"1396409399","filename":"file2"},{"photo_id":"1396409403","filename":"file4"},{"photo_id":"1396409397","filename":"file1"},{"photo_id":"1396409385","filename":"file0"},{"photo_id":"1396409401","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409397":["hashtag1","hashtag2"]},{"1396409385":["hashtag1","hashtag2"]},{"1396409399":["hashtag1","hashtag2"]},{"1396409403":["hashtag1","hashtag2"]},{"1396409405":["hashtag1","hashtag2"]},{"1396409401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409397, 1396409385, 1396409399, 1396409403, 1396409405, 1396409401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.151472091674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:18:21.992315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/04/image_27112025_12_05_05_9632.jpg', '/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_15_9714.jpg', '/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_25_10594.jpg', '/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_35_9687.jpg', '/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_44_9615.jpg', '/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/04/image_27112025_12_05_05_9632.jpg
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_15_9714.jpg
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_25_10594.jpg
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_35_9687.jpg
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_44_9615.jpg
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_05_55_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409419","1396409410","1396409423","1396409426","1396409413","1396409416"],"photo_ids_order":["1396409410","1396409413","1396409416","1396409419","1396409423","1396409426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84da7c9b74f21fc8f1001c0e9edfe407.jpg","text":"TemporaryFile(/tmp/multipartBody1532220702271239867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/494ad6cadd5466770c9fb4eee6b65b52.jpg","text":"TemporaryFile(/tmp/multipartBody535816440749885205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81a82fd85841d523500c396a56073c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7735735412746332848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af36205234ad40ada77a4615e68c070a.jpg","text":"TemporaryFile(/tmp/multipartBody4152866659961353822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76aa664bb6bfa62ffbc0b7ff54b1f445.jpg","text":"TemporaryFile(/tmp/multipartBody9074110676401716157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b71352feb7e5e7275c9d3c51dc0f09c.jpg","text":"TemporaryFile(/tmp/multipartBody7367967898388966035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242362621,"filename":"image_27112025_12_05_25_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409416","file1":"1396409413","file0":"1396409410","file4":"1396409423","file5":"1396409426","file3":"1396409419"},"map_files_photo_id_array":[{"photo_id":"1396409426","filename":"file5"},{"photo_id":"1396409416","filename":"file2"},{"photo_id":"1396409423","filename":"file4"},{"photo_id":"1396409413","filename":"file1"},{"photo_id":"1396409410","filename":"file0"},{"photo_id":"1396409419","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409419":["hashtag1","hashtag2"]},{"1396409410":["hashtag1","hashtag2"]},{"1396409423":["hashtag1","hashtag2"]},{"1396409426":["hashtag1","hashtag2"]},{"1396409413":["hashtag1","hashtag2"]},{"1396409416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409419, 1396409410, 1396409423, 1396409426, 1396409413, 1396409416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37657642364502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:19:03.181877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/05/image_27112025_12_06_05_9707.jpg', '/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_15_9725.jpg', '/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_25_10623.jpg', '/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_35_9567.jpg', '/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_45_10501.jpg', '/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/05/image_27112025_12_06_05_9707.jpg
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_15_9725.jpg
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_25_10623.jpg
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_35_9567.jpg
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_45_10501.jpg
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_06_55_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409430","1396409429","1396409432","1396409431","1396409434","1396409437"],"photo_ids_order":["1396409429","1396409430","1396409431","1396409432","1396409434","1396409437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8962ea535fc2bca1c93f80aee1bf1553.jpg","text":"TemporaryFile(/tmp/multipartBody7505062308433492253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcfd157762d7322e35c1b91abc095f91.jpg","text":"TemporaryFile(/tmp/multipartBody7882557694197145555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a78aee93fa389933f6f5f85487041b21.jpg","text":"TemporaryFile(/tmp/multipartBody8883511150944880658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93ec3ca72985065a6fa0ab82889c41e8.jpg","text":"TemporaryFile(/tmp/multipartBody1630110851663283059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7dee19eb4cfeca27393d7f0011bd13c.jpg","text":"TemporaryFile(/tmp/multipartBody517095279564156679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_45_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e790e7b09fe23e91ea3e9d701dfea055.jpg","text":"TemporaryFile(/tmp/multipartBody5097778581702171771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242403936,"filename":"image_27112025_12_06_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409431","file1":"1396409430","file0":"1396409429","file4":"1396409434","file5":"1396409437","file3":"1396409432"},"map_files_photo_id_array":[{"photo_id":"1396409437","filename":"file5"},{"photo_id":"1396409431","filename":"file2"},{"photo_id":"1396409434","filename":"file4"},{"photo_id":"1396409430","filename":"file1"},{"photo_id":"1396409429","filename":"file0"},{"photo_id":"1396409432","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409430":["hashtag1","hashtag2"]},{"1396409429":["hashtag1","hashtag2"]},{"1396409432":["hashtag1","hashtag2"]},{"1396409431":["hashtag1","hashtag2"]},{"1396409434":["hashtag1","hashtag2"]},{"1396409437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409430, 1396409429, 1396409432, 1396409431, 1396409434, 1396409437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71475291252136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:19:42.187395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_33_2763.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_36_2670.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_42_3801.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_45_2737.jpg', '/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_48_2664.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_05_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_33_2763.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_36_2670.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_42_3801.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_45_2737.jpg
/home/pi/Desktop/images/31102025/02/48/image_31102025_02_48_48_2664.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_05_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":["1396409451","1396409448","1396409447","1396409450","1396409452","1396409449"],"photo_ids_order":["1396409447","1396409448","1396409449","1396409450","1396409451","1396409452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68a0fd84bdae5322901016e211864ed3.jpg","text":"TemporaryFile(/tmp/multipartBody62992966756903226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_48_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/27/f043284f2d1dd80afc9696786e30a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody5899299473634975956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_48_36_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/27/3121890a7901d69fadc72118e26f7f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3642849535779398677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_48_33_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/27/2d50c54b8db7858f273f813e508bc550.jpg","text":"TemporaryFile(/tmp/multipartBody3865141903722703898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_48_45_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/27/8ddcebd806ccc7dbca0281cf85c2c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody3035401439746343433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_49_05_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/27/e0f52057a63526b8f8949bc707590949.jpg","text":"TemporaryFile(/tmp/multipartBody3813874070288203988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242443668,"filename":"image_31102025_02_48_42_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409449","file1":"1396409448","file0":"1396409447","file4":"1396409451","file5":"1396409452","file3":"1396409450"},"map_files_photo_id_array":[{"photo_id":"1396409452","filename":"file5"},{"photo_id":"1396409449","filename":"file2"},{"photo_id":"1396409451","filename":"file4"},{"photo_id":"1396409448","filename":"file1"},{"photo_id":"1396409447","filename":"file0"},{"photo_id":"1396409450","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409451":["hashtag1","hashtag2"]},{"1396409448":["hashtag1","hashtag2"]},{"1396409447":["hashtag1","hashtag2"]},{"1396409450":["hashtag1","hashtag2"]},{"1396409452":["hashtag1","hashtag2"]},{"1396409449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409451, 1396409448, 1396409447, 1396409450, 1396409452, 1396409449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.624411821365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:20:22.427498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/06/image_27112025_12_07_04_9610.jpg', '/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_15_10657.jpg', '/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_25_9677.jpg', '/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_34_9694.jpg', '/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_45_10687.jpg', '/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_55_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/06/image_27112025_12_07_04_9610.jpg
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_15_10657.jpg
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_25_9677.jpg
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_34_9694.jpg
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_45_10687.jpg
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_07_55_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409470","1396409464","1396409458","1396409467","1396409461","1396409455"],"photo_ids_order":["1396409455","1396409458","1396409461","1396409464","1396409467","1396409470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee94a746caf2d195823e40689d6b414d.jpg","text":"TemporaryFile(/tmp/multipartBody3557708667047755824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_55_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74cc9542dec51ff0d31d3606fe6e99e5.jpg","text":"TemporaryFile(/tmp/multipartBody2625413284258423018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e97c5c858d47a84456b0bbc080bb0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7377102501941912457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be66030d339adcc99215d6bd5fd37cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3662546938133450022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/237fdafc20e7e3c2bd440bc54a8d1e24.jpg","text":"TemporaryFile(/tmp/multipartBody5744126758759133936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_25_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9eb9685c4022a9ffaa43b2cad8574033.jpg","text":"TemporaryFile(/tmp/multipartBody6606717653398739924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242482976,"filename":"image_27112025_12_07_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409461","file1":"1396409458","file0":"1396409455","file4":"1396409467","file5":"1396409470","file3":"1396409464"},"map_files_photo_id_array":[{"photo_id":"1396409470","filename":"file5"},{"photo_id":"1396409461","filename":"file2"},{"photo_id":"1396409467","filename":"file4"},{"photo_id":"1396409458","filename":"file1"},{"photo_id":"1396409455","filename":"file0"},{"photo_id":"1396409464","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409470":["hashtag1","hashtag2"]},{"1396409464":["hashtag1","hashtag2"]},{"1396409458":["hashtag1","hashtag2"]},{"1396409467":["hashtag1","hashtag2"]},{"1396409461":["hashtag1","hashtag2"]},{"1396409455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409470, 1396409464, 1396409458, 1396409467, 1396409461, 1396409455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41707468032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:21:03.161365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/07/image_27112025_12_08_04_9760.jpg', '/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_15_10736.jpg', '/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_25_9706.jpg', '/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_35_9776.jpg', '/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_45_10602.jpg', '/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_55_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/07/image_27112025_12_08_04_9760.jpg
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_15_10736.jpg
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_25_9706.jpg
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_35_9776.jpg
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_45_10602.jpg
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_08_55_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409481","1396409475","1396409478","1396409474","1396409476","1396409473"],"photo_ids_order":["1396409473","1396409474","1396409475","1396409476","1396409478","1396409481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/334bfaea84f7ab11285560aa93dcea4a.jpg","text":"TemporaryFile(/tmp/multipartBody4236446000000571203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e85e72b32e6bc08e47714dc97c258a8c.jpg","text":"TemporaryFile(/tmp/multipartBody179350663440743198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab113ca1e9d4fcfa58ce85c23b139155.jpg","text":"TemporaryFile(/tmp/multipartBody183359582077281543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e18386a84084c869d31acffcbe4ed61.jpg","text":"TemporaryFile(/tmp/multipartBody2868628541370492316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ae07fae313ffec067d04f06900520de.jpg","text":"TemporaryFile(/tmp/multipartBody3052144526857233931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_35_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66cfe99880471bebac5977d7389137eb.jpg","text":"TemporaryFile(/tmp/multipartBody2497686668389196361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242523834,"filename":"image_27112025_12_08_04_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409475","file1":"1396409474","file0":"1396409473","file4":"1396409478","file5":"1396409481","file3":"1396409476"},"map_files_photo_id_array":[{"photo_id":"1396409481","filename":"file5"},{"photo_id":"1396409475","filename":"file2"},{"photo_id":"1396409478","filename":"file4"},{"photo_id":"1396409474","filename":"file1"},{"photo_id":"1396409473","filename":"file0"},{"photo_id":"1396409476","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409481":["hashtag1","hashtag2"]},{"1396409475":["hashtag1","hashtag2"]},{"1396409478":["hashtag1","hashtag2"]},{"1396409474":["hashtag1","hashtag2"]},{"1396409476":["hashtag1","hashtag2"]},{"1396409473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409481, 1396409475, 1396409478, 1396409474, 1396409476, 1396409473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21707487106323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:21:42.525183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_07_1793.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_09_1642.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_34_8017.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_35_1591.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_40_1664.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_45_4204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_07_1793.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_09_1642.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_34_8017.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_35_1591.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_40_1664.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_45_4204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409493","1396409496","1396409511","1396409505","1396409531","1396409491"],"photo_ids_order":["1396409491","1396409493","1396409496","1396409505","1396409511","1396409531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a55f31589e26a3134525e8a9844f4ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2040215822060320109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_09_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/27/d1492842623a7170c3e525db08dba5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2359770961051053476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_34_8017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7561140f660f863e139bed2897453efb.jpg","text":"TemporaryFile(/tmp/multipartBody1996706559221332716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_40_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/27/c46435195d4b33fd602e7f45c9f35c1e.jpg","text":"TemporaryFile(/tmp/multipartBody90143423366475573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_35_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/27/d34fbd624ed8979ab4210cdd4404bcef.jpg","text":"TemporaryFile(/tmp/multipartBody2185891058129056054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_45_4204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/397c8172c0deeb4ea4f2a13cb195de94.jpg","text":"TemporaryFile(/tmp/multipartBody6267049739086414385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242563979,"filename":"image_31102025_02_49_07_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409496","file1":"1396409493","file0":"1396409491","file4":"1396409511","file5":"1396409531","file3":"1396409505"},"map_files_photo_id_array":[{"photo_id":"1396409531","filename":"file5"},{"photo_id":"1396409496","filename":"file2"},{"photo_id":"1396409511","filename":"file4"},{"photo_id":"1396409493","filename":"file1"},{"photo_id":"1396409491","filename":"file0"},{"photo_id":"1396409505","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409493":["hashtag1","hashtag2"]},{"1396409496":["hashtag1","hashtag2"]},{"1396409511":["hashtag1","hashtag2"]},{"1396409505":["hashtag1","hashtag2"]},{"1396409531":["hashtag1","hashtag2"]},{"1396409491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409493, 1396409496, 1396409511, 1396409505, 1396409531, 1396409491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.121809005737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:22:22.732036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/08/image_27112025_12_09_05_9783.jpg', '/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_14_9663.jpg', '/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_25_10722.jpg', '/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_35_9645.jpg', '/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_45_10580.jpg', '/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_55_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/08/image_27112025_12_09_05_9783.jpg
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_14_9663.jpg
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_25_10722.jpg
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_35_9645.jpg
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_45_10580.jpg
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_09_55_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409594","1396409567","1396409552","1396409555","1396409558","1396409598"],"photo_ids_order":["1396409552","1396409555","1396409558","1396409567","1396409594","1396409598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb2faa34683f7fa4209ad24a3b76f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody9201689346350504489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b739833091acaeeb97e355f63afe5be.jpg","text":"TemporaryFile(/tmp/multipartBody8242285989956845199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec2820738a86162e242bce780bb1f781.jpg","text":"TemporaryFile(/tmp/multipartBody6134892011398894280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e081613cf024e27374796d345da19baa.jpg","text":"TemporaryFile(/tmp/multipartBody2669678974369583270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/345569fa8aa72a9c513832d1f67b9b1a.jpg","text":"TemporaryFile(/tmp/multipartBody9025543884888085486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afda9efb0df7a29842e68b6445bc6660.jpg","text":"TemporaryFile(/tmp/multipartBody1567336076288921572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242603263,"filename":"image_27112025_12_09_55_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409558","file1":"1396409555","file0":"1396409552","file4":"1396409594","file5":"1396409598","file3":"1396409567"},"map_files_photo_id_array":[{"photo_id":"1396409598","filename":"file5"},{"photo_id":"1396409558","filename":"file2"},{"photo_id":"1396409594","filename":"file4"},{"photo_id":"1396409555","filename":"file1"},{"photo_id":"1396409552","filename":"file0"},{"photo_id":"1396409567","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409594":["hashtag1","hashtag2"]},{"1396409567":["hashtag1","hashtag2"]},{"1396409552":["hashtag1","hashtag2"]},{"1396409555":["hashtag1","hashtag2"]},{"1396409558":["hashtag1","hashtag2"]},{"1396409598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409594, 1396409567, 1396409552, 1396409555, 1396409558, 1396409598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55686569213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:23:02.576155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/09/image_27112025_12_10_05_9606.jpg', '/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_15_10762.jpg', '/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_25_9657.jpg', '/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_35_9720.jpg', '/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_45_10616.jpg', '/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_55_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/09/image_27112025_12_10_05_9606.jpg
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_15_10762.jpg
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_25_9657.jpg
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_35_9720.jpg
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_45_10616.jpg
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_10_55_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409602","1396409604","1396409601","1396409609","1396409603","1396409606"],"photo_ids_order":["1396409601","1396409602","1396409603","1396409604","1396409606","1396409609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9954ce1c9d1c3882558e1880a426f827.jpg","text":"TemporaryFile(/tmp/multipartBody6115772368053169304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/694abc2c2c3c05bef9edb4561fd0b777.jpg","text":"TemporaryFile(/tmp/multipartBody8903308817289812308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_35_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2aed003ce4002cf8a67a4bccdfc9dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody1877062352123701560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3b83ee2245ce1dcc4558e19773c7d60.jpg","text":"TemporaryFile(/tmp/multipartBody205841429900303818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/744ea0c6d00304648118285d645338f8.jpg","text":"TemporaryFile(/tmp/multipartBody5245068851786651554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/707b563e55a599b8c80ac30a04eddecc.jpg","text":"TemporaryFile(/tmp/multipartBody2532511994722524065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242643244,"filename":"image_27112025_12_10_45_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409603","file1":"1396409602","file0":"1396409601","file4":"1396409606","file5":"1396409609","file3":"1396409604"},"map_files_photo_id_array":[{"photo_id":"1396409609","filename":"file5"},{"photo_id":"1396409603","filename":"file2"},{"photo_id":"1396409606","filename":"file4"},{"photo_id":"1396409602","filename":"file1"},{"photo_id":"1396409601","filename":"file0"},{"photo_id":"1396409604","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409602":["hashtag1","hashtag2"]},{"1396409604":["hashtag1","hashtag2"]},{"1396409601":["hashtag1","hashtag2"]},{"1396409609":["hashtag1","hashtag2"]},{"1396409603":["hashtag1","hashtag2"]},{"1396409606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409602, 1396409604, 1396409601, 1396409609, 1396409603, 1396409606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60801911354065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:23:42.033443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_55_1589.jpg', '/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_57_1849.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_03_1709.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_08_1658.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_26_1908.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_28_1966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_55_1589.jpg
/home/pi/Desktop/images/31102025/02/49/image_31102025_02_49_57_1849.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_03_1709.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_08_1658.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_26_1908.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_28_1966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409623","1396409622","1396409625","1396409619","1396409621","1396409624"],"photo_ids_order":["1396409619","1396409621","1396409622","1396409623","1396409624","1396409625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d1f4e0f40860721477a14f74c1cfd8e.jpg","text":"TemporaryFile(/tmp/multipartBody6316948160514509466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_50_08_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/27/a6e50bbfb629ccf60acf9ea66e247a53.jpg","text":"TemporaryFile(/tmp/multipartBody1521222923638745842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_50_03_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec734a28a5d46b2d1e3b9b74437ff089.jpg","text":"TemporaryFile(/tmp/multipartBody1873769754326276610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_50_28_1966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1ca2bcbf6c7a7482292b22c5ee61e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4614787681284439314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_49_55_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/27/5659458640239c2d2d66655ab4f9195c.jpg","text":"TemporaryFile(/tmp/multipartBody7909021016356311939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_49_57_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/27/c2cec43565fcbcd141ba65e901ea5dd9.jpg","text":"TemporaryFile(/tmp/multipartBody488900478245681991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242683425,"filename":"image_31102025_02_50_26_1908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409622","file1":"1396409621","file0":"1396409619","file4":"1396409624","file5":"1396409625","file3":"1396409623"},"map_files_photo_id_array":[{"photo_id":"1396409625","filename":"file5"},{"photo_id":"1396409622","filename":"file2"},{"photo_id":"1396409624","filename":"file4"},{"photo_id":"1396409621","filename":"file1"},{"photo_id":"1396409619","filename":"file0"},{"photo_id":"1396409623","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409623":["hashtag1","hashtag2"]},{"1396409622":["hashtag1","hashtag2"]},{"1396409625":["hashtag1","hashtag2"]},{"1396409619":["hashtag1","hashtag2"]},{"1396409621":["hashtag1","hashtag2"]},{"1396409624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409623, 1396409622, 1396409625, 1396409619, 1396409621, 1396409624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40790343284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:24:22.209719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/10/image_27112025_12_11_05_9828.jpg', '/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_15_9776.jpg', '/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_25_10682.jpg', '/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_35_9579.jpg', '/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_45_9736.jpg', '/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_55_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/10/image_27112025_12_11_05_9828.jpg
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_15_9776.jpg
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_25_10682.jpg
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_35_9579.jpg
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_45_9736.jpg
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_11_55_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409628","1396409645","1396409648","1396409638","1396409632","1396409641"],"photo_ids_order":["1396409628","1396409632","1396409638","1396409641","1396409645","1396409648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41ed9170a7d77758dabf738f17b7d405.jpg","text":"TemporaryFile(/tmp/multipartBody2329900062850034261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_05_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e22eab344781748762ab89e26abb0da0.jpg","text":"TemporaryFile(/tmp/multipartBody3994552539561752157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49845570c67eacc0d42bd6f71b2b31ac.jpg","text":"TemporaryFile(/tmp/multipartBody2720100268143979623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a47d4d33589d752f0651a4ec103ed3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3215851689727399038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/218330be0a516d1d410642178596fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4866183801451132740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2796ad45973e7e07dc1d4a72ba19cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6062147116676475306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242722709,"filename":"image_27112025_12_11_35_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409638","file1":"1396409632","file0":"1396409628","file4":"1396409645","file5":"1396409648","file3":"1396409641"},"map_files_photo_id_array":[{"photo_id":"1396409648","filename":"file5"},{"photo_id":"1396409638","filename":"file2"},{"photo_id":"1396409645","filename":"file4"},{"photo_id":"1396409632","filename":"file1"},{"photo_id":"1396409628","filename":"file0"},{"photo_id":"1396409641","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409628":["hashtag1","hashtag2"]},{"1396409645":["hashtag1","hashtag2"]},{"1396409648":["hashtag1","hashtag2"]},{"1396409638":["hashtag1","hashtag2"]},{"1396409632":["hashtag1","hashtag2"]},{"1396409641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409628, 1396409645, 1396409648, 1396409638, 1396409632, 1396409641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.137590408325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:25:03.044356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/11/image_27112025_12_12_05_9884.jpg', '/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_15_9750.jpg', '/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_25_9645.jpg', '/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_35_10619.jpg', '/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_45_9746.jpg', '/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_55_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/11/image_27112025_12_12_05_9884.jpg
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_15_9750.jpg
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_25_9645.jpg
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_35_10619.jpg
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_45_9746.jpg
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_12_55_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409652","1396409651","1396409654","1396409656","1396409659","1396409653"],"photo_ids_order":["1396409651","1396409652","1396409653","1396409654","1396409656","1396409659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffe5a2ff71fd2e8eb59614dd389caa66.jpg","text":"TemporaryFile(/tmp/multipartBody1727870792420885046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24708586ed30fcc0ad4b2f05136a7adb.jpg","text":"TemporaryFile(/tmp/multipartBody4615710684231995335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_05_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22fb9a2c275431adefb48471408726b4.jpg","text":"TemporaryFile(/tmp/multipartBody3663530111820102270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb4357c4eec9bbda886381fde63f2fc6.jpg","text":"TemporaryFile(/tmp/multipartBody186246535961317982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7d20d3f050ba37225263a6e2d6bfaab.jpg","text":"TemporaryFile(/tmp/multipartBody467328157414098250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db08946af5d85926c6be302cadf9bdff.jpg","text":"TemporaryFile(/tmp/multipartBody4044161517959754564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242763670,"filename":"image_27112025_12_12_25_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409653","file1":"1396409652","file0":"1396409651","file4":"1396409656","file5":"1396409659","file3":"1396409654"},"map_files_photo_id_array":[{"photo_id":"1396409659","filename":"file5"},{"photo_id":"1396409653","filename":"file2"},{"photo_id":"1396409656","filename":"file4"},{"photo_id":"1396409652","filename":"file1"},{"photo_id":"1396409651","filename":"file0"},{"photo_id":"1396409654","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409652":["hashtag1","hashtag2"]},{"1396409651":["hashtag1","hashtag2"]},{"1396409654":["hashtag1","hashtag2"]},{"1396409656":["hashtag1","hashtag2"]},{"1396409659":["hashtag1","hashtag2"]},{"1396409653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409652, 1396409651, 1396409654, 1396409656, 1396409659, 1396409653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69122266769409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:25:42.371730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_32_1849.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_53_1773.jpg', '/home/pi/Desktop/images/31102025/02/50/image_31102025_02_51_00_1893.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_05_1594.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_09_4189.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_12_2972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_32_1849.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_50_53_1773.jpg
/home/pi/Desktop/images/31102025/02/50/image_31102025_02_51_00_1893.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_05_1594.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_09_4189.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_12_2972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409673","1396409676","1396409675","1396409674","1396409677","1396409671"],"photo_ids_order":["1396409671","1396409673","1396409674","1396409675","1396409676","1396409677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdff81d12b252b1ac82d74a5b8b91f74.jpg","text":"TemporaryFile(/tmp/multipartBody5557091209898425490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_50_53_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/27/55e39a33886ccc079152d0ba8cc8b161.jpg","text":"TemporaryFile(/tmp/multipartBody832075608757033035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_51_09_4189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eee05bc6dfa8e733fd40627101feb28c.jpg","text":"TemporaryFile(/tmp/multipartBody607297121061688853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_51_05_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/27/dc9b695360495fae54a95dd838bc3a05.jpg","text":"TemporaryFile(/tmp/multipartBody8204204335771506851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_51_00_1893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36c8e41d51c0dca1d56a504fbf8212a0.jpg","text":"TemporaryFile(/tmp/multipartBody2164063838263871916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_51_12_2972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e308edf44bbe7bb00b66790cd18e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody7969971705667250354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242803719,"filename":"image_31102025_02_50_32_1849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409674","file1":"1396409673","file0":"1396409671","file4":"1396409676","file5":"1396409677","file3":"1396409675"},"map_files_photo_id_array":[{"photo_id":"1396409677","filename":"file5"},{"photo_id":"1396409674","filename":"file2"},{"photo_id":"1396409676","filename":"file4"},{"photo_id":"1396409673","filename":"file1"},{"photo_id":"1396409671","filename":"file0"},{"photo_id":"1396409675","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409673":["hashtag1","hashtag2"]},{"1396409676":["hashtag1","hashtag2"]},{"1396409675":["hashtag1","hashtag2"]},{"1396409674":["hashtag1","hashtag2"]},{"1396409677":["hashtag1","hashtag2"]},{"1396409671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409673, 1396409676, 1396409675, 1396409674, 1396409677, 1396409671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54048418998718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:26:22.545669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/12/image_27112025_12_13_04_9728.jpg', '/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_15_10769.jpg', '/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_25_9573.jpg', '/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_35_10604.jpg', '/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_45_9597.jpg', '/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_55_10288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/12/image_27112025_12_13_04_9728.jpg
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_15_10769.jpg
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_25_9573.jpg
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_35_10604.jpg
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_45_9597.jpg
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_13_55_10288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409716","1396409701","1396409712","1396409709","1396409698","1396409704"],"photo_ids_order":["1396409698","1396409701","1396409704","1396409709","1396409712","1396409716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1df9b18ce1a13c71ce5741c70221273a.jpg","text":"TemporaryFile(/tmp/multipartBody3554739595888333149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_55_10288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bbea40b8c27ee00fcf44865a9be2620.jpg","text":"TemporaryFile(/tmp/multipartBody6700238456431976146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e15db8a436112ef14afbf0626028449c.jpg","text":"TemporaryFile(/tmp/multipartBody2640949239233452604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c4e1f53eef312f3a11d95e2f00d5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1852081569661371930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47b263430497e4378e76c64ab998fad3.jpg","text":"TemporaryFile(/tmp/multipartBody8673605361751825212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e5060d5fc023eaa9cbf2df0db94a45a.jpg","text":"TemporaryFile(/tmp/multipartBody4289070052943110026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242843049,"filename":"image_27112025_12_13_25_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409704","file1":"1396409701","file0":"1396409698","file4":"1396409712","file5":"1396409716","file3":"1396409709"},"map_files_photo_id_array":[{"photo_id":"1396409716","filename":"file5"},{"photo_id":"1396409704","filename":"file2"},{"photo_id":"1396409712","filename":"file4"},{"photo_id":"1396409701","filename":"file1"},{"photo_id":"1396409698","filename":"file0"},{"photo_id":"1396409709","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409716":["hashtag1","hashtag2"]},{"1396409701":["hashtag1","hashtag2"]},{"1396409712":["hashtag1","hashtag2"]},{"1396409709":["hashtag1","hashtag2"]},{"1396409698":["hashtag1","hashtag2"]},{"1396409704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409716, 1396409701, 1396409712, 1396409709, 1396409698, 1396409704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6037917137146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:27:03.344057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/13/image_27112025_12_14_05_9676.jpg', '/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_15_9724.jpg', '/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_24_9797.jpg', '/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_35_10839.jpg', '/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_45_9899.jpg', '/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_55_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/13/image_27112025_12_14_05_9676.jpg
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_15_9724.jpg
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_24_9797.jpg
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_35_10839.jpg
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_45_9899.jpg
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_14_55_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409721","1396409724","1396409726","1396409723","1396409722","1396409728"],"photo_ids_order":["1396409721","1396409722","1396409723","1396409724","1396409726","1396409728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7f10f5afed6077d2ed8ddf6b025d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody1965073924016843685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f54ebd302d5d749f08a8b35a5c2b9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7211700604973334857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_35_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83ec88791b62233721dfba9766fca38b.jpg","text":"TemporaryFile(/tmp/multipartBody324536953271463996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_45_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a14a8a25e1ce6e355de87968d0ab40c.jpg","text":"TemporaryFile(/tmp/multipartBody6088132826166209776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8281a4162556b44187f95e71cc68460f.jpg","text":"TemporaryFile(/tmp/multipartBody4104687633181547848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe60d429b71e77489dd7c98c77e73cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7936075004108209981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242883906,"filename":"image_27112025_12_14_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409723","file1":"1396409722","file0":"1396409721","file4":"1396409726","file5":"1396409728","file3":"1396409724"},"map_files_photo_id_array":[{"photo_id":"1396409728","filename":"file5"},{"photo_id":"1396409723","filename":"file2"},{"photo_id":"1396409726","filename":"file4"},{"photo_id":"1396409722","filename":"file1"},{"photo_id":"1396409721","filename":"file0"},{"photo_id":"1396409724","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409721":["hashtag1","hashtag2"]},{"1396409724":["hashtag1","hashtag2"]},{"1396409726":["hashtag1","hashtag2"]},{"1396409723":["hashtag1","hashtag2"]},{"1396409722":["hashtag1","hashtag2"]},{"1396409728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409721, 1396409724, 1396409726, 1396409723, 1396409722, 1396409728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96201539039612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:27:42.686893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_14_1750.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_23_2685.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_33_6115.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_51_3607.jpg', '/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_59_2334.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_02_3417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_14_1750.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_23_2685.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_33_6115.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_51_3607.jpg
/home/pi/Desktop/images/31102025/02/51/image_31102025_02_51_59_2334.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_02_3417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409742","1396409739","1396409744","1396409755","1396409764","1396409758"],"photo_ids_order":["1396409739","1396409742","1396409744","1396409755","1396409758","1396409764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49c9cffde24f27092bbcbc084782ad9b.jpg","text":"TemporaryFile(/tmp/multipartBody7027619475764668602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_51_23_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/27/6aeb3b8dbeab8764b668baef467d989c.jpg","text":"TemporaryFile(/tmp/multipartBody3214536771747968252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_51_14_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/27/fba1437be39f03eba0297eb3bf240144.jpg","text":"TemporaryFile(/tmp/multipartBody6745238070396723431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_51_33_6115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b54f5f528be5f8d60368d6c203f7143c.jpg","text":"TemporaryFile(/tmp/multipartBody8654135399234791762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_51_51_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/27/c3f9a7f9ee42a21b2151e611b70863bc.jpg","text":"TemporaryFile(/tmp/multipartBody4342234959760205298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_52_02_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/27/7bccab32df2edf47e1762f13f56de730.jpg","text":"TemporaryFile(/tmp/multipartBody8721824474614322479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242924019,"filename":"image_31102025_02_51_59_2334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409744","file1":"1396409742","file0":"1396409739","file4":"1396409758","file5":"1396409764","file3":"1396409755"},"map_files_photo_id_array":[{"photo_id":"1396409764","filename":"file5"},{"photo_id":"1396409744","filename":"file2"},{"photo_id":"1396409758","filename":"file4"},{"photo_id":"1396409742","filename":"file1"},{"photo_id":"1396409739","filename":"file0"},{"photo_id":"1396409755","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409742":["hashtag1","hashtag2"]},{"1396409739":["hashtag1","hashtag2"]},{"1396409744":["hashtag1","hashtag2"]},{"1396409755":["hashtag1","hashtag2"]},{"1396409764":["hashtag1","hashtag2"]},{"1396409758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409742, 1396409739, 1396409744, 1396409755, 1396409764, 1396409758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44287180900574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:28:21.871864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/14/image_27112025_12_15_05_9771.jpg', '/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_14_9815.jpg', '/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_25_10679.jpg', '/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_35_9627.jpg', '/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_45_9830.jpg', '/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_54_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/14/image_27112025_12_15_05_9771.jpg
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_14_9815.jpg
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_25_10679.jpg
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_35_9627.jpg
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_45_9830.jpg
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_15_54_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409799","1396409790","1396409802","1396409805","1396409795","1396409808"],"photo_ids_order":["1396409790","1396409795","1396409799","1396409802","1396409805","1396409808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d986f1573df557978b464562719a3f5.jpg","text":"TemporaryFile(/tmp/multipartBody257488822743538746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfd49695406763ccbe760b72a3e1fa39.jpg","text":"TemporaryFile(/tmp/multipartBody1525283081105986621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ba2d2bd8d6add3ea3f8ceb37d6fb4c9.jpg","text":"TemporaryFile(/tmp/multipartBody1597074779086710814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/446dcb0ad78ca5e24047ad55a6fa7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4481914260640123068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_45_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8a723176b6d419ed27630922ea104f7.jpg","text":"TemporaryFile(/tmp/multipartBody3502941880752622468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4982639454bb9755fb6ae6ad040018c4.jpg","text":"TemporaryFile(/tmp/multipartBody191079303232911633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764242962392,"filename":"image_27112025_12_15_54_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409799","file1":"1396409795","file0":"1396409790","file4":"1396409805","file5":"1396409808","file3":"1396409802"},"map_files_photo_id_array":[{"photo_id":"1396409808","filename":"file5"},{"photo_id":"1396409799","filename":"file2"},{"photo_id":"1396409805","filename":"file4"},{"photo_id":"1396409795","filename":"file1"},{"photo_id":"1396409790","filename":"file0"},{"photo_id":"1396409802","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409799":["hashtag1","hashtag2"]},{"1396409790":["hashtag1","hashtag2"]},{"1396409802":["hashtag1","hashtag2"]},{"1396409805":["hashtag1","hashtag2"]},{"1396409795":["hashtag1","hashtag2"]},{"1396409808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409799, 1396409790, 1396409802, 1396409805, 1396409795, 1396409808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44208025932312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:29:03.130523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/15/image_27112025_12_16_05_10765.jpg', '/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_15_9584.jpg', '/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_25_9816.jpg', '/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_35_10612.jpg', '/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_45_9704.jpg', '/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_55_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/15/image_27112025_12_16_05_10765.jpg
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_15_9584.jpg
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_25_9816.jpg
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_35_10612.jpg
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_45_9704.jpg
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_16_55_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409814","1396409811","1396409819","1396409816","1396409810","1396409812"],"photo_ids_order":["1396409810","1396409811","1396409812","1396409814","1396409816","1396409819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7efbf0cca1f039ed8141cccc1e47cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody1477158064509498748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4c451ea5b894dfaa54984b7bf70a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody3091347691552724521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97b9c411c8f17b578a6cae0e89300cea.jpg","text":"TemporaryFile(/tmp/multipartBody8029012682113020147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7819d6d52bb2c307f42cb13378c10f9.jpg","text":"TemporaryFile(/tmp/multipartBody3968133181709693188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b90e343866c9f7ca5568d5625e66198b.jpg","text":"TemporaryFile(/tmp/multipartBody2745925104546847004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bb910136beba04f80393eecfe5665e3.jpg","text":"TemporaryFile(/tmp/multipartBody7241605020305293957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243003747,"filename":"image_27112025_12_16_25_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409812","file1":"1396409811","file0":"1396409810","file4":"1396409816","file5":"1396409819","file3":"1396409814"},"map_files_photo_id_array":[{"photo_id":"1396409819","filename":"file5"},{"photo_id":"1396409812","filename":"file2"},{"photo_id":"1396409816","filename":"file4"},{"photo_id":"1396409811","filename":"file1"},{"photo_id":"1396409810","filename":"file0"},{"photo_id":"1396409814","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409814":["hashtag1","hashtag2"]},{"1396409811":["hashtag1","hashtag2"]},{"1396409819":["hashtag1","hashtag2"]},{"1396409816":["hashtag1","hashtag2"]},{"1396409810":["hashtag1","hashtag2"]},{"1396409812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409814, 1396409811, 1396409819, 1396409816, 1396409810, 1396409812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807575941085815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:29:42.078640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_14_3577.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_20_2718.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_23_2960.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_27_3610.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_35_8243.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_44_7389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_14_3577.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_20_2718.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_23_2960.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_27_3610.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_35_8243.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_44_7389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409832","1396409835","1396409837","1396409836","1396409830","1396409833"],"photo_ids_order":["1396409830","1396409832","1396409833","1396409835","1396409836","1396409837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf484a40dfe67cd8fc347b43a1eece03.jpg","text":"TemporaryFile(/tmp/multipartBody8810153825665757845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_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/27/1a6c7d4a1284a8dd9da95d130cecf99e.jpg","text":"TemporaryFile(/tmp/multipartBody2756032061640476572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_27_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/27/e6f4ba11d5e97f80e88b9b6d0dee02d7.jpg","text":"TemporaryFile(/tmp/multipartBody1592253857464182498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_44_7389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6312a0e9f58de4fe58758b9ce77b78f1.jpg","text":"TemporaryFile(/tmp/multipartBody8970219388257706392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_35_8243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9047e8f14817e5cb5d8f533b5258ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody7160076808487937000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_14_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/27/c4c74d171caaa8d7f21fdf0924deb75d.jpg","text":"TemporaryFile(/tmp/multipartBody5576344371307709823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243043446,"filename":"image_31102025_02_52_23_2960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409833","file1":"1396409832","file0":"1396409830","file4":"1396409836","file5":"1396409837","file3":"1396409835"},"map_files_photo_id_array":[{"photo_id":"1396409837","filename":"file5"},{"photo_id":"1396409833","filename":"file2"},{"photo_id":"1396409836","filename":"file4"},{"photo_id":"1396409832","filename":"file1"},{"photo_id":"1396409830","filename":"file0"},{"photo_id":"1396409835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409832":["hashtag1","hashtag2"]},{"1396409835":["hashtag1","hashtag2"]},{"1396409837":["hashtag1","hashtag2"]},{"1396409836":["hashtag1","hashtag2"]},{"1396409830":["hashtag1","hashtag2"]},{"1396409833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409832, 1396409835, 1396409837, 1396409836, 1396409830, 1396409833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32667899131775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:30:22.229795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/16/image_27112025_12_17_05_10681.jpg', '/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_15_9788.jpg', '/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_25_9674.jpg', '/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_35_9769.jpg', '/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_45_10718.jpg', '/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/16/image_27112025_12_17_05_10681.jpg
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_15_9788.jpg
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_25_9674.jpg
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_35_9769.jpg
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_45_10718.jpg
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_17_55_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409855","1396409858","1396409843","1396409848","1396409851","1396409839"],"photo_ids_order":["1396409839","1396409843","1396409848","1396409851","1396409855","1396409858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0aacdbd0fc33ce3394311592edeb9ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3653763515037191165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/952f6bb1018c61362e879542d3e1968d.jpg","text":"TemporaryFile(/tmp/multipartBody4721706211610542938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6361bc3d32a167e4f1d64e4c287a37c1.jpg","text":"TemporaryFile(/tmp/multipartBody5599569322676040764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e98fec64a102fdb78681a2b92ec166b9.jpg","text":"TemporaryFile(/tmp/multipartBody8811826015972735833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7566c41c395f2d39fd06a061742f525f.jpg","text":"TemporaryFile(/tmp/multipartBody7322742956264093487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6df35e35fd9f972e119af3ec692e11ef.jpg","text":"TemporaryFile(/tmp/multipartBody1500442542570924894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243082680,"filename":"image_27112025_12_17_05_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409848","file1":"1396409843","file0":"1396409839","file4":"1396409855","file5":"1396409858","file3":"1396409851"},"map_files_photo_id_array":[{"photo_id":"1396409858","filename":"file5"},{"photo_id":"1396409848","filename":"file2"},{"photo_id":"1396409855","filename":"file4"},{"photo_id":"1396409843","filename":"file1"},{"photo_id":"1396409839","filename":"file0"},{"photo_id":"1396409851","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409855":["hashtag1","hashtag2"]},{"1396409858":["hashtag1","hashtag2"]},{"1396409843":["hashtag1","hashtag2"]},{"1396409848":["hashtag1","hashtag2"]},{"1396409851":["hashtag1","hashtag2"]},{"1396409839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409855, 1396409858, 1396409843, 1396409848, 1396409851, 1396409839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.758936166763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:31:03.063724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/17/image_27112025_12_18_05_9648.jpg', '/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_15_10730.jpg', '/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_25_9546.jpg', '/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_35_9865.jpg', '/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_45_10644.jpg', '/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_55_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/17/image_27112025_12_18_05_9648.jpg
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_15_10730.jpg
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_25_9546.jpg
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_35_9865.jpg
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_45_10644.jpg
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_18_55_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409865","1396409862","1396409870","1396409864","1396409867","1396409863"],"photo_ids_order":["1396409862","1396409863","1396409864","1396409865","1396409867","1396409870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d4261f6fc7b71835fa582cab7826a57.jpg","text":"TemporaryFile(/tmp/multipartBody3089551222848505648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_35_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ddd42457dd433e8bc2c09aa852e711aa.jpg","text":"TemporaryFile(/tmp/multipartBody395325349990876177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a21cdc24cddc7fea2c92cf0c9486ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody2594540725729751970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a860bd548638c3939cc7152284a9d839.jpg","text":"TemporaryFile(/tmp/multipartBody657025668477779929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_25_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a11feb0a23ce3d92c777fea58939c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1206948146751366242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7c110fcd6f15a3c8279bb36eb245364.jpg","text":"TemporaryFile(/tmp/multipartBody2778731499550698734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243123597,"filename":"image_27112025_12_18_15_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409864","file1":"1396409863","file0":"1396409862","file4":"1396409867","file5":"1396409870","file3":"1396409865"},"map_files_photo_id_array":[{"photo_id":"1396409870","filename":"file5"},{"photo_id":"1396409864","filename":"file2"},{"photo_id":"1396409867","filename":"file4"},{"photo_id":"1396409863","filename":"file1"},{"photo_id":"1396409862","filename":"file0"},{"photo_id":"1396409865","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409865":["hashtag1","hashtag2"]},{"1396409862":["hashtag1","hashtag2"]},{"1396409870":["hashtag1","hashtag2"]},{"1396409864":["hashtag1","hashtag2"]},{"1396409867":["hashtag1","hashtag2"]},{"1396409863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409865, 1396409862, 1396409870, 1396409864, 1396409867, 1396409863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02170777320862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:31:42.528790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_46_1770.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_53_2839.jpg', '/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_58_1742.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_01_1772.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_06_2767.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_08_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_46_1770.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_53_2839.jpg
/home/pi/Desktop/images/31102025/02/52/image_31102025_02_52_58_1742.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_01_1772.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_06_2767.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_08_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409898","1396409880","1396409891","1396409906","1396409896","1396409905"],"photo_ids_order":["1396409880","1396409891","1396409896","1396409898","1396409905","1396409906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcd3b5a66bed5040ee2acb0191c9b4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7386625597426453122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_53_01_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/27/3c3a669b93c1b9601d4523a18e0d3c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7002581725173963899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_52_46_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/27/94b26c955969eb1e53d9d1af2216852b.jpg","text":"TemporaryFile(/tmp/multipartBody830975151593066820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_52_53_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/27/a000d026588b0e851b7f735db9ef242c.jpg","text":"TemporaryFile(/tmp/multipartBody5629139752607338899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_53_08_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/27/bc5b58ec53e204587002cd2c7f80230c.jpg","text":"TemporaryFile(/tmp/multipartBody1550574332001927345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_52_58_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/27/40cf69533123879c37617baa90581e10.jpg","text":"TemporaryFile(/tmp/multipartBody8005248181847305425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243164407,"filename":"image_31102025_02_53_06_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409896","file1":"1396409891","file0":"1396409880","file4":"1396409905","file5":"1396409906","file3":"1396409898"},"map_files_photo_id_array":[{"photo_id":"1396409906","filename":"file5"},{"photo_id":"1396409896","filename":"file2"},{"photo_id":"1396409905","filename":"file4"},{"photo_id":"1396409891","filename":"file1"},{"photo_id":"1396409880","filename":"file0"},{"photo_id":"1396409898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409898":["hashtag1","hashtag2"]},{"1396409880":["hashtag1","hashtag2"]},{"1396409891":["hashtag1","hashtag2"]},{"1396409906":["hashtag1","hashtag2"]},{"1396409896":["hashtag1","hashtag2"]},{"1396409905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409898, 1396409880, 1396409891, 1396409906, 1396409896, 1396409905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71918320655823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:32:22.781048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/18/image_27112025_12_19_05_9708.jpg', '/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_15_10691.jpg', '/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_25_9617.jpg', '/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_35_9598.jpg', '/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_45_10730.jpg', '/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/18/image_27112025_12_19_05_9708.jpg
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_15_10691.jpg
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_25_9617.jpg
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_35_9598.jpg
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_45_10730.jpg
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_19_55_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409946","1396409943","1396409941","1396409935","1396409938","1396409932"],"photo_ids_order":["1396409932","1396409935","1396409938","1396409941","1396409943","1396409946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1873190b87fa55d7a05e8053258ada6e.jpg","text":"TemporaryFile(/tmp/multipartBody4835450542037619486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8840c5bf1eb4644d069639b076cba337.jpg","text":"TemporaryFile(/tmp/multipartBody3557630273495339486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d95005e8759681cb5a2bed5577653a5.jpg","text":"TemporaryFile(/tmp/multipartBody7806293852134519450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0f07a8d5a15ad995301d2ec29b87a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3523367299165527556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ceda459ac7a5c54fad266e14d15d32e6.jpg","text":"TemporaryFile(/tmp/multipartBody3368700197322749580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01bf44b7c34c867c1a228d2ec73b301b.jpg","text":"TemporaryFile(/tmp/multipartBody6499964312546937003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243203525,"filename":"image_27112025_12_19_05_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409938","file1":"1396409935","file0":"1396409932","file4":"1396409943","file5":"1396409946","file3":"1396409941"},"map_files_photo_id_array":[{"photo_id":"1396409946","filename":"file5"},{"photo_id":"1396409938","filename":"file2"},{"photo_id":"1396409943","filename":"file4"},{"photo_id":"1396409935","filename":"file1"},{"photo_id":"1396409932","filename":"file0"},{"photo_id":"1396409941","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409946":["hashtag1","hashtag2"]},{"1396409943":["hashtag1","hashtag2"]},{"1396409941":["hashtag1","hashtag2"]},{"1396409935":["hashtag1","hashtag2"]},{"1396409938":["hashtag1","hashtag2"]},{"1396409932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409946, 1396409943, 1396409941, 1396409935, 1396409938, 1396409932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91910243034363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:33:02.669409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/19/image_27112025_12_20_05_9653.jpg', '/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_15_10770.jpg', '/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_25_9872.jpg', '/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_35_9610.jpg', '/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_45_9667.jpg', '/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_55_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/19/image_27112025_12_20_05_9653.jpg
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_15_10770.jpg
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_25_9872.jpg
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_35_9610.jpg
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_45_9667.jpg
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_20_55_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409949","1396409954","1396409951","1396409948","1396409947","1396409950"],"photo_ids_order":["1396409947","1396409948","1396409949","1396409950","1396409951","1396409954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6896e2775a7e4c4182eecfd6e7f8db6d.jpg","text":"TemporaryFile(/tmp/multipartBody6293305053377402462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_25_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bde378c3dc95b356a92d27fbe7dfeeaf.jpg","text":"TemporaryFile(/tmp/multipartBody2050872887326684163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_55_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ccdc5f5bc0bf573348bbd4e3c525f69.jpg","text":"TemporaryFile(/tmp/multipartBody4896190638706976132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01e0acc98b40438da4afdd70ecffec16.jpg","text":"TemporaryFile(/tmp/multipartBody8069263961083843241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_15_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd3522403366bb996d1c11d4404e8149.jpg","text":"TemporaryFile(/tmp/multipartBody6211733623708735201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1352f1141fa3675cec3bca07fd974b18.jpg","text":"TemporaryFile(/tmp/multipartBody7200468756484063861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243243490,"filename":"image_27112025_12_20_35_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409949","file1":"1396409948","file0":"1396409947","file4":"1396409951","file5":"1396409954","file3":"1396409950"},"map_files_photo_id_array":[{"photo_id":"1396409954","filename":"file5"},{"photo_id":"1396409949","filename":"file2"},{"photo_id":"1396409951","filename":"file4"},{"photo_id":"1396409948","filename":"file1"},{"photo_id":"1396409947","filename":"file0"},{"photo_id":"1396409950","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409949":["hashtag1","hashtag2"]},{"1396409954":["hashtag1","hashtag2"]},{"1396409951":["hashtag1","hashtag2"]},{"1396409948":["hashtag1","hashtag2"]},{"1396409947":["hashtag1","hashtag2"]},{"1396409950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409949, 1396409954, 1396409951, 1396409948, 1396409947, 1396409950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63312339782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:33:41.950924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_14_2797.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_18_3710.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_38_2880.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_41_2792.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_44_2624.jpg', '/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_48_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_14_2797.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_18_3710.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_38_2880.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_41_2792.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_44_2624.jpg
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_48_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409970","1396409964","1396409967","1396409969","1396409966","1396409968"],"photo_ids_order":["1396409964","1396409966","1396409967","1396409968","1396409969","1396409970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52dde6d68bb28236d6b3117a249578e3.jpg","text":"TemporaryFile(/tmp/multipartBody8424576122993438846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_48_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/27/43c006423ad418c6a978c9d2bd947657.jpg","text":"TemporaryFile(/tmp/multipartBody3504602707806948295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_14_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/27/5e82a6bba1c17bf0f2fa46a369ff47a6.jpg","text":"TemporaryFile(/tmp/multipartBody4210915826319593290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_38_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/27/13a425199a4136effe3aa81f522f3a29.jpg","text":"TemporaryFile(/tmp/multipartBody2521959135814962564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_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/27/567cb44e76bee1e8f2f6c58f8139a4a4.jpg","text":"TemporaryFile(/tmp/multipartBody2199492605473003244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_18_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/27/069337980fac96fe6966f01a49dd0307.jpg","text":"TemporaryFile(/tmp/multipartBody8293072291599464268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243283570,"filename":"image_31102025_02_53_41_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409967","file1":"1396409966","file0":"1396409964","file4":"1396409969","file5":"1396409970","file3":"1396409968"},"map_files_photo_id_array":[{"photo_id":"1396409970","filename":"file5"},{"photo_id":"1396409967","filename":"file2"},{"photo_id":"1396409969","filename":"file4"},{"photo_id":"1396409966","filename":"file1"},{"photo_id":"1396409964","filename":"file0"},{"photo_id":"1396409968","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396409970":["hashtag1","hashtag2"]},{"1396409964":["hashtag1","hashtag2"]},{"1396409967":["hashtag1","hashtag2"]},{"1396409969":["hashtag1","hashtag2"]},{"1396409966":["hashtag1","hashtag2"]},{"1396409968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396409970, 1396409964, 1396409967, 1396409969, 1396409966, 1396409968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.339632987976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:34:22.184693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/20/image_27112025_12_21_05_9615.jpg', '/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_15_9630.jpg', '/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_25_10722.jpg', '/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_35_9624.jpg', '/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_45_9706.jpg', '/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_54_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/20/image_27112025_12_21_05_9615.jpg
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_15_9630.jpg
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_25_10722.jpg
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_35_9624.jpg
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_45_9706.jpg
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_21_54_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396409972","1396409983","1396409986","1396409980","1396409977","1396409988"],"photo_ids_order":["1396409972","1396409977","1396409980","1396409983","1396409986","1396409988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70212e6a8ad88fb8a445beec7ee89afd.jpg","text":"TemporaryFile(/tmp/multipartBody9784811967299011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bac42e90f6cadc82e880974bf3d5033.jpg","text":"TemporaryFile(/tmp/multipartBody988031024993413732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_35_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/27/4e6379a85eee1d7324bc661eace8f90a.jpg","text":"TemporaryFile(/tmp/multipartBody3461384696796984443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1ff35497a3aeaeb49fe8c6ffc6145c9.jpg","text":"TemporaryFile(/tmp/multipartBody2654940959612286273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/525a8f2dc774dde3095ef369172c50bf.jpg","text":"TemporaryFile(/tmp/multipartBody2383741327209598267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb41c4e366253771bd1aeea9a9b6c749.jpg","text":"TemporaryFile(/tmp/multipartBody3468538687982558140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243322944,"filename":"image_27112025_12_21_54_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396409980","file1":"1396409977","file0":"1396409972","file4":"1396409986","file5":"1396409988","file3":"1396409983"},"map_files_photo_id_array":[{"photo_id":"1396409988","filename":"file5"},{"photo_id":"1396409980","filename":"file2"},{"photo_id":"1396409986","filename":"file4"},{"photo_id":"1396409977","filename":"file1"},{"photo_id":"1396409972","filename":"file0"},{"photo_id":"1396409983","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396409972":["hashtag1","hashtag2"]},{"1396409983":["hashtag1","hashtag2"]},{"1396409986":["hashtag1","hashtag2"]},{"1396409980":["hashtag1","hashtag2"]},{"1396409977":["hashtag1","hashtag2"]},{"1396409988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396409972, 1396409983, 1396409986, 1396409980, 1396409977, 1396409988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46821212768555 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 10 --only_old 1
2025-11-27 12:35:12.284245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_31_2659.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_35_3639.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_38_2825.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_40_2766.jpg', '/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_43_3098.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_31_2659.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_35_3639.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_38_2825.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_40_2766.jpg
/home/pi/Desktop/images/21112025/20/58/image_21112025_20_58_43_3098.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_07_3017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410013","1396410023","1396409995","1396410020","1396410017","1396409994"],"photo_ids_order":["1396409994","1396409995","1396410013","1396410017","1396410020","1396410023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbe6a383dde57dfb68510af37c7b15aa.jpg","text":"TemporaryFile(/tmp/multipartBody1580407612457041817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_20_58_38_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/27/01d0a0e31fb1e0d4756c3ab17d82ed77.jpg","text":"TemporaryFile(/tmp/multipartBody1594204362539028295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_21_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/27/51a5dcb90abfc3abc50737dee1db6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6525044238582820797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_20_58_35_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/27/c1233bc904867258d46917409d258649.jpg","text":"TemporaryFile(/tmp/multipartBody473740845397592768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_20_58_43_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/27/d5fcf8f80fecfcc7bf0c0231d3b5b6f4.jpg","text":"TemporaryFile(/tmp/multipartBody2604323214769685186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_20_58_40_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/27/be5b7586810d1a2814c5f9850e66ae98.jpg","text":"TemporaryFile(/tmp/multipartBody2117561305125884268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243374122,"filename":"image_21112025_20_58_31_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410013","file1":"1396409995","file0":"1396409994","file4":"1396410020","file5":"1396410023","file3":"1396410017"},"map_files_photo_id_array":[{"photo_id":"1396410023","filename":"file5"},{"photo_id":"1396410013","filename":"file2"},{"photo_id":"1396410020","filename":"file4"},{"photo_id":"1396409995","filename":"file1"},{"photo_id":"1396409994","filename":"file0"},{"photo_id":"1396410017","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396410013":["hashtag1","hashtag2"]},{"1396410023":["hashtag1","hashtag2"]},{"1396409995":["hashtag1","hashtag2"]},{"1396410020":["hashtag1","hashtag2"]},{"1396410017":["hashtag1","hashtag2"]},{"1396409994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396410013, 1396410023, 1396409995, 1396410020, 1396410017, 1396409994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22014498710632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:36:04.350653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/21/image_27112025_12_22_05_10698.jpg', '/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_15_9692.jpg', '/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_25_9657.jpg', '/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_35_10690.jpg', '/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_45_9629.jpg', '/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/21/image_27112025_12_22_05_10698.jpg
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_15_9692.jpg
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_25_9657.jpg
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_35_10690.jpg
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_45_9629.jpg
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_22_55_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410061","1396410028","1396410030","1396410032","1396410029","1396410067"],"photo_ids_order":["1396410028","1396410029","1396410030","1396410032","1396410061","1396410067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a384b0c800c68ed660e20fecaa88b5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1627210199405129284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a529aceeb7f1ad19d943cfb580d1abd0.jpg","text":"TemporaryFile(/tmp/multipartBody4625150272568254608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/515a6a5f8b78dac173bbaf9c63535cf1.jpg","text":"TemporaryFile(/tmp/multipartBody555065578232607232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9743d233874bea55d63bab944e20513.jpg","text":"TemporaryFile(/tmp/multipartBody4163623796529718265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_35_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f67b6a1163801b022029d35e857cc764.jpg","text":"TemporaryFile(/tmp/multipartBody5916531952809418212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d45a4e20a6ff25f0dc8d8784f924e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3284107443274111388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243425121,"filename":"image_27112025_12_22_55_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410030","file1":"1396410029","file0":"1396410028","file4":"1396410061","file5":"1396410067","file3":"1396410032"},"map_files_photo_id_array":[{"photo_id":"1396410067","filename":"file5"},{"photo_id":"1396410030","filename":"file2"},{"photo_id":"1396410061","filename":"file4"},{"photo_id":"1396410029","filename":"file1"},{"photo_id":"1396410028","filename":"file0"},{"photo_id":"1396410032","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410061":["hashtag1","hashtag2"]},{"1396410028":["hashtag1","hashtag2"]},{"1396410030":["hashtag1","hashtag2"]},{"1396410032":["hashtag1","hashtag2"]},{"1396410029":["hashtag1","hashtag2"]},{"1396410067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410061, 1396410028, 1396410030, 1396410032, 1396410029, 1396410067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.529979944229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:36:43.839458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_56_3594.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_02_2617.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_06_3700.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_11_2752.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_14_2754.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_29_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/53/image_31102025_02_53_56_3594.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_02_2617.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_06_3700.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_11_2752.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_14_2754.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_29_2890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410082","1396410093","1396410090","1396410078","1396410087","1396410085"],"photo_ids_order":["1396410078","1396410082","1396410085","1396410087","1396410090","1396410093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2558cb90e77a0a0650ad7b0bd69fde3e.jpg","text":"TemporaryFile(/tmp/multipartBody2750634869005223517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_54_02_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/27/6ac09c437a9ed9b346351694ed9b2d58.jpg","text":"TemporaryFile(/tmp/multipartBody7972592823802644885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_54_29_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/27/04377b15d5b5ed3b3a5525b5e1e613af.jpg","text":"TemporaryFile(/tmp/multipartBody419437516951616098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_54_14_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/27/c8d8d1c8ae80c4ed7cf7b8a0c6c80144.jpg","text":"TemporaryFile(/tmp/multipartBody3218232640902886834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_53_56_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/27/e2eebfd49054e98ea8bb8052b8e35283.jpg","text":"TemporaryFile(/tmp/multipartBody7295310281296257969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_54_11_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/27/d43f357c0bb36bcab1275ec5f32d9fad.jpg","text":"TemporaryFile(/tmp/multipartBody1123855270120762343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243465581,"filename":"image_31102025_02_54_06_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410085","file1":"1396410082","file0":"1396410078","file4":"1396410090","file5":"1396410093","file3":"1396410087"},"map_files_photo_id_array":[{"photo_id":"1396410093","filename":"file5"},{"photo_id":"1396410085","filename":"file2"},{"photo_id":"1396410090","filename":"file4"},{"photo_id":"1396410082","filename":"file1"},{"photo_id":"1396410078","filename":"file0"},{"photo_id":"1396410087","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396410082":["hashtag1","hashtag2"]},{"1396410093":["hashtag1","hashtag2"]},{"1396410090":["hashtag1","hashtag2"]},{"1396410078":["hashtag1","hashtag2"]},{"1396410087":["hashtag1","hashtag2"]},{"1396410085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396410082, 1396410093, 1396410090, 1396410078, 1396410087, 1396410085)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.62803864479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 12:37:32.015097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_11_3566.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_13_2554.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_17_3622.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_19_2568.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_23_3612.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_26_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_11_3566.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_13_2554.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_17_3622.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_19_2568.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_23_3612.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_26_2668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7902445793151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:37:42.028918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_38_2835.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_41_3800.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_44_2704.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_53_2659.jpg', '/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_56_2802.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_02_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_38_2835.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_41_3800.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_44_2704.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_53_2659.jpg
/home/pi/Desktop/images/31102025/02/54/image_31102025_02_54_56_2802.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_02_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410217","1396410112","1396410183","1396410237","1396410147","1396410116"],"photo_ids_order":["1396410112","1396410116","1396410147","1396410183","1396410217","1396410237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3b83ee601715ebfdb20d8643989979d.jpg","text":"TemporaryFile(/tmp/multipartBody8243976725493778605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_54_56_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/27/f0b9e90b5ba6dabefd3ea909ecf1ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody8869476721249810233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_54_38_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/27/cda63764b84ab20cfaa563e4a061f246.jpg","text":"TemporaryFile(/tmp/multipartBody5257155790742561693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_54_53_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/27/aea61343a3e9dea81f23c641eadf66cd.jpg","text":"TemporaryFile(/tmp/multipartBody3368212604821878535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_55_02_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/27/a48502c129568364bbde66f9ad6fcfef.jpg","text":"TemporaryFile(/tmp/multipartBody819764510101860004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_54_44_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/27/6f2d30f9da318c9f3486a0f315a2f0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4074197670126543583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243523753,"filename":"image_31102025_02_54_41_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410147","file1":"1396410116","file0":"1396410112","file4":"1396410217","file5":"1396410237","file3":"1396410183"},"map_files_photo_id_array":[{"photo_id":"1396410237","filename":"file5"},{"photo_id":"1396410147","filename":"file2"},{"photo_id":"1396410217","filename":"file4"},{"photo_id":"1396410116","filename":"file1"},{"photo_id":"1396410112","filename":"file0"},{"photo_id":"1396410183","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396410217":["hashtag1","hashtag2"]},{"1396410112":["hashtag1","hashtag2"]},{"1396410183":["hashtag1","hashtag2"]},{"1396410237":["hashtag1","hashtag2"]},{"1396410147":["hashtag1","hashtag2"]},{"1396410116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396410217, 1396410112, 1396410183, 1396410237, 1396410147, 1396410116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.733962535858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:38:22.219452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/22/image_27112025_12_23_05_10769.jpg', '/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_15_9584.jpg', '/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_25_9625.jpg', '/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_35_10737.jpg', '/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_45_9686.jpg', '/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_55_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/22/image_27112025_12_23_05_10769.jpg
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_15_9584.jpg
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_25_9625.jpg
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_35_10737.jpg
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_45_9686.jpg
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_23_55_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410273","1396410276","1396410279","1396410270","1396410284","1396410281"],"photo_ids_order":["1396410270","1396410273","1396410276","1396410279","1396410281","1396410284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f5d83979fc505a8d311061993bf0d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4557357210936842601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/964969bec40ca395dc7ed85f15d49f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7097273492939953020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e8c08cb20f315867690127e8d339987.jpg","text":"TemporaryFile(/tmp/multipartBody4079212395185222388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3cdba6dc7ddb1d59a780f90df50c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4311577375999328921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66a874530b382edf90f49fb8fb70686d.jpg","text":"TemporaryFile(/tmp/multipartBody594528789581741818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a35250cad706010db3d59c133f305d9.jpg","text":"TemporaryFile(/tmp/multipartBody8105818955460399889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243562985,"filename":"image_27112025_12_23_45_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410276","file1":"1396410273","file0":"1396410270","file4":"1396410281","file5":"1396410284","file3":"1396410279"},"map_files_photo_id_array":[{"photo_id":"1396410284","filename":"file5"},{"photo_id":"1396410276","filename":"file2"},{"photo_id":"1396410281","filename":"file4"},{"photo_id":"1396410273","filename":"file1"},{"photo_id":"1396410270","filename":"file0"},{"photo_id":"1396410279","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410273":["hashtag1","hashtag2"]},{"1396410276":["hashtag1","hashtag2"]},{"1396410279":["hashtag1","hashtag2"]},{"1396410270":["hashtag1","hashtag2"]},{"1396410284":["hashtag1","hashtag2"]},{"1396410281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410273, 1396410276, 1396410279, 1396410270, 1396410284, 1396410281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94448804855347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:39:03.205575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/23/image_27112025_12_24_05_10804.jpg', '/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_15_9595.jpg', '/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_25_9816.jpg', '/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_35_10032.jpg', '/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_45_9857.jpg', '/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_55_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/23/image_27112025_12_24_05_10804.jpg
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_15_9595.jpg
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_25_9816.jpg
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_35_10032.jpg
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_45_9857.jpg
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_24_55_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410288","1396410290","1396410287","1396410295","1396410289","1396410292"],"photo_ids_order":["1396410287","1396410288","1396410289","1396410290","1396410292","1396410295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5815f0730758fd3fe6c851d8cfcd0ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1227349667200857883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_15_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/522d97ae3673ff5ae089cbac064d8f64.jpg","text":"TemporaryFile(/tmp/multipartBody8122118999388204312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_35_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ea4fdc9db52ba20b80375588c74fce5.jpg","text":"TemporaryFile(/tmp/multipartBody5001681923596565578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_05_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e47a4e8713dcb459f8f2a2dd8ab9e57.jpg","text":"TemporaryFile(/tmp/multipartBody6887211497782206333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da45571cda258207222820b5faf30b36.jpg","text":"TemporaryFile(/tmp/multipartBody688293108382963426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_25_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/136007b669d590eea63b0b04805e965b.jpg","text":"TemporaryFile(/tmp/multipartBody1746679127603020983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243604239,"filename":"image_27112025_12_24_45_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410289","file1":"1396410288","file0":"1396410287","file4":"1396410292","file5":"1396410295","file3":"1396410290"},"map_files_photo_id_array":[{"photo_id":"1396410295","filename":"file5"},{"photo_id":"1396410289","filename":"file2"},{"photo_id":"1396410292","filename":"file4"},{"photo_id":"1396410288","filename":"file1"},{"photo_id":"1396410287","filename":"file0"},{"photo_id":"1396410290","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410288":["hashtag1","hashtag2"]},{"1396410290":["hashtag1","hashtag2"]},{"1396410287":["hashtag1","hashtag2"]},{"1396410295":["hashtag1","hashtag2"]},{"1396410289":["hashtag1","hashtag2"]},{"1396410292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410288, 1396410290, 1396410287, 1396410295, 1396410289, 1396410292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48374915122986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:39:42.372542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_05_2747.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_17_2643.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_23_3634.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_29_2744.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_35_3238.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_38_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_05_2747.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_17_2643.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_23_3634.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_29_2744.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_35_3238.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_38_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410307","1396410310","1396410309","1396410311","1396410305","1396410308"],"photo_ids_order":["1396410305","1396410307","1396410308","1396410309","1396410310","1396410311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcd5efdeb96a5ccc4e13b04c4430256b.jpg","text":"TemporaryFile(/tmp/multipartBody4094351644018145481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_17_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/27/8bd31cf5b6b3c4841e10fc5845ade249.jpg","text":"TemporaryFile(/tmp/multipartBody6105390839166193870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_35_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afaa015ed28114cb006afb0757871611.jpg","text":"TemporaryFile(/tmp/multipartBody1951996395648014747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_29_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/27/ce03ece8ebcdfcd9924d986389e5b443.jpg","text":"TemporaryFile(/tmp/multipartBody5257432454457068894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_38_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/27/5068ab844c6cdbee3d19c6a99f254d63.jpg","text":"TemporaryFile(/tmp/multipartBody2200859325447991037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_05_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/27/09fc797e53e2bef0a78dac517e459cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8269078563744769474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243644008,"filename":"image_31102025_02_55_23_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410308","file1":"1396410307","file0":"1396410305","file4":"1396410310","file5":"1396410311","file3":"1396410309"},"map_files_photo_id_array":[{"photo_id":"1396410311","filename":"file5"},{"photo_id":"1396410308","filename":"file2"},{"photo_id":"1396410310","filename":"file4"},{"photo_id":"1396410307","filename":"file1"},{"photo_id":"1396410305","filename":"file0"},{"photo_id":"1396410309","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396410307":["hashtag1","hashtag2"]},{"1396410310":["hashtag1","hashtag2"]},{"1396410309":["hashtag1","hashtag2"]},{"1396410311":["hashtag1","hashtag2"]},{"1396410305":["hashtag1","hashtag2"]},{"1396410308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396410307, 1396410310, 1396410309, 1396410311, 1396410305, 1396410308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22865557670593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:40:22.550912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/24/image_27112025_12_25_05_9777.jpg', '/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_15_9783.jpg', '/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_25_9888.jpg', '/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_35_9827.jpg', '/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_45_10682.jpg', '/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_55_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/24/image_27112025_12_25_05_9777.jpg
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_15_9783.jpg
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_25_9888.jpg
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_35_9827.jpg
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_45_10682.jpg
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_25_55_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410331","1396410324","1396410318","1396410327","1396410321","1396410315"],"photo_ids_order":["1396410315","1396410318","1396410321","1396410324","1396410327","1396410331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15ff898b8e5e000a410c5c037982554c.jpg","text":"TemporaryFile(/tmp/multipartBody2126725793623092834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74dbb51d61a965cb1ce6d531701d9d10.jpg","text":"TemporaryFile(/tmp/multipartBody4363444964778084480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_35_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f495e55ef30bf55383aae406bb9042eb.jpg","text":"TemporaryFile(/tmp/multipartBody879854052845184513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a8cd36b717143c42ed5b006fa5114cb.jpg","text":"TemporaryFile(/tmp/multipartBody1808427882488762909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5174e01d950e84a98fe524f9a09bcd87.jpg","text":"TemporaryFile(/tmp/multipartBody2285708693682716207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_25_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c2aacb8c987997d3ab3ec29d4fc6357.jpg","text":"TemporaryFile(/tmp/multipartBody2254281852050095428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243683308,"filename":"image_27112025_12_25_05_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410321","file1":"1396410318","file0":"1396410315","file4":"1396410327","file5":"1396410331","file3":"1396410324"},"map_files_photo_id_array":[{"photo_id":"1396410331","filename":"file5"},{"photo_id":"1396410321","filename":"file2"},{"photo_id":"1396410327","filename":"file4"},{"photo_id":"1396410318","filename":"file1"},{"photo_id":"1396410315","filename":"file0"},{"photo_id":"1396410324","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410331":["hashtag1","hashtag2"]},{"1396410324":["hashtag1","hashtag2"]},{"1396410318":["hashtag1","hashtag2"]},{"1396410327":["hashtag1","hashtag2"]},{"1396410321":["hashtag1","hashtag2"]},{"1396410315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410331, 1396410324, 1396410318, 1396410327, 1396410321, 1396410315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66960310935974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:41:03.338830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/25/image_27112025_12_26_05_9648.jpg', '/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_15_10610.jpg', '/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_25_9668.jpg', '/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_34_9645.jpg', '/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_45_10680.jpg', '/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_55_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/25/image_27112025_12_26_05_9648.jpg
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_15_10610.jpg
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_25_9668.jpg
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_34_9645.jpg
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_45_10680.jpg
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_26_55_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410340","1396410363","1396410366","1396410339","1396410341","1396410335"],"photo_ids_order":["1396410335","1396410339","1396410340","1396410341","1396410363","1396410366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f59531d2bfe4662c41680935ae85de5.jpg","text":"TemporaryFile(/tmp/multipartBody2779401526633237970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4e6a98194b87eb3d2e207eb9a89bcbb.jpg","text":"TemporaryFile(/tmp/multipartBody5724998753289076378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8d5d0d7ec88d145b161499ee8a805d0.jpg","text":"TemporaryFile(/tmp/multipartBody1418776600516507921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd2ff5367631f7a8972e8d8a5f86f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody4450567092906834787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d4350678cae841c13c104c08a9a1624.jpg","text":"TemporaryFile(/tmp/multipartBody1075312927522118748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09d72f099ea144c9a368568658bcf311.jpg","text":"TemporaryFile(/tmp/multipartBody978998706169657822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243724153,"filename":"image_27112025_12_26_05_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410340","file1":"1396410339","file0":"1396410335","file4":"1396410363","file5":"1396410366","file3":"1396410341"},"map_files_photo_id_array":[{"photo_id":"1396410366","filename":"file5"},{"photo_id":"1396410340","filename":"file2"},{"photo_id":"1396410363","filename":"file4"},{"photo_id":"1396410339","filename":"file1"},{"photo_id":"1396410335","filename":"file0"},{"photo_id":"1396410341","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410340":["hashtag1","hashtag2"]},{"1396410363":["hashtag1","hashtag2"]},{"1396410366":["hashtag1","hashtag2"]},{"1396410339":["hashtag1","hashtag2"]},{"1396410341":["hashtag1","hashtag2"]},{"1396410335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410340, 1396410363, 1396410366, 1396410339, 1396410341, 1396410335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.981425046920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:41:42.794556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_47_2795.jpg', '/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_56_2746.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_05_3774.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_17_2631.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_23_3683.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_29_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_47_2795.jpg
/home/pi/Desktop/images/31102025/02/55/image_31102025_02_55_56_2746.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_05_3774.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_17_2631.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_23_3683.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_29_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410511","1396410421","1396410387","1396410374","1396410455","1396410490"],"photo_ids_order":["1396410374","1396410387","1396410421","1396410455","1396410490","1396410511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/232b9103aacc295abb7aa5c9f1107590.jpg","text":"TemporaryFile(/tmp/multipartBody9201017218846135639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_56_29_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/27/bddbeddc4e1904a432cf1a8850cca1db.jpg","text":"TemporaryFile(/tmp/multipartBody8127006243889059019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_56_05_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/27/7764042db16e7a306173669bc8770ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3065883713828708093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_55_56_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/27/72b2ab9a804421734c035a1eed4e41e5.jpg","text":"TemporaryFile(/tmp/multipartBody57685135447025849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_55_47_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/27/95e7d155e613fce1c025d5aeab47dc96.jpg","text":"TemporaryFile(/tmp/multipartBody3595547702900958459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_56_17_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/27/1ee8b2d8e6ead4fe8393b89da06ef6c6.jpg","text":"TemporaryFile(/tmp/multipartBody6583120597085872412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243764572,"filename":"image_31102025_02_56_23_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410421","file1":"1396410387","file0":"1396410374","file4":"1396410490","file5":"1396410511","file3":"1396410455"},"map_files_photo_id_array":[{"photo_id":"1396410511","filename":"file5"},{"photo_id":"1396410421","filename":"file2"},{"photo_id":"1396410490","filename":"file4"},{"photo_id":"1396410387","filename":"file1"},{"photo_id":"1396410374","filename":"file0"},{"photo_id":"1396410455","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396410511":["hashtag1","hashtag2"]},{"1396410421":["hashtag1","hashtag2"]},{"1396410387":["hashtag1","hashtag2"]},{"1396410374":["hashtag1","hashtag2"]},{"1396410455":["hashtag1","hashtag2"]},{"1396410490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396410511, 1396410421, 1396410387, 1396410374, 1396410455, 1396410490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.765761613845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:42:21.947643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/26/image_27112025_12_27_05_10134.jpg', '/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_15_9706.jpg', '/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_24_9687.jpg', '/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_35_10650.jpg', '/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_45_9543.jpg', '/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/26/image_27112025_12_27_05_10134.jpg
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_15_9706.jpg
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_24_9687.jpg
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_35_10650.jpg
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_45_9543.jpg
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_27_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410594","1396410543","1396410603","1396410606","1396410600","1396410584"],"photo_ids_order":["1396410543","1396410584","1396410594","1396410600","1396410603","1396410606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f7f87750469bf1d0cb883fb855cbd5f.jpg","text":"TemporaryFile(/tmp/multipartBody8951718799629330501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fed93a2130ed4f9a5210da95073d6f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5661468628053280295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_05_10134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58c445cd63bcbedc8f86ea5f03b36a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6340075953238002969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_45_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94dec599e99c7b2179490b7f0582a3cd.jpg","text":"TemporaryFile(/tmp/multipartBody1469012026440186286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abef622dce9d29c8868c0b9eae256e57.jpg","text":"TemporaryFile(/tmp/multipartBody8984857454831748880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/650581bec7564144531fd67992441911.jpg","text":"TemporaryFile(/tmp/multipartBody4022811179582248433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243802730,"filename":"image_27112025_12_27_15_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410594","file1":"1396410584","file0":"1396410543","file4":"1396410603","file5":"1396410606","file3":"1396410600"},"map_files_photo_id_array":[{"photo_id":"1396410606","filename":"file5"},{"photo_id":"1396410594","filename":"file2"},{"photo_id":"1396410603","filename":"file4"},{"photo_id":"1396410584","filename":"file1"},{"photo_id":"1396410543","filename":"file0"},{"photo_id":"1396410600","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410594":["hashtag1","hashtag2"]},{"1396410543":["hashtag1","hashtag2"]},{"1396410603":["hashtag1","hashtag2"]},{"1396410606":["hashtag1","hashtag2"]},{"1396410600":["hashtag1","hashtag2"]},{"1396410584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410594, 1396410543, 1396410603, 1396410606, 1396410600, 1396410584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6572630405426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:43:02.723800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/27/image_27112025_12_28_05_9779.jpg', '/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_15_9882.jpg', '/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_25_9553.jpg', '/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_35_10664.jpg', '/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_45_9714.jpg', '/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_55_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/27/image_27112025_12_28_05_9779.jpg
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_15_9882.jpg
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_25_9553.jpg
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_35_10664.jpg
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_45_9714.jpg
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_28_55_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410637","1396410628","1396410633","1396410677","1396410635","1396410667"],"photo_ids_order":["1396410628","1396410633","1396410635","1396410637","1396410667","1396410677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/594d7129f8401a347e9cab5eb2d2ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody3950865887382130534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79c74faa2e210fc6b81745cfe108981c.jpg","text":"TemporaryFile(/tmp/multipartBody1861802143579966829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63a91ccd07c3c2aaf05d61463b2f5991.jpg","text":"TemporaryFile(/tmp/multipartBody1921782467805950663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_15_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/efdb60ebc242e81ed2af54953a33309f.jpg","text":"TemporaryFile(/tmp/multipartBody1436180982182016368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_55_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bc8691fd6e610c534c11ed3d86ac395.jpg","text":"TemporaryFile(/tmp/multipartBody1454988657483871529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_25_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1eaaf7b70d590ff85fb3a94a7b23d2de.jpg","text":"TemporaryFile(/tmp/multipartBody3516836094208758821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243843566,"filename":"image_27112025_12_28_45_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410635","file1":"1396410633","file0":"1396410628","file4":"1396410667","file5":"1396410677","file3":"1396410637"},"map_files_photo_id_array":[{"photo_id":"1396410677","filename":"file5"},{"photo_id":"1396410635","filename":"file2"},{"photo_id":"1396410667","filename":"file4"},{"photo_id":"1396410633","filename":"file1"},{"photo_id":"1396410628","filename":"file0"},{"photo_id":"1396410637","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410637":["hashtag1","hashtag2"]},{"1396410628":["hashtag1","hashtag2"]},{"1396410633":["hashtag1","hashtag2"]},{"1396410677":["hashtag1","hashtag2"]},{"1396410635":["hashtag1","hashtag2"]},{"1396410667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410637, 1396410628, 1396410633, 1396410677, 1396410635, 1396410667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06187963485718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:43:42.187687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_32_2772.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_34_2792.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_41_2715.jpg', '/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_46_2718.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_02_3695.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_05_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_32_2772.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_34_2792.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_41_2715.jpg
/home/pi/Desktop/images/31102025/02/56/image_31102025_02_56_46_2718.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_02_3695.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_05_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410817","1396410727","1396410762","1396410818","1396410800","1396410688"],"photo_ids_order":["1396410688","1396410727","1396410762","1396410800","1396410817","1396410818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d70953c527fb38bc7069e090ea1aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody15975382160819017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_57_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/27/7a10b35ef64a5a98d956ccce0cdd178a.jpg","text":"TemporaryFile(/tmp/multipartBody1068068255149705547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_56_34_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/27/17de59b8b4d4f131d144ccc8424caeec.jpg","text":"TemporaryFile(/tmp/multipartBody3768513972077698362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_56_41_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/27/84af13791da2fc03569fe310b29a408a.jpg","text":"TemporaryFile(/tmp/multipartBody3602960431620674515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_57_05_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/27/4f155c1de23c505afeb6b5742f66c7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8814306387944591052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_56_46_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/27/167ace7a01c7d1c405cf44433363f109.jpg","text":"TemporaryFile(/tmp/multipartBody816979071781787118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243883813,"filename":"image_31102025_02_56_32_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410762","file1":"1396410727","file0":"1396410688","file4":"1396410817","file5":"1396410818","file3":"1396410800"},"map_files_photo_id_array":[{"photo_id":"1396410818","filename":"file5"},{"photo_id":"1396410762","filename":"file2"},{"photo_id":"1396410817","filename":"file4"},{"photo_id":"1396410727","filename":"file1"},{"photo_id":"1396410688","filename":"file0"},{"photo_id":"1396410800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396410817":["hashtag1","hashtag2"]},{"1396410727":["hashtag1","hashtag2"]},{"1396410762":["hashtag1","hashtag2"]},{"1396410818":["hashtag1","hashtag2"]},{"1396410800":["hashtag1","hashtag2"]},{"1396410688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396410817, 1396410727, 1396410762, 1396410818, 1396410800, 1396410688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98930382728577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:44:22.359231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/28/image_27112025_12_29_05_9810.jpg', '/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_15_9877.jpg', '/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_25_10722.jpg', '/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_35_9559.jpg', '/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_45_10124.jpg', '/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_55_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/28/image_27112025_12_29_05_9810.jpg
/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_15_9877.jpg
/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_25_10722.jpg
/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_35_9559.jpg
/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_45_10124.jpg
/home/pi/Desktop/images/27112025/12/29/image_27112025_12_29_55_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396410820","1396410910","1396410873","1396410825","1396410828","1396410836"],"photo_ids_order":["1396410820","1396410825","1396410828","1396410836","1396410873","1396410910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4eeb77b70e61261219313b87456edd86.jpg","text":"TemporaryFile(/tmp/multipartBody1553160667515367905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0db155406fa49b29b509145718467441.jpg","text":"TemporaryFile(/tmp/multipartBody3228876150617006935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/acb4529e7562ff76fdb6ce95b69dc6db.jpg","text":"TemporaryFile(/tmp/multipartBody3500128356631675180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_45_10124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae982e1a8f088abb4b6ac26c3b7783d6.jpg","text":"TemporaryFile(/tmp/multipartBody7854617511892794774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_15_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20e941324839ff9fd3c4d245d2a9ab4e.jpg","text":"TemporaryFile(/tmp/multipartBody1820391327613946535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55d456edefada80f816c7ed4d488bd51.jpg","text":"TemporaryFile(/tmp/multipartBody1892419124699805087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243923107,"filename":"image_27112025_12_29_35_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396410828","file1":"1396410825","file0":"1396410820","file4":"1396410873","file5":"1396410910","file3":"1396410836"},"map_files_photo_id_array":[{"photo_id":"1396410910","filename":"file5"},{"photo_id":"1396410828","filename":"file2"},{"photo_id":"1396410873","filename":"file4"},{"photo_id":"1396410825","filename":"file1"},{"photo_id":"1396410820","filename":"file0"},{"photo_id":"1396410836","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396410820":["hashtag1","hashtag2"]},{"1396410910":["hashtag1","hashtag2"]},{"1396410873":["hashtag1","hashtag2"]},{"1396410825":["hashtag1","hashtag2"]},{"1396410828":["hashtag1","hashtag2"]},{"1396410836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396410820, 1396410910, 1396410873, 1396410825, 1396410828, 1396410836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90274262428284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:45:03.232483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_14_10057.jpg', '/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_25_10849.jpg', '/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_35_9571.jpg', '/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_44_9643.jpg', '/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_55_10729.jpg', '/home/pi/Desktop/images/27112025/12/30/image_27112025_12_31_05_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_14_10057.jpg
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_25_10849.jpg
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_35_9571.jpg
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_44_9643.jpg
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_30_55_10729.jpg
/home/pi/Desktop/images/27112025/12/30/image_27112025_12_31_05_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411041","1396411044","1396411038","1396411047","1396411040","1396411042"],"photo_ids_order":["1396411038","1396411040","1396411041","1396411042","1396411044","1396411047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b0e8a77ef4437bcd5fe5d322b75673f.jpg","text":"TemporaryFile(/tmp/multipartBody1629880987251373299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_30_35_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05e3998cf178d5bd4471ce17a38c64ad.jpg","text":"TemporaryFile(/tmp/multipartBody7822977123767853904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_30_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0fd81bce324e99ecb1e578154f51144.jpg","text":"TemporaryFile(/tmp/multipartBody7080346361764385944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_30_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0dfd3e04d722c81b632ad37da3c39867.jpg","text":"TemporaryFile(/tmp/multipartBody8999404004040654769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_31_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7fbd38aa1fe0959546440c93d9ff2293.jpg","text":"TemporaryFile(/tmp/multipartBody7840312809833120524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_30_25_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0b3d047bc7d3f4e673235b901e86693.jpg","text":"TemporaryFile(/tmp/multipartBody1773103740264042610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764243964100,"filename":"image_27112025_12_30_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411041","file1":"1396411040","file0":"1396411038","file4":"1396411044","file5":"1396411047","file3":"1396411042"},"map_files_photo_id_array":[{"photo_id":"1396411047","filename":"file5"},{"photo_id":"1396411041","filename":"file2"},{"photo_id":"1396411044","filename":"file4"},{"photo_id":"1396411040","filename":"file1"},{"photo_id":"1396411038","filename":"file0"},{"photo_id":"1396411042","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411041":["hashtag1","hashtag2"]},{"1396411044":["hashtag1","hashtag2"]},{"1396411038":["hashtag1","hashtag2"]},{"1396411047":["hashtag1","hashtag2"]},{"1396411040":["hashtag1","hashtag2"]},{"1396411042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411041, 1396411044, 1396411038, 1396411047, 1396411040, 1396411042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.894100189208984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:45:42.547745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_15_6555.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_16_1674.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_23_2704.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_32_2556.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_34_2770.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_37_2993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_15_6555.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_16_1674.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_23_2704.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_32_2556.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_34_2770.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_37_2993.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411056","1396411059","1396411061","1396411058","1396411057","1396411060"],"photo_ids_order":["1396411056","1396411057","1396411058","1396411059","1396411060","1396411061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94baf18c7c8ced603d85e9506b1882c0.jpg","text":"TemporaryFile(/tmp/multipartBody4244264036390480828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_15_6555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb9ae6d037e7015f2d55e7a9695a75d6.jpg","text":"TemporaryFile(/tmp/multipartBody5501933305937792915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_32_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/27/21cebc829f095484d89a9a56b6aa5419.jpg","text":"TemporaryFile(/tmp/multipartBody1359941275246721844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_37_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/27/a590c11e60316ed443afc5aa523909eb.jpg","text":"TemporaryFile(/tmp/multipartBody7478336459754310873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_23_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/27/f5d176888787be94313d994da74f9d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4570104371763867775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_16_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/27/412f10c9daeecf6a54bcd421edfa0ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4619776232368151795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244004180,"filename":"image_31102025_02_57_34_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411058","file1":"1396411057","file0":"1396411056","file4":"1396411060","file5":"1396411061","file3":"1396411059"},"map_files_photo_id_array":[{"photo_id":"1396411061","filename":"file5"},{"photo_id":"1396411058","filename":"file2"},{"photo_id":"1396411060","filename":"file4"},{"photo_id":"1396411057","filename":"file1"},{"photo_id":"1396411056","filename":"file0"},{"photo_id":"1396411059","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411056":["hashtag1","hashtag2"]},{"1396411059":["hashtag1","hashtag2"]},{"1396411061":["hashtag1","hashtag2"]},{"1396411058":["hashtag1","hashtag2"]},{"1396411057":["hashtag1","hashtag2"]},{"1396411060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411056, 1396411059, 1396411061, 1396411058, 1396411057, 1396411060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.884135484695435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:46:22.738304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_15_9841.jpg', '/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_24_9705.jpg', '/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_35_10811.jpg', '/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_45_9781.jpg', '/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_55_9771.jpg', '/home/pi/Desktop/images/27112025/12/31/image_27112025_12_32_05_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_15_9841.jpg
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_24_9705.jpg
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_35_10811.jpg
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_45_9781.jpg
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_31_55_9771.jpg
/home/pi/Desktop/images/27112025/12/31/image_27112025_12_32_05_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411079","1396411070","1396411064","1396411073","1396411067","1396411076"],"photo_ids_order":["1396411064","1396411067","1396411070","1396411073","1396411076","1396411079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00f6c669b06b5f48623503cafde725db.jpg","text":"TemporaryFile(/tmp/multipartBody9167079835248454562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_32_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50251fca0858f780dfa458fa475cf857.jpg","text":"TemporaryFile(/tmp/multipartBody7450759862211539959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_31_35_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38f33969d8a90b59c3205b94fcbd247e.jpg","text":"TemporaryFile(/tmp/multipartBody8431195010638464373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_31_15_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/452b36d25914f493d8e1fe18568223f9.jpg","text":"TemporaryFile(/tmp/multipartBody510867340865779985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_31_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/902fb507a812f2ae0a927675b0034385.jpg","text":"TemporaryFile(/tmp/multipartBody2132316097083040505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_31_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1543fdab35d3180e55dd8bb3fc4bae8c.jpg","text":"TemporaryFile(/tmp/multipartBody3822383740408379560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244043513,"filename":"image_27112025_12_31_55_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411070","file1":"1396411067","file0":"1396411064","file4":"1396411076","file5":"1396411079","file3":"1396411073"},"map_files_photo_id_array":[{"photo_id":"1396411079","filename":"file5"},{"photo_id":"1396411070","filename":"file2"},{"photo_id":"1396411076","filename":"file4"},{"photo_id":"1396411067","filename":"file1"},{"photo_id":"1396411064","filename":"file0"},{"photo_id":"1396411073","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411079":["hashtag1","hashtag2"]},{"1396411070":["hashtag1","hashtag2"]},{"1396411064":["hashtag1","hashtag2"]},{"1396411073":["hashtag1","hashtag2"]},{"1396411067":["hashtag1","hashtag2"]},{"1396411076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411079, 1396411070, 1396411064, 1396411073, 1396411067, 1396411076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03167176246643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:47:02.644039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_15_10647.jpg', '/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_25_9723.jpg', '/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_35_9660.jpg', '/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_45_10694.jpg', '/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_55_9725.jpg', '/home/pi/Desktop/images/27112025/12/32/image_27112025_12_33_05_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_15_10647.jpg
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_25_9723.jpg
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_35_9660.jpg
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_45_10694.jpg
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_32_55_9725.jpg
/home/pi/Desktop/images/27112025/12/32/image_27112025_12_33_05_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411086","1396411085","1396411088","1396411093","1396411090","1396411087"],"photo_ids_order":["1396411085","1396411086","1396411087","1396411088","1396411090","1396411093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bd96d3e5f9a69a1227295e2e40b107f.jpg","text":"TemporaryFile(/tmp/multipartBody9182045382011119727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_32_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac591356b4384c05984a0261a47e5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6141111988121265649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_32_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bbf55b071e9f0a48d90655856832d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4909113595269745509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_32_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4fa4dada6dd6d41f4b6f0062aa279ee.jpg","text":"TemporaryFile(/tmp/multipartBody5811062785100944391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_33_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59a0eb9d5c5a708bb054023cd54dc32e.jpg","text":"TemporaryFile(/tmp/multipartBody2796148552829786612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_32_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb0eb315e805cc8581d4a462248582e4.jpg","text":"TemporaryFile(/tmp/multipartBody2510386548293761176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244083462,"filename":"image_27112025_12_32_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411087","file1":"1396411086","file0":"1396411085","file4":"1396411090","file5":"1396411093","file3":"1396411088"},"map_files_photo_id_array":[{"photo_id":"1396411093","filename":"file5"},{"photo_id":"1396411087","filename":"file2"},{"photo_id":"1396411090","filename":"file4"},{"photo_id":"1396411086","filename":"file1"},{"photo_id":"1396411085","filename":"file0"},{"photo_id":"1396411088","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411086":["hashtag1","hashtag2"]},{"1396411085":["hashtag1","hashtag2"]},{"1396411088":["hashtag1","hashtag2"]},{"1396411093":["hashtag1","hashtag2"]},{"1396411090":["hashtag1","hashtag2"]},{"1396411087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411086, 1396411085, 1396411088, 1396411093, 1396411090, 1396411087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95571851730347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:47:41.904478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_44_2751.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_47_2916.jpg', '/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_56_2681.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_01_2434.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_05_3750.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_14_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_44_2751.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_47_2916.jpg
/home/pi/Desktop/images/31102025/02/57/image_31102025_02_57_56_2681.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_01_2434.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_05_3750.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_14_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":["1396411102","1396411105","1396411104","1396411107","1396411109","1396411106"],"photo_ids_order":["1396411102","1396411104","1396411105","1396411106","1396411107","1396411109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1ee146c5430a20ee2da9a89a849d699.jpg","text":"TemporaryFile(/tmp/multipartBody9139678243810953354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_57_44_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/27/acaca7d30e1bd5025a3ce8ac0da02319.jpg","text":"TemporaryFile(/tmp/multipartBody4075387317882210656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_57_56_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/27/e5b2eac5a88c05d05f204a9be9980cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4873186666434941955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_57_47_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/27/ae1720d45cff97e4080c94a69a2e1c65.jpg","text":"TemporaryFile(/tmp/multipartBody1880931386269858553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_58_05_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/27/56bee470a4e45e3241e149ad0ff41d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2469333862134163958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_58_14_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/27/cdcc65747802367c9d607da1ffdbac31.jpg","text":"TemporaryFile(/tmp/multipartBody597663543768567201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244125410,"filename":"image_31102025_02_58_01_2434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411105","file1":"1396411104","file0":"1396411102","file4":"1396411107","file5":"1396411109","file3":"1396411106"},"map_files_photo_id_array":[{"photo_id":"1396411109","filename":"file5"},{"photo_id":"1396411105","filename":"file2"},{"photo_id":"1396411107","filename":"file4"},{"photo_id":"1396411104","filename":"file1"},{"photo_id":"1396411102","filename":"file0"},{"photo_id":"1396411106","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411102":["hashtag1","hashtag2"]},{"1396411105":["hashtag1","hashtag2"]},{"1396411104":["hashtag1","hashtag2"]},{"1396411107":["hashtag1","hashtag2"]},{"1396411109":["hashtag1","hashtag2"]},{"1396411106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411102, 1396411105, 1396411104, 1396411107, 1396411109, 1396411106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35452055931091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:48:22.065666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_14_9754.jpg', '/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_25_10607.jpg', '/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_35_9645.jpg', '/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_45_10644.jpg', '/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_55_9660.jpg', '/home/pi/Desktop/images/27112025/12/33/image_27112025_12_34_04_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_14_9754.jpg
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_25_10607.jpg
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_35_9645.jpg
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_45_10644.jpg
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_33_55_9660.jpg
/home/pi/Desktop/images/27112025/12/33/image_27112025_12_34_04_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411123","1396411121","1396411115","1396411118","1396411112","1396411126"],"photo_ids_order":["1396411112","1396411115","1396411118","1396411121","1396411123","1396411126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f981d03f5d0224c28ce3058177794036.jpg","text":"TemporaryFile(/tmp/multipartBody4074780440192181667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_33_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce4073edf0960804424d31f724f60595.jpg","text":"TemporaryFile(/tmp/multipartBody7042989298018362616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_33_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/838b422ed10fcf0e106a2885c5fe52e2.jpg","text":"TemporaryFile(/tmp/multipartBody7400017995138815262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_33_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a8f8381d4d56b21f74ee3e81c46270a.jpg","text":"TemporaryFile(/tmp/multipartBody8815475128749864259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_33_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/635d14982cf8c223d6abddd8f1fe3bef.jpg","text":"TemporaryFile(/tmp/multipartBody162570031042058570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_33_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7fc4f20971c1039cf9074ddd76e611e.jpg","text":"TemporaryFile(/tmp/multipartBody6929737391691215212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244162799,"filename":"image_27112025_12_34_04_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411118","file1":"1396411115","file0":"1396411112","file4":"1396411123","file5":"1396411126","file3":"1396411121"},"map_files_photo_id_array":[{"photo_id":"1396411126","filename":"file5"},{"photo_id":"1396411118","filename":"file2"},{"photo_id":"1396411123","filename":"file4"},{"photo_id":"1396411115","filename":"file1"},{"photo_id":"1396411112","filename":"file0"},{"photo_id":"1396411121","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411123":["hashtag1","hashtag2"]},{"1396411121":["hashtag1","hashtag2"]},{"1396411115":["hashtag1","hashtag2"]},{"1396411118":["hashtag1","hashtag2"]},{"1396411112":["hashtag1","hashtag2"]},{"1396411126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411123, 1396411121, 1396411115, 1396411118, 1396411112, 1396411126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.146652698516846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:49:03.322369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_15_10577.jpg', '/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_25_9761.jpg', '/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_34_9680.jpg', '/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_44_9814.jpg', '/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_55_10678.jpg', '/home/pi/Desktop/images/27112025/12/34/image_27112025_12_35_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_15_10577.jpg
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_25_9761.jpg
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_34_9680.jpg
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_44_9814.jpg
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_34_55_10678.jpg
/home/pi/Desktop/images/27112025/12/34/image_27112025_12_35_05_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411131","1396411134","1396411139","1396411130","1396411132","1396411129"],"photo_ids_order":["1396411129","1396411130","1396411131","1396411132","1396411134","1396411139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ff658486340ff10580f6ab573e8c2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8858509064896385457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_34_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02ae69c6d954f4fbff24556d1bca3379.jpg","text":"TemporaryFile(/tmp/multipartBody2252312602426477509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_34_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/836170df80ba47f073517a3a2143e013.jpg","text":"TemporaryFile(/tmp/multipartBody3247855916858448512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_35_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3c0b779ea7e89a2b5c29b0aa3eb35c8.jpg","text":"TemporaryFile(/tmp/multipartBody4569997590236976566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_34_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69e72cd78273d51a47671f265b073720.jpg","text":"TemporaryFile(/tmp/multipartBody397837574592279744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_34_44_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd11ea06b40a6a684a443f038b372871.jpg","text":"TemporaryFile(/tmp/multipartBody6061258608421968677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244204244,"filename":"image_27112025_12_34_15_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411131","file1":"1396411130","file0":"1396411129","file4":"1396411134","file5":"1396411139","file3":"1396411132"},"map_files_photo_id_array":[{"photo_id":"1396411139","filename":"file5"},{"photo_id":"1396411131","filename":"file2"},{"photo_id":"1396411134","filename":"file4"},{"photo_id":"1396411130","filename":"file1"},{"photo_id":"1396411129","filename":"file0"},{"photo_id":"1396411132","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411131":["hashtag1","hashtag2"]},{"1396411134":["hashtag1","hashtag2"]},{"1396411139":["hashtag1","hashtag2"]},{"1396411130":["hashtag1","hashtag2"]},{"1396411132":["hashtag1","hashtag2"]},{"1396411129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411131, 1396411134, 1396411139, 1396411130, 1396411132, 1396411129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71163487434387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:49:42.346321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_23_3663.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_26_2559.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_32_3592.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_35_2766.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_40_3016.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_43_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_23_3663.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_26_2559.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_32_3592.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_35_2766.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_40_3016.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_43_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411155","1396411158","1396411157","1396411156","1396411150","1396411153"],"photo_ids_order":["1396411150","1396411153","1396411155","1396411156","1396411157","1396411158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1710634c7001ee4636211508ad2984ff.jpg","text":"TemporaryFile(/tmp/multipartBody4856127013246436828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_32_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/27/5861b5273a84893bd611024170c96f55.jpg","text":"TemporaryFile(/tmp/multipartBody76312343492055281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_43_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/27/d25d100a26d6fad6377962683a88852a.jpg","text":"TemporaryFile(/tmp/multipartBody190026891313697313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_40_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/27/cafb6b6a24973b487525ba5bdf614d45.jpg","text":"TemporaryFile(/tmp/multipartBody356448145452046618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_35_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/27/090cbd4fc210b5317dee030cb128d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2950291056739100042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_23_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/27/cb793cb0036d2eb0245aad2e047a76de.jpg","text":"TemporaryFile(/tmp/multipartBody6982960033272197417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244243963,"filename":"image_31102025_02_58_26_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411155","file1":"1396411153","file0":"1396411150","file4":"1396411157","file5":"1396411158","file3":"1396411156"},"map_files_photo_id_array":[{"photo_id":"1396411158","filename":"file5"},{"photo_id":"1396411155","filename":"file2"},{"photo_id":"1396411157","filename":"file4"},{"photo_id":"1396411153","filename":"file1"},{"photo_id":"1396411150","filename":"file0"},{"photo_id":"1396411156","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411155":["hashtag1","hashtag2"]},{"1396411158":["hashtag1","hashtag2"]},{"1396411157":["hashtag1","hashtag2"]},{"1396411156":["hashtag1","hashtag2"]},{"1396411150":["hashtag1","hashtag2"]},{"1396411153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411155, 1396411158, 1396411157, 1396411156, 1396411150, 1396411153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.642114877700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:50:22.609345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_15_10652.jpg', '/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_25_9721.jpg', '/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_35_9585.jpg', '/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_45_10667.jpg', '/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_55_9598.jpg', '/home/pi/Desktop/images/27112025/12/35/image_27112025_12_36_04_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_15_10652.jpg
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_25_9721.jpg
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_35_9585.jpg
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_45_10667.jpg
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_35_55_9598.jpg
/home/pi/Desktop/images/27112025/12/35/image_27112025_12_36_04_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411176","1396411161","1396411174","1396411171","1396411165","1396411168"],"photo_ids_order":["1396411161","1396411165","1396411168","1396411171","1396411174","1396411176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ee756c8a87af760e3edac53d2ea77c3.jpg","text":"TemporaryFile(/tmp/multipartBody7876122041313823179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_36_04_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d055deae289c78cbbcc780a697a9641e.jpg","text":"TemporaryFile(/tmp/multipartBody3769801750663640963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_35_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9d60d5eef1ff720e6568de366e54ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4885011844644349895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_35_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/892838d6a26a4b200b182ca83d52bfc7.jpg","text":"TemporaryFile(/tmp/multipartBody2675347254146769546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_35_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eef31ed684f303036a7581f167ba0636.jpg","text":"TemporaryFile(/tmp/multipartBody7016012991630245223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_35_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81a86ff6a94536c80824429d13483afc.jpg","text":"TemporaryFile(/tmp/multipartBody8703932037361078023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244283364,"filename":"image_27112025_12_35_35_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411168","file1":"1396411165","file0":"1396411161","file4":"1396411174","file5":"1396411176","file3":"1396411171"},"map_files_photo_id_array":[{"photo_id":"1396411176","filename":"file5"},{"photo_id":"1396411168","filename":"file2"},{"photo_id":"1396411174","filename":"file4"},{"photo_id":"1396411165","filename":"file1"},{"photo_id":"1396411161","filename":"file0"},{"photo_id":"1396411171","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411176":["hashtag1","hashtag2"]},{"1396411161":["hashtag1","hashtag2"]},{"1396411174":["hashtag1","hashtag2"]},{"1396411171":["hashtag1","hashtag2"]},{"1396411165":["hashtag1","hashtag2"]},{"1396411168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411176, 1396411161, 1396411174, 1396411171, 1396411165, 1396411168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27357459068298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:51:03.470972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_15_10557.jpg', '/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_25_9572.jpg', '/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_35_10622.jpg', '/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_45_9605.jpg', '/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_55_9798.jpg', '/home/pi/Desktop/images/27112025/12/36/image_27112025_12_37_05_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_15_10557.jpg
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_25_9572.jpg
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_35_10622.jpg
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_45_9605.jpg
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_36_55_9798.jpg
/home/pi/Desktop/images/27112025/12/36/image_27112025_12_37_05_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411179","1396411182","1396411181","1396411184","1396411187","1396411180"],"photo_ids_order":["1396411179","1396411180","1396411181","1396411182","1396411184","1396411187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9539c4de8b611cb113cedc8ed67fc585.jpg","text":"TemporaryFile(/tmp/multipartBody1192347460129431970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_36_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa6c4b611df8f8c6dcfe97c1bcaf539d.jpg","text":"TemporaryFile(/tmp/multipartBody8343490274084013742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_36_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38e42a76d101a76602bc324e16d645fb.jpg","text":"TemporaryFile(/tmp/multipartBody8355233552459539707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_36_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f5d4d09ceed8dfd664fb3bb1eb204b3.jpg","text":"TemporaryFile(/tmp/multipartBody6710921356275370960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_36_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa335c883999838208412a61692da79e.jpg","text":"TemporaryFile(/tmp/multipartBody8763440058538153735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_37_05_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e534a22d6778a4f51479d1437c493b5.jpg","text":"TemporaryFile(/tmp/multipartBody3022645462773792435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244324267,"filename":"image_27112025_12_36_25_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411181","file1":"1396411180","file0":"1396411179","file4":"1396411184","file5":"1396411187","file3":"1396411182"},"map_files_photo_id_array":[{"photo_id":"1396411187","filename":"file5"},{"photo_id":"1396411181","filename":"file2"},{"photo_id":"1396411184","filename":"file4"},{"photo_id":"1396411180","filename":"file1"},{"photo_id":"1396411179","filename":"file0"},{"photo_id":"1396411182","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411179":["hashtag1","hashtag2"]},{"1396411182":["hashtag1","hashtag2"]},{"1396411181":["hashtag1","hashtag2"]},{"1396411184":["hashtag1","hashtag2"]},{"1396411187":["hashtag1","hashtag2"]},{"1396411180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411179, 1396411182, 1396411181, 1396411184, 1396411187, 1396411180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2680721282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:51:42.817456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_50_2780.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_52_2667.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_56_3535.jpg', '/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_59_2690.jpg', '/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_05_3609.jpg', '/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_15_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_50_2780.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_52_2667.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_56_3535.jpg
/home/pi/Desktop/images/31102025/02/58/image_31102025_02_58_59_2690.jpg
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_05_3609.jpg
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_15_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411479","1396411301","1396411447","1396411375","1396411339","1396411411"],"photo_ids_order":["1396411301","1396411339","1396411375","1396411411","1396411447","1396411479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58e66f168d4e3974573e9e79ab145ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7727788008442743352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_59_15_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f37aec4532fd90c287dd31edb6531c33.jpg","text":"TemporaryFile(/tmp/multipartBody7201675681784070301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_58_50_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/27/8c7c42e68cc9dddd3566252724aa325a.jpg","text":"TemporaryFile(/tmp/multipartBody515379578174441185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_59_05_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/27/2f051458b4d42f797b9e71e97cfb75b0.jpg","text":"TemporaryFile(/tmp/multipartBody3146728891215582000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_58_56_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/27/b5873470585d731f9c79657da76b9b89.jpg","text":"TemporaryFile(/tmp/multipartBody4456947265504285770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_58_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/27/301c81f6f334f1946c5d46c0f9885a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3584570443072136520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244364494,"filename":"image_31102025_02_58_59_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411375","file1":"1396411339","file0":"1396411301","file4":"1396411447","file5":"1396411479","file3":"1396411411"},"map_files_photo_id_array":[{"photo_id":"1396411479","filename":"file5"},{"photo_id":"1396411375","filename":"file2"},{"photo_id":"1396411447","filename":"file4"},{"photo_id":"1396411339","filename":"file1"},{"photo_id":"1396411301","filename":"file0"},{"photo_id":"1396411411","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411479":["hashtag1","hashtag2"]},{"1396411301":["hashtag1","hashtag2"]},{"1396411447":["hashtag1","hashtag2"]},{"1396411375":["hashtag1","hashtag2"]},{"1396411339":["hashtag1","hashtag2"]},{"1396411411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411479, 1396411301, 1396411447, 1396411375, 1396411339, 1396411411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52479314804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:52:21.988947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_15_9718.jpg', '/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_24_9611.jpg', '/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_34_9891.jpg', '/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_45_10628.jpg', '/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_55_9561.jpg', '/home/pi/Desktop/images/27112025/12/37/image_27112025_12_38_05_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_15_9718.jpg
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_24_9611.jpg
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_34_9891.jpg
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_45_10628.jpg
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_37_55_9561.jpg
/home/pi/Desktop/images/27112025/12/37/image_27112025_12_38_05_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411538","1396411532","1396411535","1396411520","1396411528","1396411525"],"photo_ids_order":["1396411520","1396411525","1396411528","1396411532","1396411535","1396411538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfba8f55ffebc2513729b4ec66603313.jpg","text":"TemporaryFile(/tmp/multipartBody1976144001883777579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_38_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c661f1179820962a0952eefb40659a2.jpg","text":"TemporaryFile(/tmp/multipartBody1716241405531853132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_37_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4844b1889a9e25797599251f659724b4.jpg","text":"TemporaryFile(/tmp/multipartBody875545653185235212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_37_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88740871ecba68a466e1dda5e92b75c3.jpg","text":"TemporaryFile(/tmp/multipartBody3738434818956762125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_37_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5d70da08370552eff43f1724a8a3cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1765205375842443608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_37_34_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01fc4a7ed819d8d34546bd93d5e05685.jpg","text":"TemporaryFile(/tmp/multipartBody4346657714954215690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244402737,"filename":"image_27112025_12_37_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411528","file1":"1396411525","file0":"1396411520","file4":"1396411535","file5":"1396411538","file3":"1396411532"},"map_files_photo_id_array":[{"photo_id":"1396411538","filename":"file5"},{"photo_id":"1396411528","filename":"file2"},{"photo_id":"1396411535","filename":"file4"},{"photo_id":"1396411525","filename":"file1"},{"photo_id":"1396411520","filename":"file0"},{"photo_id":"1396411532","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411538":["hashtag1","hashtag2"]},{"1396411532":["hashtag1","hashtag2"]},{"1396411535":["hashtag1","hashtag2"]},{"1396411520":["hashtag1","hashtag2"]},{"1396411528":["hashtag1","hashtag2"]},{"1396411525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411538, 1396411532, 1396411535, 1396411520, 1396411528, 1396411525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70444297790527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:53:02.839015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_15_9780.jpg', '/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_25_9717.jpg', '/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_34_9616.jpg', '/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_45_10748.jpg', '/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_55_9799.jpg', '/home/pi/Desktop/images/27112025/12/38/image_27112025_12_39_05_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_15_9780.jpg
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_25_9717.jpg
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_34_9616.jpg
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_45_10748.jpg
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_38_55_9799.jpg
/home/pi/Desktop/images/27112025/12/38/image_27112025_12_39_05_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411545","1396411548","1396411542","1396411541","1396411540","1396411543"],"photo_ids_order":["1396411540","1396411541","1396411542","1396411543","1396411545","1396411548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1654fa4bca8cbade59cfdcd8b8593ef9.jpg","text":"TemporaryFile(/tmp/multipartBody320459104949120375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_38_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d2c0a515565c82d2eb9fb313924a315.jpg","text":"TemporaryFile(/tmp/multipartBody7463263630273849409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_39_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5efc61df93a68c3ee31965d46f802d0.jpg","text":"TemporaryFile(/tmp/multipartBody307389177073276588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_38_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/552cd476c795d01e706ee50b3ad3f01f.jpg","text":"TemporaryFile(/tmp/multipartBody1970981451977459312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_38_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/793ed1c7479e27e7ea07f20ae0826594.jpg","text":"TemporaryFile(/tmp/multipartBody4999099171595736976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_38_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e31d777c62ac708b04184d7cee8a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody3519179910858602163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244443661,"filename":"image_27112025_12_38_45_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411542","file1":"1396411541","file0":"1396411540","file4":"1396411545","file5":"1396411548","file3":"1396411543"},"map_files_photo_id_array":[{"photo_id":"1396411548","filename":"file5"},{"photo_id":"1396411542","filename":"file2"},{"photo_id":"1396411545","filename":"file4"},{"photo_id":"1396411541","filename":"file1"},{"photo_id":"1396411540","filename":"file0"},{"photo_id":"1396411543","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411545":["hashtag1","hashtag2"]},{"1396411548":["hashtag1","hashtag2"]},{"1396411542":["hashtag1","hashtag2"]},{"1396411541":["hashtag1","hashtag2"]},{"1396411540":["hashtag1","hashtag2"]},{"1396411543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411545, 1396411548, 1396411542, 1396411541, 1396411540, 1396411543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61410713195801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:53:42.297927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_18_1706.jpg', '/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_22_1641.jpg', '/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_43_3169.jpg', '/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_56_2925.jpg', '/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_23_3731.jpg', '/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_26_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_18_1706.jpg
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_22_1641.jpg
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_43_3169.jpg
/home/pi/Desktop/images/31102025/02/59/image_31102025_02_59_56_2925.jpg
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_23_3731.jpg
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_26_2821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411563","1396411560","1396411562","1396411564","1396411561","1396411558"],"photo_ids_order":["1396411558","1396411560","1396411561","1396411562","1396411563","1396411564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/654a461e135e405e32f2d21888b69b14.jpg","text":"TemporaryFile(/tmp/multipartBody5416192408374654959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_03_00_23_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/27/dd3f965047f4cdf0946e16abc8992194.jpg","text":"TemporaryFile(/tmp/multipartBody457505841954152470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_02_59_22_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/27/09db4d6171810777fbf08d6afd008015.jpg","text":"TemporaryFile(/tmp/multipartBody7419100564723559283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_02_59_56_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/27/699ef6d5929ebfa8fd1b0aea99e1eb13.jpg","text":"TemporaryFile(/tmp/multipartBody7416290332747661282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_03_00_26_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/27/41ffcb2f2ed81476d99062b8aba0a74f.jpg","text":"TemporaryFile(/tmp/multipartBody194075042552665918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_02_59_43_3169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc14e67981be700f5d069d2ea890fda5.jpg","text":"TemporaryFile(/tmp/multipartBody4069481857965159266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244483925,"filename":"image_31102025_02_59_18_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411561","file1":"1396411560","file0":"1396411558","file4":"1396411563","file5":"1396411564","file3":"1396411562"},"map_files_photo_id_array":[{"photo_id":"1396411564","filename":"file5"},{"photo_id":"1396411561","filename":"file2"},{"photo_id":"1396411563","filename":"file4"},{"photo_id":"1396411560","filename":"file1"},{"photo_id":"1396411558","filename":"file0"},{"photo_id":"1396411562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411563":["hashtag1","hashtag2"]},{"1396411560":["hashtag1","hashtag2"]},{"1396411562":["hashtag1","hashtag2"]},{"1396411564":["hashtag1","hashtag2"]},{"1396411561":["hashtag1","hashtag2"]},{"1396411558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411563, 1396411560, 1396411562, 1396411564, 1396411561, 1396411558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.538219928741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:54:22.495823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_15_10686.jpg', '/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_25_9660.jpg', '/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_35_9837.jpg', '/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_44_9594.jpg', '/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_55_10691.jpg', '/home/pi/Desktop/images/27112025/12/39/image_27112025_12_40_05_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_15_10686.jpg
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_25_9660.jpg
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_35_9837.jpg
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_44_9594.jpg
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_39_55_10691.jpg
/home/pi/Desktop/images/27112025/12/39/image_27112025_12_40_05_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411580","1396411574","1396411568","1396411583","1396411577","1396411571"],"photo_ids_order":["1396411568","1396411571","1396411574","1396411577","1396411580","1396411583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42804833af1647b4c2cd22a62df228db.jpg","text":"TemporaryFile(/tmp/multipartBody2593585293954028810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_39_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1aaa7c29ed2666426f15b2ea07c4c6d.jpg","text":"TemporaryFile(/tmp/multipartBody409554583865382302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_39_35_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a98eb2985ac01f0946dce39eb4540f3.jpg","text":"TemporaryFile(/tmp/multipartBody7610388516376784208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_39_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ea50295f3fa54922f3f76194597c5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8225380372668512283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_40_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4cda6e9d99546a9a5360438114e22af0.jpg","text":"TemporaryFile(/tmp/multipartBody4736010447994231425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_39_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d51c91b8b9854d2ecbe00103983b93d9.jpg","text":"TemporaryFile(/tmp/multipartBody5608799144224929618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244523253,"filename":"image_27112025_12_39_25_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411574","file1":"1396411571","file0":"1396411568","file4":"1396411580","file5":"1396411583","file3":"1396411577"},"map_files_photo_id_array":[{"photo_id":"1396411583","filename":"file5"},{"photo_id":"1396411574","filename":"file2"},{"photo_id":"1396411580","filename":"file4"},{"photo_id":"1396411571","filename":"file1"},{"photo_id":"1396411568","filename":"file0"},{"photo_id":"1396411577","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411580":["hashtag1","hashtag2"]},{"1396411574":["hashtag1","hashtag2"]},{"1396411568":["hashtag1","hashtag2"]},{"1396411583":["hashtag1","hashtag2"]},{"1396411577":["hashtag1","hashtag2"]},{"1396411571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411580, 1396411574, 1396411568, 1396411583, 1396411577, 1396411571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7724552154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:55:03.240354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_14_9716.jpg', '/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_25_10626.jpg', '/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_35_9656.jpg', '/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_44_9633.jpg', '/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_55_10768.jpg', '/home/pi/Desktop/images/27112025/12/40/image_27112025_12_41_05_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_14_9716.jpg
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_25_10626.jpg
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_35_9656.jpg
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_44_9633.jpg
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_40_55_10768.jpg
/home/pi/Desktop/images/27112025/12/40/image_27112025_12_41_05_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411587","1396411592","1396411586","1396411585","1396411594","1396411588"],"photo_ids_order":["1396411585","1396411586","1396411587","1396411588","1396411592","1396411594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d3d2537ef3d3329fd7e721924344ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7829512484625181838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_40_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fbeb2847b5f35d7ba123c4d0a003c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody986339934887715401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_40_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a99569ee35edcf9c0c081432e013e49e.jpg","text":"TemporaryFile(/tmp/multipartBody3083536822121034577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_40_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/498634f8edee3f024537bd7effef2eab.jpg","text":"TemporaryFile(/tmp/multipartBody8989846866757002497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_40_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9a761c130117efb477b0fafff8799a7.jpg","text":"TemporaryFile(/tmp/multipartBody2015985428728855734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_41_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcb7d7db4d80f4f8f8b224b2c0216b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1951980388333152097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244564072,"filename":"image_27112025_12_40_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411587","file1":"1396411586","file0":"1396411585","file4":"1396411592","file5":"1396411594","file3":"1396411588"},"map_files_photo_id_array":[{"photo_id":"1396411594","filename":"file5"},{"photo_id":"1396411587","filename":"file2"},{"photo_id":"1396411592","filename":"file4"},{"photo_id":"1396411586","filename":"file1"},{"photo_id":"1396411585","filename":"file0"},{"photo_id":"1396411588","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411587":["hashtag1","hashtag2"]},{"1396411592":["hashtag1","hashtag2"]},{"1396411586":["hashtag1","hashtag2"]},{"1396411585":["hashtag1","hashtag2"]},{"1396411594":["hashtag1","hashtag2"]},{"1396411588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411587, 1396411592, 1396411586, 1396411585, 1396411594, 1396411588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17018270492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:55:42.661116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_40_2565.jpg', '/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_44_3779.jpg', '/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_47_2979.jpg', '/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_55_1684.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_01_5386.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_23_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_40_2565.jpg
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_44_3779.jpg
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_47_2979.jpg
/home/pi/Desktop/images/31102025/03/00/image_31102025_03_00_55_1684.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_01_5386.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_23_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411606","1396411611","1396411608","1396411610","1396411613","1396411603"],"photo_ids_order":["1396411603","1396411606","1396411608","1396411610","1396411611","1396411613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50bd5bffc12a3b389eaa95f734f0d890.jpg","text":"TemporaryFile(/tmp/multipartBody3785774806081614678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_00_44_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/27/cda47b1e762c187d08944a4ce6123c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8974248346518410861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_01_01_5386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34d78fb42d33d26137ccbb125c9299eb.jpg","text":"TemporaryFile(/tmp/multipartBody2265557650767452743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_00_47_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/655b5ee46490461bb18f311b0fde87d1.jpg","text":"TemporaryFile(/tmp/multipartBody5257432783550250797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_00_55_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/27/981062eb24bb9c0822ee5dab7798172e.jpg","text":"TemporaryFile(/tmp/multipartBody3319722982237736514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_01_23_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/27/d9b94b28f0758fca05e85d8149bc8f39.jpg","text":"TemporaryFile(/tmp/multipartBody6354863994363133796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244604288,"filename":"image_31102025_03_00_40_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411608","file1":"1396411606","file0":"1396411603","file4":"1396411611","file5":"1396411613","file3":"1396411610"},"map_files_photo_id_array":[{"photo_id":"1396411613","filename":"file5"},{"photo_id":"1396411608","filename":"file2"},{"photo_id":"1396411611","filename":"file4"},{"photo_id":"1396411606","filename":"file1"},{"photo_id":"1396411603","filename":"file0"},{"photo_id":"1396411610","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411606":["hashtag1","hashtag2"]},{"1396411611":["hashtag1","hashtag2"]},{"1396411608":["hashtag1","hashtag2"]},{"1396411610":["hashtag1","hashtag2"]},{"1396411613":["hashtag1","hashtag2"]},{"1396411603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411606, 1396411611, 1396411608, 1396411610, 1396411613, 1396411603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.021302700042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 12:56:21.872402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_14_9699.jpg', '/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_25_10617.jpg', '/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_35_9747.jpg', '/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_45_9866.jpg', '/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_54_9788.jpg', '/home/pi/Desktop/images/27112025/12/41/image_27112025_12_42_05_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_14_9699.jpg
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_25_10617.jpg
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_35_9747.jpg
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_45_9866.jpg
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_41_54_9788.jpg
/home/pi/Desktop/images/27112025/12/41/image_27112025_12_42_05_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411635","1396411620","1396411631","1396411616","1396411627","1396411624"],"photo_ids_order":["1396411616","1396411620","1396411624","1396411627","1396411631","1396411635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3031895780b6d8831626e8d88857119a.jpg","text":"TemporaryFile(/tmp/multipartBody7460748166721295772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_42_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/153d5f3b7e4fa8b24940d450274425d7.jpg","text":"TemporaryFile(/tmp/multipartBody336505979260240998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_41_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c8b034d510c0a12c3d5eaf680da5247.jpg","text":"TemporaryFile(/tmp/multipartBody4017778167797131667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_41_54_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca7508c283d582b3613e882be4acaf98.jpg","text":"TemporaryFile(/tmp/multipartBody2126864976029259411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_41_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/961e5821050bd830f06ba0268063f307.jpg","text":"TemporaryFile(/tmp/multipartBody8051437768729580013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_41_45_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/724ed10ccf2f21ca8e774c02032a4436.jpg","text":"TemporaryFile(/tmp/multipartBody244667506804906028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244642643,"filename":"image_27112025_12_41_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411624","file1":"1396411620","file0":"1396411616","file4":"1396411631","file5":"1396411635","file3":"1396411627"},"map_files_photo_id_array":[{"photo_id":"1396411635","filename":"file5"},{"photo_id":"1396411624","filename":"file2"},{"photo_id":"1396411631","filename":"file4"},{"photo_id":"1396411620","filename":"file1"},{"photo_id":"1396411616","filename":"file0"},{"photo_id":"1396411627","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411635":["hashtag1","hashtag2"]},{"1396411620":["hashtag1","hashtag2"]},{"1396411631":["hashtag1","hashtag2"]},{"1396411616":["hashtag1","hashtag2"]},{"1396411627":["hashtag1","hashtag2"]},{"1396411624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411635, 1396411620, 1396411631, 1396411616, 1396411627, 1396411624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04089832305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:57:02.724925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_15_9657.jpg', '/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_24_9674.jpg', '/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_35_10800.jpg', '/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_45_9561.jpg', '/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_55_9817.jpg', '/home/pi/Desktop/images/27112025/12/42/image_27112025_12_43_04_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_15_9657.jpg
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_24_9674.jpg
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_35_10800.jpg
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_45_9561.jpg
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_42_55_9817.jpg
/home/pi/Desktop/images/27112025/12/42/image_27112025_12_43_04_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411644","1396411638","1396411640","1396411637","1396411642","1396411639"],"photo_ids_order":["1396411637","1396411638","1396411639","1396411640","1396411642","1396411644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77df54b0894723df9e9409efb960aa51.jpg","text":"TemporaryFile(/tmp/multipartBody7252749951900724063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_43_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f67bda6e0b70ca0c87a043f3f328e8e2.jpg","text":"TemporaryFile(/tmp/multipartBody4262692085423091157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_42_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9cc12963d20bc53ef2d747fa71bb349f.jpg","text":"TemporaryFile(/tmp/multipartBody3326409143357442737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_42_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7f246c8cc798652d2844fd139d53e65.jpg","text":"TemporaryFile(/tmp/multipartBody7883981186995927775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_42_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93ab2d48f1d75f3aad30b333b1a2a889.jpg","text":"TemporaryFile(/tmp/multipartBody4449244144778429952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_42_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fef1e256499d8b8dec0fdd6273c219a.jpg","text":"TemporaryFile(/tmp/multipartBody5761307143507587254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244683548,"filename":"image_27112025_12_42_35_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411639","file1":"1396411638","file0":"1396411637","file4":"1396411642","file5":"1396411644","file3":"1396411640"},"map_files_photo_id_array":[{"photo_id":"1396411644","filename":"file5"},{"photo_id":"1396411639","filename":"file2"},{"photo_id":"1396411642","filename":"file4"},{"photo_id":"1396411638","filename":"file1"},{"photo_id":"1396411637","filename":"file0"},{"photo_id":"1396411640","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411644":["hashtag1","hashtag2"]},{"1396411638":["hashtag1","hashtag2"]},{"1396411640":["hashtag1","hashtag2"]},{"1396411637":["hashtag1","hashtag2"]},{"1396411642":["hashtag1","hashtag2"]},{"1396411639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411644, 1396411638, 1396411640, 1396411637, 1396411642, 1396411639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39518332481384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:57:42.092118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_28_1749.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_30_1795.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_34_2655.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_49_3078.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_52_2334.jpg', '/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_53_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_28_1749.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_30_1795.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_34_2655.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_49_3078.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_52_2334.jpg
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_53_1579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411665","1396411659","1396411661","1396411655","1396411658","1396411663"],"photo_ids_order":["1396411655","1396411658","1396411659","1396411661","1396411663","1396411665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d53bd12f4db5a8726fc053bf1df499e3.jpg","text":"TemporaryFile(/tmp/multipartBody1175917578733655683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_53_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/27/cd05943f18935f1f9efe026ed4004486.jpg","text":"TemporaryFile(/tmp/multipartBody4330642336677932572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_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/27/e90b879720f546937e088876ff369708.jpg","text":"TemporaryFile(/tmp/multipartBody2900849426440848022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_49_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/27/fc438bf9177fb17bc516f9c169590a63.jpg","text":"TemporaryFile(/tmp/multipartBody1727578405119920129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_28_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7bb6821158a7583525d7be5e0a22879.jpg","text":"TemporaryFile(/tmp/multipartBody6167040652306669700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_30_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca20cc12faa61c5b78ebf6d1f14a58ed.jpg","text":"TemporaryFile(/tmp/multipartBody8471038784177773173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244723722,"filename":"image_31102025_03_01_52_2334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411659","file1":"1396411658","file0":"1396411655","file4":"1396411663","file5":"1396411665","file3":"1396411661"},"map_files_photo_id_array":[{"photo_id":"1396411665","filename":"file5"},{"photo_id":"1396411659","filename":"file2"},{"photo_id":"1396411663","filename":"file4"},{"photo_id":"1396411658","filename":"file1"},{"photo_id":"1396411655","filename":"file0"},{"photo_id":"1396411661","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411665":["hashtag1","hashtag2"]},{"1396411659":["hashtag1","hashtag2"]},{"1396411661":["hashtag1","hashtag2"]},{"1396411655":["hashtag1","hashtag2"]},{"1396411658":["hashtag1","hashtag2"]},{"1396411663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411665, 1396411659, 1396411661, 1396411655, 1396411658, 1396411663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.110371112823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 12:59:03.315097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_15_10640.jpg', '/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_25_9650.jpg', '/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_34_9672.jpg', '/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_45_10899.jpg', '/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_55_9651.jpg', '/home/pi/Desktop/images/27112025/12/43/image_27112025_12_44_05_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_15_10640.jpg
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_25_9650.jpg
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_34_9672.jpg
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_45_10899.jpg
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_43_55_9651.jpg
/home/pi/Desktop/images/27112025/12/43/image_27112025_12_44_05_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411680","1396411677","1396411685","1396411673","1396411675","1396411669"],"photo_ids_order":["1396411669","1396411673","1396411675","1396411677","1396411680","1396411685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0af2fc8cf76ddc3cb34fc31d5664292c.jpg","text":"TemporaryFile(/tmp/multipartBody954082937569928905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_43_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92df6dfd6436c75ee69f5779a50a506e.jpg","text":"TemporaryFile(/tmp/multipartBody9214143058282067137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_43_45_10899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4c656d5346da668579f0a9e904826e3.jpg","text":"TemporaryFile(/tmp/multipartBody4210139254697371356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_44_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/445a42aa2e85681be4b793fa95fc95ce.jpg","text":"TemporaryFile(/tmp/multipartBody7494008730091852065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_43_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c9f801162aed5f1f64f5ef0973548d9.jpg","text":"TemporaryFile(/tmp/multipartBody1697576431967443645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_43_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3a7eaeee02de7c6e492d48ad965996d.jpg","text":"TemporaryFile(/tmp/multipartBody6432895563880911145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244804220,"filename":"image_27112025_12_43_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411675","file1":"1396411673","file0":"1396411669","file4":"1396411680","file5":"1396411685","file3":"1396411677"},"map_files_photo_id_array":[{"photo_id":"1396411685","filename":"file5"},{"photo_id":"1396411675","filename":"file2"},{"photo_id":"1396411680","filename":"file4"},{"photo_id":"1396411673","filename":"file1"},{"photo_id":"1396411669","filename":"file0"},{"photo_id":"1396411677","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411680":["hashtag1","hashtag2"]},{"1396411677":["hashtag1","hashtag2"]},{"1396411685":["hashtag1","hashtag2"]},{"1396411673":["hashtag1","hashtag2"]},{"1396411675":["hashtag1","hashtag2"]},{"1396411669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411680, 1396411677, 1396411685, 1396411673, 1396411675, 1396411669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.965285778045654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 12:59:42.355707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_59_1754.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_01_2653.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_23_2707.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_26_3394.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_40_1751.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_41_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/01/image_31102025_03_01_59_1754.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_01_2653.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_23_2707.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_26_3394.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_40_1751.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_41_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411697","1396411691","1396411694","1396411703","1396411700","1396411699"],"photo_ids_order":["1396411691","1396411694","1396411697","1396411699","1396411700","1396411703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/386bc17a28d0386a00c92c9894f71518.jpg","text":"TemporaryFile(/tmp/multipartBody2524850885711419936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_02_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/27/0ca486cf8a1ae87bd4257f02a6e67de0.jpg","text":"TemporaryFile(/tmp/multipartBody5401442234020749017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_01_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/27/8eed5157b21d592dc69f858b09503753.jpg","text":"TemporaryFile(/tmp/multipartBody4016801450503862186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_02_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/27/45c71d2a4b4f21ed857a994e8f903355.jpg","text":"TemporaryFile(/tmp/multipartBody5133247100810134749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_02_41_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/27/f45299c56ad073de5ed0021e0a63d5e2.jpg","text":"TemporaryFile(/tmp/multipartBody8286592862769813081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_02_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/27/962405d09281ea971b238f7078102443.jpg","text":"TemporaryFile(/tmp/multipartBody3476569674330503361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244843980,"filename":"image_31102025_03_02_26_3394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411697","file1":"1396411694","file0":"1396411691","file4":"1396411700","file5":"1396411703","file3":"1396411699"},"map_files_photo_id_array":[{"photo_id":"1396411703","filename":"file5"},{"photo_id":"1396411697","filename":"file2"},{"photo_id":"1396411700","filename":"file4"},{"photo_id":"1396411694","filename":"file1"},{"photo_id":"1396411691","filename":"file0"},{"photo_id":"1396411699","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411697":["hashtag1","hashtag2"]},{"1396411691":["hashtag1","hashtag2"]},{"1396411694":["hashtag1","hashtag2"]},{"1396411703":["hashtag1","hashtag2"]},{"1396411700":["hashtag1","hashtag2"]},{"1396411699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411697, 1396411691, 1396411694, 1396411703, 1396411700, 1396411699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66150426864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:00:22.524254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_15_9819.jpg', '/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_24_9865.jpg', '/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_35_10645.jpg', '/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_45_9593.jpg', '/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_54_9808.jpg', '/home/pi/Desktop/images/27112025/12/44/image_27112025_12_45_05_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_15_9819.jpg
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_24_9865.jpg
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_35_10645.jpg
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_45_9593.jpg
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_44_54_9808.jpg
/home/pi/Desktop/images/27112025/12/44/image_27112025_12_45_05_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411711","1396411713","1396411716","1396411712","1396411714","1396411717"],"photo_ids_order":["1396411711","1396411712","1396411713","1396411714","1396411716","1396411717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72f666418accd82432f8426a41db6fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7991693781616103335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_44_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/552af7984478b590d226ffe697713144.jpg","text":"TemporaryFile(/tmp/multipartBody6040182237690080851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_44_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c9d726452b8c00f93dff0ffee2233f0.jpg","text":"TemporaryFile(/tmp/multipartBody520102596528430151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_44_54_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8005f5f25ca92cae6c3b0179f3e9ff10.jpg","text":"TemporaryFile(/tmp/multipartBody2606544619041910498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_44_24_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7677c22bb75f45aef35a23d1caad4db.jpg","text":"TemporaryFile(/tmp/multipartBody4903757611468329234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_44_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd0c4e3636cfc84eb2d79cc4060b6d81.jpg","text":"TemporaryFile(/tmp/multipartBody5708001206015158068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244883322,"filename":"image_27112025_12_45_05_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411713","file1":"1396411712","file0":"1396411711","file4":"1396411716","file5":"1396411717","file3":"1396411714"},"map_files_photo_id_array":[{"photo_id":"1396411717","filename":"file5"},{"photo_id":"1396411713","filename":"file2"},{"photo_id":"1396411716","filename":"file4"},{"photo_id":"1396411712","filename":"file1"},{"photo_id":"1396411711","filename":"file0"},{"photo_id":"1396411714","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411711":["hashtag1","hashtag2"]},{"1396411713":["hashtag1","hashtag2"]},{"1396411716":["hashtag1","hashtag2"]},{"1396411712":["hashtag1","hashtag2"]},{"1396411714":["hashtag1","hashtag2"]},{"1396411717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411711, 1396411713, 1396411716, 1396411712, 1396411714, 1396411717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9177885055542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:01:03.346827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_15_9714.jpg', '/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_25_9732.jpg', '/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_35_10614.jpg', '/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_45_9704.jpg', '/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_55_9622.jpg', '/home/pi/Desktop/images/27112025/12/45/image_27112025_12_46_05_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_15_9714.jpg
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_25_9732.jpg
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_35_10614.jpg
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_45_9704.jpg
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_45_55_9622.jpg
/home/pi/Desktop/images/27112025/12/45/image_27112025_12_46_05_10003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411731","1396411733","1396411730","1396411732","1396411726","1396411735"],"photo_ids_order":["1396411726","1396411730","1396411731","1396411732","1396411733","1396411735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96663b220c42c5cbd99015095c98fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody7107102714390646175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_45_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42caf6de6ce3fdd52f6a69300bab6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4501553418184648648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_45_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7d71762e91a9172865984813e6b7fde.jpg","text":"TemporaryFile(/tmp/multipartBody742273604910834450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_45_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e22a93b96762c4c48adbd08a5b47bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8617697108715627175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_45_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eca65f5683a0806337d484334d1aced1.jpg","text":"TemporaryFile(/tmp/multipartBody7039268960942406040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_45_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52dc1a43f39fc15afa7d398194302a35.jpg","text":"TemporaryFile(/tmp/multipartBody3940475738440520055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244924181,"filename":"image_27112025_12_46_05_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411731","file1":"1396411730","file0":"1396411726","file4":"1396411733","file5":"1396411735","file3":"1396411732"},"map_files_photo_id_array":[{"photo_id":"1396411735","filename":"file5"},{"photo_id":"1396411731","filename":"file2"},{"photo_id":"1396411733","filename":"file4"},{"photo_id":"1396411730","filename":"file1"},{"photo_id":"1396411726","filename":"file0"},{"photo_id":"1396411732","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411731":["hashtag1","hashtag2"]},{"1396411733":["hashtag1","hashtag2"]},{"1396411730":["hashtag1","hashtag2"]},{"1396411732":["hashtag1","hashtag2"]},{"1396411726":["hashtag1","hashtag2"]},{"1396411735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411731, 1396411733, 1396411730, 1396411732, 1396411726, 1396411735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70045757293701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:01:42.765354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_47_5548.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_49_1811.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_50_1752.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_55_4455.jpg', '/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_57_1841.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_13_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_47_5548.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_49_1811.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_50_1752.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_55_4455.jpg
/home/pi/Desktop/images/31102025/03/02/image_31102025_03_02_57_1841.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_13_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411749","1396411752","1396411751","1396411750","1396411744","1396411747"],"photo_ids_order":["1396411744","1396411747","1396411749","1396411750","1396411751","1396411752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f1b1a2adbf862238c9b15fe2c3b7029.jpg","text":"TemporaryFile(/tmp/multipartBody7035613179590498972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_02_50_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/27/06e774f85ee6dc348a12c9aee02bed58.jpg","text":"TemporaryFile(/tmp/multipartBody8542627101602342837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_04_13_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/27/4afa93fa28bde8dafd756499802d0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7950861520788377088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_02_57_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/27/0e42f347bbe8a448e67a941837731e8c.jpg","text":"TemporaryFile(/tmp/multipartBody6335791803663872753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_02_55_4455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18f9421d4d4902187757c3717c2be864.jpg","text":"TemporaryFile(/tmp/multipartBody3876433084511210934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_02_47_5548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce5478b22ce1861d9287d29532048e16.jpg","text":"TemporaryFile(/tmp/multipartBody500855894831762180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764244964435,"filename":"image_31102025_03_02_49_1811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411749","file1":"1396411747","file0":"1396411744","file4":"1396411751","file5":"1396411752","file3":"1396411750"},"map_files_photo_id_array":[{"photo_id":"1396411752","filename":"file5"},{"photo_id":"1396411749","filename":"file2"},{"photo_id":"1396411751","filename":"file4"},{"photo_id":"1396411747","filename":"file1"},{"photo_id":"1396411744","filename":"file0"},{"photo_id":"1396411750","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411749":["hashtag1","hashtag2"]},{"1396411752":["hashtag1","hashtag2"]},{"1396411751":["hashtag1","hashtag2"]},{"1396411750":["hashtag1","hashtag2"]},{"1396411744":["hashtag1","hashtag2"]},{"1396411747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411749, 1396411752, 1396411751, 1396411750, 1396411744, 1396411747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31762909889221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:02:31.917961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_11_3566.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_13_2554.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_17_3622.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_19_2568.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_23_3612.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_26_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_11_3566.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_13_2554.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_17_3622.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_19_2568.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_23_3612.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_26_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411770","1396411766","1396411769","1396411760","1396411763","1396411768"],"photo_ids_order":["1396411760","1396411763","1396411766","1396411768","1396411769","1396411770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/562725a23011d80439c351a4dd5a4faa.jpg","text":"TemporaryFile(/tmp/multipartBody1027783937736554546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_26_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/27/4e0ebdde3c6aaafbafcc23b1d4ae743e.jpg","text":"TemporaryFile(/tmp/multipartBody8053454446113447840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_17_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/27/195e242348ba15404fb3442c17bf8c98.jpg","text":"TemporaryFile(/tmp/multipartBody7257682263492378196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_23_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/27/83889401861dd9c29e6db2ec31ac0d3f.jpg","text":"TemporaryFile(/tmp/multipartBody805707490165021047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_11_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/27/532c373f7b47247e8bf325845c1eb151.jpg","text":"TemporaryFile(/tmp/multipartBody2884748030902179772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_13_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/27/e4660c6760f0e8844b759db164761db1.jpg","text":"TemporaryFile(/tmp/multipartBody1644204727740821310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245013712,"filename":"image_21112025_21_00_19_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411766","file1":"1396411763","file0":"1396411760","file4":"1396411769","file5":"1396411770","file3":"1396411768"},"map_files_photo_id_array":[{"photo_id":"1396411770","filename":"file5"},{"photo_id":"1396411766","filename":"file2"},{"photo_id":"1396411769","filename":"file4"},{"photo_id":"1396411763","filename":"file1"},{"photo_id":"1396411760","filename":"file0"},{"photo_id":"1396411768","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396411770":["hashtag1","hashtag2"]},{"1396411766":["hashtag1","hashtag2"]},{"1396411769":["hashtag1","hashtag2"]},{"1396411760":["hashtag1","hashtag2"]},{"1396411763":["hashtag1","hashtag2"]},{"1396411768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396411770, 1396411766, 1396411769, 1396411760, 1396411763, 1396411768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56796908378601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:03:12.116350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_28_2601.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_32_3676.jpg', '/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_35_2777.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_11_3598.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_13_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_28_2601.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_32_3676.jpg
/home/pi/Desktop/images/21112025/21/00/image_21112025_21_00_35_2777.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_07_3011.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_11_3598.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_13_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411782","1396411779","1396411784","1396411772","1396411775","1396411771"],"photo_ids_order":["1396411771","1396411772","1396411775","1396411779","1396411782","1396411784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9948ca99306ebb5d88a0b7d74d81573f.jpg","text":"TemporaryFile(/tmp/multipartBody1329188960897876142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_02_11_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/27/b8a362d3cc73da9c30144f596817b442.jpg","text":"TemporaryFile(/tmp/multipartBody2227709254779802266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_02_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/27/2ccfc82a956c3191c4cfeb081ba03aea.jpg","text":"TemporaryFile(/tmp/multipartBody7267216168629178636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_02_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/27/72ed1954edc97ab293824f0721a0208f.jpg","text":"TemporaryFile(/tmp/multipartBody7967904793164433435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_00_32_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/27/5867d447b714de09f358051e816ef330.jpg","text":"TemporaryFile(/tmp/multipartBody6202924368572876175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_00_35_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/27/374dd99cea074a8441ec89d1361af892.jpg","text":"TemporaryFile(/tmp/multipartBody6525469079118922418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245053933,"filename":"image_21112025_21_00_28_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411775","file1":"1396411772","file0":"1396411771","file4":"1396411782","file5":"1396411784","file3":"1396411779"},"map_files_photo_id_array":[{"photo_id":"1396411784","filename":"file5"},{"photo_id":"1396411775","filename":"file2"},{"photo_id":"1396411782","filename":"file4"},{"photo_id":"1396411772","filename":"file1"},{"photo_id":"1396411771","filename":"file0"},{"photo_id":"1396411779","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396411782":["hashtag1","hashtag2"]},{"1396411779":["hashtag1","hashtag2"]},{"1396411784":["hashtag1","hashtag2"]},{"1396411772":["hashtag1","hashtag2"]},{"1396411775":["hashtag1","hashtag2"]},{"1396411771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396411782, 1396411779, 1396411784, 1396411772, 1396411775, 1396411771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.661895751953125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:04:02.899512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_14_9780.jpg', '/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_25_10712.jpg', '/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_35_9823.jpg', '/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_45_9816.jpg', '/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_54_9771.jpg', '/home/pi/Desktop/images/27112025/12/46/image_27112025_12_47_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_14_9780.jpg
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_25_10712.jpg
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_35_9823.jpg
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_45_9816.jpg
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_46_54_9771.jpg
/home/pi/Desktop/images/27112025/12/46/image_27112025_12_47_05_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411793","1396411795","1396411798","1396411792","1396411801","1396411791"],"photo_ids_order":["1396411791","1396411792","1396411793","1396411795","1396411798","1396411801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5c47009af838ea02cf73a0ee5a224f0.jpg","text":"TemporaryFile(/tmp/multipartBody5139760167353118095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_46_35_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47d6ed08cf28a5cc813bb07dd7442b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1989624353439182933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_46_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af46b03e3dc64b30166b64b0f455e106.jpg","text":"TemporaryFile(/tmp/multipartBody1759573116621161446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_46_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36cd5a5a95af9ec6086a9cd0f13140b4.jpg","text":"TemporaryFile(/tmp/multipartBody3369077943717970765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_46_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fbf2a79b7efa98dcd28a416cb95c9aa.jpg","text":"TemporaryFile(/tmp/multipartBody3827428900697304844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_47_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/daea4b4e68373da3e28da8f4963b1c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5844259398694737524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245103722,"filename":"image_27112025_12_46_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411793","file1":"1396411792","file0":"1396411791","file4":"1396411798","file5":"1396411801","file3":"1396411795"},"map_files_photo_id_array":[{"photo_id":"1396411801","filename":"file5"},{"photo_id":"1396411793","filename":"file2"},{"photo_id":"1396411798","filename":"file4"},{"photo_id":"1396411792","filename":"file1"},{"photo_id":"1396411791","filename":"file0"},{"photo_id":"1396411795","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411793":["hashtag1","hashtag2"]},{"1396411795":["hashtag1","hashtag2"]},{"1396411798":["hashtag1","hashtag2"]},{"1396411792":["hashtag1","hashtag2"]},{"1396411801":["hashtag1","hashtag2"]},{"1396411791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411793, 1396411795, 1396411798, 1396411792, 1396411801, 1396411791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.615386962890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:04:42.226783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_19_1593.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_22_2572.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_25_3083.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_49_1604.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_54_1662.jpg', '/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_57_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_19_1593.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_22_2572.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_25_3083.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_49_1604.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_54_1662.jpg
/home/pi/Desktop/images/31102025/03/04/image_31102025_03_04_57_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411810","1396411818","1396411820","1396411814","1396411813","1396411816"],"photo_ids_order":["1396411810","1396411813","1396411814","1396411816","1396411818","1396411820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e14dd77c620766843dde25f12eaf1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7509176687615004953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_19_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/27/7aecc76b5bbf5456a38ef79630d2f3c5.jpg","text":"TemporaryFile(/tmp/multipartBody7853531123502302067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_54_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/27/46fdc1b269d13d7ec5b215f034088aeb.jpg","text":"TemporaryFile(/tmp/multipartBody780449477963732181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_57_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c336b2762ce1e41294d6daef897701c9.jpg","text":"TemporaryFile(/tmp/multipartBody3614706397827804657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_25_3083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd69832c14a00dcd9b5d99529e441d6d.jpg","text":"TemporaryFile(/tmp/multipartBody884720049490597451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_22_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/27/ed9c4a1bd51069e22dffdb0814234c21.jpg","text":"TemporaryFile(/tmp/multipartBody625903398283985032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245143896,"filename":"image_31102025_03_04_49_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411814","file1":"1396411813","file0":"1396411810","file4":"1396411818","file5":"1396411820","file3":"1396411816"},"map_files_photo_id_array":[{"photo_id":"1396411820","filename":"file5"},{"photo_id":"1396411814","filename":"file2"},{"photo_id":"1396411818","filename":"file4"},{"photo_id":"1396411813","filename":"file1"},{"photo_id":"1396411810","filename":"file0"},{"photo_id":"1396411816","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411810":["hashtag1","hashtag2"]},{"1396411818":["hashtag1","hashtag2"]},{"1396411820":["hashtag1","hashtag2"]},{"1396411814":["hashtag1","hashtag2"]},{"1396411813":["hashtag1","hashtag2"]},{"1396411816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411810, 1396411818, 1396411820, 1396411814, 1396411813, 1396411816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03771233558655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:05:22.394494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_15_9633.jpg', '/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_24_9652.jpg', '/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_35_10660.jpg', '/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_45_9757.jpg', '/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_55_9794.jpg', '/home/pi/Desktop/images/27112025/12/47/image_27112025_12_48_05_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_15_9633.jpg
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_24_9652.jpg
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_35_10660.jpg
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_45_9757.jpg
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_47_55_9794.jpg
/home/pi/Desktop/images/27112025/12/47/image_27112025_12_48_05_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411836","1396411839","1396411830","1396411833","1396411827","1396411825"],"photo_ids_order":["1396411825","1396411827","1396411830","1396411833","1396411836","1396411839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca7f9f4e2068a4803a71d9429b391d38.jpg","text":"TemporaryFile(/tmp/multipartBody1013962302413608543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_47_55_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7104da8d7328fc236bb0d1bd5286e348.jpg","text":"TemporaryFile(/tmp/multipartBody2725077292575303223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_48_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/902a7827e790518bc80e8538c1242681.jpg","text":"TemporaryFile(/tmp/multipartBody6687900600205799796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_47_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e72f671aa3489123b54cc8a23809bc07.jpg","text":"TemporaryFile(/tmp/multipartBody9094354983251005997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_47_45_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f0c482a891b1b9d9adf60885587163b.jpg","text":"TemporaryFile(/tmp/multipartBody588148948019226219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_47_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/340bb74647fdf97c5f375f01c3889f55.jpg","text":"TemporaryFile(/tmp/multipartBody5406912135575656338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245183200,"filename":"image_27112025_12_47_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411830","file1":"1396411827","file0":"1396411825","file4":"1396411836","file5":"1396411839","file3":"1396411833"},"map_files_photo_id_array":[{"photo_id":"1396411839","filename":"file5"},{"photo_id":"1396411830","filename":"file2"},{"photo_id":"1396411836","filename":"file4"},{"photo_id":"1396411827","filename":"file1"},{"photo_id":"1396411825","filename":"file0"},{"photo_id":"1396411833","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411836":["hashtag1","hashtag2"]},{"1396411839":["hashtag1","hashtag2"]},{"1396411830":["hashtag1","hashtag2"]},{"1396411833":["hashtag1","hashtag2"]},{"1396411827":["hashtag1","hashtag2"]},{"1396411825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411836, 1396411839, 1396411830, 1396411833, 1396411827, 1396411825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91830110549927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:06:02.992298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_15_9603.jpg', '/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_25_9761.jpg', '/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_35_10624.jpg', '/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_45_9615.jpg', '/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_55_9702.jpg', '/home/pi/Desktop/images/27112025/12/48/image_27112025_12_49_04_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_15_9603.jpg
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_25_9761.jpg
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_35_10624.jpg
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_45_9615.jpg
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_48_55_9702.jpg
/home/pi/Desktop/images/27112025/12/48/image_27112025_12_49_04_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411842","1396411845","1396411850","1396411847","1396411844","1396411843"],"photo_ids_order":["1396411842","1396411843","1396411844","1396411845","1396411847","1396411850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbab4d720f1d5faa0ebb89b882859e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1038606076098480137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_48_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e69ce3da8aabb732e06b6373039fa289.jpg","text":"TemporaryFile(/tmp/multipartBody6923303946743241192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_48_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06d54e6e09ee9be1d3509868c5a11bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4858120458006057760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_49_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/712399685d80eb2ac7b863da6732fd27.jpg","text":"TemporaryFile(/tmp/multipartBody5522467858108543549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_48_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bd265839b29cabc54ae638ae8a434ec.jpg","text":"TemporaryFile(/tmp/multipartBody3680545091040213890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_48_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e11fb90da36012c3df2e55b21d71ea0e.jpg","text":"TemporaryFile(/tmp/multipartBody5088430111190008284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245223791,"filename":"image_27112025_12_48_25_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411844","file1":"1396411843","file0":"1396411842","file4":"1396411847","file5":"1396411850","file3":"1396411845"},"map_files_photo_id_array":[{"photo_id":"1396411850","filename":"file5"},{"photo_id":"1396411844","filename":"file2"},{"photo_id":"1396411847","filename":"file4"},{"photo_id":"1396411843","filename":"file1"},{"photo_id":"1396411842","filename":"file0"},{"photo_id":"1396411845","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411842":["hashtag1","hashtag2"]},{"1396411845":["hashtag1","hashtag2"]},{"1396411850":["hashtag1","hashtag2"]},{"1396411847":["hashtag1","hashtag2"]},{"1396411844":["hashtag1","hashtag2"]},{"1396411843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411842, 1396411845, 1396411850, 1396411847, 1396411844, 1396411843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93626594543457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:06:42.542568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_01_3240.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_04_1807.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_08_1871.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_20_3678.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_25_2749.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_36_5826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_01_3240.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_04_1807.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_08_1871.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_20_3678.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_25_2749.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_36_5826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411866","1396411860","1396411863","1396411865","1396411862","1396411864"],"photo_ids_order":["1396411860","1396411862","1396411863","1396411864","1396411865","1396411866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/18d84d4d791d7f7bfd191cddcfdafb37.jpg","text":"TemporaryFile(/tmp/multipartBody8238050317672348792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_36_5826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60e8d6e597d07c50144cadaba4949a44.jpg","text":"TemporaryFile(/tmp/multipartBody5453591957607017774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_01_3240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/689b140c411e270c03f0ba000a5e8aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6413434071506203848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_08_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1253f679720e7256c619dc713bfa01d6.jpg","text":"TemporaryFile(/tmp/multipartBody3850765632417644317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_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/27/1f64223f5a22ec1bde07567a64aa517d.jpg","text":"TemporaryFile(/tmp/multipartBody7900810813558954838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_04_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35c1108420c812ed9fb06cecba306df6.jpg","text":"TemporaryFile(/tmp/multipartBody7312225967200727150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245264254,"filename":"image_31102025_03_05_20_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411863","file1":"1396411862","file0":"1396411860","file4":"1396411865","file5":"1396411866","file3":"1396411864"},"map_files_photo_id_array":[{"photo_id":"1396411866","filename":"file5"},{"photo_id":"1396411863","filename":"file2"},{"photo_id":"1396411865","filename":"file4"},{"photo_id":"1396411862","filename":"file1"},{"photo_id":"1396411860","filename":"file0"},{"photo_id":"1396411864","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411866":["hashtag1","hashtag2"]},{"1396411860":["hashtag1","hashtag2"]},{"1396411863":["hashtag1","hashtag2"]},{"1396411865":["hashtag1","hashtag2"]},{"1396411862":["hashtag1","hashtag2"]},{"1396411864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411866, 1396411860, 1396411863, 1396411865, 1396411862, 1396411864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.402756452560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:07:22.672064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_15_10570.jpg', '/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_25_9700.jpg', '/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_35_10598.jpg', '/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_45_9672.jpg', '/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_54_9549.jpg', '/home/pi/Desktop/images/27112025/12/49/image_27112025_12_50_05_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_15_10570.jpg
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_25_9700.jpg
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_35_10598.jpg
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_45_9672.jpg
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_49_54_9549.jpg
/home/pi/Desktop/images/27112025/12/49/image_27112025_12_50_05_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411872","1396411881","1396411875","1396411869","1396411878","1396411884"],"photo_ids_order":["1396411869","1396411872","1396411875","1396411878","1396411881","1396411884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4eaa01c55e8767ea8e4ce4294a53a921.jpg","text":"TemporaryFile(/tmp/multipartBody7560262805120889284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_49_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbd2b94eeccb184d035ad8449344e04e.jpg","text":"TemporaryFile(/tmp/multipartBody5205641134234317335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_49_54_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00ace7335ae98f1d685c61785c474d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3017523994605454134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_49_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f552867cb298c245c9e784adce76a99.jpg","text":"TemporaryFile(/tmp/multipartBody7261501171833928624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_49_15_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b4f18224880b84f2f9e98147ddb9ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8924389041453325009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_49_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82d9778e7b6a652909d93b2931c51176.jpg","text":"TemporaryFile(/tmp/multipartBody929758290358188492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245303434,"filename":"image_27112025_12_50_05_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411875","file1":"1396411872","file0":"1396411869","file4":"1396411881","file5":"1396411884","file3":"1396411878"},"map_files_photo_id_array":[{"photo_id":"1396411884","filename":"file5"},{"photo_id":"1396411875","filename":"file2"},{"photo_id":"1396411881","filename":"file4"},{"photo_id":"1396411872","filename":"file1"},{"photo_id":"1396411869","filename":"file0"},{"photo_id":"1396411878","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411872":["hashtag1","hashtag2"]},{"1396411881":["hashtag1","hashtag2"]},{"1396411875":["hashtag1","hashtag2"]},{"1396411869":["hashtag1","hashtag2"]},{"1396411878":["hashtag1","hashtag2"]},{"1396411884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411872, 1396411881, 1396411875, 1396411869, 1396411878, 1396411884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.307209730148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:08:02.369014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_15_9604.jpg', '/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_24_9751.jpg', '/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_35_10741.jpg', '/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_45_9791.jpg', '/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_55_9685.jpg', '/home/pi/Desktop/images/27112025/12/50/image_27112025_12_51_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_15_9604.jpg
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_24_9751.jpg
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_35_10741.jpg
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_45_9791.jpg
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_50_55_9685.jpg
/home/pi/Desktop/images/27112025/12/50/image_27112025_12_51_04_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411887","1396411895","1396411892","1396411889","1396411888","1396411890"],"photo_ids_order":["1396411887","1396411888","1396411889","1396411890","1396411892","1396411895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b38e15e09bf25e281e0cfd02fe17d2ab.jpg","text":"TemporaryFile(/tmp/multipartBody7769044867248707525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_50_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf9786feff4136d881b79f02c5476e5c.jpg","text":"TemporaryFile(/tmp/multipartBody774912929471245912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_51_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a21e1de449e973d5ee2ed5b4048e449.jpg","text":"TemporaryFile(/tmp/multipartBody409749746382709216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_50_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43cf082a25178fae8e3ba4c9abf2a274.jpg","text":"TemporaryFile(/tmp/multipartBody8104092010102200729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_50_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0875acbed40ac7357d92d0e0e76b1e43.jpg","text":"TemporaryFile(/tmp/multipartBody7893004757015625078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_50_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5585e97917468eeb94a97bec4582861.jpg","text":"TemporaryFile(/tmp/multipartBody2541793043983151345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245343189,"filename":"image_27112025_12_50_45_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411889","file1":"1396411888","file0":"1396411887","file4":"1396411892","file5":"1396411895","file3":"1396411890"},"map_files_photo_id_array":[{"photo_id":"1396411895","filename":"file5"},{"photo_id":"1396411889","filename":"file2"},{"photo_id":"1396411892","filename":"file4"},{"photo_id":"1396411888","filename":"file1"},{"photo_id":"1396411887","filename":"file0"},{"photo_id":"1396411890","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411887":["hashtag1","hashtag2"]},{"1396411895":["hashtag1","hashtag2"]},{"1396411892":["hashtag1","hashtag2"]},{"1396411889":["hashtag1","hashtag2"]},{"1396411888":["hashtag1","hashtag2"]},{"1396411890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411887, 1396411895, 1396411892, 1396411889, 1396411888, 1396411890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.793872356414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:08:41.943541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_41_5845.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_48_1669.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_54_1733.jpg', '/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_59_1706.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_01_1581.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_04_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_41_5845.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_48_1669.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_54_1733.jpg
/home/pi/Desktop/images/31102025/03/05/image_31102025_03_05_59_1706.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_01_1581.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_04_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411911","1396411905","1396411908","1396411907","1396411906","1396411909"],"photo_ids_order":["1396411905","1396411906","1396411907","1396411908","1396411909","1396411911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41f443d957db635b2dad194a737753ca.jpg","text":"TemporaryFile(/tmp/multipartBody3159460424161157711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_06_04_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/27/d9a0a353fa84dd954995ecd66fb96596.jpg","text":"TemporaryFile(/tmp/multipartBody1274717564096000056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_05_41_5845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a661fd52f2e0f42cc3b23283945f3e01.jpg","text":"TemporaryFile(/tmp/multipartBody3429847768900751313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_05_59_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/27/bc316743ecdffc6d5b0969e33c37cf88.jpg","text":"TemporaryFile(/tmp/multipartBody1595222182183084797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_05_54_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/27/603f5749226580d75763a7d4301bfe26.jpg","text":"TemporaryFile(/tmp/multipartBody5051278835190923479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_05_48_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/099e1a04ea5df01324c5f80d7654d9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1334628284196733088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245383589,"filename":"image_31102025_03_06_01_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411907","file1":"1396411906","file0":"1396411905","file4":"1396411909","file5":"1396411911","file3":"1396411908"},"map_files_photo_id_array":[{"photo_id":"1396411911","filename":"file5"},{"photo_id":"1396411907","filename":"file2"},{"photo_id":"1396411909","filename":"file4"},{"photo_id":"1396411906","filename":"file1"},{"photo_id":"1396411905","filename":"file0"},{"photo_id":"1396411908","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411911":["hashtag1","hashtag2"]},{"1396411905":["hashtag1","hashtag2"]},{"1396411908":["hashtag1","hashtag2"]},{"1396411907":["hashtag1","hashtag2"]},{"1396411906":["hashtag1","hashtag2"]},{"1396411909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411911, 1396411905, 1396411908, 1396411907, 1396411906, 1396411909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060006856918335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:09:22.137868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_15_10553.jpg', '/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_25_9639.jpg', '/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_34_9818.jpg', '/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_45_10745.jpg', '/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_55_9647.jpg', '/home/pi/Desktop/images/27112025/12/51/image_27112025_12_52_04_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_15_10553.jpg
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_25_9639.jpg
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_34_9818.jpg
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_45_10745.jpg
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_51_55_9647.jpg
/home/pi/Desktop/images/27112025/12/51/image_27112025_12_52_04_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411929","1396411926","1396411914","1396411916","1396411924","1396411921"],"photo_ids_order":["1396411914","1396411916","1396411921","1396411924","1396411926","1396411929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/373203c8555534bd8fe39b4cbdff7f63.jpg","text":"TemporaryFile(/tmp/multipartBody5677996444332808530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_52_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdbfb160663d7cd9295929b23f3ecfc7.jpg","text":"TemporaryFile(/tmp/multipartBody7794536696195292339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_51_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3013198cead1d4cdf8ba1fb13d78a769.jpg","text":"TemporaryFile(/tmp/multipartBody8429334444562289549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_51_15_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee7a82560fcec3d5f33b5bd665e6b764.jpg","text":"TemporaryFile(/tmp/multipartBody421206264711862499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_51_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c74330a04564bf8f43bf5832e9f9af9.jpg","text":"TemporaryFile(/tmp/multipartBody2727235792901847941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_51_45_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68e4f40cd591507de26b9bac85a6d57b.jpg","text":"TemporaryFile(/tmp/multipartBody5328841032456786369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245422909,"filename":"image_27112025_12_51_34_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411921","file1":"1396411916","file0":"1396411914","file4":"1396411926","file5":"1396411929","file3":"1396411924"},"map_files_photo_id_array":[{"photo_id":"1396411929","filename":"file5"},{"photo_id":"1396411921","filename":"file2"},{"photo_id":"1396411926","filename":"file4"},{"photo_id":"1396411916","filename":"file1"},{"photo_id":"1396411914","filename":"file0"},{"photo_id":"1396411924","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411929":["hashtag1","hashtag2"]},{"1396411926":["hashtag1","hashtag2"]},{"1396411914":["hashtag1","hashtag2"]},{"1396411916":["hashtag1","hashtag2"]},{"1396411924":["hashtag1","hashtag2"]},{"1396411921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411929, 1396411926, 1396411914, 1396411916, 1396411924, 1396411921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.783421993255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:10:02.620515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_15_10607.jpg', '/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_25_9668.jpg', '/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_34_9653.jpg', '/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_45_10594.jpg', '/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_55_9588.jpg', '/home/pi/Desktop/images/27112025/12/52/image_27112025_12_53_05_10141.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_15_10607.jpg
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_25_9668.jpg
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_34_9653.jpg
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_45_10594.jpg
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_52_55_9588.jpg
/home/pi/Desktop/images/27112025/12/52/image_27112025_12_53_05_10141.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411932","1396411931","1396411934","1396411939","1396411933","1396411936"],"photo_ids_order":["1396411931","1396411932","1396411933","1396411934","1396411936","1396411939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4803ac67ace0a40f93a7c915adf12704.jpg","text":"TemporaryFile(/tmp/multipartBody3229688902657829639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_52_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d082b8da2f907b03f1716aceab0e0b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2797683478677209116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_52_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aabb78e89604603f12803690545ef3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6600083640642772254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_52_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da1dd7587981ccbda04d0c5193d49e61.jpg","text":"TemporaryFile(/tmp/multipartBody3454090268564509523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_53_05_10141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81910c7bd29914cbb4bafe8ba3df70fd.jpg","text":"TemporaryFile(/tmp/multipartBody4502361024226383062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_52_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac1f21f07cd133e33cbe9b421901a39a.jpg","text":"TemporaryFile(/tmp/multipartBody962606998701744878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245463435,"filename":"image_27112025_12_52_55_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411933","file1":"1396411932","file0":"1396411931","file4":"1396411936","file5":"1396411939","file3":"1396411934"},"map_files_photo_id_array":[{"photo_id":"1396411939","filename":"file5"},{"photo_id":"1396411933","filename":"file2"},{"photo_id":"1396411936","filename":"file4"},{"photo_id":"1396411932","filename":"file1"},{"photo_id":"1396411931","filename":"file0"},{"photo_id":"1396411934","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411932":["hashtag1","hashtag2"]},{"1396411931":["hashtag1","hashtag2"]},{"1396411934":["hashtag1","hashtag2"]},{"1396411939":["hashtag1","hashtag2"]},{"1396411933":["hashtag1","hashtag2"]},{"1396411936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411932, 1396411931, 1396411934, 1396411939, 1396411933, 1396411936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11954307556152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:10:42.221916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_07_2566.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_16_2706.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_19_2674.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_22_3525.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_28_2704.jpg', '/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_31_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_07_2566.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_16_2706.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_19_2674.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_22_3525.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_28_2704.jpg
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_31_3842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411953","1396411952","1396411955","1396411949","1396411951","1396411954"],"photo_ids_order":["1396411949","1396411951","1396411952","1396411953","1396411954","1396411955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f69ef97a2f03dadc5f902acb46e7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7735562749465507188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_22_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/27/bf392d46434664965ee8d4ea6ce6823e.jpg","text":"TemporaryFile(/tmp/multipartBody7918983303807752665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_19_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/27/dea3ac39ea0399ca4df2ea439c2b08ce.jpg","text":"TemporaryFile(/tmp/multipartBody7021560837070567345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_31_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/27/dc9bd9f9bc77006298d9c1283b7d71ee.jpg","text":"TemporaryFile(/tmp/multipartBody1975240282285026522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_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/27/3a7d48fdd631fb7427c61670e38e640e.jpg","text":"TemporaryFile(/tmp/multipartBody9218342755046504850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_16_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/27/02d28d1a92a4f2cbbb9332798d394069.jpg","text":"TemporaryFile(/tmp/multipartBody2513503208774914715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245503869,"filename":"image_31102025_03_06_28_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411952","file1":"1396411951","file0":"1396411949","file4":"1396411954","file5":"1396411955","file3":"1396411953"},"map_files_photo_id_array":[{"photo_id":"1396411955","filename":"file5"},{"photo_id":"1396411952","filename":"file2"},{"photo_id":"1396411954","filename":"file4"},{"photo_id":"1396411951","filename":"file1"},{"photo_id":"1396411949","filename":"file0"},{"photo_id":"1396411953","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396411953":["hashtag1","hashtag2"]},{"1396411952":["hashtag1","hashtag2"]},{"1396411955":["hashtag1","hashtag2"]},{"1396411949":["hashtag1","hashtag2"]},{"1396411951":["hashtag1","hashtag2"]},{"1396411954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396411953, 1396411952, 1396411955, 1396411949, 1396411951, 1396411954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02849507331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:11:22.416468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_15_10045.jpg', '/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_24_9697.jpg', '/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_35_10552.jpg', '/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_45_9612.jpg', '/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_55_10720.jpg', '/home/pi/Desktop/images/27112025/12/53/image_27112025_12_54_05_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_15_10045.jpg
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_24_9697.jpg
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_35_10552.jpg
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_45_9612.jpg
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_53_55_10720.jpg
/home/pi/Desktop/images/27112025/12/53/image_27112025_12_54_05_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411965","1396411980","1396411974","1396411977","1396411970","1396411961"],"photo_ids_order":["1396411961","1396411965","1396411970","1396411974","1396411977","1396411980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7179a7b71ee7a52476e2d1ec6e642132.jpg","text":"TemporaryFile(/tmp/multipartBody4588302125485038950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_53_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee4a686ddaff87fd2772f9c8ee3665f0.jpg","text":"TemporaryFile(/tmp/multipartBody2768300532037008843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_54_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0838ba25239a5d0cda29b56205454c62.jpg","text":"TemporaryFile(/tmp/multipartBody6371942350915181332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_53_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/146435189bece77ed23a5d6933f229ea.jpg","text":"TemporaryFile(/tmp/multipartBody6987890346846686531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_53_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/751fcf3bb25f231e2ea9f78e843a3853.jpg","text":"TemporaryFile(/tmp/multipartBody3076763053241230539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_53_35_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/834aaaae91e4fa05a0780e357fd3d987.jpg","text":"TemporaryFile(/tmp/multipartBody5263315489710773455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245543217,"filename":"image_27112025_12_53_15_10045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411970","file1":"1396411965","file0":"1396411961","file4":"1396411977","file5":"1396411980","file3":"1396411974"},"map_files_photo_id_array":[{"photo_id":"1396411980","filename":"file5"},{"photo_id":"1396411970","filename":"file2"},{"photo_id":"1396411977","filename":"file4"},{"photo_id":"1396411965","filename":"file1"},{"photo_id":"1396411961","filename":"file0"},{"photo_id":"1396411974","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411965":["hashtag1","hashtag2"]},{"1396411980":["hashtag1","hashtag2"]},{"1396411974":["hashtag1","hashtag2"]},{"1396411977":["hashtag1","hashtag2"]},{"1396411970":["hashtag1","hashtag2"]},{"1396411961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411965, 1396411980, 1396411974, 1396411977, 1396411970, 1396411961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99194097518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:12:02.902098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_15_9777.jpg', '/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_24_9685.jpg', '/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_35_10665.jpg', '/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_45_9737.jpg', '/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_55_9918.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_15_9777.jpg
/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_24_9685.jpg
/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_35_10665.jpg
/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_45_9737.jpg
/home/pi/Desktop/images/27112025/12/54/image_27112025_12_54_55_9918.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_05_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396411989","1396411982","1396411985","1396411987","1396411984","1396411983"],"photo_ids_order":["1396411982","1396411983","1396411984","1396411985","1396411987","1396411989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80f23e77a9db4812790f93c6215d9092.jpg","text":"TemporaryFile(/tmp/multipartBody7163399881805156381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_55_05_10372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffb23727e590c53636a99d1f542312d9.jpg","text":"TemporaryFile(/tmp/multipartBody167779014600829905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_54_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b4f8f82df8f2ab5c19b2655a4edcea2.jpg","text":"TemporaryFile(/tmp/multipartBody5314385029682819970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_54_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb8d868a288d966f98994e2b23eb3f24.jpg","text":"TemporaryFile(/tmp/multipartBody3733615131792744952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_54_55_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/27/238fbb668e8f926309e2f6944a30b0af.jpg","text":"TemporaryFile(/tmp/multipartBody3311082876587952378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_54_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9603abae8ede6ad4e9f41d09caf641ab.jpg","text":"TemporaryFile(/tmp/multipartBody8602255878849082500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245583712,"filename":"image_27112025_12_54_24_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396411984","file1":"1396411983","file0":"1396411982","file4":"1396411987","file5":"1396411989","file3":"1396411985"},"map_files_photo_id_array":[{"photo_id":"1396411989","filename":"file5"},{"photo_id":"1396411984","filename":"file2"},{"photo_id":"1396411987","filename":"file4"},{"photo_id":"1396411983","filename":"file1"},{"photo_id":"1396411982","filename":"file0"},{"photo_id":"1396411985","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396411989":["hashtag1","hashtag2"]},{"1396411982":["hashtag1","hashtag2"]},{"1396411985":["hashtag1","hashtag2"]},{"1396411987":["hashtag1","hashtag2"]},{"1396411984":["hashtag1","hashtag2"]},{"1396411983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396411989, 1396411982, 1396411985, 1396411987, 1396411984, 1396411983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52522301673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:12:42.523503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_43_6034.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_12_5413.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_14_1766.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_31_2555.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_33_2758.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_37_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/06/image_31102025_03_06_43_6034.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_12_5413.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_14_1766.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_31_2555.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_33_2758.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_37_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412007","1396412009","1396412000","1396412003","1396412011","1396412005"],"photo_ids_order":["1396412000","1396412003","1396412005","1396412007","1396412009","1396412011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2df0008ad1a343c942016ecd8e63bdca.jpg","text":"TemporaryFile(/tmp/multipartBody4900605629590264127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_07_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/27/bc747e2d5e0648d19b622c3cf23e82c2.jpg","text":"TemporaryFile(/tmp/multipartBody814493962385078048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_07_33_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/27/5968d4d22c523908f5515a2f77ac8017.jpg","text":"TemporaryFile(/tmp/multipartBody6418652530558712195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_06_43_6034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef76681c32fa611b2e89462d62a5ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody2698141434255708119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_07_12_5413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcdce8909992e625c2eed52010c7182a.jpg","text":"TemporaryFile(/tmp/multipartBody2846593512582335774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_07_37_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/27/343debd8965e39774f32be8da450ea78.jpg","text":"TemporaryFile(/tmp/multipartBody4642772580672658339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245624152,"filename":"image_31102025_03_07_14_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412005","file1":"1396412003","file0":"1396412000","file4":"1396412009","file5":"1396412011","file3":"1396412007"},"map_files_photo_id_array":[{"photo_id":"1396412011","filename":"file5"},{"photo_id":"1396412005","filename":"file2"},{"photo_id":"1396412009","filename":"file4"},{"photo_id":"1396412003","filename":"file1"},{"photo_id":"1396412000","filename":"file0"},{"photo_id":"1396412007","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412007":["hashtag1","hashtag2"]},{"1396412009":["hashtag1","hashtag2"]},{"1396412000":["hashtag1","hashtag2"]},{"1396412003":["hashtag1","hashtag2"]},{"1396412011":["hashtag1","hashtag2"]},{"1396412005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412007, 1396412009, 1396412000, 1396412003, 1396412011, 1396412005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51966094970703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:13:22.695777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_15_9933.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_25_10120.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_35_9807.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_45_10007.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_54_9351.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_05_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_15_9933.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_25_10120.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_35_9807.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_45_10007.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_54_9351.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_05_10542.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6231358051300049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:13:32.735006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_16_2798.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_20_3556.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_23_2888.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_25_2618.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_29_3725.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_32_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_16_2798.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_20_3556.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_23_2888.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_25_2618.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_29_3725.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_32_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412034","1396412022","1396412030","1396412033","1396412026","1396412035"],"photo_ids_order":["1396412022","1396412026","1396412030","1396412033","1396412034","1396412035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf59c3af4b69d39a0d5f96aede8dcb6b.jpg","text":"TemporaryFile(/tmp/multipartBody978798562707786410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_02_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/27/2681661138ecaa9d8f095c0b0eea0c50.jpg","text":"TemporaryFile(/tmp/multipartBody2452074587196437279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_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/27/55de9f95329a311e0d73bdacc4c5f5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8050293507269921192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_02_23_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/27/8516c36384a50754ba17db749c406216.jpg","text":"TemporaryFile(/tmp/multipartBody5650447168297179221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_02_25_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/27/346b86b3bcffd6496bde050cfa9a2f37.jpg","text":"TemporaryFile(/tmp/multipartBody1598904314924732808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_02_20_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/27/8bd3e542b9641e5cc2ba9b9d0ca6bc17.jpg","text":"TemporaryFile(/tmp/multipartBody6639555859556159690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245674633,"filename":"image_21112025_21_02_32_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412030","file1":"1396412026","file0":"1396412022","file4":"1396412034","file5":"1396412035","file3":"1396412033"},"map_files_photo_id_array":[{"photo_id":"1396412035","filename":"file5"},{"photo_id":"1396412030","filename":"file2"},{"photo_id":"1396412034","filename":"file4"},{"photo_id":"1396412026","filename":"file1"},{"photo_id":"1396412022","filename":"file0"},{"photo_id":"1396412033","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412034":["hashtag1","hashtag2"]},{"1396412022":["hashtag1","hashtag2"]},{"1396412030":["hashtag1","hashtag2"]},{"1396412033":["hashtag1","hashtag2"]},{"1396412026":["hashtag1","hashtag2"]},{"1396412035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412034, 1396412022, 1396412030, 1396412033, 1396412026, 1396412035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.452614068984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:14:12.029108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_34_2707.jpg', '/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_37_2701.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_10_3589.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_13_2564.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_16_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_34_2707.jpg
/home/pi/Desktop/images/21112025/21/02/image_21112025_21_02_37_2701.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_07_3011.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_10_3589.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_13_2564.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_16_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412040","1396412037","1396412051","1396412048","1396412044","1396412038"],"photo_ids_order":["1396412037","1396412038","1396412040","1396412044","1396412048","1396412051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98a70b783514ef5a13fa9c2c3d0891b1.jpg","text":"TemporaryFile(/tmp/multipartBody8437320962288875311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_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/27/c6e38a10faa30ea04014c793ba8f78f8.jpg","text":"TemporaryFile(/tmp/multipartBody7977628270115598817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_02_34_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/27/d3ca608292197c3c0b9e07dc2a030aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7941074403742025383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_04_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/27/f1eeb595ef11444f58fc7f66bc921ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5699653339618298950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_04_13_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/27/288376c7a31d706e2ac924550226685a.jpg","text":"TemporaryFile(/tmp/multipartBody6429737143518160325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_04_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/27/c456ba27ea4bfa68c15be18b6d935593.jpg","text":"TemporaryFile(/tmp/multipartBody2767213619170638310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245713838,"filename":"image_21112025_21_02_37_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412040","file1":"1396412038","file0":"1396412037","file4":"1396412048","file5":"1396412051","file3":"1396412044"},"map_files_photo_id_array":[{"photo_id":"1396412051","filename":"file5"},{"photo_id":"1396412040","filename":"file2"},{"photo_id":"1396412048","filename":"file4"},{"photo_id":"1396412038","filename":"file1"},{"photo_id":"1396412037","filename":"file0"},{"photo_id":"1396412044","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412040":["hashtag1","hashtag2"]},{"1396412037":["hashtag1","hashtag2"]},{"1396412051":["hashtag1","hashtag2"]},{"1396412048":["hashtag1","hashtag2"]},{"1396412044":["hashtag1","hashtag2"]},{"1396412038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412040, 1396412037, 1396412051, 1396412048, 1396412044, 1396412038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25262761116028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:15:02.739135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_15_9933.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_25_10120.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_35_9807.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_45_10007.jpg', '/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_54_9351.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_05_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_15_9933.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_25_10120.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_35_9807.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_45_10007.jpg
/home/pi/Desktop/images/27112025/12/55/image_27112025_12_55_54_9351.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_05_10542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396412061","1396412057","1396412068","1396412062","1396412059","1396412064"],"photo_ids_order":["1396412057","1396412059","1396412061","1396412062","1396412064","1396412068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3592cbf3869b02830b3af5ad13dec90.jpg","text":"TemporaryFile(/tmp/multipartBody2821346941657631101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_55_35_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dff0ab23090c0aed47b4562350661a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1591241395948882199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_55_15_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17884d8e5f64acab66eb79599bd58cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3169074920429716634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_56_05_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca775ef1354c6f17de69aa0de12a3434.jpg","text":"TemporaryFile(/tmp/multipartBody4730358313190839354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_55_45_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62d4e8eccb5fa610d7830133dc4461ec.jpg","text":"TemporaryFile(/tmp/multipartBody2787260633310651663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_55_25_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abc1d1e03e92880d100d9f1b6a00492c.jpg","text":"TemporaryFile(/tmp/multipartBody7648304448242900022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245763568,"filename":"image_27112025_12_55_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412061","file1":"1396412059","file0":"1396412057","file4":"1396412064","file5":"1396412068","file3":"1396412062"},"map_files_photo_id_array":[{"photo_id":"1396412068","filename":"file5"},{"photo_id":"1396412061","filename":"file2"},{"photo_id":"1396412064","filename":"file4"},{"photo_id":"1396412059","filename":"file1"},{"photo_id":"1396412057","filename":"file0"},{"photo_id":"1396412062","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412061":["hashtag1","hashtag2"]},{"1396412057":["hashtag1","hashtag2"]},{"1396412068":["hashtag1","hashtag2"]},{"1396412062":["hashtag1","hashtag2"]},{"1396412059":["hashtag1","hashtag2"]},{"1396412064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412061, 1396412057, 1396412068, 1396412062, 1396412059, 1396412064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.035404682159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:16:02.896458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_15_9853.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_25_9884.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_35_10337.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_45_9721.jpg', '/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_55_10124.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_15_9853.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_25_9884.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_35_10337.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_45_9721.jpg
/home/pi/Desktop/images/27112025/12/56/image_27112025_12_56_55_10124.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_05_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412078","1396412087","1396412080","1396412083","1396412077","1396412079"],"photo_ids_order":["1396412077","1396412078","1396412079","1396412080","1396412083","1396412087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/823e9a27458496e3e412d390f25412a0.jpg","text":"TemporaryFile(/tmp/multipartBody8248802912045224299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_56_25_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e5e65356f5e6df7b402fa9cbc539125.jpg","text":"TemporaryFile(/tmp/multipartBody7856964295175354851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_57_05_10403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08c009483a57453dedf06d8780857906.jpg","text":"TemporaryFile(/tmp/multipartBody3084137668111718429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_56_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e097f73e73b0e583bc121338e2abf4c.jpg","text":"TemporaryFile(/tmp/multipartBody7190965938006244343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_56_55_10124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/739135d63548e727ef82b6d5aecf28a0.jpg","text":"TemporaryFile(/tmp/multipartBody4925718939583664617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_56_15_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d18a68a4b209ef0156c9cc29d72e6945.jpg","text":"TemporaryFile(/tmp/multipartBody5579558571033560076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245823692,"filename":"image_27112025_12_56_35_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412079","file1":"1396412078","file0":"1396412077","file4":"1396412083","file5":"1396412087","file3":"1396412080"},"map_files_photo_id_array":[{"photo_id":"1396412087","filename":"file5"},{"photo_id":"1396412079","filename":"file2"},{"photo_id":"1396412083","filename":"file4"},{"photo_id":"1396412078","filename":"file1"},{"photo_id":"1396412077","filename":"file0"},{"photo_id":"1396412080","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412078":["hashtag1","hashtag2"]},{"1396412087":["hashtag1","hashtag2"]},{"1396412080":["hashtag1","hashtag2"]},{"1396412083":["hashtag1","hashtag2"]},{"1396412077":["hashtag1","hashtag2"]},{"1396412079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412078, 1396412087, 1396412080, 1396412083, 1396412077, 1396412079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.461058139801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:16:42.516941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_40_2764.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_49_9049.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_51_1635.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_52_1623.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_55_2619.jpg', '/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_58_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_40_2764.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_49_9049.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_51_1635.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_52_1623.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_55_2619.jpg
/home/pi/Desktop/images/31102025/03/07/image_31102025_03_07_58_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412100","1396412096","1396412099","1396412098","1396412095","1396412097"],"photo_ids_order":["1396412095","1396412096","1396412097","1396412098","1396412099","1396412100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/024b8e709c098d80a9e4543dc8c87a39.jpg","text":"TemporaryFile(/tmp/multipartBody4305066415017211986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_58_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/27/880adba917f399f972beb19795c7b468.jpg","text":"TemporaryFile(/tmp/multipartBody2997831807025700586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_49_9049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59e3f51b81a48bc769e9c3f66b6a237f.jpg","text":"TemporaryFile(/tmp/multipartBody4918637649112656323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_55_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/27/d16bba53e28d14b5aa78dfc60fe7b461.jpg","text":"TemporaryFile(/tmp/multipartBody7266654063771051102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_52_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/27/7ada7de0e892d077881e3445652ad4d5.jpg","text":"TemporaryFile(/tmp/multipartBody2162138110368438797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_40_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/27/94fa1e763dd03ca8745b7490dd45c1e4.jpg","text":"TemporaryFile(/tmp/multipartBody6323887818000120316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245864186,"filename":"image_31102025_03_07_51_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412097","file1":"1396412096","file0":"1396412095","file4":"1396412099","file5":"1396412100","file3":"1396412098"},"map_files_photo_id_array":[{"photo_id":"1396412100","filename":"file5"},{"photo_id":"1396412097","filename":"file2"},{"photo_id":"1396412099","filename":"file4"},{"photo_id":"1396412096","filename":"file1"},{"photo_id":"1396412095","filename":"file0"},{"photo_id":"1396412098","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412100":["hashtag1","hashtag2"]},{"1396412096":["hashtag1","hashtag2"]},{"1396412099":["hashtag1","hashtag2"]},{"1396412098":["hashtag1","hashtag2"]},{"1396412095":["hashtag1","hashtag2"]},{"1396412097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412100, 1396412096, 1396412099, 1396412098, 1396412095, 1396412097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81942939758301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:17:22.695177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_15_9545.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_25_10107.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_34_9613.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_45_10112.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_55_10589.jpg', '/home/pi/Desktop/images/27112025/12/57/image_27112025_12_58_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_15_9545.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_25_10107.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_34_9613.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_45_10112.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_57_55_10589.jpg
/home/pi/Desktop/images/27112025/12/57/image_27112025_12_58_05_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412109","1396412124","1396412120","1396412105","1396412113","1396412116"],"photo_ids_order":["1396412105","1396412109","1396412113","1396412116","1396412120","1396412124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c61957260f4e33b0a61f460959f534c.jpg","text":"TemporaryFile(/tmp/multipartBody4431941295643420377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_57_25_10107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/583fe1615cb80288fc78eabed87fbcc0.jpg","text":"TemporaryFile(/tmp/multipartBody9095954902258550609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_58_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39c90b5c90999349da564bc07ba46e73.jpg","text":"TemporaryFile(/tmp/multipartBody7277252604873023853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_57_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/306495b295beb499df64ecb05c79bd24.jpg","text":"TemporaryFile(/tmp/multipartBody948808516100014046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_57_15_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c623428ac68975c12abe1c395064f7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2508811385888584560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_57_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c26ae0647032c35a2ec926e2b91c5544.jpg","text":"TemporaryFile(/tmp/multipartBody6884610466470339021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245903444,"filename":"image_27112025_12_57_45_10112.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412113","file1":"1396412109","file0":"1396412105","file4":"1396412120","file5":"1396412124","file3":"1396412116"},"map_files_photo_id_array":[{"photo_id":"1396412124","filename":"file5"},{"photo_id":"1396412113","filename":"file2"},{"photo_id":"1396412120","filename":"file4"},{"photo_id":"1396412109","filename":"file1"},{"photo_id":"1396412105","filename":"file0"},{"photo_id":"1396412116","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412109":["hashtag1","hashtag2"]},{"1396412124":["hashtag1","hashtag2"]},{"1396412120":["hashtag1","hashtag2"]},{"1396412105":["hashtag1","hashtag2"]},{"1396412113":["hashtag1","hashtag2"]},{"1396412116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412109, 1396412124, 1396412120, 1396412105, 1396412113, 1396412116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.383220911026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:18:03.269439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_15_9655.jpg', '/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_24_9730.jpg', '/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_35_10721.jpg', '/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_45_9756.jpg', '/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_54_9626.jpg', '/home/pi/Desktop/images/27112025/12/58/image_27112025_12_59_05_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_15_9655.jpg
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_24_9730.jpg
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_35_10721.jpg
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_45_9756.jpg
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_58_54_9626.jpg
/home/pi/Desktop/images/27112025/12/58/image_27112025_12_59_05_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412127","1396412136","1396412130","1396412132","1396412129","1396412128"],"photo_ids_order":["1396412127","1396412128","1396412129","1396412130","1396412132","1396412136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bca3129ed7d1273025b41108dcbe693.jpg","text":"TemporaryFile(/tmp/multipartBody4295032343393702674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_58_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3cf6450c711f1ced49c03bb041bcef3.jpg","text":"TemporaryFile(/tmp/multipartBody5775944246777398616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_59_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/188779a79ad0601598c496e787a14ea6.jpg","text":"TemporaryFile(/tmp/multipartBody661181685546967794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_58_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92bee4f3c65dee0d80c16dc65754e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3247005701211837092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_58_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d8921da0e2e1c3389f2d9a59f728be6.jpg","text":"TemporaryFile(/tmp/multipartBody2565963643981963609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_58_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59115b65bab36ef77552310bb1d50995.jpg","text":"TemporaryFile(/tmp/multipartBody3751082678197150674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245944043,"filename":"image_27112025_12_58_24_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412129","file1":"1396412128","file0":"1396412127","file4":"1396412132","file5":"1396412136","file3":"1396412130"},"map_files_photo_id_array":[{"photo_id":"1396412136","filename":"file5"},{"photo_id":"1396412129","filename":"file2"},{"photo_id":"1396412132","filename":"file4"},{"photo_id":"1396412128","filename":"file1"},{"photo_id":"1396412127","filename":"file0"},{"photo_id":"1396412130","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412127":["hashtag1","hashtag2"]},{"1396412136":["hashtag1","hashtag2"]},{"1396412130":["hashtag1","hashtag2"]},{"1396412132":["hashtag1","hashtag2"]},{"1396412129":["hashtag1","hashtag2"]},{"1396412128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412127, 1396412136, 1396412130, 1396412132, 1396412129, 1396412128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.596654415130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:18:42.828499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_03_4406.jpg', '/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_23_1710.jpg', '/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_33_1761.jpg', '/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_46_2649.jpg', '/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_01_14757.jpg', '/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_35_2938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_03_4406.jpg
/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_23_1710.jpg
/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_33_1761.jpg
/home/pi/Desktop/images/31102025/03/08/image_31102025_03_08_46_2649.jpg
/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_01_14757.jpg
/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_35_2938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412148","1396412150","1396412147","1396412149","1396412151","1396412145"],"photo_ids_order":["1396412145","1396412147","1396412148","1396412149","1396412150","1396412151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9752cc707598e8e9ad452d966a6c2c79.jpg","text":"TemporaryFile(/tmp/multipartBody7123480075415051626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_08_33_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/27/10f857836873f10758e1baf8b7d09ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3812604303484920051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_09_01_14757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b381f4419ccc86e318fc159e0819734c.jpg","text":"TemporaryFile(/tmp/multipartBody9165713721746208307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_08_23_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/27/c5c56a6cf83bbe908578f4b3aafbb38d.jpg","text":"TemporaryFile(/tmp/multipartBody2484054222315692449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_08_46_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/27/8ac8508cf6faa1705ff369349793839d.jpg","text":"TemporaryFile(/tmp/multipartBody3746357288892053704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_09_35_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bd1484d35d346f60f58b126f2622bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7700158378871813000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764245984447,"filename":"image_31102025_03_08_03_4406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412148","file1":"1396412147","file0":"1396412145","file4":"1396412150","file5":"1396412151","file3":"1396412149"},"map_files_photo_id_array":[{"photo_id":"1396412151","filename":"file5"},{"photo_id":"1396412148","filename":"file2"},{"photo_id":"1396412150","filename":"file4"},{"photo_id":"1396412147","filename":"file1"},{"photo_id":"1396412145","filename":"file0"},{"photo_id":"1396412149","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412148":["hashtag1","hashtag2"]},{"1396412150":["hashtag1","hashtag2"]},{"1396412147":["hashtag1","hashtag2"]},{"1396412149":["hashtag1","hashtag2"]},{"1396412151":["hashtag1","hashtag2"]},{"1396412145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412148, 1396412150, 1396412147, 1396412149, 1396412151, 1396412145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78698515892029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:19:22.025863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_15_9868.jpg', '/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_25_9855.jpg', '/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_35_9721.jpg', '/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_44_9811.jpg', '/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_55_10671.jpg', '/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_15_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_15_9868.jpg
/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_25_9855.jpg
/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_35_9721.jpg
/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_44_9811.jpg
/home/pi/Desktop/images/27112025/12/59/image_27112025_12_59_55_10671.jpg
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_15_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412169","1396412156","1396412159","1396412153","1396412163","1396412166"],"photo_ids_order":["1396412153","1396412156","1396412159","1396412163","1396412166","1396412169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40dac2ee9f7fe5d008bd97506829c420.jpg","text":"TemporaryFile(/tmp/multipartBody1415036717034165792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_13_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d012e8ef341ad1fa0990d30b65bc09c2.jpg","text":"TemporaryFile(/tmp/multipartBody8340847785526554773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_12_59_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff5626fc73b49bc37205910bca9b94c0.jpg","text":"TemporaryFile(/tmp/multipartBody7783378850005781384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_12_59_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9256ed0f9358c13a602cb8e4e68ab1be.jpg","text":"TemporaryFile(/tmp/multipartBody8363660540323571167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_12_59_15_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb4ac6ef75c4b2e76c538939e4c963e3.jpg","text":"TemporaryFile(/tmp/multipartBody9162443759365597739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_12_59_44_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca3647ad9cf12b94528d4a60a83b09c7.jpg","text":"TemporaryFile(/tmp/multipartBody5440642777585252427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246022773,"filename":"image_27112025_12_59_55_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412159","file1":"1396412156","file0":"1396412153","file4":"1396412166","file5":"1396412169","file3":"1396412163"},"map_files_photo_id_array":[{"photo_id":"1396412169","filename":"file5"},{"photo_id":"1396412159","filename":"file2"},{"photo_id":"1396412166","filename":"file4"},{"photo_id":"1396412156","filename":"file1"},{"photo_id":"1396412153","filename":"file0"},{"photo_id":"1396412163","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412169":["hashtag1","hashtag2"]},{"1396412156":["hashtag1","hashtag2"]},{"1396412159":["hashtag1","hashtag2"]},{"1396412153":["hashtag1","hashtag2"]},{"1396412163":["hashtag1","hashtag2"]},{"1396412166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412169, 1396412156, 1396412159, 1396412153, 1396412163, 1396412166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.515387296676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:20:02.556835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_25_10805.jpg', '/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_35_9604.jpg', '/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_45_9816.jpg', '/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_55_10621.jpg', '/home/pi/Desktop/images/27112025/13/00/image_27112025_13_01_05_9603.jpg', '/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_15_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_25_10805.jpg
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_35_9604.jpg
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_45_9816.jpg
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_00_55_10621.jpg
/home/pi/Desktop/images/27112025/13/00/image_27112025_13_01_05_9603.jpg
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_15_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412175","1396412174","1396412173","1396412176","1396412181","1396412178"],"photo_ids_order":["1396412173","1396412174","1396412175","1396412176","1396412178","1396412181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5753ef48b46afee9c2f7d94650614a6.jpg","text":"TemporaryFile(/tmp/multipartBody1653891159983231418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_00_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51fcca6e5f8867848f64316bb6aad35c.jpg","text":"TemporaryFile(/tmp/multipartBody2021021268210175162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_00_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86ce45e655e351559e07e7d8670d2aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6562845375675830728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_00_25_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6cb1869a5f1b00bef911038a86c37f5.jpg","text":"TemporaryFile(/tmp/multipartBody5933558848982953588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_00_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65a5f2cb6b7f214f7ef1d9bfc3cb46b4.jpg","text":"TemporaryFile(/tmp/multipartBody6245489245647934767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_01_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f62721a82545239fae6296cdd612be85.jpg","text":"TemporaryFile(/tmp/multipartBody7017774564705959018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246063346,"filename":"image_27112025_13_01_05_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412175","file1":"1396412174","file0":"1396412173","file4":"1396412178","file5":"1396412181","file3":"1396412176"},"map_files_photo_id_array":[{"photo_id":"1396412181","filename":"file5"},{"photo_id":"1396412175","filename":"file2"},{"photo_id":"1396412178","filename":"file4"},{"photo_id":"1396412174","filename":"file1"},{"photo_id":"1396412173","filename":"file0"},{"photo_id":"1396412176","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412175":["hashtag1","hashtag2"]},{"1396412174":["hashtag1","hashtag2"]},{"1396412173":["hashtag1","hashtag2"]},{"1396412176":["hashtag1","hashtag2"]},{"1396412181":["hashtag1","hashtag2"]},{"1396412178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412175, 1396412174, 1396412173, 1396412176, 1396412181, 1396412178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.852662086486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:20:42.202706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_39_2285.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_05_1980.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_06_1650.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_12_1584.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_16_1777.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_18_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/09/image_31102025_03_09_39_2285.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_05_1980.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_06_1650.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_12_1584.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_16_1777.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_18_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412195","1396412197","1396412191","1396412194","1396412196","1396412193"],"photo_ids_order":["1396412191","1396412193","1396412194","1396412195","1396412196","1396412197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92f8fd75033affb92eb925ed1c014d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2693305661868211450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_10_12_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/27/3c3b9a499ea42ac48dc55275ad209a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3255558439438740555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_10_18_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/27/170e6220e65704309c7417797be20f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6073585572775886360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_09_39_2285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fee9ef7ba8498c1d46c10f5831d0443f.jpg","text":"TemporaryFile(/tmp/multipartBody8544876719844811426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_10_06_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/27/569c4e84b1e3d80a8ff5a59b7b1d4880.jpg","text":"TemporaryFile(/tmp/multipartBody39896338465365260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_10_16_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3dc0e4cd54c300e06a435a7fee597b7.jpg","text":"TemporaryFile(/tmp/multipartBody4819528741571093039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246103833,"filename":"image_31102025_03_10_05_1980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412194","file1":"1396412193","file0":"1396412191","file4":"1396412196","file5":"1396412197","file3":"1396412195"},"map_files_photo_id_array":[{"photo_id":"1396412197","filename":"file5"},{"photo_id":"1396412194","filename":"file2"},{"photo_id":"1396412196","filename":"file4"},{"photo_id":"1396412193","filename":"file1"},{"photo_id":"1396412191","filename":"file0"},{"photo_id":"1396412195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412195":["hashtag1","hashtag2"]},{"1396412197":["hashtag1","hashtag2"]},{"1396412191":["hashtag1","hashtag2"]},{"1396412194":["hashtag1","hashtag2"]},{"1396412196":["hashtag1","hashtag2"]},{"1396412193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412195, 1396412197, 1396412191, 1396412194, 1396412196, 1396412193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47238636016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:21:22.390788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_24_9789.jpg', '/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_35_10521.jpg', '/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_45_9673.jpg', '/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_55_10662.jpg', '/home/pi/Desktop/images/27112025/13/01/image_27112025_13_02_05_9557.jpg', '/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_15_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_24_9789.jpg
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_35_10521.jpg
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_45_9673.jpg
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_01_55_10662.jpg
/home/pi/Desktop/images/27112025/13/01/image_27112025_13_02_05_9557.jpg
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_15_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412202","1396412215","1396412212","1396412206","1396412209","1396412199"],"photo_ids_order":["1396412199","1396412202","1396412206","1396412209","1396412212","1396412215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea08477ddafae287cbd8c31e010022f5.jpg","text":"TemporaryFile(/tmp/multipartBody6216608123995775361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_01_35_10521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbc2b52648777c178ff7b44ba0d4c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5049146681153791926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_02_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ce9e6ee19769fe75c82f26c59d34783.jpg","text":"TemporaryFile(/tmp/multipartBody5574227636596667051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_02_05_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/631ca6159be0e464808f5d865afcad20.jpg","text":"TemporaryFile(/tmp/multipartBody4829286131410342846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_01_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b9dd6c45d90d0fb9f05858618a0eb1c.jpg","text":"TemporaryFile(/tmp/multipartBody6164941499790228161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_01_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a7b8319184d0cc326a8f87f4b37f8c5.jpg","text":"TemporaryFile(/tmp/multipartBody5396682485423840556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246143182,"filename":"image_27112025_13_01_24_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412206","file1":"1396412202","file0":"1396412199","file4":"1396412212","file5":"1396412215","file3":"1396412209"},"map_files_photo_id_array":[{"photo_id":"1396412215","filename":"file5"},{"photo_id":"1396412206","filename":"file2"},{"photo_id":"1396412212","filename":"file4"},{"photo_id":"1396412202","filename":"file1"},{"photo_id":"1396412199","filename":"file0"},{"photo_id":"1396412209","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412202":["hashtag1","hashtag2"]},{"1396412215":["hashtag1","hashtag2"]},{"1396412212":["hashtag1","hashtag2"]},{"1396412206":["hashtag1","hashtag2"]},{"1396412209":["hashtag1","hashtag2"]},{"1396412199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412202, 1396412215, 1396412212, 1396412206, 1396412209, 1396412199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.546897411346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:22:03.204708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_25_10729.jpg', '/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_35_9654.jpg', '/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_45_9656.jpg', '/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_55_9916.jpg', '/home/pi/Desktop/images/27112025/13/02/image_27112025_13_03_05_10693.jpg', '/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_15_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_25_10729.jpg
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_35_9654.jpg
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_45_9656.jpg
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_02_55_9916.jpg
/home/pi/Desktop/images/27112025/13/02/image_27112025_13_03_05_10693.jpg
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_15_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412226","1396412220","1396412223","1396412219","1396412221","1396412218"],"photo_ids_order":["1396412218","1396412219","1396412220","1396412221","1396412223","1396412226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e6fb5e5d3902e1b6da1963ab1211c93.jpg","text":"TemporaryFile(/tmp/multipartBody3850675706572675225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_03_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7e525f0ff6449c95dc5f4d223e49535.jpg","text":"TemporaryFile(/tmp/multipartBody1660367685861542698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_02_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f51d3a19cbe355073c0ffc48cd9ca0d.jpg","text":"TemporaryFile(/tmp/multipartBody6922410797692847150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_03_05_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/555d239a0c1acadca0fcb9794796f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody9185027717105643839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_02_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf80e515a5dd0d442f2bde06dd148db2.jpg","text":"TemporaryFile(/tmp/multipartBody6450894891016732339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_02_55_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f6606977495ba75a2aedbf461fed7a6.jpg","text":"TemporaryFile(/tmp/multipartBody7581550857320199912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246183983,"filename":"image_27112025_13_02_25_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412220","file1":"1396412219","file0":"1396412218","file4":"1396412223","file5":"1396412226","file3":"1396412221"},"map_files_photo_id_array":[{"photo_id":"1396412226","filename":"file5"},{"photo_id":"1396412220","filename":"file2"},{"photo_id":"1396412223","filename":"file4"},{"photo_id":"1396412219","filename":"file1"},{"photo_id":"1396412218","filename":"file0"},{"photo_id":"1396412221","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412226":["hashtag1","hashtag2"]},{"1396412220":["hashtag1","hashtag2"]},{"1396412223":["hashtag1","hashtag2"]},{"1396412219":["hashtag1","hashtag2"]},{"1396412221":["hashtag1","hashtag2"]},{"1396412218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412226, 1396412220, 1396412223, 1396412219, 1396412221, 1396412218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36204767227173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:22:42.706356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_21_2763.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_32_3888.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_37_3794.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_40_2608.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_43_2860.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_45_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_21_2763.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_32_3888.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_37_3794.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_40_2608.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_43_2860.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_45_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412247","1396412238","1396412246","1396412242","1396412245","1396412244"],"photo_ids_order":["1396412238","1396412242","1396412244","1396412245","1396412246","1396412247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c892a017987bba456e628e111b6f5224.jpg","text":"TemporaryFile(/tmp/multipartBody4229524926112929003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_45_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/27/b29ba4a04187405dbb0fa855642a75c0.jpg","text":"TemporaryFile(/tmp/multipartBody8247190900103312618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_21_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/27/650ef965698cdc79fc4e3a878fbad6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1892960101680117330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_43_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/27/0a81764f2d45317e9ba9551a2a51b42f.jpg","text":"TemporaryFile(/tmp/multipartBody7349765066686134126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_32_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c94c9adf6951628cfb34cd02b1fddb4.jpg","text":"TemporaryFile(/tmp/multipartBody3285920214899254304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_40_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/27/1cdc78fa40934e86980c68e8dedef715.jpg","text":"TemporaryFile(/tmp/multipartBody2108504626350237212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246224322,"filename":"image_31102025_03_10_37_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412244","file1":"1396412242","file0":"1396412238","file4":"1396412246","file5":"1396412247","file3":"1396412245"},"map_files_photo_id_array":[{"photo_id":"1396412247","filename":"file5"},{"photo_id":"1396412244","filename":"file2"},{"photo_id":"1396412246","filename":"file4"},{"photo_id":"1396412242","filename":"file1"},{"photo_id":"1396412238","filename":"file0"},{"photo_id":"1396412245","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412247":["hashtag1","hashtag2"]},{"1396412238":["hashtag1","hashtag2"]},{"1396412246":["hashtag1","hashtag2"]},{"1396412242":["hashtag1","hashtag2"]},{"1396412245":["hashtag1","hashtag2"]},{"1396412244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412247, 1396412238, 1396412246, 1396412242, 1396412245, 1396412244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42447328567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:23:21.858885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_25_9762.jpg', '/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_35_10512.jpg', '/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_45_9781.jpg', '/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_55_9771.jpg', '/home/pi/Desktop/images/27112025/13/03/image_27112025_13_04_05_9601.jpg', '/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_15_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_25_9762.jpg
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_35_10512.jpg
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_45_9781.jpg
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_03_55_9771.jpg
/home/pi/Desktop/images/27112025/13/03/image_27112025_13_04_05_9601.jpg
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_15_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412268","1396412255","1396412252","1396412263","1396412259","1396412250"],"photo_ids_order":["1396412250","1396412252","1396412255","1396412259","1396412263","1396412268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e726be5175bf4539dd4c022b402aba27.jpg","text":"TemporaryFile(/tmp/multipartBody5248664403005039203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_04_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fff120e7d29accc52c6bb01c28f540f7.jpg","text":"TemporaryFile(/tmp/multipartBody3956206205040640456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_03_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20253e67eb735ec08c056472c54d244a.jpg","text":"TemporaryFile(/tmp/multipartBody8131151470091206353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_03_35_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f51ff8fef2b0c691038ed790e466f71a.jpg","text":"TemporaryFile(/tmp/multipartBody5515307151781002822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_04_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e5f8d4b486dcf6b3845f6b7020e8b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3817970318410385372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_03_55_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63d5c17ebc4d74e624b8c5e3d1571ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2412970696908352862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246262626,"filename":"image_27112025_13_03_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412255","file1":"1396412252","file0":"1396412250","file4":"1396412263","file5":"1396412268","file3":"1396412259"},"map_files_photo_id_array":[{"photo_id":"1396412268","filename":"file5"},{"photo_id":"1396412255","filename":"file2"},{"photo_id":"1396412263","filename":"file4"},{"photo_id":"1396412252","filename":"file1"},{"photo_id":"1396412250","filename":"file0"},{"photo_id":"1396412259","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412268":["hashtag1","hashtag2"]},{"1396412255":["hashtag1","hashtag2"]},{"1396412252":["hashtag1","hashtag2"]},{"1396412263":["hashtag1","hashtag2"]},{"1396412259":["hashtag1","hashtag2"]},{"1396412250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412268, 1396412255, 1396412252, 1396412263, 1396412259, 1396412250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.103172063827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:24:02.881226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_25_9715.jpg', '/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_35_9756.jpg', '/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_44_9827.jpg', '/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_55_10598.jpg', '/home/pi/Desktop/images/27112025/13/04/image_27112025_13_05_05_9831.jpg', '/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_15_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_25_9715.jpg
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_35_9756.jpg
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_44_9827.jpg
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_04_55_10598.jpg
/home/pi/Desktop/images/27112025/13/04/image_27112025_13_05_05_9831.jpg
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_15_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412285","1396412288","1396412282","1396412278","1396412281","1396412280"],"photo_ids_order":["1396412278","1396412280","1396412281","1396412282","1396412285","1396412288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8b9d814924b0af95c60cd1335a2a25c.jpg","text":"TemporaryFile(/tmp/multipartBody5523307904847041642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_05_05_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6769814184751dc080324d99aa0fb4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5913129038254163481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_05_15_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6134f97e115d284619d9b061f71b8b07.jpg","text":"TemporaryFile(/tmp/multipartBody1056691293613347680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_04_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9befc222889d839a9c09b047bf41e85.jpg","text":"TemporaryFile(/tmp/multipartBody6274660594675336498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_04_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a2da01ab43ada5992a313ccb6577b27.jpg","text":"TemporaryFile(/tmp/multipartBody4646178200217040732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_04_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd3475e23e36f66117ef99c37c795aa8.jpg","text":"TemporaryFile(/tmp/multipartBody9015084249434317667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246303698,"filename":"image_27112025_13_04_35_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412281","file1":"1396412280","file0":"1396412278","file4":"1396412285","file5":"1396412288","file3":"1396412282"},"map_files_photo_id_array":[{"photo_id":"1396412288","filename":"file5"},{"photo_id":"1396412281","filename":"file2"},{"photo_id":"1396412285","filename":"file4"},{"photo_id":"1396412280","filename":"file1"},{"photo_id":"1396412278","filename":"file0"},{"photo_id":"1396412282","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412285":["hashtag1","hashtag2"]},{"1396412288":["hashtag1","hashtag2"]},{"1396412282":["hashtag1","hashtag2"]},{"1396412278":["hashtag1","hashtag2"]},{"1396412281":["hashtag1","hashtag2"]},{"1396412280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412285, 1396412288, 1396412282, 1396412278, 1396412281, 1396412280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85786008834839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:24:42.087327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_48_2843.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_52_3695.jpg', '/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_54_2550.jpg', '/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_22_2750.jpg', '/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_30_2588.jpg', '/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_58_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_48_2843.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_52_3695.jpg
/home/pi/Desktop/images/31102025/03/10/image_31102025_03_10_54_2550.jpg
/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_22_2750.jpg
/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_30_2588.jpg
/home/pi/Desktop/images/31102025/03/11/image_31102025_03_11_58_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412297","1396412296","1396412300","1396412299","1396412302","1396412298"],"photo_ids_order":["1396412296","1396412297","1396412298","1396412299","1396412300","1396412302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f4fbae0a57123c01e2901cdb36f2129.jpg","text":"TemporaryFile(/tmp/multipartBody8041741517260460912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_10_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/27/fb9b493301fcc16291780531ee0ed07b.jpg","text":"TemporaryFile(/tmp/multipartBody4646722958216790614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_10_48_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/27/5496c3cc87d533c90ae3caeb2195be38.jpg","text":"TemporaryFile(/tmp/multipartBody8567005834690004293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_11_30_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/27/b1a6957a079aad6c6b0b1b15d6043917.jpg","text":"TemporaryFile(/tmp/multipartBody1763521771452984439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_11_22_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/27/49d24466d1bc951512eb8f62f619f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2657620949164189916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_11_58_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/27/1633808547fe7cb817992e5b59fd5429.jpg","text":"TemporaryFile(/tmp/multipartBody5482486308600504987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246343763,"filename":"image_31102025_03_10_54_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412298","file1":"1396412297","file0":"1396412296","file4":"1396412300","file5":"1396412302","file3":"1396412299"},"map_files_photo_id_array":[{"photo_id":"1396412302","filename":"file5"},{"photo_id":"1396412298","filename":"file2"},{"photo_id":"1396412300","filename":"file4"},{"photo_id":"1396412297","filename":"file1"},{"photo_id":"1396412296","filename":"file0"},{"photo_id":"1396412299","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412297":["hashtag1","hashtag2"]},{"1396412296":["hashtag1","hashtag2"]},{"1396412300":["hashtag1","hashtag2"]},{"1396412299":["hashtag1","hashtag2"]},{"1396412302":["hashtag1","hashtag2"]},{"1396412298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412297, 1396412296, 1396412300, 1396412299, 1396412302, 1396412298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69965219497681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:25:22.214225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_25_10744.jpg', '/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_35_9617.jpg', '/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_45_9800.jpg', '/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_55_10664.jpg', '/home/pi/Desktop/images/27112025/13/05/image_27112025_13_06_05_9588.jpg', '/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_15_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_25_10744.jpg
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_35_9617.jpg
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_45_9800.jpg
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_05_55_10664.jpg
/home/pi/Desktop/images/27112025/13/05/image_27112025_13_06_05_9588.jpg
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_15_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412318","1396412312","1396412306","1396412315","1396412309","1396412320"],"photo_ids_order":["1396412306","1396412309","1396412312","1396412315","1396412318","1396412320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec66b3b440e78bdbf11d184767d62447.jpg","text":"TemporaryFile(/tmp/multipartBody3474274040139812079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_06_05_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f93beab59c3bcbecb9442b264281e812.jpg","text":"TemporaryFile(/tmp/multipartBody5573068617219258009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_05_45_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b51c380706834b95b8a38920a8d403d5.jpg","text":"TemporaryFile(/tmp/multipartBody4948582387984983269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_05_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49f03c5d53f544c8e785761cbe9ec5a4.jpg","text":"TemporaryFile(/tmp/multipartBody8151215968332906604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_05_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4ed794b4372237ffbdb0e1798cfe110.jpg","text":"TemporaryFile(/tmp/multipartBody4202242043000384419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_05_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7fc87b84e90d4bda93b90ca977543cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2370218773682919469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246382975,"filename":"image_27112025_13_06_15_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412312","file1":"1396412309","file0":"1396412306","file4":"1396412318","file5":"1396412320","file3":"1396412315"},"map_files_photo_id_array":[{"photo_id":"1396412320","filename":"file5"},{"photo_id":"1396412312","filename":"file2"},{"photo_id":"1396412318","filename":"file4"},{"photo_id":"1396412309","filename":"file1"},{"photo_id":"1396412306","filename":"file0"},{"photo_id":"1396412315","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412318":["hashtag1","hashtag2"]},{"1396412312":["hashtag1","hashtag2"]},{"1396412306":["hashtag1","hashtag2"]},{"1396412315":["hashtag1","hashtag2"]},{"1396412309":["hashtag1","hashtag2"]},{"1396412320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412318, 1396412312, 1396412306, 1396412315, 1396412309, 1396412320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67905378341675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:26:02.851697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_25_9825.jpg', '/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_35_10642.jpg', '/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_45_9637.jpg', '/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_55_10588.jpg', '/home/pi/Desktop/images/27112025/13/06/image_27112025_13_07_05_9756.jpg', '/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_15_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_25_9825.jpg
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_35_10642.jpg
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_45_9637.jpg
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_06_55_10588.jpg
/home/pi/Desktop/images/27112025/13/06/image_27112025_13_07_05_9756.jpg
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_15_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412331","1396412325","1396412328","1396412324","1396412323","1396412326"],"photo_ids_order":["1396412323","1396412324","1396412325","1396412326","1396412328","1396412331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12097c4b4be0681d6079a43d8cfda0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4453369472769513228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_07_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f01f2b6998347f2c9b9f7e300b93c4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4926824503315356039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_06_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ece42cb9946b6a37712632989497e94.jpg","text":"TemporaryFile(/tmp/multipartBody2364030835185457435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_07_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63fef228d4128f8fce473ee3b6664ed9.jpg","text":"TemporaryFile(/tmp/multipartBody4315937651640281035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_06_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b982c397f1cd068840861bfb7009039.jpg","text":"TemporaryFile(/tmp/multipartBody418101859583050695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_06_25_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a32c9d6cf0827f50ca361f275de0207.jpg","text":"TemporaryFile(/tmp/multipartBody2965876421071515086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246423673,"filename":"image_27112025_13_06_55_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412325","file1":"1396412324","file0":"1396412323","file4":"1396412328","file5":"1396412331","file3":"1396412326"},"map_files_photo_id_array":[{"photo_id":"1396412331","filename":"file5"},{"photo_id":"1396412325","filename":"file2"},{"photo_id":"1396412328","filename":"file4"},{"photo_id":"1396412324","filename":"file1"},{"photo_id":"1396412323","filename":"file0"},{"photo_id":"1396412326","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412331":["hashtag1","hashtag2"]},{"1396412325":["hashtag1","hashtag2"]},{"1396412328":["hashtag1","hashtag2"]},{"1396412324":["hashtag1","hashtag2"]},{"1396412323":["hashtag1","hashtag2"]},{"1396412326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412331, 1396412325, 1396412328, 1396412324, 1396412323, 1396412326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.987279415130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:26:42.467901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_03_2852.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_06_2883.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_12_2550.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_16_3640.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_18_2601.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_27_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_03_2852.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_06_2883.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_12_2550.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_16_3640.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_18_2601.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_27_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412342","1396412345","1396412347","1396412341","1396412344","1396412343"],"photo_ids_order":["1396412341","1396412342","1396412343","1396412344","1396412345","1396412347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f47b9881ad553357072346a569d6b574.jpg","text":"TemporaryFile(/tmp/multipartBody4952481122213057276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_06_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/27/8d7edcd6cf5205585512258babaffe8a.jpg","text":"TemporaryFile(/tmp/multipartBody5572014622589367436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_18_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/27/71047dd70d0770dc9903f5a9339ea44b.jpg","text":"TemporaryFile(/tmp/multipartBody9066140047844147621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_27_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/27/5619213e297ed82504c07ec87f410ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2898470981056278308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_03_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bb265008142745b07986f3308fcb562.jpg","text":"TemporaryFile(/tmp/multipartBody4880297029387118922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_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/27/6070cbb1463c4ea14942cd18b94d4ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3697946777077891551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246464035,"filename":"image_31102025_03_12_12_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412343","file1":"1396412342","file0":"1396412341","file4":"1396412345","file5":"1396412347","file3":"1396412344"},"map_files_photo_id_array":[{"photo_id":"1396412347","filename":"file5"},{"photo_id":"1396412343","filename":"file2"},{"photo_id":"1396412345","filename":"file4"},{"photo_id":"1396412342","filename":"file1"},{"photo_id":"1396412341","filename":"file0"},{"photo_id":"1396412344","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412342":["hashtag1","hashtag2"]},{"1396412345":["hashtag1","hashtag2"]},{"1396412347":["hashtag1","hashtag2"]},{"1396412341":["hashtag1","hashtag2"]},{"1396412344":["hashtag1","hashtag2"]},{"1396412343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412342, 1396412345, 1396412347, 1396412341, 1396412344, 1396412343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.355196952819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:27:22.615387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_25_9821.jpg', '/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_35_9772.jpg', '/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_45_10766.jpg', '/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_55_9733.jpg', '/home/pi/Desktop/images/27112025/13/07/image_27112025_13_08_05_9664.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_15_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_25_9821.jpg
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_35_9772.jpg
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_45_10766.jpg
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_07_55_9733.jpg
/home/pi/Desktop/images/27112025/13/07/image_27112025_13_08_05_9664.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_15_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412366","1396412360","1396412354","1396412351","1396412362","1396412358"],"photo_ids_order":["1396412351","1396412354","1396412358","1396412360","1396412362","1396412366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc86c42f2ba46333c0a9196f30a2914d.jpg","text":"TemporaryFile(/tmp/multipartBody8158881507325934545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_08_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d21bfc8adc391f298015d40b145d238f.jpg","text":"TemporaryFile(/tmp/multipartBody5814554635865635616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_07_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c55bc8c5b11df627ea71cc8f787f3236.jpg","text":"TemporaryFile(/tmp/multipartBody253589475477829180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_07_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f36e382cf9d7b073736469f4a4412bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8157673089669480142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_07_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e293ffe3f6a65b26041dcd1344ea39f.jpg","text":"TemporaryFile(/tmp/multipartBody3839638978563153379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_08_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/982538229244dafab2cfed3bddcee957.jpg","text":"TemporaryFile(/tmp/multipartBody3630040429985806609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246505270,"filename":"image_27112025_13_07_45_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412358","file1":"1396412354","file0":"1396412351","file4":"1396412362","file5":"1396412366","file3":"1396412360"},"map_files_photo_id_array":[{"photo_id":"1396412366","filename":"file5"},{"photo_id":"1396412358","filename":"file2"},{"photo_id":"1396412362","filename":"file4"},{"photo_id":"1396412354","filename":"file1"},{"photo_id":"1396412351","filename":"file0"},{"photo_id":"1396412360","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412366":["hashtag1","hashtag2"]},{"1396412360":["hashtag1","hashtag2"]},{"1396412354":["hashtag1","hashtag2"]},{"1396412351":["hashtag1","hashtag2"]},{"1396412362":["hashtag1","hashtag2"]},{"1396412358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412366, 1396412360, 1396412354, 1396412351, 1396412362, 1396412358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45064878463745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:28:02.349731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_25_9573.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_35_9790.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_45_9751.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_55_10706.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_09_05_9696.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_15_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_25_9573.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_35_9790.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_45_9751.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_55_10706.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_09_05_9696.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_15_9719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6247022151947021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:28:11.901705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_19_2633.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_22_2760.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_25_2761.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_30_5757.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_36_5833.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_38_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_19_2633.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_22_2760.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_25_2761.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_30_5757.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_36_5833.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_38_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412372","1396412375","1396412380","1396412382","1396412385","1396412370"],"photo_ids_order":["1396412370","1396412372","1396412375","1396412380","1396412382","1396412385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b732d370d589682ae00bcc2dc04a9760.jpg","text":"TemporaryFile(/tmp/multipartBody7748293052180882770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_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/27/00949aecf288cae20ab28a8277d90dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7363920851043139337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_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/27/55f31ff44b6db671375529fc9736ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody6751895181761157023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_30_5757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c0444227e5eaa3a2b8b42b6df0cc55b.jpg","text":"TemporaryFile(/tmp/multipartBody7882245332029611989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_36_5833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a56c563afac3fdf95690aabf40898331.jpg","text":"TemporaryFile(/tmp/multipartBody2316134005645492273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_38_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/27/fb8a073aa916cc2092dae1d7664b539e.jpg","text":"TemporaryFile(/tmp/multipartBody3579732586053872753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246553710,"filename":"image_21112025_21_04_19_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412375","file1":"1396412372","file0":"1396412370","file4":"1396412382","file5":"1396412385","file3":"1396412380"},"map_files_photo_id_array":[{"photo_id":"1396412385","filename":"file5"},{"photo_id":"1396412375","filename":"file2"},{"photo_id":"1396412382","filename":"file4"},{"photo_id":"1396412372","filename":"file1"},{"photo_id":"1396412370","filename":"file0"},{"photo_id":"1396412380","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412372":["hashtag1","hashtag2"]},{"1396412375":["hashtag1","hashtag2"]},{"1396412380":["hashtag1","hashtag2"]},{"1396412382":["hashtag1","hashtag2"]},{"1396412385":["hashtag1","hashtag2"]},{"1396412370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412372, 1396412375, 1396412380, 1396412382, 1396412385, 1396412370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77763223648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:29:03.980256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_25_9573.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_35_9790.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_45_9751.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_55_10706.jpg', '/home/pi/Desktop/images/27112025/13/08/image_27112025_13_09_05_9696.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_15_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_25_9573.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_35_9790.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_45_9751.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_08_55_10706.jpg
/home/pi/Desktop/images/27112025/13/08/image_27112025_13_09_05_9696.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_15_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412403","1396412393","1396412395","1396412394","1396412397","1396412391"],"photo_ids_order":["1396412391","1396412393","1396412394","1396412395","1396412397","1396412403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee2a991a20c0ade312e37892ab60a616.jpg","text":"TemporaryFile(/tmp/multipartBody3405913389073854516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_09_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29a4a147516638463959883ee3fb38d9.jpg","text":"TemporaryFile(/tmp/multipartBody8323682360694053601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_08_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6367853d66b65d1b73f60cbf7189f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5961775728195917745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_08_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa7d91134430d75665d9be8ab7af9f63.jpg","text":"TemporaryFile(/tmp/multipartBody1994820593641561707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_08_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fee5709596331e77dd40c3edbe75ae0.jpg","text":"TemporaryFile(/tmp/multipartBody933502807522524130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_09_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe512e1e761897349b1287cf619e12eb.jpg","text":"TemporaryFile(/tmp/multipartBody7755671215051396955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246604899,"filename":"image_27112025_13_08_25_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412394","file1":"1396412393","file0":"1396412391","file4":"1396412397","file5":"1396412403","file3":"1396412395"},"map_files_photo_id_array":[{"photo_id":"1396412403","filename":"file5"},{"photo_id":"1396412394","filename":"file2"},{"photo_id":"1396412397","filename":"file4"},{"photo_id":"1396412393","filename":"file1"},{"photo_id":"1396412391","filename":"file0"},{"photo_id":"1396412395","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412403":["hashtag1","hashtag2"]},{"1396412393":["hashtag1","hashtag2"]},{"1396412395":["hashtag1","hashtag2"]},{"1396412394":["hashtag1","hashtag2"]},{"1396412397":["hashtag1","hashtag2"]},{"1396412391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412403, 1396412393, 1396412395, 1396412394, 1396412397, 1396412391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06902265548706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:29:43.060119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_30_2673.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_36_2691.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_39_2699.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_51_2633.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_57_2745.jpg', '/home/pi/Desktop/images/31102025/03/12/image_31102025_03_13_00_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_30_2673.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_36_2691.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_39_2699.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_51_2633.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_12_57_2745.jpg
/home/pi/Desktop/images/31102025/03/12/image_31102025_03_13_00_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":["1396412418","1396412420","1396412411","1396412414","1396412422","1396412416"],"photo_ids_order":["1396412411","1396412414","1396412416","1396412418","1396412420","1396412422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/def983e1fc2ad65d46b03b48159ae0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6469037309630189530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_12_51_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/27/c3098295545d8510ada4c801b60c758f.jpg","text":"TemporaryFile(/tmp/multipartBody1558364998395049277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_12_57_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/27/06652c34d5a853d7a0ae26e9f2a25848.jpg","text":"TemporaryFile(/tmp/multipartBody6603456960518464498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_12_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/27/2e2ca8496b36070e6b2d8e17c1adbbd2.jpg","text":"TemporaryFile(/tmp/multipartBody2246293809140181757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_12_36_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/27/eedfc126cdd74e30556f49bb331bbad2.jpg","text":"TemporaryFile(/tmp/multipartBody5327132799110410621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_13_00_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/27/a7fc31cc281f5530bd1e0bb30a065e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8504368938774230382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246644700,"filename":"image_31102025_03_12_39_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412416","file1":"1396412414","file0":"1396412411","file4":"1396412420","file5":"1396412422","file3":"1396412418"},"map_files_photo_id_array":[{"photo_id":"1396412422","filename":"file5"},{"photo_id":"1396412416","filename":"file2"},{"photo_id":"1396412420","filename":"file4"},{"photo_id":"1396412414","filename":"file1"},{"photo_id":"1396412411","filename":"file0"},{"photo_id":"1396412418","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412418":["hashtag1","hashtag2"]},{"1396412420":["hashtag1","hashtag2"]},{"1396412411":["hashtag1","hashtag2"]},{"1396412414":["hashtag1","hashtag2"]},{"1396412422":["hashtag1","hashtag2"]},{"1396412416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412418, 1396412420, 1396412411, 1396412414, 1396412422, 1396412416)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.15684700012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:30:32.262923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_39_1619.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_41_1571.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_43_1613.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_46_3582.jpg', '/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_49_2627.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_07_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_39_1619.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_41_1571.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_43_1613.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_46_3582.jpg
/home/pi/Desktop/images/21112025/21/04/image_21112025_21_04_49_2627.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_07_3013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396412436","1396412441","1396412438","1396412432","1396412443","1396412442"],"photo_ids_order":["1396412432","1396412436","1396412438","1396412441","1396412442","1396412443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c78d5ac329431286710481900f24c158.jpg","text":"TemporaryFile(/tmp/multipartBody2727521908528880066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_04_41_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/27/a26f1432ae4548af2098e683b86a31c9.jpg","text":"TemporaryFile(/tmp/multipartBody1899755588388417635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_04_46_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/27/74daadfbe0527ca60565ca5cc0a47cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8074547988370476583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_04_43_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1818d128c3071bab696ad3c23415b10f.jpg","text":"TemporaryFile(/tmp/multipartBody7392262006735486050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_04_39_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/27/a17baed8c2c760c70f37d62d110cc85a.jpg","text":"TemporaryFile(/tmp/multipartBody2288692580425122532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_06_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/27/e8548901d4d951f3cf8420becaabcf41.jpg","text":"TemporaryFile(/tmp/multipartBody5419873008652244138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246694067,"filename":"image_21112025_21_04_49_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412438","file1":"1396412436","file0":"1396412432","file4":"1396412442","file5":"1396412443","file3":"1396412441"},"map_files_photo_id_array":[{"photo_id":"1396412443","filename":"file5"},{"photo_id":"1396412438","filename":"file2"},{"photo_id":"1396412442","filename":"file4"},{"photo_id":"1396412436","filename":"file1"},{"photo_id":"1396412432","filename":"file0"},{"photo_id":"1396412441","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412436":["hashtag1","hashtag2"]},{"1396412441":["hashtag1","hashtag2"]},{"1396412438":["hashtag1","hashtag2"]},{"1396412432":["hashtag1","hashtag2"]},{"1396412443":["hashtag1","hashtag2"]},{"1396412442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412436, 1396412441, 1396412438, 1396412432, 1396412443, 1396412442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73698425292969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:31:22.439242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_24_9837.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_35_10965.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_45_9594.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_55_9684.jpg', '/home/pi/Desktop/images/27112025/13/09/image_27112025_13_10_05_9783.jpg', '/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_15_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_24_9837.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_35_10965.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_45_9594.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_09_55_9684.jpg
/home/pi/Desktop/images/27112025/13/09/image_27112025_13_10_05_9783.jpg
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_15_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412447","1396412462","1396412458","1396412452","1396412455","1396412449"],"photo_ids_order":["1396412447","1396412449","1396412452","1396412455","1396412458","1396412462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b5f462c45e1707c24cdae3476a168d7.jpg","text":"TemporaryFile(/tmp/multipartBody3681487186181749295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_09_24_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27d98532c1bb9bba57477e6e22fa373a.jpg","text":"TemporaryFile(/tmp/multipartBody666604441701358969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_10_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e821b1485f19d03865ff56fb5a8b946d.jpg","text":"TemporaryFile(/tmp/multipartBody5902874747531207929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_10_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0d5e2e466a3dd743c24205147490717.jpg","text":"TemporaryFile(/tmp/multipartBody7300521489849922455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_09_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abcb0fde9f7fbb5827684c9be1f2d671.jpg","text":"TemporaryFile(/tmp/multipartBody1298752531596918763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_09_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b25467af3b03d28e984b54838157be1d.jpg","text":"TemporaryFile(/tmp/multipartBody7432883295231938454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246743196,"filename":"image_27112025_13_09_35_10965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412452","file1":"1396412449","file0":"1396412447","file4":"1396412458","file5":"1396412462","file3":"1396412455"},"map_files_photo_id_array":[{"photo_id":"1396412462","filename":"file5"},{"photo_id":"1396412452","filename":"file2"},{"photo_id":"1396412458","filename":"file4"},{"photo_id":"1396412449","filename":"file1"},{"photo_id":"1396412447","filename":"file0"},{"photo_id":"1396412455","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412447":["hashtag1","hashtag2"]},{"1396412462":["hashtag1","hashtag2"]},{"1396412458":["hashtag1","hashtag2"]},{"1396412452":["hashtag1","hashtag2"]},{"1396412455":["hashtag1","hashtag2"]},{"1396412449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412447, 1396412462, 1396412458, 1396412452, 1396412455, 1396412449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47678303718567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:32:03.046907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_25_9728.jpg', '/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_35_9576.jpg', '/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_45_10637.jpg', '/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_55_9688.jpg', '/home/pi/Desktop/images/27112025/13/10/image_27112025_13_11_05_9750.jpg', '/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_15_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_25_9728.jpg
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_35_9576.jpg
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_45_10637.jpg
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_10_55_9688.jpg
/home/pi/Desktop/images/27112025/13/10/image_27112025_13_11_05_9750.jpg
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_15_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412466","1396412465","1396412464","1396412473","1396412467","1396412469"],"photo_ids_order":["1396412464","1396412465","1396412466","1396412467","1396412469","1396412473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68566073a8639e8fdf5de28bc48a0668.jpg","text":"TemporaryFile(/tmp/multipartBody7280026073608935057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_10_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4165b4141c0beaa470629ba3f9dee89.jpg","text":"TemporaryFile(/tmp/multipartBody129984036867425912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_10_35_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd9aea7820e4686f9b39dcafb99b5ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4419778769701364961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_10_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a3308081e6af661770f463638c6ad8f.jpg","text":"TemporaryFile(/tmp/multipartBody1673847859304081204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_11_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d6c807e9c9b8ed4dca2a53783f69a29.jpg","text":"TemporaryFile(/tmp/multipartBody192855123864502513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_10_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19ff57dba3fc7edc2c57f19bd2370217.jpg","text":"TemporaryFile(/tmp/multipartBody5676929597242029802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246783850,"filename":"image_27112025_13_11_05_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412466","file1":"1396412465","file0":"1396412464","file4":"1396412469","file5":"1396412473","file3":"1396412467"},"map_files_photo_id_array":[{"photo_id":"1396412473","filename":"file5"},{"photo_id":"1396412466","filename":"file2"},{"photo_id":"1396412469","filename":"file4"},{"photo_id":"1396412465","filename":"file1"},{"photo_id":"1396412464","filename":"file0"},{"photo_id":"1396412467","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412466":["hashtag1","hashtag2"]},{"1396412465":["hashtag1","hashtag2"]},{"1396412464":["hashtag1","hashtag2"]},{"1396412473":["hashtag1","hashtag2"]},{"1396412467":["hashtag1","hashtag2"]},{"1396412469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412466, 1396412465, 1396412464, 1396412473, 1396412467, 1396412469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92242646217346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:32:42.565068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_04_3612.jpg', '/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_06_2632.jpg', '/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_15_2634.jpg', '/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_27_2830.jpg', '/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_48_2734.jpg', '/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_54_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_04_3612.jpg
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_06_2632.jpg
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_15_2634.jpg
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_27_2830.jpg
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_48_2734.jpg
/home/pi/Desktop/images/31102025/03/13/image_31102025_03_13_54_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":["1396412486","1396412482","1396412485","1396412488","1396412487","1396412484"],"photo_ids_order":["1396412482","1396412484","1396412485","1396412486","1396412487","1396412488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fde5ab45bd8c8e19c6569f1f28dee24.jpg","text":"TemporaryFile(/tmp/multipartBody8588800441120768446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_27_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/27/ccc68bde780c20b0734ed1b2d1dfe825.jpg","text":"TemporaryFile(/tmp/multipartBody1672866316553241523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_04_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/27/dd4cf5bb68b07caea6a7315acbc841b6.jpg","text":"TemporaryFile(/tmp/multipartBody5628957865098614440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_15_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/27/a4ededbcfc35099857a6a2d2d1abd638.jpg","text":"TemporaryFile(/tmp/multipartBody1980002743209045141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_54_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/27/49f53cb67d9b0b5a0979d5d6445b5132.jpg","text":"TemporaryFile(/tmp/multipartBody9195178055868575516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_48_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/27/0aee4364e5d83cd5edbd7483dbf173bb.jpg","text":"TemporaryFile(/tmp/multipartBody6997504696331987755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246824233,"filename":"image_31102025_03_13_06_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412485","file1":"1396412484","file0":"1396412482","file4":"1396412487","file5":"1396412488","file3":"1396412486"},"map_files_photo_id_array":[{"photo_id":"1396412488","filename":"file5"},{"photo_id":"1396412485","filename":"file2"},{"photo_id":"1396412487","filename":"file4"},{"photo_id":"1396412484","filename":"file1"},{"photo_id":"1396412482","filename":"file0"},{"photo_id":"1396412486","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412486":["hashtag1","hashtag2"]},{"1396412482":["hashtag1","hashtag2"]},{"1396412485":["hashtag1","hashtag2"]},{"1396412488":["hashtag1","hashtag2"]},{"1396412487":["hashtag1","hashtag2"]},{"1396412484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412486, 1396412482, 1396412485, 1396412488, 1396412487, 1396412484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11314249038696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:33:22.758053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_25_9667.jpg', '/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_35_9682.jpg', '/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_45_10594.jpg', '/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_55_9807.jpg', '/home/pi/Desktop/images/27112025/13/11/image_27112025_13_12_05_9677.jpg', '/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_15_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_25_9667.jpg
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_35_9682.jpg
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_45_10594.jpg
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_11_55_9807.jpg
/home/pi/Desktop/images/27112025/13/11/image_27112025_13_12_05_9677.jpg
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_15_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412498","1396412492","1396412495","1396412500","1396412503","1396412506"],"photo_ids_order":["1396412492","1396412495","1396412498","1396412500","1396412503","1396412506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ab30128521a4f8ca0b3893ca465c551.jpg","text":"TemporaryFile(/tmp/multipartBody7591269853431282769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_11_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb77c3185557fdea5df9c33dcb09c95d.jpg","text":"TemporaryFile(/tmp/multipartBody8411439080329199705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_11_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ab30fdef9016ebf7772196367976e19.jpg","text":"TemporaryFile(/tmp/multipartBody127861941307440137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_11_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5a91f2b51cbac108ae5a054533bfb6e.jpg","text":"TemporaryFile(/tmp/multipartBody5002234449478867383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_11_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49e9c9ab4bb5ad75bebc3bbac08637bb.jpg","text":"TemporaryFile(/tmp/multipartBody7776869345832452080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_12_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/231ba519a53eb0df7ca79ab8c96e58dc.jpg","text":"TemporaryFile(/tmp/multipartBody3156795177741222219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246863515,"filename":"image_27112025_13_12_15_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412498","file1":"1396412495","file0":"1396412492","file4":"1396412503","file5":"1396412506","file3":"1396412500"},"map_files_photo_id_array":[{"photo_id":"1396412506","filename":"file5"},{"photo_id":"1396412498","filename":"file2"},{"photo_id":"1396412503","filename":"file4"},{"photo_id":"1396412495","filename":"file1"},{"photo_id":"1396412492","filename":"file0"},{"photo_id":"1396412500","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412498":["hashtag1","hashtag2"]},{"1396412492":["hashtag1","hashtag2"]},{"1396412495":["hashtag1","hashtag2"]},{"1396412500":["hashtag1","hashtag2"]},{"1396412503":["hashtag1","hashtag2"]},{"1396412506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412498, 1396412492, 1396412495, 1396412500, 1396412503, 1396412506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27793073654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:34:02.543459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_25_9629.jpg', '/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_35_9719.jpg', '/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_45_10692.jpg', '/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_55_9623.jpg', '/home/pi/Desktop/images/27112025/13/12/image_27112025_13_13_05_9586.jpg', '/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_15_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_25_9629.jpg
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_35_9719.jpg
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_45_10692.jpg
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_12_55_9623.jpg
/home/pi/Desktop/images/27112025/13/12/image_27112025_13_13_05_9586.jpg
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_15_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412517","1396412511","1396412514","1396412510","1396412512","1396412509"],"photo_ids_order":["1396412509","1396412510","1396412511","1396412512","1396412514","1396412517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6affb0033b054401f7e1d57e8c9a0ba.jpg","text":"TemporaryFile(/tmp/multipartBody5019830886534991369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_13_15_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bd80de70c4ff2b355075a1fbadb8254.jpg","text":"TemporaryFile(/tmp/multipartBody8809191037385006253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_12_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fdc28ea82f90048a3e458be9af597b45.jpg","text":"TemporaryFile(/tmp/multipartBody8498864316053775462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_13_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff3c3bbd0888ecdffde8060ae2a28222.jpg","text":"TemporaryFile(/tmp/multipartBody7805580659379244365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_12_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/871c3fd4ae27964690ac0254c5f67882.jpg","text":"TemporaryFile(/tmp/multipartBody6418775952210980637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_12_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a27396398ba1b3da7f7b6954dbcaed6f.jpg","text":"TemporaryFile(/tmp/multipartBody8039421072179012111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246903451,"filename":"image_27112025_13_12_25_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412511","file1":"1396412510","file0":"1396412509","file4":"1396412514","file5":"1396412517","file3":"1396412512"},"map_files_photo_id_array":[{"photo_id":"1396412517","filename":"file5"},{"photo_id":"1396412511","filename":"file2"},{"photo_id":"1396412514","filename":"file4"},{"photo_id":"1396412510","filename":"file1"},{"photo_id":"1396412509","filename":"file0"},{"photo_id":"1396412512","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412517":["hashtag1","hashtag2"]},{"1396412511":["hashtag1","hashtag2"]},{"1396412514":["hashtag1","hashtag2"]},{"1396412510":["hashtag1","hashtag2"]},{"1396412512":["hashtag1","hashtag2"]},{"1396412509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412517, 1396412511, 1396412514, 1396412510, 1396412512, 1396412509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94845128059387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:34:41.956479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_06_2775.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_12_2658.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_16_3729.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_21_2706.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_33_2891.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_39_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_06_2775.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_12_2658.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_16_3729.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_21_2706.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_33_2891.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_39_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412532","1396412529","1396412531","1396412530","1396412533","1396412527"],"photo_ids_order":["1396412527","1396412529","1396412530","1396412531","1396412532","1396412533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45d6a41fab4702926540d1f08981aa67.jpg","text":"TemporaryFile(/tmp/multipartBody5719654406413858375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_33_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/27/8d178ff3ebe289721efd981b4ba0a229.jpg","text":"TemporaryFile(/tmp/multipartBody4869320745829190104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_12_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/27/3dd0a7c753b6e06f6d1f1467662023f4.jpg","text":"TemporaryFile(/tmp/multipartBody280717260371871641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_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/27/9f8a3963a29ed5322bd40f6ee026ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody4001027314585048275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_16_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/27/9d462d7f3bffe7a31459499e9148438f.jpg","text":"TemporaryFile(/tmp/multipartBody667739747761405969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_39_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/27/0e96b79275a6d6274bea31caa7a0cfc0.jpg","text":"TemporaryFile(/tmp/multipartBody9014426893358784036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246943574,"filename":"image_31102025_03_14_06_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412530","file1":"1396412529","file0":"1396412527","file4":"1396412532","file5":"1396412533","file3":"1396412531"},"map_files_photo_id_array":[{"photo_id":"1396412533","filename":"file5"},{"photo_id":"1396412530","filename":"file2"},{"photo_id":"1396412532","filename":"file4"},{"photo_id":"1396412529","filename":"file1"},{"photo_id":"1396412527","filename":"file0"},{"photo_id":"1396412531","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412532":["hashtag1","hashtag2"]},{"1396412529":["hashtag1","hashtag2"]},{"1396412531":["hashtag1","hashtag2"]},{"1396412530":["hashtag1","hashtag2"]},{"1396412533":["hashtag1","hashtag2"]},{"1396412527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412532, 1396412529, 1396412531, 1396412530, 1396412533, 1396412527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954007387161255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:35:22.133548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_25_10723.jpg', '/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_35_9656.jpg', '/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_45_9719.jpg', '/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_55_10729.jpg', '/home/pi/Desktop/images/27112025/13/13/image_27112025_13_14_05_9813.jpg', '/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_25_10723.jpg
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_35_9656.jpg
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_45_9719.jpg
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_13_55_10729.jpg
/home/pi/Desktop/images/27112025/13/13/image_27112025_13_14_05_9813.jpg
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_15_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412551","1396412545","1396412539","1396412548","1396412542","1396412536"],"photo_ids_order":["1396412536","1396412539","1396412542","1396412545","1396412548","1396412551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc86b27caf3532df938586dda35c949f.jpg","text":"TemporaryFile(/tmp/multipartBody9129801840798189557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_14_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9314732c86a8e9b1e9f9bd2cfb71540.jpg","text":"TemporaryFile(/tmp/multipartBody661966918275519444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_13_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2bf697eade1930eced4e33ffae488ea.jpg","text":"TemporaryFile(/tmp/multipartBody9066081970183932883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_13_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58616651f4e0d50499d10d62716dc5df.jpg","text":"TemporaryFile(/tmp/multipartBody9009213502973225573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_14_05_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe7a38283ec17660e53cf167958c9587.jpg","text":"TemporaryFile(/tmp/multipartBody3569501396271409807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_13_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f89c5173665bcd78528b054f5663162e.jpg","text":"TemporaryFile(/tmp/multipartBody5205668229428551198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764246982897,"filename":"image_27112025_13_13_25_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412542","file1":"1396412539","file0":"1396412536","file4":"1396412548","file5":"1396412551","file3":"1396412545"},"map_files_photo_id_array":[{"photo_id":"1396412551","filename":"file5"},{"photo_id":"1396412542","filename":"file2"},{"photo_id":"1396412548","filename":"file4"},{"photo_id":"1396412539","filename":"file1"},{"photo_id":"1396412536","filename":"file0"},{"photo_id":"1396412545","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412551":["hashtag1","hashtag2"]},{"1396412545":["hashtag1","hashtag2"]},{"1396412539":["hashtag1","hashtag2"]},{"1396412548":["hashtag1","hashtag2"]},{"1396412542":["hashtag1","hashtag2"]},{"1396412536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412551, 1396412545, 1396412539, 1396412548, 1396412542, 1396412536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10666084289551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:36:02.781960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_24_9661.jpg', '/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_35_10811.jpg', '/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_45_9623.jpg', '/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_55_9706.jpg', '/home/pi/Desktop/images/27112025/13/14/image_27112025_13_15_05_10748.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_24_9661.jpg
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_35_10811.jpg
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_45_9623.jpg
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_14_55_9706.jpg
/home/pi/Desktop/images/27112025/13/14/image_27112025_13_15_05_10748.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412565","1396412559","1396412557","1396412554","1396412562","1396412556"],"photo_ids_order":["1396412554","1396412556","1396412557","1396412559","1396412562","1396412565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83cd8ef3b0d482f6751a5599f896a8b9.jpg","text":"TemporaryFile(/tmp/multipartBody6677422986629757422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_15_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0229fc4321063cfede896fd4e9959c7.jpg","text":"TemporaryFile(/tmp/multipartBody7188188679750962785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_14_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/073128f202cd19a9af47f2bf2d6753a3.jpg","text":"TemporaryFile(/tmp/multipartBody1923850459731717027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_14_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2ddb394faa504be66b89309dcb4b99d.jpg","text":"TemporaryFile(/tmp/multipartBody6588846241087386419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_14_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/280b406079c7af7b1ab31fc006327c73.jpg","text":"TemporaryFile(/tmp/multipartBody7371297653942059986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_15_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad013610405838ca78421f35b65cece5.jpg","text":"TemporaryFile(/tmp/multipartBody2844461253294745095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247023570,"filename":"image_27112025_13_14_35_10811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412557","file1":"1396412556","file0":"1396412554","file4":"1396412562","file5":"1396412565","file3":"1396412559"},"map_files_photo_id_array":[{"photo_id":"1396412565","filename":"file5"},{"photo_id":"1396412557","filename":"file2"},{"photo_id":"1396412562","filename":"file4"},{"photo_id":"1396412556","filename":"file1"},{"photo_id":"1396412554","filename":"file0"},{"photo_id":"1396412559","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412565":["hashtag1","hashtag2"]},{"1396412559":["hashtag1","hashtag2"]},{"1396412557":["hashtag1","hashtag2"]},{"1396412554":["hashtag1","hashtag2"]},{"1396412562":["hashtag1","hashtag2"]},{"1396412556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412565, 1396412559, 1396412557, 1396412554, 1396412562, 1396412556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.912233114242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:36:42.296179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_42_2674.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_46_3652.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_48_2803.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_51_2628.jpg', '/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_57_2788.jpg', '/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_03_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_42_2674.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_46_3652.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_48_2803.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_51_2628.jpg
/home/pi/Desktop/images/31102025/03/14/image_31102025_03_14_57_2788.jpg
/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_03_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":["1396412582","1396412588","1396412584","1396412586","1396412580","1396412577"],"photo_ids_order":["1396412577","1396412580","1396412582","1396412584","1396412586","1396412588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe46d37f7d2b842b9a1ccbcee231afb8.jpg","text":"TemporaryFile(/tmp/multipartBody3897419812160497571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_14_48_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/27/e27b45cfefe93b36c5431586399143a9.jpg","text":"TemporaryFile(/tmp/multipartBody2723376032266448292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_15_03_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/27/9b1c1ea32ae0aaa910b51916116fcbf3.jpg","text":"TemporaryFile(/tmp/multipartBody4127204108702505287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_14_51_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/27/ec4b7ebc740214d4e9e7ab2815c1b42e.jpg","text":"TemporaryFile(/tmp/multipartBody5469088909342351148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_14_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/27/4b310970d703b481885256262df6d546.jpg","text":"TemporaryFile(/tmp/multipartBody591988581173286657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_14_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/27/d677b38740dbec54d5ad53db7953100c.jpg","text":"TemporaryFile(/tmp/multipartBody617047254166519758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247063914,"filename":"image_31102025_03_14_42_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412582","file1":"1396412580","file0":"1396412577","file4":"1396412586","file5":"1396412588","file3":"1396412584"},"map_files_photo_id_array":[{"photo_id":"1396412588","filename":"file5"},{"photo_id":"1396412582","filename":"file2"},{"photo_id":"1396412586","filename":"file4"},{"photo_id":"1396412580","filename":"file1"},{"photo_id":"1396412577","filename":"file0"},{"photo_id":"1396412584","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412582":["hashtag1","hashtag2"]},{"1396412588":["hashtag1","hashtag2"]},{"1396412584":["hashtag1","hashtag2"]},{"1396412586":["hashtag1","hashtag2"]},{"1396412580":["hashtag1","hashtag2"]},{"1396412577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412582, 1396412588, 1396412584, 1396412586, 1396412580, 1396412577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210397243499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:37:22.481998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_25_9701.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_35_10656.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_45_9647.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_55_9666.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_16_05_10641.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_15_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_25_9701.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_35_10656.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_45_9647.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_55_9666.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_16_05_10641.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_15_9679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.635761022567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:37:32.390239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_11_3622.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_14_2813.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_16_2663.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_20_3743.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_22_2517.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_25_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_11_3622.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_14_2813.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_16_2663.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_20_3743.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_22_2517.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_25_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412610","1396412604","1396412613","1396412607","1396412600","1396412612"],"photo_ids_order":["1396412600","1396412604","1396412607","1396412610","1396412612","1396412613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e05e7b250b6ccbf8466f7b99363881c5.jpg","text":"TemporaryFile(/tmp/multipartBody1907466214675080316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_20_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/27/c82716c90f07e04ecc34a57bee61b035.jpg","text":"TemporaryFile(/tmp/multipartBody6694373826752967965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_14_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/27/218793542642329e4c2ef7719796f7aa.jpg","text":"TemporaryFile(/tmp/multipartBody6400617586606444309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_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/27/2b0b1b622ae520f9d605985738720f2c.jpg","text":"TemporaryFile(/tmp/multipartBody7934970042011839197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_16_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/27/b6a835b19bc0b616211a10d281035af8.jpg","text":"TemporaryFile(/tmp/multipartBody2289016547818316731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_11_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/27/b5ab9402675e4aed279104b57f326368.jpg","text":"TemporaryFile(/tmp/multipartBody8026144106528801144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247114282,"filename":"image_21112025_21_06_22_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412607","file1":"1396412604","file0":"1396412600","file4":"1396412612","file5":"1396412613","file3":"1396412610"},"map_files_photo_id_array":[{"photo_id":"1396412613","filename":"file5"},{"photo_id":"1396412607","filename":"file2"},{"photo_id":"1396412612","filename":"file4"},{"photo_id":"1396412604","filename":"file1"},{"photo_id":"1396412600","filename":"file0"},{"photo_id":"1396412610","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412610":["hashtag1","hashtag2"]},{"1396412604":["hashtag1","hashtag2"]},{"1396412613":["hashtag1","hashtag2"]},{"1396412607":["hashtag1","hashtag2"]},{"1396412600":["hashtag1","hashtag2"]},{"1396412612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412610, 1396412604, 1396412613, 1396412607, 1396412600, 1396412612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1984965801239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:38:12.646989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_29_3691.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_32_2725.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_34_2607.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_38_3655.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_44_6192.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_46_1854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_29_3691.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_32_2725.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_34_2607.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_38_3655.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_44_6192.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_46_1854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412628","1396412615","1396412626","1396412620","1396412623","1396412617"],"photo_ids_order":["1396412615","1396412617","1396412620","1396412623","1396412626","1396412628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9e70e2d333e699b539f8d264db10306.jpg","text":"TemporaryFile(/tmp/multipartBody8477324870534020298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_46_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bb37b1d9b52bcbef53872d205e886b0.jpg","text":"TemporaryFile(/tmp/multipartBody7635209740874992794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_29_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/27/20e2a9d93f9cd2b66b2a5d31f8e36f50.jpg","text":"TemporaryFile(/tmp/multipartBody1831093472092142550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_44_6192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c58bc1d62a27d538dc0a666c6d1d677.jpg","text":"TemporaryFile(/tmp/multipartBody7002104053307212387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_34_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/27/c23e782eba2d641785b8be340ce2a16c.jpg","text":"TemporaryFile(/tmp/multipartBody1023582056595105784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_38_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/27/a23b4b3ce7af97c37de61adb66a2858a.jpg","text":"TemporaryFile(/tmp/multipartBody2643195336784707365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247154435,"filename":"image_21112025_21_06_32_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412620","file1":"1396412617","file0":"1396412615","file4":"1396412626","file5":"1396412628","file3":"1396412623"},"map_files_photo_id_array":[{"photo_id":"1396412628","filename":"file5"},{"photo_id":"1396412620","filename":"file2"},{"photo_id":"1396412626","filename":"file4"},{"photo_id":"1396412617","filename":"file1"},{"photo_id":"1396412615","filename":"file0"},{"photo_id":"1396412623","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412628":["hashtag1","hashtag2"]},{"1396412615":["hashtag1","hashtag2"]},{"1396412626":["hashtag1","hashtag2"]},{"1396412620":["hashtag1","hashtag2"]},{"1396412623":["hashtag1","hashtag2"]},{"1396412617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412628, 1396412615, 1396412626, 1396412620, 1396412623, 1396412617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61651039123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:39:03.643133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_25_9701.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_35_10656.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_45_9647.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_55_9666.jpg', '/home/pi/Desktop/images/27112025/13/15/image_27112025_13_16_05_10641.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_15_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_25_9701.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_35_10656.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_45_9647.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_15_55_9666.jpg
/home/pi/Desktop/images/27112025/13/15/image_27112025_13_16_05_10641.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_15_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412636","1396412644","1396412638","1396412641","1396412635","1396412634"],"photo_ids_order":["1396412634","1396412635","1396412636","1396412638","1396412641","1396412644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2375cb9423877a647f4291fc1ce290ba.jpg","text":"TemporaryFile(/tmp/multipartBody328687401904085871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_15_45_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71c20c06eb2cdd4947ba107a15232849.jpg","text":"TemporaryFile(/tmp/multipartBody6875424576562744361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_16_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f98dfffb94080a9efb18267c36194c6.jpg","text":"TemporaryFile(/tmp/multipartBody3828146906299975358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_15_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b273ebd61d7ca9108ddaebb18dd0aec.jpg","text":"TemporaryFile(/tmp/multipartBody3287712044101871288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_16_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f34e384af798542e2c1826650fb8943.jpg","text":"TemporaryFile(/tmp/multipartBody8882285012912927959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_15_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/919b8b6772b72b2dd7136258182ecfae.jpg","text":"TemporaryFile(/tmp/multipartBody3885998961071171120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247207284,"filename":"image_27112025_13_15_25_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412636","file1":"1396412635","file0":"1396412634","file4":"1396412641","file5":"1396412644","file3":"1396412638"},"map_files_photo_id_array":[{"photo_id":"1396412644","filename":"file5"},{"photo_id":"1396412636","filename":"file2"},{"photo_id":"1396412641","filename":"file4"},{"photo_id":"1396412635","filename":"file1"},{"photo_id":"1396412634","filename":"file0"},{"photo_id":"1396412638","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412636":["hashtag1","hashtag2"]},{"1396412644":["hashtag1","hashtag2"]},{"1396412638":["hashtag1","hashtag2"]},{"1396412641":["hashtag1","hashtag2"]},{"1396412635":["hashtag1","hashtag2"]},{"1396412634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412636, 1396412644, 1396412638, 1396412641, 1396412635, 1396412634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20309853553772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:39:42.739486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_06_2778.jpg', '/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_45_2796.jpg', '/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_48_3567.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_12_2813.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_18_3689.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_27_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_06_2778.jpg
/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_45_2796.jpg
/home/pi/Desktop/images/31102025/03/15/image_31102025_03_15_48_3567.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_12_2813.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_18_3689.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_27_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412658","1396412657","1396412656","1396412659","1396412652","1396412655"],"photo_ids_order":["1396412652","1396412655","1396412656","1396412657","1396412658","1396412659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12b338632e60ab7340ed7376b9177247.jpg","text":"TemporaryFile(/tmp/multipartBody692104541658350817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_16_18_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/27/ad4e98827286775707543fcb9b4ea607.jpg","text":"TemporaryFile(/tmp/multipartBody988101879087522730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_16_12_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/27/f95627737c98f489f4adeee74da73a15.jpg","text":"TemporaryFile(/tmp/multipartBody2914396733088519285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_15_48_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/27/e47d8e828522bb8f561a53d73efc0e56.jpg","text":"TemporaryFile(/tmp/multipartBody179396500309549643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_16_27_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/27/b4c70cda225d205ac0a4ac12121dff47.jpg","text":"TemporaryFile(/tmp/multipartBody2881252041471444699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_15_06_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/27/5684bfc0cceeb15950c7e4643beef037.jpg","text":"TemporaryFile(/tmp/multipartBody4041629958713562365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247244287,"filename":"image_31102025_03_15_45_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412656","file1":"1396412655","file0":"1396412652","file4":"1396412658","file5":"1396412659","file3":"1396412657"},"map_files_photo_id_array":[{"photo_id":"1396412659","filename":"file5"},{"photo_id":"1396412656","filename":"file2"},{"photo_id":"1396412658","filename":"file4"},{"photo_id":"1396412655","filename":"file1"},{"photo_id":"1396412652","filename":"file0"},{"photo_id":"1396412657","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412658":["hashtag1","hashtag2"]},{"1396412657":["hashtag1","hashtag2"]},{"1396412656":["hashtag1","hashtag2"]},{"1396412659":["hashtag1","hashtag2"]},{"1396412652":["hashtag1","hashtag2"]},{"1396412655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412658, 1396412657, 1396412656, 1396412659, 1396412652, 1396412655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.032236099243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:40:22.007423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_25_9543.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_35_10574.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_45_10080.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_55_9652.jpg', '/home/pi/Desktop/images/27112025/13/16/image_27112025_13_17_05_9723.jpg', '/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_14_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_25_9543.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_35_10574.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_45_10080.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_16_55_9652.jpg
/home/pi/Desktop/images/27112025/13/16/image_27112025_13_17_05_9723.jpg
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_14_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412674","1396412668","1396412677","1396412662","1396412671","1396412665"],"photo_ids_order":["1396412662","1396412665","1396412668","1396412671","1396412674","1396412677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b4a3797ec4389ebf8127dae0591a395.jpg","text":"TemporaryFile(/tmp/multipartBody5806907119331703627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_17_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fabbf4436930de7fb0a1cf3fc708e430.jpg","text":"TemporaryFile(/tmp/multipartBody6468189603253988657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_16_45_10080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcf744708ffb03df2c205afb2953b872.jpg","text":"TemporaryFile(/tmp/multipartBody3932547518454645312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_17_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2780363cedb67bf340069891243f78cd.jpg","text":"TemporaryFile(/tmp/multipartBody4147138354293871271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_16_25_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7629016e81baf24aef7abc9d81ed501c.jpg","text":"TemporaryFile(/tmp/multipartBody3451978857480296761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_16_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f504c800d202c6e3ea5c9b5a4bdb2493.jpg","text":"TemporaryFile(/tmp/multipartBody3194229003076661587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247282761,"filename":"image_27112025_13_16_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412668","file1":"1396412665","file0":"1396412662","file4":"1396412674","file5":"1396412677","file3":"1396412671"},"map_files_photo_id_array":[{"photo_id":"1396412677","filename":"file5"},{"photo_id":"1396412668","filename":"file2"},{"photo_id":"1396412674","filename":"file4"},{"photo_id":"1396412665","filename":"file1"},{"photo_id":"1396412662","filename":"file0"},{"photo_id":"1396412671","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412674":["hashtag1","hashtag2"]},{"1396412668":["hashtag1","hashtag2"]},{"1396412677":["hashtag1","hashtag2"]},{"1396412662":["hashtag1","hashtag2"]},{"1396412671":["hashtag1","hashtag2"]},{"1396412665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412674, 1396412668, 1396412677, 1396412662, 1396412671, 1396412665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88184428215027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:41:02.918714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_25_10625.jpg', '/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_35_9831.jpg', '/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_45_9591.jpg', '/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_55_10569.jpg', '/home/pi/Desktop/images/27112025/13/17/image_27112025_13_18_05_9640.jpg', '/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_15_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_25_10625.jpg
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_35_9831.jpg
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_45_9591.jpg
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_17_55_10569.jpg
/home/pi/Desktop/images/27112025/13/17/image_27112025_13_18_05_9640.jpg
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_15_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412681","1396412680","1396412685","1396412679","1396412688","1396412682"],"photo_ids_order":["1396412679","1396412680","1396412681","1396412682","1396412685","1396412688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6aacc522e4cfd9df56c0f048b70772ae.jpg","text":"TemporaryFile(/tmp/multipartBody8004310563407675598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_17_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21e86d7b8ce7923397555034d8f035d6.jpg","text":"TemporaryFile(/tmp/multipartBody4260985753432879817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_17_35_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03546c8ef97f95ade8d5ccce57885041.jpg","text":"TemporaryFile(/tmp/multipartBody6788177782439169711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_18_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79558225966a6add117842caeeb4d113.jpg","text":"TemporaryFile(/tmp/multipartBody6579777257475787313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_17_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f50a7ccabfffc78f9f0e2a84a7efc544.jpg","text":"TemporaryFile(/tmp/multipartBody367819041700487243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_18_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb70a1bd156b5c0351aa83988c91dede.jpg","text":"TemporaryFile(/tmp/multipartBody7519772311813186182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247323786,"filename":"image_27112025_13_17_55_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412681","file1":"1396412680","file0":"1396412679","file4":"1396412685","file5":"1396412688","file3":"1396412682"},"map_files_photo_id_array":[{"photo_id":"1396412688","filename":"file5"},{"photo_id":"1396412681","filename":"file2"},{"photo_id":"1396412685","filename":"file4"},{"photo_id":"1396412680","filename":"file1"},{"photo_id":"1396412679","filename":"file0"},{"photo_id":"1396412682","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412681":["hashtag1","hashtag2"]},{"1396412680":["hashtag1","hashtag2"]},{"1396412685":["hashtag1","hashtag2"]},{"1396412679":["hashtag1","hashtag2"]},{"1396412688":["hashtag1","hashtag2"]},{"1396412682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412681, 1396412680, 1396412685, 1396412679, 1396412688, 1396412682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.548481464385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:41:42.333282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_30_2305.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_42_3726.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_45_2660.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_48_2912.jpg', '/home/pi/Desktop/images/31102025/03/16/image_31102025_03_17_00_2823.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_06_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_30_2305.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_42_3726.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_45_2660.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_16_48_2912.jpg
/home/pi/Desktop/images/31102025/03/16/image_31102025_03_17_00_2823.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_06_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":["1396412703","1396412700","1396412702","1396412697","1396412701","1396412704"],"photo_ids_order":["1396412697","1396412700","1396412701","1396412702","1396412703","1396412704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83f395e1e7dc321bd9de9a876abfc649.jpg","text":"TemporaryFile(/tmp/multipartBody5984254828766668262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_17_00_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/27/5a320b0e2c334ac87550abc2a5fa1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody770962573386813783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_16_42_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/27/2319b74eb83803834684f3e7e6eaed5a.jpg","text":"TemporaryFile(/tmp/multipartBody8998999884834693300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_16_48_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/27/f4ca0b5d31d5bf21c48eca3f553d6097.jpg","text":"TemporaryFile(/tmp/multipartBody3931029522958793543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_16_30_2305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a13a8ef6b9fef1e89730dc3a05a3a044.jpg","text":"TemporaryFile(/tmp/multipartBody1865708535250577906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_16_45_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/27/42d7145b74b85ea608ca188e0bf59046.jpg","text":"TemporaryFile(/tmp/multipartBody7266986183762222498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247365098,"filename":"image_31102025_03_17_06_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412701","file1":"1396412700","file0":"1396412697","file4":"1396412703","file5":"1396412704","file3":"1396412702"},"map_files_photo_id_array":[{"photo_id":"1396412704","filename":"file5"},{"photo_id":"1396412701","filename":"file2"},{"photo_id":"1396412703","filename":"file4"},{"photo_id":"1396412700","filename":"file1"},{"photo_id":"1396412697","filename":"file0"},{"photo_id":"1396412702","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412703":["hashtag1","hashtag2"]},{"1396412700":["hashtag1","hashtag2"]},{"1396412702":["hashtag1","hashtag2"]},{"1396412697":["hashtag1","hashtag2"]},{"1396412701":["hashtag1","hashtag2"]},{"1396412704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412703, 1396412700, 1396412702, 1396412697, 1396412701, 1396412704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309865951538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:42:22.479949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_25_9667.jpg', '/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_35_9709.jpg', '/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_45_10616.jpg', '/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_55_9747.jpg', '/home/pi/Desktop/images/27112025/13/18/image_27112025_13_19_05_9749.jpg', '/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_25_9667.jpg
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_35_9709.jpg
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_45_10616.jpg
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_18_55_9747.jpg
/home/pi/Desktop/images/27112025/13/18/image_27112025_13_19_05_9749.jpg
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_15_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412724","1396412727","1396412712","1396412720","1396412708","1396412716"],"photo_ids_order":["1396412708","1396412712","1396412716","1396412720","1396412724","1396412727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d9724c40a88f440f5c221433bbecea5.jpg","text":"TemporaryFile(/tmp/multipartBody5590873004935675614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_19_05_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30ddfdb21cf9e439860e4e9961d5b934.jpg","text":"TemporaryFile(/tmp/multipartBody2904409460283154998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_19_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a52a475d0bd03b4e05f8ddd88d92f44.jpg","text":"TemporaryFile(/tmp/multipartBody8473517368261188260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_18_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c8319ed44008ebed891be2714d617d2.jpg","text":"TemporaryFile(/tmp/multipartBody521662507062745022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_18_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abc3b7d80a0de1c0652f7393bd154fbb.jpg","text":"TemporaryFile(/tmp/multipartBody533081861533085276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_18_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b4022d2522939fb0d33832b0c1521e5.jpg","text":"TemporaryFile(/tmp/multipartBody4190421354464552137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247403208,"filename":"image_27112025_13_18_45_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412716","file1":"1396412712","file0":"1396412708","file4":"1396412724","file5":"1396412727","file3":"1396412720"},"map_files_photo_id_array":[{"photo_id":"1396412727","filename":"file5"},{"photo_id":"1396412716","filename":"file2"},{"photo_id":"1396412724","filename":"file4"},{"photo_id":"1396412712","filename":"file1"},{"photo_id":"1396412708","filename":"file0"},{"photo_id":"1396412720","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412724":["hashtag1","hashtag2"]},{"1396412727":["hashtag1","hashtag2"]},{"1396412712":["hashtag1","hashtag2"]},{"1396412720":["hashtag1","hashtag2"]},{"1396412708":["hashtag1","hashtag2"]},{"1396412716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412724, 1396412727, 1396412712, 1396412720, 1396412708, 1396412716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.787410497665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:43:03.250954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_25_10661.jpg', '/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_35_9752.jpg', '/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_45_9587.jpg', '/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_55_10719.jpg', '/home/pi/Desktop/images/27112025/13/19/image_27112025_13_20_05_9770.jpg', '/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_15_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_25_10661.jpg
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_35_9752.jpg
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_45_9587.jpg
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_19_55_10719.jpg
/home/pi/Desktop/images/27112025/13/19/image_27112025_13_20_05_9770.jpg
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_15_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412730","1396412732","1396412729","1396412737","1396412731","1396412734"],"photo_ids_order":["1396412729","1396412730","1396412731","1396412732","1396412734","1396412737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fedebd888a05f59a805d4218e2374fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3227029484692766527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_19_35_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/065af8581778dc2e6926815880e517a5.jpg","text":"TemporaryFile(/tmp/multipartBody9096612713406871550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_19_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ac57a09606cd883c2de223ef3cbd689.jpg","text":"TemporaryFile(/tmp/multipartBody3060099317601120317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_19_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bce71b9420432230fb9bea5887a0ec2.jpg","text":"TemporaryFile(/tmp/multipartBody8306567002050600407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_20_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bfa912525e6b4face652122ffffc4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2676041837259984955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_19_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e43232018017b03e1cf2223584b79554.jpg","text":"TemporaryFile(/tmp/multipartBody91565390923199507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247444159,"filename":"image_27112025_13_20_05_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412731","file1":"1396412730","file0":"1396412729","file4":"1396412734","file5":"1396412737","file3":"1396412732"},"map_files_photo_id_array":[{"photo_id":"1396412737","filename":"file5"},{"photo_id":"1396412731","filename":"file2"},{"photo_id":"1396412734","filename":"file4"},{"photo_id":"1396412730","filename":"file1"},{"photo_id":"1396412729","filename":"file0"},{"photo_id":"1396412732","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412730":["hashtag1","hashtag2"]},{"1396412732":["hashtag1","hashtag2"]},{"1396412729":["hashtag1","hashtag2"]},{"1396412737":["hashtag1","hashtag2"]},{"1396412731":["hashtag1","hashtag2"]},{"1396412734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412730, 1396412732, 1396412729, 1396412737, 1396412731, 1396412734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.128077268600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:43:42.779967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_12_3659.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_15_2840.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_24_3626.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_33_2856.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_45_3637.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_50_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_12_3659.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_15_2840.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_24_3626.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_33_2856.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_45_3637.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_50_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":["1396412750","1396412749","1396412752","1396412746","1396412751","1396412748"],"photo_ids_order":["1396412746","1396412748","1396412749","1396412750","1396412751","1396412752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7303465d7a05c4ccdaab171778fd3258.jpg","text":"TemporaryFile(/tmp/multipartBody6135344643166135826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_33_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/27/7f775d35e2b3d2151b8f48fb8ec28336.jpg","text":"TemporaryFile(/tmp/multipartBody6566634657112250956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_24_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/27/cdad8bd578cadd0d4f624334c8721a80.jpg","text":"TemporaryFile(/tmp/multipartBody1176108266903805275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_50_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/27/fe2857fc51f2c6db715863dc0673e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8363283328290913440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_12_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/27/86963fbe73cba9236d827141258cd5e5.jpg","text":"TemporaryFile(/tmp/multipartBody359759645193076114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_45_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/27/813ecc043369d32a5b0b77b4228888e1.jpg","text":"TemporaryFile(/tmp/multipartBody2300253591559079388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247484401,"filename":"image_31102025_03_17_15_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412749","file1":"1396412748","file0":"1396412746","file4":"1396412751","file5":"1396412752","file3":"1396412750"},"map_files_photo_id_array":[{"photo_id":"1396412752","filename":"file5"},{"photo_id":"1396412749","filename":"file2"},{"photo_id":"1396412751","filename":"file4"},{"photo_id":"1396412748","filename":"file1"},{"photo_id":"1396412746","filename":"file0"},{"photo_id":"1396412750","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412750":["hashtag1","hashtag2"]},{"1396412749":["hashtag1","hashtag2"]},{"1396412752":["hashtag1","hashtag2"]},{"1396412746":["hashtag1","hashtag2"]},{"1396412751":["hashtag1","hashtag2"]},{"1396412748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412750, 1396412749, 1396412752, 1396412746, 1396412751, 1396412748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.935885190963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:44:21.859723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_25_9752.jpg', '/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_35_10618.jpg', '/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_45_10261.jpg', '/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_55_9714.jpg', '/home/pi/Desktop/images/27112025/13/20/image_27112025_13_21_05_9671.jpg', '/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_25_9752.jpg
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_35_10618.jpg
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_45_10261.jpg
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_20_55_9714.jpg
/home/pi/Desktop/images/27112025/13/20/image_27112025_13_21_05_9671.jpg
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_15_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412762","1396412759","1396412756","1396412773","1396412766","1396412769"],"photo_ids_order":["1396412756","1396412759","1396412762","1396412766","1396412769","1396412773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8d343f2f83ce7536086da2d8ea38f09.jpg","text":"TemporaryFile(/tmp/multipartBody2138847922866857108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_20_45_10261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f6c5e88b4a0dfb4b74c51596487c6573.jpg","text":"TemporaryFile(/tmp/multipartBody6182134817147150474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_20_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e461da9393823156d6941ddf68b5fb59.jpg","text":"TemporaryFile(/tmp/multipartBody8248961880617604616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_20_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61316c672a8ea209e0d49709c7b5a33d.jpg","text":"TemporaryFile(/tmp/multipartBody2791792958329842384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_21_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f190a32ccabe98ae512eb5dc867f3cd.jpg","text":"TemporaryFile(/tmp/multipartBody1703311184909073445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_20_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55b03176817f79bda524383711053562.jpg","text":"TemporaryFile(/tmp/multipartBody7335075092388969805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247522579,"filename":"image_27112025_13_21_05_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412762","file1":"1396412759","file0":"1396412756","file4":"1396412769","file5":"1396412773","file3":"1396412766"},"map_files_photo_id_array":[{"photo_id":"1396412773","filename":"file5"},{"photo_id":"1396412762","filename":"file2"},{"photo_id":"1396412769","filename":"file4"},{"photo_id":"1396412759","filename":"file1"},{"photo_id":"1396412756","filename":"file0"},{"photo_id":"1396412766","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412762":["hashtag1","hashtag2"]},{"1396412759":["hashtag1","hashtag2"]},{"1396412756":["hashtag1","hashtag2"]},{"1396412773":["hashtag1","hashtag2"]},{"1396412766":["hashtag1","hashtag2"]},{"1396412769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412762, 1396412759, 1396412756, 1396412773, 1396412766, 1396412769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55253624916077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:45:02.798448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_25_10774.jpg', '/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_35_9695.jpg', '/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_45_9636.jpg', '/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_55_10658.jpg', '/home/pi/Desktop/images/27112025/13/21/image_27112025_13_22_05_9659.jpg', '/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_15_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_25_10774.jpg
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_35_9695.jpg
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_45_9636.jpg
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_21_55_10658.jpg
/home/pi/Desktop/images/27112025/13/21/image_27112025_13_22_05_9659.jpg
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_15_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412780","1396412783","1396412777","1396412776","1396412778","1396412775"],"photo_ids_order":["1396412775","1396412776","1396412777","1396412778","1396412780","1396412783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c60b4d1dc952d02dacace5f6be12563.jpg","text":"TemporaryFile(/tmp/multipartBody7632332191905495199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_22_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82a53483be5faac1a3c6d9cf15166687.jpg","text":"TemporaryFile(/tmp/multipartBody4714776236443156456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_22_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eac1f23c89f789564ac97c8b2fa6af22.jpg","text":"TemporaryFile(/tmp/multipartBody8692396236632194350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_21_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e40cc6211f8795e2da564a11b3bafd86.jpg","text":"TemporaryFile(/tmp/multipartBody6583152337307044905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_21_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/665657f5494bee466e7b12bbc8911757.jpg","text":"TemporaryFile(/tmp/multipartBody6212858495453941550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_21_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38e5d64b0fe1e0ea850671f9a2a2c151.jpg","text":"TemporaryFile(/tmp/multipartBody5933268193538514453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247563686,"filename":"image_27112025_13_21_25_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412777","file1":"1396412776","file0":"1396412775","file4":"1396412780","file5":"1396412783","file3":"1396412778"},"map_files_photo_id_array":[{"photo_id":"1396412783","filename":"file5"},{"photo_id":"1396412777","filename":"file2"},{"photo_id":"1396412780","filename":"file4"},{"photo_id":"1396412776","filename":"file1"},{"photo_id":"1396412775","filename":"file0"},{"photo_id":"1396412778","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412780":["hashtag1","hashtag2"]},{"1396412783":["hashtag1","hashtag2"]},{"1396412777":["hashtag1","hashtag2"]},{"1396412776":["hashtag1","hashtag2"]},{"1396412778":["hashtag1","hashtag2"]},{"1396412775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412780, 1396412783, 1396412777, 1396412776, 1396412778, 1396412775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60988163948059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:45:42.290452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_57_2694.jpg', '/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_59_2546.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_09_2623.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_15_1576.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_24_2913.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_33_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_57_2694.jpg
/home/pi/Desktop/images/31102025/03/17/image_31102025_03_17_59_2546.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_09_2623.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_15_1576.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_24_2913.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_33_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412798","1396412797","1396412796","1396412800","1396412799","1396412793"],"photo_ids_order":["1396412793","1396412796","1396412797","1396412798","1396412799","1396412800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f03a674b7694148fd557f5c1beac2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8697472251099853151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_18_15_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/27/3117266f09b72a4d4fcd0fe88bc94ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4897431171697999190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_18_09_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/27/c1977eaec68fd684b64955e31fee53e7.jpg","text":"TemporaryFile(/tmp/multipartBody6127095658402392564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_17_59_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/27/994bd29905a80df9fb444d9459babe22.jpg","text":"TemporaryFile(/tmp/multipartBody4882375341346200231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_18_33_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/27/42969cd48e66d6d5fed48cf1b8044883.jpg","text":"TemporaryFile(/tmp/multipartBody193910800359746042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_18_24_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/915dc940fbda7c6397b800743769d295.jpg","text":"TemporaryFile(/tmp/multipartBody8197832983240969746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247603955,"filename":"image_31102025_03_17_57_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412797","file1":"1396412796","file0":"1396412793","file4":"1396412799","file5":"1396412800","file3":"1396412798"},"map_files_photo_id_array":[{"photo_id":"1396412800","filename":"file5"},{"photo_id":"1396412797","filename":"file2"},{"photo_id":"1396412799","filename":"file4"},{"photo_id":"1396412796","filename":"file1"},{"photo_id":"1396412793","filename":"file0"},{"photo_id":"1396412798","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412798":["hashtag1","hashtag2"]},{"1396412797":["hashtag1","hashtag2"]},{"1396412796":["hashtag1","hashtag2"]},{"1396412800":["hashtag1","hashtag2"]},{"1396412799":["hashtag1","hashtag2"]},{"1396412793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412798, 1396412797, 1396412796, 1396412800, 1396412799, 1396412793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04555153846741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:46:22.454187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_25_10627.jpg', '/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_35_9629.jpg', '/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_45_9693.jpg', '/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_55_10604.jpg', '/home/pi/Desktop/images/27112025/13/22/image_27112025_13_23_05_9869.jpg', '/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_15_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_25_10627.jpg
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_35_9629.jpg
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_45_9693.jpg
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_22_55_10604.jpg
/home/pi/Desktop/images/27112025/13/22/image_27112025_13_23_05_9869.jpg
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_15_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412813","1396412807","1396412816","1396412819","1396412810","1396412804"],"photo_ids_order":["1396412804","1396412807","1396412810","1396412813","1396412816","1396412819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/434667d6963871d06d6ab5d343313022.jpg","text":"TemporaryFile(/tmp/multipartBody6082209190882861614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_22_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d1aff793c384a3c81ed85a58fe00640.jpg","text":"TemporaryFile(/tmp/multipartBody1918968203274860759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_22_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c253672220b11e1fceaf24e253d849e0.jpg","text":"TemporaryFile(/tmp/multipartBody3537217867016202497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_23_05_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c50959c9d8ff220d6d1bc8ce29280fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7388095073369606121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_23_15_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/565936227e8a53360cf9f30d85136b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6990280538900299437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_22_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2e10ea7316a9a8bb87a39473f315e04.jpg","text":"TemporaryFile(/tmp/multipartBody8913799258908195641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247643212,"filename":"image_27112025_13_22_25_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412810","file1":"1396412807","file0":"1396412804","file4":"1396412816","file5":"1396412819","file3":"1396412813"},"map_files_photo_id_array":[{"photo_id":"1396412819","filename":"file5"},{"photo_id":"1396412810","filename":"file2"},{"photo_id":"1396412816","filename":"file4"},{"photo_id":"1396412807","filename":"file1"},{"photo_id":"1396412804","filename":"file0"},{"photo_id":"1396412813","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412813":["hashtag1","hashtag2"]},{"1396412807":["hashtag1","hashtag2"]},{"1396412816":["hashtag1","hashtag2"]},{"1396412819":["hashtag1","hashtag2"]},{"1396412810":["hashtag1","hashtag2"]},{"1396412804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412813, 1396412807, 1396412816, 1396412819, 1396412810, 1396412804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0323212146759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:47:03.442955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_25_10700.jpg', '/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_35_9674.jpg', '/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_45_9660.jpg', '/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_55_9720.jpg', '/home/pi/Desktop/images/27112025/13/23/image_27112025_13_24_05_10657.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_15_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_25_10700.jpg
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_35_9674.jpg
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_45_9660.jpg
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_23_55_9720.jpg
/home/pi/Desktop/images/27112025/13/23/image_27112025_13_24_05_10657.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_15_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412829","1396412823","1396412826","1396412822","1396412821","1396412824"],"photo_ids_order":["1396412821","1396412822","1396412823","1396412824","1396412826","1396412829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a77931ecf0a74ed507811b46cc8e6187.jpg","text":"TemporaryFile(/tmp/multipartBody7236395235033119528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_24_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d14fd25fab7da792b9cce229105752a7.jpg","text":"TemporaryFile(/tmp/multipartBody7272633328934554373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_23_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8f55c4d884c18e4a393a2ff1ed38418.jpg","text":"TemporaryFile(/tmp/multipartBody5261921191904215061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_24_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f6066f46d8f26e1c07c2faafbb85eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5222563141271882641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_23_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de46a825ea804f653a276d840e21c28d.jpg","text":"TemporaryFile(/tmp/multipartBody555434355657611351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_23_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b37d9a79aa63f3b03ae319c2becdb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody8834350242737613098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247684260,"filename":"image_27112025_13_23_55_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412823","file1":"1396412822","file0":"1396412821","file4":"1396412826","file5":"1396412829","file3":"1396412824"},"map_files_photo_id_array":[{"photo_id":"1396412829","filename":"file5"},{"photo_id":"1396412823","filename":"file2"},{"photo_id":"1396412826","filename":"file4"},{"photo_id":"1396412822","filename":"file1"},{"photo_id":"1396412821","filename":"file0"},{"photo_id":"1396412824","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412829":["hashtag1","hashtag2"]},{"1396412823":["hashtag1","hashtag2"]},{"1396412826":["hashtag1","hashtag2"]},{"1396412822":["hashtag1","hashtag2"]},{"1396412821":["hashtag1","hashtag2"]},{"1396412824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412829, 1396412823, 1396412826, 1396412822, 1396412821, 1396412824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.427682876586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:47:42.772650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_51_2776.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_53_2635.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_57_3531.jpg', '/home/pi/Desktop/images/31102025/03/18/image_31102025_03_19_00_2747.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_06_3658.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_09_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_51_2776.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_53_2635.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_18_57_3531.jpg
/home/pi/Desktop/images/31102025/03/18/image_31102025_03_19_00_2747.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_06_3658.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_09_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412844","1396412843","1396412846","1396412842","1396412845","1396412839"],"photo_ids_order":["1396412839","1396412842","1396412843","1396412844","1396412845","1396412846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca74236357ed56be164ed4e871a123a2.jpg","text":"TemporaryFile(/tmp/multipartBody7037683939615801464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_19_00_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/27/9f7d8705656c7e75d05b6b7d5a0a52ef.jpg","text":"TemporaryFile(/tmp/multipartBody7530641824698142255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_18_57_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/27/450e06cdd304c14f76a40ee73393ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody2043056046706181097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_19_09_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/27/26867e83865f3f29e19943b66f05b6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7158588755224457229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_18_53_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/27/52a68c1ed0db7e9fbb0ff09118822ff2.jpg","text":"TemporaryFile(/tmp/multipartBody565685246387307185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_19_06_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/27/7e0e410feb46527b7f915cf7dd476a04.jpg","text":"TemporaryFile(/tmp/multipartBody2872081166906159298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247724450,"filename":"image_31102025_03_18_51_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412843","file1":"1396412842","file0":"1396412839","file4":"1396412845","file5":"1396412846","file3":"1396412844"},"map_files_photo_id_array":[{"photo_id":"1396412846","filename":"file5"},{"photo_id":"1396412843","filename":"file2"},{"photo_id":"1396412845","filename":"file4"},{"photo_id":"1396412842","filename":"file1"},{"photo_id":"1396412839","filename":"file0"},{"photo_id":"1396412844","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412844":["hashtag1","hashtag2"]},{"1396412843":["hashtag1","hashtag2"]},{"1396412846":["hashtag1","hashtag2"]},{"1396412842":["hashtag1","hashtag2"]},{"1396412845":["hashtag1","hashtag2"]},{"1396412839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412844, 1396412843, 1396412846, 1396412842, 1396412845, 1396412839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.596657514572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:48:21.931933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_25_9684.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_35_10804.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_45_9574.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_55_9645.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_25_05_10623.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_15_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_25_9684.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_35_10804.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_45_9574.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_55_9645.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_25_05_10623.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_15_9792.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6145281791687012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:48:31.949653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_48_1683.jpg', '/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_49_1554.jpg', '/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_11_3653.jpg', '/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_13_2656.jpg', '/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_17_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_48_1683.jpg
/home/pi/Desktop/images/21112025/21/06/image_21112025_21_06_49_1554.jpg
/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_07_3012.jpg
/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_11_3653.jpg
/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_13_2656.jpg
/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_17_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412873","1396412858","1396412875","1396412863","1396412871","1396412868"],"photo_ids_order":["1396412858","1396412863","1396412868","1396412871","1396412873","1396412875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e81168ed67f400c48ca659705ac0594.jpg","text":"TemporaryFile(/tmp/multipartBody8004869372614002105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_08_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/27/b3b68976f4403492646982355ff3684d.jpg","text":"TemporaryFile(/tmp/multipartBody4922031359191854943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_06_48_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4d37d0d5c6ba0a6b795dc263b88a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4878191690060993378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_08_17_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/27/833719cd2f98b9eb77d049fb52699b34.jpg","text":"TemporaryFile(/tmp/multipartBody8283647258290513210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_06_49_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/27/8b33a1de885f4dab5fe0a1a61bde7441.jpg","text":"TemporaryFile(/tmp/multipartBody3058323824345795850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_08_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/27/9779b9dcc1ed55a96a3be5b6cd59495c.jpg","text":"TemporaryFile(/tmp/multipartBody8418756822635660336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247773873,"filename":"image_21112025_21_08_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412868","file1":"1396412863","file0":"1396412858","file4":"1396412873","file5":"1396412875","file3":"1396412871"},"map_files_photo_id_array":[{"photo_id":"1396412875","filename":"file5"},{"photo_id":"1396412868","filename":"file2"},{"photo_id":"1396412873","filename":"file4"},{"photo_id":"1396412863","filename":"file1"},{"photo_id":"1396412858","filename":"file0"},{"photo_id":"1396412871","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412873":["hashtag1","hashtag2"]},{"1396412858":["hashtag1","hashtag2"]},{"1396412875":["hashtag1","hashtag2"]},{"1396412863":["hashtag1","hashtag2"]},{"1396412871":["hashtag1","hashtag2"]},{"1396412868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412873, 1396412858, 1396412875, 1396412863, 1396412871, 1396412868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.902621269226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:49:12.203101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_19_2351.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_08_3011.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_11_3632.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_14_2545.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_17_3599.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_20_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/08/image_21112025_21_08_19_2351.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_08_3011.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_11_3632.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_14_2545.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_17_3599.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_20_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412879","1396412881","1396412883","1396412877","1396412886","1396412889"],"photo_ids_order":["1396412877","1396412879","1396412881","1396412883","1396412886","1396412889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c92bccd43a4f592f1a0a8b2ce216b5e4.jpg","text":"TemporaryFile(/tmp/multipartBody4732768688551440154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_10_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/27/bd75a7a1689fb56a8118c4cd608272f8.jpg","text":"TemporaryFile(/tmp/multipartBody2941122213214792875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_10_11_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/27/5c6ae8a52a382a899ea8143fc67182f5.jpg","text":"TemporaryFile(/tmp/multipartBody6430050780764026467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_10_14_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/27/077ecc65aec986151df1ebc37c7bb17d.jpg","text":"TemporaryFile(/tmp/multipartBody4491030206110568853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_08_19_2351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf35be737f387c471c16b8ee0cedeb78.jpg","text":"TemporaryFile(/tmp/multipartBody7471783014083664213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_10_17_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/27/08176116c09f39f663e4fcc247c88865.jpg","text":"TemporaryFile(/tmp/multipartBody2581694025985338008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247814016,"filename":"image_21112025_21_10_20_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412881","file1":"1396412879","file0":"1396412877","file4":"1396412886","file5":"1396412889","file3":"1396412883"},"map_files_photo_id_array":[{"photo_id":"1396412889","filename":"file5"},{"photo_id":"1396412881","filename":"file2"},{"photo_id":"1396412886","filename":"file4"},{"photo_id":"1396412879","filename":"file1"},{"photo_id":"1396412877","filename":"file0"},{"photo_id":"1396412883","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412879":["hashtag1","hashtag2"]},{"1396412881":["hashtag1","hashtag2"]},{"1396412883":["hashtag1","hashtag2"]},{"1396412877":["hashtag1","hashtag2"]},{"1396412886":["hashtag1","hashtag2"]},{"1396412889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412879, 1396412881, 1396412883, 1396412877, 1396412886, 1396412889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72649526596069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:50:02.917305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_25_9684.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_35_10804.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_45_9574.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_55_9645.jpg', '/home/pi/Desktop/images/27112025/13/24/image_27112025_13_25_05_10623.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_15_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_25_9684.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_35_10804.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_45_9574.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_24_55_9645.jpg
/home/pi/Desktop/images/27112025/13/24/image_27112025_13_25_05_10623.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_15_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412901","1396412904","1396412906","1396412911","1396412905","1396412908"],"photo_ids_order":["1396412901","1396412904","1396412905","1396412906","1396412908","1396412911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b523014aba55057459a9d08fdec6c735.jpg","text":"TemporaryFile(/tmp/multipartBody6923296081057622940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_24_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec68e8b8079ba9ad8dd67b7f2c960e52.jpg","text":"TemporaryFile(/tmp/multipartBody524036829581859614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_24_35_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfa8c64e59af718eb20a77a4f439e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7322246249534561966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_24_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0708033043703ea3814eadd04f3d799a.jpg","text":"TemporaryFile(/tmp/multipartBody591419252272366345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_25_15_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6debb5d2fe485597e63c713b63f38f2.jpg","text":"TemporaryFile(/tmp/multipartBody7207314398385270536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_24_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77969fa6d29c33e4fe45fcdeae71ee18.jpg","text":"TemporaryFile(/tmp/multipartBody317713183321685322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247863700,"filename":"image_27112025_13_25_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412905","file1":"1396412904","file0":"1396412901","file4":"1396412908","file5":"1396412911","file3":"1396412906"},"map_files_photo_id_array":[{"photo_id":"1396412911","filename":"file5"},{"photo_id":"1396412905","filename":"file2"},{"photo_id":"1396412908","filename":"file4"},{"photo_id":"1396412904","filename":"file1"},{"photo_id":"1396412901","filename":"file0"},{"photo_id":"1396412906","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412901":["hashtag1","hashtag2"]},{"1396412904":["hashtag1","hashtag2"]},{"1396412906":["hashtag1","hashtag2"]},{"1396412911":["hashtag1","hashtag2"]},{"1396412905":["hashtag1","hashtag2"]},{"1396412908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412901, 1396412904, 1396412906, 1396412911, 1396412905, 1396412908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09782958030701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:50:42.499760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_15_2834.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_21_3531.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_24_2716.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_26_2558.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_30_3805.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_36_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_15_2834.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_21_3531.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_24_2716.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_26_2558.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_30_3805.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_36_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412922","1396412925","1396412924","1396412920","1396412923","1396412926"],"photo_ids_order":["1396412920","1396412922","1396412923","1396412924","1396412925","1396412926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d9810e2ccd491e1c6fd3d0b96fcd646.jpg","text":"TemporaryFile(/tmp/multipartBody360991515230806010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_21_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/27/4af9273bd16d01979f240489d91db09c.jpg","text":"TemporaryFile(/tmp/multipartBody7700162363734752266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_30_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/27/c975af3db1dde07c2e17937efee0916f.jpg","text":"TemporaryFile(/tmp/multipartBody6419531238529166205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_26_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/27/0021852c75a25240ee28a5e31a9e8da0.jpg","text":"TemporaryFile(/tmp/multipartBody2529764793807642486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_15_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/27/4701961464119b7b9e38c1790810e489.jpg","text":"TemporaryFile(/tmp/multipartBody3722097325707627394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_24_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/27/95ee0aee878fc3f38e9a24bc5f0d2a9d.jpg","text":"TemporaryFile(/tmp/multipartBody6883742450557597723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247904120,"filename":"image_31102025_03_19_36_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412923","file1":"1396412922","file0":"1396412920","file4":"1396412925","file5":"1396412926","file3":"1396412924"},"map_files_photo_id_array":[{"photo_id":"1396412926","filename":"file5"},{"photo_id":"1396412923","filename":"file2"},{"photo_id":"1396412925","filename":"file4"},{"photo_id":"1396412922","filename":"file1"},{"photo_id":"1396412920","filename":"file0"},{"photo_id":"1396412924","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412922":["hashtag1","hashtag2"]},{"1396412925":["hashtag1","hashtag2"]},{"1396412924":["hashtag1","hashtag2"]},{"1396412920":["hashtag1","hashtag2"]},{"1396412923":["hashtag1","hashtag2"]},{"1396412926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412922, 1396412925, 1396412924, 1396412920, 1396412923, 1396412926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250362396240234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:51:22.655798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_25_9679.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_34_9763.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_45_10561.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_55_9794.jpg', '/home/pi/Desktop/images/27112025/13/25/image_27112025_13_26_05_10560.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_25_9679.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_34_9763.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_45_10561.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_25_55_9794.jpg
/home/pi/Desktop/images/27112025/13/25/image_27112025_13_26_05_10560.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_15_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412936","1396412939","1396412941","1396412929","1396412944","1396412932"],"photo_ids_order":["1396412929","1396412932","1396412936","1396412939","1396412941","1396412944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa54bdd305cffe157475cc37cef64bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8446965752230024363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_25_45_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42b44840dc805151b16590fea0e286db.jpg","text":"TemporaryFile(/tmp/multipartBody8108587472939171401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_25_55_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5d02c0065fdd7a1a10a738df4faaa36.jpg","text":"TemporaryFile(/tmp/multipartBody4974058891048754053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_26_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5b2b945d16b05ae229d3fea8773ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody7929939071326121022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_25_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26b758976334b96cfb4565fbb349debc.jpg","text":"TemporaryFile(/tmp/multipartBody8037959089050149313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_26_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40e9da975f9b58554b888792153472f0.jpg","text":"TemporaryFile(/tmp/multipartBody4239487173585428072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247943411,"filename":"image_27112025_13_25_34_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412936","file1":"1396412932","file0":"1396412929","file4":"1396412941","file5":"1396412944","file3":"1396412939"},"map_files_photo_id_array":[{"photo_id":"1396412944","filename":"file5"},{"photo_id":"1396412936","filename":"file2"},{"photo_id":"1396412941","filename":"file4"},{"photo_id":"1396412932","filename":"file1"},{"photo_id":"1396412929","filename":"file0"},{"photo_id":"1396412939","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412936":["hashtag1","hashtag2"]},{"1396412939":["hashtag1","hashtag2"]},{"1396412941":["hashtag1","hashtag2"]},{"1396412929":["hashtag1","hashtag2"]},{"1396412944":["hashtag1","hashtag2"]},{"1396412932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412936, 1396412939, 1396412941, 1396412929, 1396412944, 1396412932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592365741729736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:52:02.343295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_25_9718.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_35_9637.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_45_10644.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_55_9789.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_27_05_9600.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_15_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_25_9718.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_35_9637.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_45_10644.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_55_9789.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_27_05_9600.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_15_10748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6676101684570312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 13:52:11.909228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_23_2800.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_26_2862.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_29_3700.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_32_2647.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_59_26611.jpg', '/home/pi/Desktop/images/21112025/21/10/image_21112025_21_11_00_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_23_2800.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_26_2862.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_29_3700.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_32_2647.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_10_59_26611.jpg
/home/pi/Desktop/images/21112025/21/10/image_21112025_21_11_00_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412961","1396412949","1396412954","1396412951","1396412964","1396412958"],"photo_ids_order":["1396412949","1396412951","1396412954","1396412958","1396412961","1396412964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43e079fa73bba59f95031323d57d44fe.jpg","text":"TemporaryFile(/tmp/multipartBody2111722847581997993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_10_59_26611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58eb1c89f839a475fdc15c23b1c1f5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2844681065189526244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_10_23_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/27/d097dbc0831e0c09945cd46f552e8077.jpg","text":"TemporaryFile(/tmp/multipartBody3070403637186257753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_10_29_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/27/4ca696fd2d99659d02fd992e0e8cf208.jpg","text":"TemporaryFile(/tmp/multipartBody5110199227072348902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_10_26_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/27/9aa90384029b69baaf7e59f99b6f2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody9144497826298579702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_11_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/27/f96c86566056da52c416330ebcf9b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody394303711480051282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764247993795,"filename":"image_21112025_21_10_32_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412954","file1":"1396412951","file0":"1396412949","file4":"1396412961","file5":"1396412964","file3":"1396412958"},"map_files_photo_id_array":[{"photo_id":"1396412964","filename":"file5"},{"photo_id":"1396412954","filename":"file2"},{"photo_id":"1396412961","filename":"file4"},{"photo_id":"1396412951","filename":"file1"},{"photo_id":"1396412949","filename":"file0"},{"photo_id":"1396412958","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396412961":["hashtag1","hashtag2"]},{"1396412949":["hashtag1","hashtag2"]},{"1396412954":["hashtag1","hashtag2"]},{"1396412951":["hashtag1","hashtag2"]},{"1396412964":["hashtag1","hashtag2"]},{"1396412958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396412961, 1396412949, 1396412954, 1396412951, 1396412964, 1396412958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48919177055359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:53:02.998029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_25_9718.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_35_9637.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_45_10644.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_55_9789.jpg', '/home/pi/Desktop/images/27112025/13/26/image_27112025_13_27_05_9600.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_15_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_25_9718.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_35_9637.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_45_10644.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_26_55_9789.jpg
/home/pi/Desktop/images/27112025/13/26/image_27112025_13_27_05_9600.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_15_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412972","1396412975","1396412978","1396412971","1396412970","1396412973"],"photo_ids_order":["1396412970","1396412971","1396412972","1396412973","1396412975","1396412978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ab83d0e4babfd159f4fa4ff6c8a2ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8971188814509826392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_26_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1e10527e6682e0dd7a3102f151977fc.jpg","text":"TemporaryFile(/tmp/multipartBody8515787851216573438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_27_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4fcc85d6650c3eb26df7c06c47cc967.jpg","text":"TemporaryFile(/tmp/multipartBody1070123607110379953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_27_15_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1572085aa299b30d0eedc2e74f842c11.jpg","text":"TemporaryFile(/tmp/multipartBody8000228268906862906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_26_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b844c82b0a2a0cbd6f47bcc9db7aeaff.jpg","text":"TemporaryFile(/tmp/multipartBody2224240249963785337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_26_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b725405b607e5e289e12eeed8cb4005c.jpg","text":"TemporaryFile(/tmp/multipartBody70157175008124336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248043833,"filename":"image_27112025_13_26_55_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412972","file1":"1396412971","file0":"1396412970","file4":"1396412975","file5":"1396412978","file3":"1396412973"},"map_files_photo_id_array":[{"photo_id":"1396412978","filename":"file5"},{"photo_id":"1396412972","filename":"file2"},{"photo_id":"1396412975","filename":"file4"},{"photo_id":"1396412971","filename":"file1"},{"photo_id":"1396412970","filename":"file0"},{"photo_id":"1396412973","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412972":["hashtag1","hashtag2"]},{"1396412975":["hashtag1","hashtag2"]},{"1396412978":["hashtag1","hashtag2"]},{"1396412971":["hashtag1","hashtag2"]},{"1396412970":["hashtag1","hashtag2"]},{"1396412973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412972, 1396412975, 1396412978, 1396412971, 1396412970, 1396412973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46511125564575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:53:42.362823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_38_2861.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_47_2807.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_50_2650.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_56_2732.jpg', '/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_59_2781.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_03_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_38_2861.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_47_2807.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_50_2650.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_56_2732.jpg
/home/pi/Desktop/images/31102025/03/19/image_31102025_03_19_59_2781.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_03_3792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412993","1396412992","1396412995","1396412994","1396412988","1396412991"],"photo_ids_order":["1396412988","1396412991","1396412992","1396412993","1396412994","1396412995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cf1f1652726c8a177222a0713580e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1312174950041425337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_19_56_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/27/7a51e39de1143f0e33ffba207da3bc33.jpg","text":"TemporaryFile(/tmp/multipartBody1873403235076360526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_19_50_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/27/cd3770cb3af15072fe4fe0d34eb6455e.jpg","text":"TemporaryFile(/tmp/multipartBody7409520972584426887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_20_03_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/27/d506033f58e7c173c94c6dac25d69cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2865801835646085512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_19_59_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/27/2eb7dd37acf3b144eda1612d8b418af2.jpg","text":"TemporaryFile(/tmp/multipartBody4264802829148996689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_19_38_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/27/c09a763927d22d4eefa45af816ea7ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8699117078759128016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248084001,"filename":"image_31102025_03_19_47_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396412992","file1":"1396412991","file0":"1396412988","file4":"1396412994","file5":"1396412995","file3":"1396412993"},"map_files_photo_id_array":[{"photo_id":"1396412995","filename":"file5"},{"photo_id":"1396412992","filename":"file2"},{"photo_id":"1396412994","filename":"file4"},{"photo_id":"1396412991","filename":"file1"},{"photo_id":"1396412988","filename":"file0"},{"photo_id":"1396412993","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396412993":["hashtag1","hashtag2"]},{"1396412992":["hashtag1","hashtag2"]},{"1396412995":["hashtag1","hashtag2"]},{"1396412994":["hashtag1","hashtag2"]},{"1396412988":["hashtag1","hashtag2"]},{"1396412991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396412993, 1396412992, 1396412995, 1396412994, 1396412988, 1396412991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03980612754822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:54:22.538005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_25_9581.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_35_9772.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_45_10784.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_55_9769.jpg', '/home/pi/Desktop/images/27112025/13/27/image_27112025_13_28_05_9696.jpg', '/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_15_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_25_9581.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_35_9772.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_45_10784.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_27_55_9769.jpg
/home/pi/Desktop/images/27112025/13/27/image_27112025_13_28_05_9696.jpg
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_15_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396412999","1396413011","1396413005","1396413014","1396413008","1396413002"],"photo_ids_order":["1396412999","1396413002","1396413005","1396413008","1396413011","1396413014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42cd8482d55ea22bbc237d20836d77f4.jpg","text":"TemporaryFile(/tmp/multipartBody3772041785605107297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_27_25_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a2c4dab6cffbc932f081029003eaf38.jpg","text":"TemporaryFile(/tmp/multipartBody1350710684424856695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_28_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c929c2c207308de60195326b42b34d4.jpg","text":"TemporaryFile(/tmp/multipartBody3678047481673293054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_27_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1c78e5874768b99993998e59e9f4df3.jpg","text":"TemporaryFile(/tmp/multipartBody8201994546996308890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_28_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa30d6513476defb3e642dfedd046c90.jpg","text":"TemporaryFile(/tmp/multipartBody8329985437188729883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_27_55_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/958de3f50792341c9d9b36d48a488cab.jpg","text":"TemporaryFile(/tmp/multipartBody7501887230706078055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248123325,"filename":"image_27112025_13_27_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413005","file1":"1396413002","file0":"1396412999","file4":"1396413011","file5":"1396413014","file3":"1396413008"},"map_files_photo_id_array":[{"photo_id":"1396413014","filename":"file5"},{"photo_id":"1396413005","filename":"file2"},{"photo_id":"1396413011","filename":"file4"},{"photo_id":"1396413002","filename":"file1"},{"photo_id":"1396412999","filename":"file0"},{"photo_id":"1396413008","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396412999":["hashtag1","hashtag2"]},{"1396413011":["hashtag1","hashtag2"]},{"1396413005":["hashtag1","hashtag2"]},{"1396413014":["hashtag1","hashtag2"]},{"1396413008":["hashtag1","hashtag2"]},{"1396413002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396412999, 1396413011, 1396413005, 1396413014, 1396413008, 1396413002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.250590324401855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:55:03.312231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_25_10735.jpg', '/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_35_9858.jpg', '/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_45_9540.jpg', '/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_55_9842.jpg', '/home/pi/Desktop/images/27112025/13/28/image_27112025_13_29_05_10784.jpg', '/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_15_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_25_10735.jpg
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_35_9858.jpg
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_45_9540.jpg
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_28_55_9842.jpg
/home/pi/Desktop/images/27112025/13/28/image_27112025_13_29_05_10784.jpg
/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_15_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413023","1396413017","1396413025","1396413019","1396413030","1396413021"],"photo_ids_order":["1396413017","1396413019","1396413021","1396413023","1396413025","1396413030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c77c3d3c0aa7abfb899a1d66bf1adb51.jpg","text":"TemporaryFile(/tmp/multipartBody4759047987412299717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_28_55_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b78d3fc2df06cafd559bb65e1ba27b12.jpg","text":"TemporaryFile(/tmp/multipartBody5592788697514931749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_28_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b193f0348f71763d51a581fa4e4456fd.jpg","text":"TemporaryFile(/tmp/multipartBody4699117742205614996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_29_05_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/253e7bdcc108f58bcd90c376ccc0fb95.jpg","text":"TemporaryFile(/tmp/multipartBody645125680435133851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_28_35_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36f151fb086570d7f5c9f40288615322.jpg","text":"TemporaryFile(/tmp/multipartBody26969622088639945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_29_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47ec39860ff2bb0f7a22d9c6606d9f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4638393096082868315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248164139,"filename":"image_27112025_13_28_45_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413021","file1":"1396413019","file0":"1396413017","file4":"1396413025","file5":"1396413030","file3":"1396413023"},"map_files_photo_id_array":[{"photo_id":"1396413030","filename":"file5"},{"photo_id":"1396413021","filename":"file2"},{"photo_id":"1396413025","filename":"file4"},{"photo_id":"1396413019","filename":"file1"},{"photo_id":"1396413017","filename":"file0"},{"photo_id":"1396413023","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413023":["hashtag1","hashtag2"]},{"1396413017":["hashtag1","hashtag2"]},{"1396413025":["hashtag1","hashtag2"]},{"1396413019":["hashtag1","hashtag2"]},{"1396413030":["hashtag1","hashtag2"]},{"1396413021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413023, 1396413017, 1396413025, 1396413019, 1396413030, 1396413021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.063870906829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:55:42.743248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_06_2837.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_09_2658.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_11_2802.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_21_3740.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_24_2718.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_26_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_06_2837.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_09_2658.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_11_2802.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_21_3740.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_24_2718.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_26_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":["1396413041","1396413044","1396413038","1396413040","1396413043","1396413042"],"photo_ids_order":["1396413038","1396413040","1396413041","1396413042","1396413043","1396413044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/feeb31ab1d5b217d12e6c7a8047575ad.jpg","text":"TemporaryFile(/tmp/multipartBody4411158573992111988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_11_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/27/e48e135ea7e62bc105dca29959fb79fe.jpg","text":"TemporaryFile(/tmp/multipartBody4153939110685995778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_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/27/5479dc81d5c0f41f70519e09134e66b4.jpg","text":"TemporaryFile(/tmp/multipartBody1311581024513203276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_06_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/27/8258b3883ef5f34bb3a9da0990db86d6.jpg","text":"TemporaryFile(/tmp/multipartBody5083057973614647767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_09_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/27/99442d71c5702c42d272c42d65fc5bc0.jpg","text":"TemporaryFile(/tmp/multipartBody3728536896428542599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_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/27/32215874ee04ff3978345b3d8d0955d4.jpg","text":"TemporaryFile(/tmp/multipartBody1327365197258033921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248204369,"filename":"image_31102025_03_20_21_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413041","file1":"1396413040","file0":"1396413038","file4":"1396413043","file5":"1396413044","file3":"1396413042"},"map_files_photo_id_array":[{"photo_id":"1396413044","filename":"file5"},{"photo_id":"1396413041","filename":"file2"},{"photo_id":"1396413043","filename":"file4"},{"photo_id":"1396413040","filename":"file1"},{"photo_id":"1396413038","filename":"file0"},{"photo_id":"1396413042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396413041":["hashtag1","hashtag2"]},{"1396413044":["hashtag1","hashtag2"]},{"1396413038":["hashtag1","hashtag2"]},{"1396413040":["hashtag1","hashtag2"]},{"1396413043":["hashtag1","hashtag2"]},{"1396413042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396413041, 1396413044, 1396413038, 1396413040, 1396413043, 1396413042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78526592254639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 13:56:21.934578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_25_9918.jpg', '/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_35_9684.jpg', '/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_45_10714.jpg', '/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_55_9630.jpg', '/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_15_10051.jpg', '/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_26_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_25_9918.jpg
/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_35_9684.jpg
/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_45_10714.jpg
/home/pi/Desktop/images/27112025/13/29/image_27112025_13_29_55_9630.jpg
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_15_10051.jpg
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_26_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413064","1396413057","1396413051","1396413060","1396413054","1396413048"],"photo_ids_order":["1396413048","1396413051","1396413054","1396413057","1396413060","1396413064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2f58f81f22e92d791e0a7b76bfbeb51.jpg","text":"TemporaryFile(/tmp/multipartBody3364614838579270033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_30_26_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37a5dd6a406d56541be213fc6df01816.jpg","text":"TemporaryFile(/tmp/multipartBody1016821140268564742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_29_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c967dca46dd3e30d6354c5bb230c6d3.jpg","text":"TemporaryFile(/tmp/multipartBody8683831419959188484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_29_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2aecfab3dfb5829a4713985161aeda39.jpg","text":"TemporaryFile(/tmp/multipartBody2121805199272515614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_30_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da9c9d9371ed64a7801dca2d2ee6b128.jpg","text":"TemporaryFile(/tmp/multipartBody6489036240653406398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_29_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09f4c4f59dd86d9222c98360b63fa868.jpg","text":"TemporaryFile(/tmp/multipartBody7121742388411508056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248242696,"filename":"image_27112025_13_29_25_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413054","file1":"1396413051","file0":"1396413048","file4":"1396413060","file5":"1396413064","file3":"1396413057"},"map_files_photo_id_array":[{"photo_id":"1396413064","filename":"file5"},{"photo_id":"1396413054","filename":"file2"},{"photo_id":"1396413060","filename":"file4"},{"photo_id":"1396413051","filename":"file1"},{"photo_id":"1396413048","filename":"file0"},{"photo_id":"1396413057","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413064":["hashtag1","hashtag2"]},{"1396413057":["hashtag1","hashtag2"]},{"1396413051":["hashtag1","hashtag2"]},{"1396413060":["hashtag1","hashtag2"]},{"1396413054":["hashtag1","hashtag2"]},{"1396413048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413064, 1396413057, 1396413051, 1396413060, 1396413054, 1396413048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40465974807739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:57:02.888806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_36_9860.jpg', '/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_46_9755.jpg', '/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_56_10577.jpg', '/home/pi/Desktop/images/27112025/13/30/image_27112025_13_31_06_9916.jpg', '/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_16_9778.jpg', '/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_26_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_36_9860.jpg
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_46_9755.jpg
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_30_56_10577.jpg
/home/pi/Desktop/images/27112025/13/30/image_27112025_13_31_06_9916.jpg
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_16_9778.jpg
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_26_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413068","1396413065","1396413070","1396413073","1396413067","1396413066"],"photo_ids_order":["1396413065","1396413066","1396413067","1396413068","1396413070","1396413073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d103fe614395dfe97f1ca39d2d9ca72.jpg","text":"TemporaryFile(/tmp/multipartBody3124048628586097267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_31_06_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26c65a71425fa0bdbc4864be4641bd50.jpg","text":"TemporaryFile(/tmp/multipartBody6575133003821874351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_30_36_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38c37cef51d1b1ab7e3f22de43bdc118.jpg","text":"TemporaryFile(/tmp/multipartBody406295124689006639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_31_16_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d87112de479e050566f318b1867b0201.jpg","text":"TemporaryFile(/tmp/multipartBody3651055214108708176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_31_26_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/273e8c29bd97dbad004c84c0741a451d.jpg","text":"TemporaryFile(/tmp/multipartBody6786991696608860888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_30_56_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c14b1b6b30716872b0db37a748a2229a.jpg","text":"TemporaryFile(/tmp/multipartBody8230350338284453097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248283688,"filename":"image_27112025_13_30_46_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413067","file1":"1396413066","file0":"1396413065","file4":"1396413070","file5":"1396413073","file3":"1396413068"},"map_files_photo_id_array":[{"photo_id":"1396413073","filename":"file5"},{"photo_id":"1396413067","filename":"file2"},{"photo_id":"1396413070","filename":"file4"},{"photo_id":"1396413066","filename":"file1"},{"photo_id":"1396413065","filename":"file0"},{"photo_id":"1396413068","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413068":["hashtag1","hashtag2"]},{"1396413065":["hashtag1","hashtag2"]},{"1396413070":["hashtag1","hashtag2"]},{"1396413073":["hashtag1","hashtag2"]},{"1396413067":["hashtag1","hashtag2"]},{"1396413066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413068, 1396413065, 1396413070, 1396413073, 1396413067, 1396413066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35922718048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:57:42.084392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_32_2605.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_36_3686.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_48_3718.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_50_2666.jpg', '/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_59_2627.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_02_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_32_2605.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_36_3686.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_48_3718.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_50_2666.jpg
/home/pi/Desktop/images/31102025/03/20/image_31102025_03_20_59_2627.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_02_2766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413086","1396413089","1396413083","1396413088","1396413087","1396413090"],"photo_ids_order":["1396413083","1396413086","1396413087","1396413088","1396413089","1396413090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e289d0d3710d1a6581ac731de5d8851e.jpg","text":"TemporaryFile(/tmp/multipartBody7021164294435216497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_20_36_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/27/4fb1b1765dc8538ce8f6948e907e4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2283855167006412962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_20_59_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/27/5a5011626fce54b248965087d206218a.jpg","text":"TemporaryFile(/tmp/multipartBody8734828150950670823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_20_32_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/27/14def9b9e7bff12f26b3e8b2639e7272.jpg","text":"TemporaryFile(/tmp/multipartBody1241581311347662530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_20_50_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/27/c0bc4edb3863d3952c11766576e3199f.jpg","text":"TemporaryFile(/tmp/multipartBody5793239638144078421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_20_48_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/27/a8fe578495d8982a95da7b20bede061d.jpg","text":"TemporaryFile(/tmp/multipartBody8605301194701449663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248323725,"filename":"image_31102025_03_21_02_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413087","file1":"1396413086","file0":"1396413083","file4":"1396413089","file5":"1396413090","file3":"1396413088"},"map_files_photo_id_array":[{"photo_id":"1396413090","filename":"file5"},{"photo_id":"1396413087","filename":"file2"},{"photo_id":"1396413089","filename":"file4"},{"photo_id":"1396413086","filename":"file1"},{"photo_id":"1396413083","filename":"file0"},{"photo_id":"1396413088","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396413086":["hashtag1","hashtag2"]},{"1396413089":["hashtag1","hashtag2"]},{"1396413083":["hashtag1","hashtag2"]},{"1396413088":["hashtag1","hashtag2"]},{"1396413087":["hashtag1","hashtag2"]},{"1396413090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396413086, 1396413089, 1396413083, 1396413088, 1396413087, 1396413090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43190383911133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 13:59:03.491061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_36_10724.jpg', '/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_53_16977.jpg', '/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_56_2529.jpg', '/home/pi/Desktop/images/27112025/13/31/image_27112025_13_32_05_9696.jpg', '/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_16_10721.jpg', '/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_26_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_36_10724.jpg
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_53_16977.jpg
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_31_56_2529.jpg
/home/pi/Desktop/images/27112025/13/31/image_27112025_13_32_05_9696.jpg
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_16_10721.jpg
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_26_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413110","1396413107","1396413094","1396413100","1396413103","1396413098"],"photo_ids_order":["1396413094","1396413098","1396413100","1396413103","1396413107","1396413110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0279cb32975337cb976847a76a052ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1834297127518823076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_32_26_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85efd9f7119d15b04ec91b5965ae2793.jpg","text":"TemporaryFile(/tmp/multipartBody4659562950109647468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_32_16_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40508ee9ef34dafa627cf3094ba2886b.jpg","text":"TemporaryFile(/tmp/multipartBody4985081506758940960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_31_36_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3163e30c4f4711f013f1c5d7b3473ef.jpg","text":"TemporaryFile(/tmp/multipartBody2919007022760081079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_31_56_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/27/c7165b5343aee58c891f10f2b75a4206.jpg","text":"TemporaryFile(/tmp/multipartBody5517712907361352261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_32_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6da065842ed1109b9092db0cd2116c84.jpg","text":"TemporaryFile(/tmp/multipartBody1331546083817370359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248404419,"filename":"image_27112025_13_31_53_16977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413100","file1":"1396413098","file0":"1396413094","file4":"1396413107","file5":"1396413110","file3":"1396413103"},"map_files_photo_id_array":[{"photo_id":"1396413110","filename":"file5"},{"photo_id":"1396413100","filename":"file2"},{"photo_id":"1396413107","filename":"file4"},{"photo_id":"1396413098","filename":"file1"},{"photo_id":"1396413094","filename":"file0"},{"photo_id":"1396413103","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413110":["hashtag1","hashtag2"]},{"1396413107":["hashtag1","hashtag2"]},{"1396413094":["hashtag1","hashtag2"]},{"1396413100":["hashtag1","hashtag2"]},{"1396413103":["hashtag1","hashtag2"]},{"1396413098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413110, 1396413107, 1396413094, 1396413100, 1396413103, 1396413098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06988859176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 13:59:42.408601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_18_2970.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_20_2696.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_27_2835.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_36_3797.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_39_2796.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_41_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_18_2970.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_20_2696.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_27_2835.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_36_3797.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_39_2796.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_41_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413123","1396413117","1396413130","1396413124","1396413126","1396413120"],"photo_ids_order":["1396413117","1396413120","1396413123","1396413124","1396413126","1396413130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc5b694f8abe6cc8c80a8457e06ccad6.jpg","text":"TemporaryFile(/tmp/multipartBody7354012954411140881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_27_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/27/9f48546e80aadaf040df2a55dafc9115.jpg","text":"TemporaryFile(/tmp/multipartBody5230712900824678488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_18_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/27/08cb0cffb8657227bae553866647296c.jpg","text":"TemporaryFile(/tmp/multipartBody7017745160413208951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_41_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/27/40764858fcb91d68ad001e6fa4567ad5.jpg","text":"TemporaryFile(/tmp/multipartBody4587469148445237898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_36_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/27/b5333ebd7c7b01913833cf03c4b32c49.jpg","text":"TemporaryFile(/tmp/multipartBody1662146694088777645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_39_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/27/0c6b93f59ed53e40a4018b66851e9a52.jpg","text":"TemporaryFile(/tmp/multipartBody4980689707647776281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248444035,"filename":"image_31102025_03_21_20_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413123","file1":"1396413120","file0":"1396413117","file4":"1396413126","file5":"1396413130","file3":"1396413124"},"map_files_photo_id_array":[{"photo_id":"1396413130","filename":"file5"},{"photo_id":"1396413123","filename":"file2"},{"photo_id":"1396413126","filename":"file4"},{"photo_id":"1396413120","filename":"file1"},{"photo_id":"1396413117","filename":"file0"},{"photo_id":"1396413124","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396413123":["hashtag1","hashtag2"]},{"1396413117":["hashtag1","hashtag2"]},{"1396413130":["hashtag1","hashtag2"]},{"1396413124":["hashtag1","hashtag2"]},{"1396413126":["hashtag1","hashtag2"]},{"1396413120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396413123, 1396413117, 1396413130, 1396413124, 1396413126, 1396413120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417654514312744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:00:22.593368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_36_9751.jpg', '/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_45_9770.jpg', '/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_56_10677.jpg', '/home/pi/Desktop/images/27112025/13/32/image_27112025_13_33_06_9615.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_15_9684.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_26_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_36_9751.jpg
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_45_9770.jpg
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_32_56_10677.jpg
/home/pi/Desktop/images/27112025/13/32/image_27112025_13_33_06_9615.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_15_9684.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_26_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413143","1396413146","1396413145","1396413136","1396413139","1396413141"],"photo_ids_order":["1396413136","1396413139","1396413141","1396413143","1396413145","1396413146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16f774fd43cf3a60c01df3465090c44b.jpg","text":"TemporaryFile(/tmp/multipartBody1502033136313712389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_33_06_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ef079ecca33a4c67e53adbf0670c4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6683455102357070094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_33_26_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de348eee85d5b292aba661ed1a1887ae.jpg","text":"TemporaryFile(/tmp/multipartBody4448402590679977374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_33_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90f0cefedaad888bdb918af45ff5a426.jpg","text":"TemporaryFile(/tmp/multipartBody3705025066261427363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_32_36_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6e2adf7b122f381fca6a00b9b0ac0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8684705794566558685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_32_45_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bff218e434342fdea9853d0de17940e.jpg","text":"TemporaryFile(/tmp/multipartBody5597771438279886279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764248483357,"filename":"image_27112025_13_32_56_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413141","file1":"1396413139","file0":"1396413136","file4":"1396413145","file5":"1396413146","file3":"1396413143"},"map_files_photo_id_array":[{"photo_id":"1396413146","filename":"file5"},{"photo_id":"1396413141","filename":"file2"},{"photo_id":"1396413145","filename":"file4"},{"photo_id":"1396413139","filename":"file1"},{"photo_id":"1396413136","filename":"file0"},{"photo_id":"1396413143","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413143":["hashtag1","hashtag2"]},{"1396413146":["hashtag1","hashtag2"]},{"1396413145":["hashtag1","hashtag2"]},{"1396413136":["hashtag1","hashtag2"]},{"1396413139":["hashtag1","hashtag2"]},{"1396413141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413143, 1396413146, 1396413145, 1396413136, 1396413139, 1396413141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.293068408966064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:01:03.382750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a2550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.81238532066345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:03:21.765382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547f510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.66685485839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:05:42.051656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb552a6d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.74089670181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:08:03.097581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5513470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.93748593330383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:10:22.453310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5483490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.939279794693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:12:41.980217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a0bf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.65195679664612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:15:03.139803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a9510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.7352273464203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:17:22.111551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a6470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.12097144126892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:19:42.316206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54fbc70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.15630292892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:22:02.690921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547e4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.02405405044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:24:22.196679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5478570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.87589764595032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:26:42.805064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54cc670>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.50748324394226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:29:03.143439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55245b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.53149032592773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:31:22.743829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5523530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.1688015460968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:33:42.094335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb546b5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.05826091766357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:36:03.044635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5459450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.35030245780945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:38:22.576658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54ba590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.17613530158997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:40:42.031491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54a9650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.96151852607727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:43:03.330308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5516530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.02387118339539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:45:22.076411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb619c750>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.51790523529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 14:47:42.557099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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-27 14:48:14.697717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 14:48:24.257100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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-27 14:49:11.775607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d64b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.21694231033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 14:51:32.396437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d4a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.83578181266785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:54:02.729239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54544f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.9857361316681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 14:56:22.556365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54664d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.51622653007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 14:59:03.083352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb543f4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.71175169944763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:01:22.749105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f64b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.2834460735321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:03:42.059298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5515670>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.33561658859253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:06:03.027992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f6530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.60631275177002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:08:22.113197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5458450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.7593958377838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:10:42.642447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5537af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.59250664710999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:13:02.775913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5533570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.69859218597412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:15:22.764171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54dd4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.94838452339172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:17:42.103462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54577b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.9714798927307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:20:03.209630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.10533952713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:22:22.174500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f9550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.3780541419983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:24:41.930600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5479c10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.98430061340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:27:03.130517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54904d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.0246217250824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:29:22.689551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5532450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.70301723480225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:31:42.203321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548ea90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.5516083240509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:34:03.591405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e1490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.40875124931335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:36:22.207045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54864d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.02558779716492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:38:42.621263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb551a690>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.9733760356903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:41:08.536408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb552d5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.4159505367279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:43:22.642005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e8530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.43052196502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:45:42.186007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e1690>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.2489595413208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:48:03.214243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54444d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.46070885658264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:50:22.233075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545a4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.679190158844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 15:52:42.659125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54546d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.61559343338013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 15:55:02.754652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5485470>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.76050972938538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 15:57:22.746027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 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-27 15:59:03.087835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5482510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.06731820106506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:01:22.592231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54dd550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.80029940605164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:03:41.885917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5475650>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.8690140247345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:06:03.025593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb55154d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.96778464317322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:08:21.975236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb545d530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.25737261772156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:10:42.274533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550a6b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.3204391002655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:13:03.398522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54894b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.43663263320923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:15:22.224111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54444f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.84839534759521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:17:42.598112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5495c90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8369083404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:20:02.668577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.00609374046326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:22:22.194254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb548a4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.71803736686707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:24:42.757913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f9af0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.5158839225769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:27:03.042903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54e7550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.4722728729248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:29:22.868732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549a550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.00387573242188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:31:42.235859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54f7c10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8791148662567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:34:03.386031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb547c4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.26473355293274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:36:22.082220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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
 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 --only_old 1
2025-11-27 16:36:42.244731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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-27 16:37:15.098023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 16:37:24.565994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10
2025-11-27 16:37:34.572245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 16:37:44.670250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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-27 16:38:02.881524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 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 --only_old 1
2025-11-27 16:38:42.337227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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-27 16:39:06.651385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb553c4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.90105533599854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 16:41:32.321613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54b3690>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.59094738960266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:44:02.577348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54824b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.9352548122406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:46:22.209014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550c4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.5432529449463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:48:42.629793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54c6ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.36447024345398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:51:03.090278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5460510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.14418292045593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 16:53:23.439188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54d3550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.1533944606781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 16:55:42.670412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5491670>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.16459441184998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 16:59:03.422871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb544c490>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.464173078537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:01:22.249510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5454530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.5027620792389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:03:42.106733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb54486d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.0088083744049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:06:03.097421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5496510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.25561118125916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:08:22.227798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb549e4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.36444878578186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:10:42.683828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb550c730>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.27113366127014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:13:02.900961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb5504450>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.29172801971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:15:22.637047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg', '/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_36_9614.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_45_9757.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_33_56_10569.jpg
/home/pi/Desktop/images/27112025/13/33/image_27112025_13_34_06_9681.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_15_9839.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_26_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413203","1396413206","1396413209","1396413217","1396413211","1396413213"],"photo_ids_order":["1396413203","1396413206","1396413209","1396413211","1396413213","1396413217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/901c9f364b589107cb2e8f7889bfecea.jpg","text":"TemporaryFile(/tmp/multipartBody6877848227848882564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_33_36_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f375170cf85534915caabd9f7974243.jpg","text":"TemporaryFile(/tmp/multipartBody6526383702760325939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_33_45_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a859bde6818b13f9c41a26c10696906.jpg","text":"TemporaryFile(/tmp/multipartBody6116526211239295303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_33_56_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/124a1f071a65cb343ae149cd59610574.jpg","text":"TemporaryFile(/tmp/multipartBody3009064900642498270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_34_26_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4b438923a667dcd7bc2dfc23cddd827.jpg","text":"TemporaryFile(/tmp/multipartBody5892449536415174813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_34_06_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df9239ccf1d9770fbba627be9f8b443c.jpg","text":"TemporaryFile(/tmp/multipartBody6323073904601597677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260183344,"filename":"image_27112025_13_34_15_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413209","file1":"1396413206","file0":"1396413203","file4":"1396413213","file5":"1396413217","file3":"1396413211"},"map_files_photo_id_array":[{"photo_id":"1396413217","filename":"file5"},{"photo_id":"1396413209","filename":"file2"},{"photo_id":"1396413213","filename":"file4"},{"photo_id":"1396413206","filename":"file1"},{"photo_id":"1396413203","filename":"file0"},{"photo_id":"1396413211","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413203":["hashtag1","hashtag2"]},{"1396413206":["hashtag1","hashtag2"]},{"1396413209":["hashtag1","hashtag2"]},{"1396413217":["hashtag1","hashtag2"]},{"1396413211":["hashtag1","hashtag2"]},{"1396413213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413203, 1396413206, 1396413209, 1396413217, 1396413211, 1396413213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50075554847717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:16:02.429814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_36_9589.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_45_9671.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_56_10753.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_35_06_9762.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_15_9591.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_26_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_36_9589.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_45_9671.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_56_10753.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_35_06_9762.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_15_9591.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_26_10646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6251347064971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:16:11.928706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg', '/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_02_1582.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_03_1572.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_05_1596.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_07_1678.jpg
/home/pi/Desktop/images/21112025/21/11/image_21112025_21_11_08_1639.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413251","1396413254","1396413257","1396413242","1396413239","1396413247"],"photo_ids_order":["1396413239","1396413242","1396413247","1396413251","1396413254","1396413257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd522d71f8558cde77c8cd15b1fbabca.jpg","text":"TemporaryFile(/tmp/multipartBody553987783990160752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_11_07_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/27/2aa978b6fdac5449f28a552b158fc14e.jpg","text":"TemporaryFile(/tmp/multipartBody1266033645462445469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_11_08_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/27/1edf77de828cfde8db4fb30337050e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2821771776114682828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_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/27/70727f80b4c4933cbd889540d4a472ca.jpg","text":"TemporaryFile(/tmp/multipartBody1347302136348421260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_11_03_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/27/f315ea2c260019f505b297df10cd6dca.jpg","text":"TemporaryFile(/tmp/multipartBody1322402979716630984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_11_02_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/27/a559a9fb6eaa4abdfdafb42890f7349a.jpg","text":"TemporaryFile(/tmp/multipartBody3235396105639740083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260233519,"filename":"image_21112025_21_11_05_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413247","file1":"1396413242","file0":"1396413239","file4":"1396413254","file5":"1396413257","file3":"1396413251"},"map_files_photo_id_array":[{"photo_id":"1396413257","filename":"file5"},{"photo_id":"1396413247","filename":"file2"},{"photo_id":"1396413254","filename":"file4"},{"photo_id":"1396413242","filename":"file1"},{"photo_id":"1396413239","filename":"file0"},{"photo_id":"1396413251","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396413251":["hashtag1","hashtag2"]},{"1396413254":["hashtag1","hashtag2"]},{"1396413257":["hashtag1","hashtag2"]},{"1396413242":["hashtag1","hashtag2"]},{"1396413239":["hashtag1","hashtag2"]},{"1396413247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396413251, 1396413254, 1396413257, 1396413242, 1396413239, 1396413247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57428026199341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:17:02.770609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_36_9589.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_45_9671.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_56_10753.jpg', '/home/pi/Desktop/images/27112025/13/34/image_27112025_13_35_06_9762.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_15_9591.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_26_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_36_9589.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_45_9671.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_34_56_10753.jpg
/home/pi/Desktop/images/27112025/13/34/image_27112025_13_35_06_9762.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_15_9591.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_26_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413290","1396413275","1396413283","1396413286","1396413288","1396413279"],"photo_ids_order":["1396413275","1396413279","1396413283","1396413286","1396413288","1396413290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8218a8a9db5f9b36dda2f8cff03af3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4649894593106014939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_35_26_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7297e5540879d414975f66cc5b593aa.jpg","text":"TemporaryFile(/tmp/multipartBody9213891115592795388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_34_36_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99781a1c63613d7062168d89480be7ea.jpg","text":"TemporaryFile(/tmp/multipartBody8946123610741872920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_34_56_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8308089b19ebd10277e30e940706df7a.jpg","text":"TemporaryFile(/tmp/multipartBody3351694695785282168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_35_06_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2917460124353c0334bfc66dac1fcc95.jpg","text":"TemporaryFile(/tmp/multipartBody6410411369138069112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_35_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe31edb60153c379def80ccf1dd79088.jpg","text":"TemporaryFile(/tmp/multipartBody5033332943098699997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260283545,"filename":"image_27112025_13_34_45_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413283","file1":"1396413279","file0":"1396413275","file4":"1396413288","file5":"1396413290","file3":"1396413286"},"map_files_photo_id_array":[{"photo_id":"1396413290","filename":"file5"},{"photo_id":"1396413283","filename":"file2"},{"photo_id":"1396413288","filename":"file4"},{"photo_id":"1396413279","filename":"file1"},{"photo_id":"1396413275","filename":"file0"},{"photo_id":"1396413286","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413290":["hashtag1","hashtag2"]},{"1396413275":["hashtag1","hashtag2"]},{"1396413283":["hashtag1","hashtag2"]},{"1396413286":["hashtag1","hashtag2"]},{"1396413288":["hashtag1","hashtag2"]},{"1396413279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413290, 1396413275, 1396413283, 1396413286, 1396413288, 1396413279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.674017667770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:17:42.113754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg', '/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_47_2166.jpg
/home/pi/Desktop/images/31102025/03/21/image_31102025_03_21_51_3880.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_06_3728.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_08_2699.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_14_2679.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_27_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413315","1396413302","1396413311","1396413307","1396413321","1396413318"],"photo_ids_order":["1396413302","1396413307","1396413311","1396413315","1396413318","1396413321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/670d043e215e05388156be6c9c750b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6504235059739211832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_22_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/27/dd931a456d92bb6aba7010cd2df2e230.jpg","text":"TemporaryFile(/tmp/multipartBody3888855125372365058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_21_47_2166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8134fdcd333bc265b5d9324278ad151.jpg","text":"TemporaryFile(/tmp/multipartBody5465700786278065405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_22_06_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/27/ae907a24df1bc40a59cff1a956bd5a68.jpg","text":"TemporaryFile(/tmp/multipartBody750068497196135332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_21_51_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e41911f8a88f9014e3b8033df6cd951b.jpg","text":"TemporaryFile(/tmp/multipartBody8810789396628228660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_22_27_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/27/5c6b9736362f78a8547f0fe01c2f6923.jpg","text":"TemporaryFile(/tmp/multipartBody8292313612500029914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260323516,"filename":"image_31102025_03_22_14_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413311","file1":"1396413307","file0":"1396413302","file4":"1396413318","file5":"1396413321","file3":"1396413315"},"map_files_photo_id_array":[{"photo_id":"1396413321","filename":"file5"},{"photo_id":"1396413311","filename":"file2"},{"photo_id":"1396413318","filename":"file4"},{"photo_id":"1396413307","filename":"file1"},{"photo_id":"1396413302","filename":"file0"},{"photo_id":"1396413315","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396413315":["hashtag1","hashtag2"]},{"1396413302":["hashtag1","hashtag2"]},{"1396413311":["hashtag1","hashtag2"]},{"1396413307":["hashtag1","hashtag2"]},{"1396413321":["hashtag1","hashtag2"]},{"1396413318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396413315, 1396413302, 1396413311, 1396413307, 1396413321, 1396413318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31393313407898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:18:22.156869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_36_9525.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_45_9755.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_56_10713.jpg', '/home/pi/Desktop/images/27112025/13/35/image_27112025_13_36_06_9693.jpg', '/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_15_9640.jpg', '/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_26_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_36_9525.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_45_9755.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_35_56_10713.jpg
/home/pi/Desktop/images/27112025/13/35/image_27112025_13_36_06_9693.jpg
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_15_9640.jpg
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_26_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413347","1396413332","1396413356","1396413343","1396413352","1396413340"],"photo_ids_order":["1396413332","1396413340","1396413343","1396413347","1396413352","1396413356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/897ea8fa6e53c799abab1d3bfb1dbd56.jpg","text":"TemporaryFile(/tmp/multipartBody3846876489971110673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_36_06_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d128e7551ab000aeb1e9cbe7f07cd35a.jpg","text":"TemporaryFile(/tmp/multipartBody5754725178140771868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_35_36_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f809c4e10bdb60f0835524f0194986d.jpg","text":"TemporaryFile(/tmp/multipartBody4038146076020718620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_36_26_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82c3e717827a7110a9764214c3264f96.jpg","text":"TemporaryFile(/tmp/multipartBody7119316425296458771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_35_56_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21eb7bc06d4aab61cda1c52763120b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2259117270712650492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_36_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b34a6ccc32abc131d7cb0bf3acfbae2b.jpg","text":"TemporaryFile(/tmp/multipartBody500755088406391740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260365888,"filename":"image_27112025_13_35_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413343","file1":"1396413340","file0":"1396413332","file4":"1396413352","file5":"1396413356","file3":"1396413347"},"map_files_photo_id_array":[{"photo_id":"1396413356","filename":"file5"},{"photo_id":"1396413343","filename":"file2"},{"photo_id":"1396413352","filename":"file4"},{"photo_id":"1396413340","filename":"file1"},{"photo_id":"1396413332","filename":"file0"},{"photo_id":"1396413347","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413347":["hashtag1","hashtag2"]},{"1396413332":["hashtag1","hashtag2"]},{"1396413356":["hashtag1","hashtag2"]},{"1396413343":["hashtag1","hashtag2"]},{"1396413352":["hashtag1","hashtag2"]},{"1396413340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413347, 1396413332, 1396413356, 1396413343, 1396413352, 1396413340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30183935165405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:19:03.188024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_36_9546.jpg', '/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_46_10542.jpg', '/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_56_9653.jpg', '/home/pi/Desktop/images/27112025/13/36/image_27112025_13_37_05_9737.jpg', '/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_16_10684.jpg', '/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_26_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_36_9546.jpg
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_46_10542.jpg
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_36_56_9653.jpg
/home/pi/Desktop/images/27112025/13/36/image_27112025_13_37_05_9737.jpg
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_16_10684.jpg
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_26_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413392","1396413386","1396413401","1396413388","1396413397","1396413405"],"photo_ids_order":["1396413386","1396413388","1396413392","1396413397","1396413401","1396413405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0661445611af15126bae2fd99cc42914.jpg","text":"TemporaryFile(/tmp/multipartBody3004458746146171182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_36_56_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73904afae991eb15fff6bd36c9407331.jpg","text":"TemporaryFile(/tmp/multipartBody3178472090575300640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_36_36_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fbddfc472f769036aff87b0c12da9fe9.jpg","text":"TemporaryFile(/tmp/multipartBody9015540427974319336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_37_16_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c355b72f6804f049b3349780e50c14d.jpg","text":"TemporaryFile(/tmp/multipartBody7246126548079425334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_36_46_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d67f93a38916803476b7ab5b7fda92b.jpg","text":"TemporaryFile(/tmp/multipartBody1258946068062461403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_37_05_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82c642cb6a2f092a213202f904456ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3483680170111407293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260404139,"filename":"image_27112025_13_37_26_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413392","file1":"1396413388","file0":"1396413386","file4":"1396413401","file5":"1396413405","file3":"1396413397"},"map_files_photo_id_array":[{"photo_id":"1396413405","filename":"file5"},{"photo_id":"1396413392","filename":"file2"},{"photo_id":"1396413401","filename":"file4"},{"photo_id":"1396413388","filename":"file1"},{"photo_id":"1396413386","filename":"file0"},{"photo_id":"1396413397","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413392":["hashtag1","hashtag2"]},{"1396413386":["hashtag1","hashtag2"]},{"1396413401":["hashtag1","hashtag2"]},{"1396413388":["hashtag1","hashtag2"]},{"1396413397":["hashtag1","hashtag2"]},{"1396413405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413392, 1396413386, 1396413401, 1396413388, 1396413397, 1396413405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15761709213257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:19:42.360474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_41_2764.jpg', '/home/pi/Desktop/images/31102025/03/22/image_31102025_03_23_00_3635.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_05_2683.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_08_2743.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_21_3629.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_26_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_22_41_2764.jpg
/home/pi/Desktop/images/31102025/03/22/image_31102025_03_23_00_3635.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_05_2683.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_08_2743.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_21_3629.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_26_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413431","1396413436","1396413421","1396413415","1396413426","1396413411"],"photo_ids_order":["1396413411","1396413415","1396413421","1396413426","1396413431","1396413436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c34884346cdd50021d0244d8a0c66fd.jpg","text":"TemporaryFile(/tmp/multipartBody5780604627391002999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_23_21_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/27/656b5c753361e94eb21111ca9aa0d752.jpg","text":"TemporaryFile(/tmp/multipartBody4985590939737648483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_23_26_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/27/ca6b1979947890b7d02bfa1b81278b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6775149767794637470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_23_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/27/611c16266493a69554313377dada3485.jpg","text":"TemporaryFile(/tmp/multipartBody3733643282525839999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_23_00_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/27/a307af03c85ee0ab2d9c1411e1ab9182.jpg","text":"TemporaryFile(/tmp/multipartBody7887380774858784004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_23_08_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/27/579e8b6d74c8961c69f32a4ed41ff996.jpg","text":"TemporaryFile(/tmp/multipartBody6184409870404662010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260443821,"filename":"image_31102025_03_22_41_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413421","file1":"1396413415","file0":"1396413411","file4":"1396413431","file5":"1396413436","file3":"1396413426"},"map_files_photo_id_array":[{"photo_id":"1396413436","filename":"file5"},{"photo_id":"1396413421","filename":"file2"},{"photo_id":"1396413431","filename":"file4"},{"photo_id":"1396413415","filename":"file1"},{"photo_id":"1396413411","filename":"file0"},{"photo_id":"1396413426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396413431":["hashtag1","hashtag2"]},{"1396413436":["hashtag1","hashtag2"]},{"1396413421":["hashtag1","hashtag2"]},{"1396413415":["hashtag1","hashtag2"]},{"1396413426":["hashtag1","hashtag2"]},{"1396413411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396413431, 1396413436, 1396413421, 1396413415, 1396413426, 1396413411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86668825149536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:20:22.615725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_35_9589.jpg', '/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_46_10542.jpg', '/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_56_9552.jpg', '/home/pi/Desktop/images/27112025/13/37/image_27112025_13_38_06_10598.jpg', '/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_16_9750.jpg', '/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_26_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_35_9589.jpg
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_46_10542.jpg
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_37_56_9552.jpg
/home/pi/Desktop/images/27112025/13/37/image_27112025_13_38_06_10598.jpg
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_16_9750.jpg
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_26_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413446","1396413440","1396413443","1396413460","1396413454","1396413466"],"photo_ids_order":["1396413440","1396413443","1396413446","1396413454","1396413460","1396413466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17dc39131b50c6ea1a85145e3f4873eb.jpg","text":"TemporaryFile(/tmp/multipartBody3883473443928394501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_37_56_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a391cab0fa63284d83e47d7997ddd995.jpg","text":"TemporaryFile(/tmp/multipartBody20290191529812717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_37_35_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28965cb5448534b1a29042f09970d98e.jpg","text":"TemporaryFile(/tmp/multipartBody340289993692938838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_37_46_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ad9c56737b635637a0384a85f158134.jpg","text":"TemporaryFile(/tmp/multipartBody3794349181763333175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_38_16_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92980024ff7b1ee7679305ea1740b3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5040957763218522014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_38_06_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b703047ac0b69fcb4fed5e8e94a9c065.jpg","text":"TemporaryFile(/tmp/multipartBody1804258428860818373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260483474,"filename":"image_27112025_13_38_26_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413446","file1":"1396413443","file0":"1396413440","file4":"1396413460","file5":"1396413466","file3":"1396413454"},"map_files_photo_id_array":[{"photo_id":"1396413466","filename":"file5"},{"photo_id":"1396413446","filename":"file2"},{"photo_id":"1396413460","filename":"file4"},{"photo_id":"1396413443","filename":"file1"},{"photo_id":"1396413440","filename":"file0"},{"photo_id":"1396413454","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413446":["hashtag1","hashtag2"]},{"1396413440":["hashtag1","hashtag2"]},{"1396413443":["hashtag1","hashtag2"]},{"1396413460":["hashtag1","hashtag2"]},{"1396413454":["hashtag1","hashtag2"]},{"1396413466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413446, 1396413440, 1396413443, 1396413460, 1396413454, 1396413466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.807499170303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:21:12.793012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_10_3612.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_13_2535.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_16_3638.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_20_3092.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_22_2584.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_25_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_10_3612.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_13_2535.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_16_3638.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_20_3092.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_22_2584.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_25_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413482","1396413475","1396413492","1396413486","1396413489","1396413477"],"photo_ids_order":["1396413475","1396413477","1396413482","1396413486","1396413489","1396413492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4cd1b7e18ec71a1eabd82c0343b943a.jpg","text":"TemporaryFile(/tmp/multipartBody7277435790311438935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_16_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/27/5549f1fba01b506101d8cc2bbe2da9e6.jpg","text":"TemporaryFile(/tmp/multipartBody457809745645976389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_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/27/244e6daa4271b976788c6886276ea265.jpg","text":"TemporaryFile(/tmp/multipartBody5073369741699230196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_25_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/27/e31e8cf010aad08e75aa8e68b350ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody7854102732892337908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_20_3092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/999f780a1612ac91807ce547d679d369.jpg","text":"TemporaryFile(/tmp/multipartBody7404792416468986722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_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/27/1598553555efad91885390788487b468.jpg","text":"TemporaryFile(/tmp/multipartBody4993780529231796111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260534643,"filename":"image_21112025_21_12_13_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413482","file1":"1396413477","file0":"1396413475","file4":"1396413489","file5":"1396413492","file3":"1396413486"},"map_files_photo_id_array":[{"photo_id":"1396413492","filename":"file5"},{"photo_id":"1396413482","filename":"file2"},{"photo_id":"1396413489","filename":"file4"},{"photo_id":"1396413477","filename":"file1"},{"photo_id":"1396413475","filename":"file0"},{"photo_id":"1396413486","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396413482":["hashtag1","hashtag2"]},{"1396413475":["hashtag1","hashtag2"]},{"1396413492":["hashtag1","hashtag2"]},{"1396413486":["hashtag1","hashtag2"]},{"1396413489":["hashtag1","hashtag2"]},{"1396413477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396413482, 1396413475, 1396413492, 1396413486, 1396413489, 1396413477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77816677093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:22:02.990892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_35_9814.jpg', '/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_46_10777.jpg', '/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_56_9579.jpg', '/home/pi/Desktop/images/27112025/13/38/image_27112025_13_39_06_9735.jpg', '/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_15_9792.jpg', '/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_26_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_35_9814.jpg
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_46_10777.jpg
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_38_56_9579.jpg
/home/pi/Desktop/images/27112025/13/38/image_27112025_13_39_06_9735.jpg
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_15_9792.jpg
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_26_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396413507","1396413578","1396413553","1396413640","1396413523","1396413609"],"photo_ids_order":["1396413507","1396413523","1396413553","1396413578","1396413609","1396413640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/097d375767d77a11f18f6bde030968c0.jpg","text":"TemporaryFile(/tmp/multipartBody4809912020307627452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_38_35_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a93cff5a22ee14268330be571ef640d.jpg","text":"TemporaryFile(/tmp/multipartBody6922998041372898219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_39_06_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10230cf9ea558474904ed3b479917390.jpg","text":"TemporaryFile(/tmp/multipartBody5838409998389223850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_38_56_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93514b4beadcff67205a95d0cc02dded.jpg","text":"TemporaryFile(/tmp/multipartBody5005569369089738753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_39_26_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56862bf0c9f145730d9cf87d312ff2b2.jpg","text":"TemporaryFile(/tmp/multipartBody9108627662963515332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_38_46_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8dc8bf1263d1cab0e423dc2e7f03bdf.jpg","text":"TemporaryFile(/tmp/multipartBody4242049664536965572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260583907,"filename":"image_27112025_13_39_15_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413553","file1":"1396413523","file0":"1396413507","file4":"1396413609","file5":"1396413640","file3":"1396413578"},"map_files_photo_id_array":[{"photo_id":"1396413640","filename":"file5"},{"photo_id":"1396413553","filename":"file2"},{"photo_id":"1396413609","filename":"file4"},{"photo_id":"1396413523","filename":"file1"},{"photo_id":"1396413507","filename":"file0"},{"photo_id":"1396413578","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396413507":["hashtag1","hashtag2"]},{"1396413578":["hashtag1","hashtag2"]},{"1396413553":["hashtag1","hashtag2"]},{"1396413640":["hashtag1","hashtag2"]},{"1396413523":["hashtag1","hashtag2"]},{"1396413609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396413507, 1396413578, 1396413553, 1396413640, 1396413523, 1396413609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.84080791473389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:23:03.364611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_36_9570.jpg', '/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_46_10625.jpg', '/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_56_9399.jpg', '/home/pi/Desktop/images/27112025/13/39/image_27112025_13_40_05_9943.jpg', '/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_16_10663.jpg', '/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_26_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_36_9570.jpg
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_46_10625.jpg
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_39_56_9399.jpg
/home/pi/Desktop/images/27112025/13/39/image_27112025_13_40_05_9943.jpg
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_16_10663.jpg
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_26_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396414037","1396413896","1396413956","1396413988","1396413865","1396413927"],"photo_ids_order":["1396413865","1396413896","1396413927","1396413956","1396413988","1396414037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fabb8dd40055b7a3370b7dc3c1f8e19.jpg","text":"TemporaryFile(/tmp/multipartBody4918870580830087778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_40_26_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03c4ad5e1f861e5c4fe373657873ecf0.jpg","text":"TemporaryFile(/tmp/multipartBody2697931418417762360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_39_46_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fb0e539454bb8211a23bfe028df1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1262763096009165054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_40_05_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4b5aa70b00fdd724b893f4c6c293bdf.jpg","text":"TemporaryFile(/tmp/multipartBody523618097838769865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_40_16_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/701ab28989afbd4dd20aa27483831e63.jpg","text":"TemporaryFile(/tmp/multipartBody8942026184420667716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_39_36_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50554a53f04e724d651484fde5a0f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody7805185742967316664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260644486,"filename":"image_27112025_13_39_56_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396413927","file1":"1396413896","file0":"1396413865","file4":"1396413988","file5":"1396414037","file3":"1396413956"},"map_files_photo_id_array":[{"photo_id":"1396414037","filename":"file5"},{"photo_id":"1396413927","filename":"file2"},{"photo_id":"1396413988","filename":"file4"},{"photo_id":"1396413896","filename":"file1"},{"photo_id":"1396413865","filename":"file0"},{"photo_id":"1396413956","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396414037":["hashtag1","hashtag2"]},{"1396413896":["hashtag1","hashtag2"]},{"1396413956":["hashtag1","hashtag2"]},{"1396413988":["hashtag1","hashtag2"]},{"1396413865":["hashtag1","hashtag2"]},{"1396413927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396414037, 1396413896, 1396413956, 1396413988, 1396413865, 1396413927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70262050628662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:24:02.669255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_35_9582.jpg', '/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_46_10664.jpg', '/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_56_9694.jpg', '/home/pi/Desktop/images/27112025/13/40/image_27112025_13_41_05_9665.jpg', '/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_16_10690.jpg', '/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_26_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_35_9582.jpg
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_46_10664.jpg
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_40_56_9694.jpg
/home/pi/Desktop/images/27112025/13/40/image_27112025_13_41_05_9665.jpg
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_16_10690.jpg
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_26_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396414288","1396414290","1396414293","1396414260","1396414298","1396414283"],"photo_ids_order":["1396414260","1396414283","1396414288","1396414290","1396414293","1396414298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c095b163f66d22f71017bba342c27d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4310172641196613406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_40_56_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6491537b5a0c61e65c0588b775ec04c0.jpg","text":"TemporaryFile(/tmp/multipartBody2693901901394826387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_41_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/553f20233860f7f96f8ffc13ecbc9490.jpg","text":"TemporaryFile(/tmp/multipartBody5027006068369634293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_41_16_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a93080c2d0b8df270d47f04a7709c08e.jpg","text":"TemporaryFile(/tmp/multipartBody2396045731138457270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_40_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2909a36b27778fe5fa6cf7a99ef4a47.jpg","text":"TemporaryFile(/tmp/multipartBody7246765076861191604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_41_26_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25bbe0cea32832947cfa3af77f7ce98b.jpg","text":"TemporaryFile(/tmp/multipartBody2061928789972360779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260703427,"filename":"image_27112025_13_40_46_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396414288","file1":"1396414283","file0":"1396414260","file4":"1396414293","file5":"1396414298","file3":"1396414290"},"map_files_photo_id_array":[{"photo_id":"1396414298","filename":"file5"},{"photo_id":"1396414288","filename":"file2"},{"photo_id":"1396414293","filename":"file4"},{"photo_id":"1396414283","filename":"file1"},{"photo_id":"1396414260","filename":"file0"},{"photo_id":"1396414290","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396414288":["hashtag1","hashtag2"]},{"1396414290":["hashtag1","hashtag2"]},{"1396414293":["hashtag1","hashtag2"]},{"1396414260":["hashtag1","hashtag2"]},{"1396414298":["hashtag1","hashtag2"]},{"1396414283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396414288, 1396414290, 1396414293, 1396414260, 1396414298, 1396414283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11178541183472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:24:41.955440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_29_2655.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_41_2783.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_44_2873.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_48_3640.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_50_2737.jpg', '/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_53_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_29_2655.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_41_2783.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_44_2873.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_48_3640.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_50_2737.jpg
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_23_53_2971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396414399","1396414310","1396414474","1396414440","1396414329","1396414358"],"photo_ids_order":["1396414310","1396414329","1396414358","1396414399","1396414440","1396414474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a553cfd6500ae802b97b416d1d8a3bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6459888801706112090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_48_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/27/0c675e471cafb90fafb8c6bdd87d73bd.jpg","text":"TemporaryFile(/tmp/multipartBody2125951335053760225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_29_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/27/4becfa86e2c072aae242e7d7f310da43.jpg","text":"TemporaryFile(/tmp/multipartBody4074878793863678858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_53_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/27/cf830f9d40df5d12c8696420e52c02bb.jpg","text":"TemporaryFile(/tmp/multipartBody3550530274036804222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_50_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/27/caf5f2ba6ecd3332ba4490eb5b9ed2a1.jpg","text":"TemporaryFile(/tmp/multipartBody4765774473036493209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_41_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/27/7a680cce71189a4c0854ec8347c56a87.jpg","text":"TemporaryFile(/tmp/multipartBody6407413404915456145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260743777,"filename":"image_31102025_03_23_44_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396414358","file1":"1396414329","file0":"1396414310","file4":"1396414440","file5":"1396414474","file3":"1396414399"},"map_files_photo_id_array":[{"photo_id":"1396414474","filename":"file5"},{"photo_id":"1396414358","filename":"file2"},{"photo_id":"1396414440","filename":"file4"},{"photo_id":"1396414329","filename":"file1"},{"photo_id":"1396414310","filename":"file0"},{"photo_id":"1396414399","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396414399":["hashtag1","hashtag2"]},{"1396414310":["hashtag1","hashtag2"]},{"1396414474":["hashtag1","hashtag2"]},{"1396414440":["hashtag1","hashtag2"]},{"1396414329":["hashtag1","hashtag2"]},{"1396414358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396414399, 1396414310, 1396414474, 1396414440, 1396414329, 1396414358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.748093128204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:25:32.124876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_28_3795.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_31_2586.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_34_2620.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_37_3611.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_40_2520.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_46_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_28_3795.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_31_2586.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_34_2620.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_37_3611.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_40_2520.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_46_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396414630","1396414603","1396414596","1396414659","1396414598","1396414688"],"photo_ids_order":["1396414596","1396414598","1396414603","1396414630","1396414659","1396414688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e22a8b194524a36fd399cbeee40f56ca.jpg","text":"TemporaryFile(/tmp/multipartBody4381429756031424252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_37_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/27/a7e6e477f796787e234135d77852f50a.jpg","text":"TemporaryFile(/tmp/multipartBody351137141598196425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_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/27/0125e6388ae85558d19ca1f0354b3559.jpg","text":"TemporaryFile(/tmp/multipartBody5528492452785336091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_28_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/27/76c8f8e1a6319f6b0b40c79b5a8927ec.jpg","text":"TemporaryFile(/tmp/multipartBody3768625715333119689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_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/27/665d37cbad1eb40a763a23abff192b33.jpg","text":"TemporaryFile(/tmp/multipartBody5799734626362390310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_31_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/27/3f423afb2f00c9444d1a2939c49d50ae.jpg","text":"TemporaryFile(/tmp/multipartBody3273945556662727702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260794240,"filename":"image_21112025_21_12_46_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396414603","file1":"1396414598","file0":"1396414596","file4":"1396414659","file5":"1396414688","file3":"1396414630"},"map_files_photo_id_array":[{"photo_id":"1396414688","filename":"file5"},{"photo_id":"1396414603","filename":"file2"},{"photo_id":"1396414659","filename":"file4"},{"photo_id":"1396414598","filename":"file1"},{"photo_id":"1396414596","filename":"file0"},{"photo_id":"1396414630","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396414630":["hashtag1","hashtag2"]},{"1396414603":["hashtag1","hashtag2"]},{"1396414596":["hashtag1","hashtag2"]},{"1396414659":["hashtag1","hashtag2"]},{"1396414598":["hashtag1","hashtag2"]},{"1396414688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396414630, 1396414603, 1396414596, 1396414659, 1396414598, 1396414688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11664795875549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:26:22.330261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_35_9550.jpg', '/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_46_10650.jpg', '/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_56_9663.jpg', '/home/pi/Desktop/images/27112025/13/41/image_27112025_13_42_05_9754.jpg', '/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_16_10559.jpg', '/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_26_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_35_9550.jpg
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_46_10650.jpg
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_41_56_9663.jpg
/home/pi/Desktop/images/27112025/13/41/image_27112025_13_42_05_9754.jpg
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_16_10559.jpg
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_26_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396414856","1396414795","1396414762","1396414825","1396414912","1396414884"],"photo_ids_order":["1396414762","1396414795","1396414825","1396414856","1396414884","1396414912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0b78eac6569af20de5830573f52401f.jpg","text":"TemporaryFile(/tmp/multipartBody3854255202038679894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_42_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f19c623154a5a095aba2a28a0ad959d.jpg","text":"TemporaryFile(/tmp/multipartBody7986792211297110845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_41_46_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/682331405ee1aecff59a0cce83d4d8eb.jpg","text":"TemporaryFile(/tmp/multipartBody15674826970291875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_41_35_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6aea341e09300837a97f23a9c2c53afc.jpg","text":"TemporaryFile(/tmp/multipartBody7838716517134126974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_41_56_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7babf903c82b09f5f80ce275d1329565.jpg","text":"TemporaryFile(/tmp/multipartBody8445587512111747163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_42_26_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70ab33b2007cbfc06d0e34bf66838a37.jpg","text":"TemporaryFile(/tmp/multipartBody2710004820112195099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260843413,"filename":"image_27112025_13_42_16_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396414825","file1":"1396414795","file0":"1396414762","file4":"1396414884","file5":"1396414912","file3":"1396414856"},"map_files_photo_id_array":[{"photo_id":"1396414912","filename":"file5"},{"photo_id":"1396414825","filename":"file2"},{"photo_id":"1396414884","filename":"file4"},{"photo_id":"1396414795","filename":"file1"},{"photo_id":"1396414762","filename":"file0"},{"photo_id":"1396414856","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396414856":["hashtag1","hashtag2"]},{"1396414795":["hashtag1","hashtag2"]},{"1396414762":["hashtag1","hashtag2"]},{"1396414825":["hashtag1","hashtag2"]},{"1396414912":["hashtag1","hashtag2"]},{"1396414884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396414856, 1396414795, 1396414762, 1396414825, 1396414912, 1396414884)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.68367791175842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:27:12.374798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_49_2549.jpg', '/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_52_3620.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_07_3017.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_11_3910.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_14_2707.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_16_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_49_2549.jpg
/home/pi/Desktop/images/21112025/21/12/image_21112025_21_12_52_3620.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_07_3017.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_11_3910.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_14_2707.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_16_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415003","1396415038","1396414981","1396415055","1396415040","1396415030"],"photo_ids_order":["1396414981","1396415003","1396415030","1396415038","1396415040","1396415055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b441ae3c21becc90ea7fac04b5d648e9.jpg","text":"TemporaryFile(/tmp/multipartBody6672136600001921838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_12_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/27/6f53c33f941fb6e59609d3e7d2a1436a.jpg","text":"TemporaryFile(/tmp/multipartBody2550388448110029503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_14_11_3910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcd4938f992b44dcfbbafb580fad4569.jpg","text":"TemporaryFile(/tmp/multipartBody7566836258378058396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_12_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/27/783d4d094d973b330ac9180e15cac396.jpg","text":"TemporaryFile(/tmp/multipartBody3032131848519697134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_14_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/27/9941109b4996e20ae929c883003b7feb.jpg","text":"TemporaryFile(/tmp/multipartBody2440559170645525494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_14_14_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/27/e82a0fadb05a2a373c95c8abd3ef52a6.jpg","text":"TemporaryFile(/tmp/multipartBody545076606363074013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260894317,"filename":"image_21112025_21_14_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415030","file1":"1396415003","file0":"1396414981","file4":"1396415040","file5":"1396415055","file3":"1396415038"},"map_files_photo_id_array":[{"photo_id":"1396415055","filename":"file5"},{"photo_id":"1396415030","filename":"file2"},{"photo_id":"1396415040","filename":"file4"},{"photo_id":"1396415003","filename":"file1"},{"photo_id":"1396414981","filename":"file0"},{"photo_id":"1396415038","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396415003":["hashtag1","hashtag2"]},{"1396415038":["hashtag1","hashtag2"]},{"1396414981":["hashtag1","hashtag2"]},{"1396415055":["hashtag1","hashtag2"]},{"1396415040":["hashtag1","hashtag2"]},{"1396415030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396415003, 1396415038, 1396414981, 1396415055, 1396415040, 1396415030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.469279050827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:28:03.192187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_36_10552.jpg', '/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_46_9625.jpg', '/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_55_9668.jpg', '/home/pi/Desktop/images/27112025/13/42/image_27112025_13_43_06_10651.jpg', '/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_16_9892.jpg', '/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_26_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_36_10552.jpg
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_46_9625.jpg
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_42_55_9668.jpg
/home/pi/Desktop/images/27112025/13/42/image_27112025_13_43_06_10651.jpg
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_16_9892.jpg
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_26_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415152","1396415161","1396415163","1396415160","1396415118","1396415159"],"photo_ids_order":["1396415118","1396415152","1396415159","1396415160","1396415161","1396415163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/113904267409835b0ba55df6a834eff1.jpg","text":"TemporaryFile(/tmp/multipartBody6449970147909927498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_42_46_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbea8ef4be2928f0519bb6f07076043c.jpg","text":"TemporaryFile(/tmp/multipartBody3920481867196841816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_43_16_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0c2a15cc97becd7083ac8ac34bb8789.jpg","text":"TemporaryFile(/tmp/multipartBody1201715892412833306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_43_26_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7685c53f1c67bdfa4b618457939597b7.jpg","text":"TemporaryFile(/tmp/multipartBody5999821596335405458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_43_06_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6db904f0b69d8a1a7636ebd906c8e76e.jpg","text":"TemporaryFile(/tmp/multipartBody2634341822531835572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_42_36_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1e636189c5aacf545edc62e7f9f28db.jpg","text":"TemporaryFile(/tmp/multipartBody3312510237082023634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764260944269,"filename":"image_27112025_13_42_55_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415159","file1":"1396415152","file0":"1396415118","file4":"1396415161","file5":"1396415163","file3":"1396415160"},"map_files_photo_id_array":[{"photo_id":"1396415163","filename":"file5"},{"photo_id":"1396415159","filename":"file2"},{"photo_id":"1396415161","filename":"file4"},{"photo_id":"1396415152","filename":"file1"},{"photo_id":"1396415118","filename":"file0"},{"photo_id":"1396415160","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415152":["hashtag1","hashtag2"]},{"1396415161":["hashtag1","hashtag2"]},{"1396415163":["hashtag1","hashtag2"]},{"1396415160":["hashtag1","hashtag2"]},{"1396415118":["hashtag1","hashtag2"]},{"1396415159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415152, 1396415161, 1396415163, 1396415160, 1396415118, 1396415159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89260721206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:29:02.663745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_35_9756.jpg', '/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_46_10617.jpg', '/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_55_9586.jpg', '/home/pi/Desktop/images/27112025/13/43/image_27112025_13_44_06_10689.jpg', '/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_16_9763.jpg', '/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_26_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_35_9756.jpg
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_46_10617.jpg
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_43_55_9586.jpg
/home/pi/Desktop/images/27112025/13/43/image_27112025_13_44_06_10689.jpg
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_16_9763.jpg
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_26_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415203","1396415199","1396415187","1396415208","1396415192","1396415195"],"photo_ids_order":["1396415187","1396415192","1396415195","1396415199","1396415203","1396415208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d4b35acd1aebbd4363a389e0dbeb615.jpg","text":"TemporaryFile(/tmp/multipartBody1372970543461600944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_44_16_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d48c715cbee6676cfddaeee9083a2eda.jpg","text":"TemporaryFile(/tmp/multipartBody1941084176657562214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_44_06_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c68301046b7c5944d7ade7759bd20fe.jpg","text":"TemporaryFile(/tmp/multipartBody6762206902823198085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_43_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd7a8e8334b1d7aa3f0822864edae2ca.jpg","text":"TemporaryFile(/tmp/multipartBody789970776751095880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_44_26_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3bbc6a434739b4be69f3d6e54ad742b.jpg","text":"TemporaryFile(/tmp/multipartBody7909206817332448487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_43_46_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dccf902fd6b0ce8c3d1bdf2f82d6bd32.jpg","text":"TemporaryFile(/tmp/multipartBody2981243963028970345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261003844,"filename":"image_27112025_13_43_55_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415195","file1":"1396415192","file0":"1396415187","file4":"1396415203","file5":"1396415208","file3":"1396415199"},"map_files_photo_id_array":[{"photo_id":"1396415208","filename":"file5"},{"photo_id":"1396415195","filename":"file2"},{"photo_id":"1396415203","filename":"file4"},{"photo_id":"1396415192","filename":"file1"},{"photo_id":"1396415187","filename":"file0"},{"photo_id":"1396415199","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415203":["hashtag1","hashtag2"]},{"1396415199":["hashtag1","hashtag2"]},{"1396415187":["hashtag1","hashtag2"]},{"1396415208":["hashtag1","hashtag2"]},{"1396415192":["hashtag1","hashtag2"]},{"1396415195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415203, 1396415199, 1396415187, 1396415208, 1396415192, 1396415195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37662649154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:30:02.408092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_35_9624.jpg', '/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_46_10773.jpg', '/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_56_9807.jpg', '/home/pi/Desktop/images/27112025/13/44/image_27112025_13_45_06_9680.jpg', '/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_16_10594.jpg', '/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_26_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_35_9624.jpg
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_46_10773.jpg
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_44_56_9807.jpg
/home/pi/Desktop/images/27112025/13/44/image_27112025_13_45_06_9680.jpg
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_16_10594.jpg
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_26_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415233","1396415224","1396415241","1396415220","1396415237","1396415228"],"photo_ids_order":["1396415220","1396415224","1396415228","1396415233","1396415237","1396415241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/064915e9992ba32bbb33d80fec578a91.jpg","text":"TemporaryFile(/tmp/multipartBody9009894159293188552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_45_06_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf006fbcf2f45c7532059af37fe14b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7753557066580759420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_44_46_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad9a663a3a5c2181e4bfa4e102b6e772.jpg","text":"TemporaryFile(/tmp/multipartBody5193234490891404715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_45_26_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ff7c848414afa252031a08b592cc8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3185227248309061675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_44_35_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/27/6e188d03a6fc9c35e11bd7199d1dacc6.jpg","text":"TemporaryFile(/tmp/multipartBody1852046489554973879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_45_16_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91f298037cda5f07c16c795cb8d30d26.jpg","text":"TemporaryFile(/tmp/multipartBody6078849088555594835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261063286,"filename":"image_27112025_13_44_56_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415228","file1":"1396415224","file0":"1396415220","file4":"1396415237","file5":"1396415241","file3":"1396415233"},"map_files_photo_id_array":[{"photo_id":"1396415241","filename":"file5"},{"photo_id":"1396415228","filename":"file2"},{"photo_id":"1396415237","filename":"file4"},{"photo_id":"1396415224","filename":"file1"},{"photo_id":"1396415220","filename":"file0"},{"photo_id":"1396415233","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415233":["hashtag1","hashtag2"]},{"1396415224":["hashtag1","hashtag2"]},{"1396415241":["hashtag1","hashtag2"]},{"1396415220":["hashtag1","hashtag2"]},{"1396415237":["hashtag1","hashtag2"]},{"1396415228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415233, 1396415224, 1396415241, 1396415220, 1396415237, 1396415228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86063528060913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:31:03.007032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_35_9602.jpg', '/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_46_10624.jpg', '/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_56_9891.jpg', '/home/pi/Desktop/images/27112025/13/45/image_27112025_13_46_06_9697.jpg', '/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_15_9805.jpg', '/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_26_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_35_9602.jpg
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_46_10624.jpg
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_45_56_9891.jpg
/home/pi/Desktop/images/27112025/13/45/image_27112025_13_46_06_9697.jpg
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_15_9805.jpg
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_26_10542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415284","1396415272","1396415281","1396415275","1396415268","1396415279"],"photo_ids_order":["1396415268","1396415272","1396415275","1396415279","1396415281","1396415284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0203b3aed9d021f2c71b114fb8343d44.jpg","text":"TemporaryFile(/tmp/multipartBody3305424622095559600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_46_26_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a73c9b6e0ad88899c281b74b539d35af.jpg","text":"TemporaryFile(/tmp/multipartBody8613850971708481225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_45_46_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9024d2d1a0a39fc8f8780ebe00ea7ea3.jpg","text":"TemporaryFile(/tmp/multipartBody973387145251853963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_46_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7c886e22641495479c341017afbad23.jpg","text":"TemporaryFile(/tmp/multipartBody2907922637504484870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_45_56_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ff0118dea5a466f49b5002147de9746.jpg","text":"TemporaryFile(/tmp/multipartBody4563233743174331535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_45_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7071aafd0554638b5cebc3d762905731.jpg","text":"TemporaryFile(/tmp/multipartBody2790501115950851095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261123969,"filename":"image_27112025_13_46_06_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415275","file1":"1396415272","file0":"1396415268","file4":"1396415281","file5":"1396415284","file3":"1396415279"},"map_files_photo_id_array":[{"photo_id":"1396415284","filename":"file5"},{"photo_id":"1396415275","filename":"file2"},{"photo_id":"1396415281","filename":"file4"},{"photo_id":"1396415272","filename":"file1"},{"photo_id":"1396415268","filename":"file0"},{"photo_id":"1396415279","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415284":["hashtag1","hashtag2"]},{"1396415272":["hashtag1","hashtag2"]},{"1396415281":["hashtag1","hashtag2"]},{"1396415275":["hashtag1","hashtag2"]},{"1396415268":["hashtag1","hashtag2"]},{"1396415279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415284, 1396415272, 1396415281, 1396415275, 1396415268, 1396415279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.137614250183105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:32:02.924423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_36_9555.jpg', '/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_46_10674.jpg', '/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_56_9674.jpg', '/home/pi/Desktop/images/27112025/13/46/image_27112025_13_47_06_9848.jpg', '/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_15_9617.jpg', '/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_26_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_36_9555.jpg
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_46_10674.jpg
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_46_56_9674.jpg
/home/pi/Desktop/images/27112025/13/46/image_27112025_13_47_06_9848.jpg
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_15_9617.jpg
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_26_10775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415315","1396415308","1396415311","1396415305","1396415313","1396415318"],"photo_ids_order":["1396415305","1396415308","1396415311","1396415313","1396415315","1396415318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/892577a03f65d38fb571240d706b99cf.jpg","text":"TemporaryFile(/tmp/multipartBody7428617221914421105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_47_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c84050ea05b9339a4015fe62103b19fd.jpg","text":"TemporaryFile(/tmp/multipartBody3100078971221574679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_46_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e666ae2ad066b98036292f4283bc619.jpg","text":"TemporaryFile(/tmp/multipartBody2909861240216446353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_46_56_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c0344220fd60d35a803b56d979125ea.jpg","text":"TemporaryFile(/tmp/multipartBody4443486299563181865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_46_36_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4efcc6cfd8ff0b955d21980f21c2532d.jpg","text":"TemporaryFile(/tmp/multipartBody4586938373179040498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_47_06_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0616e0f7131442ec2a51c01aa62affd0.jpg","text":"TemporaryFile(/tmp/multipartBody4372143335852258659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261183863,"filename":"image_27112025_13_47_26_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415311","file1":"1396415308","file0":"1396415305","file4":"1396415315","file5":"1396415318","file3":"1396415313"},"map_files_photo_id_array":[{"photo_id":"1396415318","filename":"file5"},{"photo_id":"1396415311","filename":"file2"},{"photo_id":"1396415315","filename":"file4"},{"photo_id":"1396415308","filename":"file1"},{"photo_id":"1396415305","filename":"file0"},{"photo_id":"1396415313","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415315":["hashtag1","hashtag2"]},{"1396415308":["hashtag1","hashtag2"]},{"1396415311":["hashtag1","hashtag2"]},{"1396415305":["hashtag1","hashtag2"]},{"1396415313":["hashtag1","hashtag2"]},{"1396415318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415315, 1396415308, 1396415311, 1396415305, 1396415313, 1396415318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17762517929077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:33:03.447267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_36_9644.jpg', '/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_45_9625.jpg', '/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_56_10725.jpg', '/home/pi/Desktop/images/27112025/13/47/image_27112025_13_48_06_9714.jpg', '/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_16_9794.jpg', '/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_26_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_36_9644.jpg
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_45_9625.jpg
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_47_56_10725.jpg
/home/pi/Desktop/images/27112025/13/47/image_27112025_13_48_06_9714.jpg
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_16_9794.jpg
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_26_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415362","1396415355","1396415358","1396415367","1396415372","1396415360"],"photo_ids_order":["1396415355","1396415358","1396415360","1396415362","1396415367","1396415372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0b7b86519dd616f169d5631ab724ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5868543864362597060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_48_06_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c81c4b0265b647e340033ce2bc6baea.jpg","text":"TemporaryFile(/tmp/multipartBody7459927165348851701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_47_36_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/478638ea230b1ec9c82fd283d1d82eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6395228813775234149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_47_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10600ccdea376cf72cf6dc31424e7284.jpg","text":"TemporaryFile(/tmp/multipartBody1387015070965435242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_48_16_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42384866725cd134df6c77e15e9449dc.jpg","text":"TemporaryFile(/tmp/multipartBody3355587337596844779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_48_26_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed93a4e77083b43cbf23c92be58bf2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5512964022879459934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261244213,"filename":"image_27112025_13_47_56_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415360","file1":"1396415358","file0":"1396415355","file4":"1396415367","file5":"1396415372","file3":"1396415362"},"map_files_photo_id_array":[{"photo_id":"1396415372","filename":"file5"},{"photo_id":"1396415360","filename":"file2"},{"photo_id":"1396415367","filename":"file4"},{"photo_id":"1396415358","filename":"file1"},{"photo_id":"1396415355","filename":"file0"},{"photo_id":"1396415362","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415362":["hashtag1","hashtag2"]},{"1396415355":["hashtag1","hashtag2"]},{"1396415358":["hashtag1","hashtag2"]},{"1396415367":["hashtag1","hashtag2"]},{"1396415372":["hashtag1","hashtag2"]},{"1396415360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415362, 1396415355, 1396415358, 1396415367, 1396415372, 1396415360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72147011756897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:33:42.795638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/23/image_31102025_03_24_00_3690.jpg', '/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_21_3614.jpg', '/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_32_2838.jpg', '/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_35_2731.jpg', '/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_44_2740.jpg', '/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_56_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/23/image_31102025_03_24_00_3690.jpg
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_21_3614.jpg
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_32_2838.jpg
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_35_2731.jpg
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_44_2740.jpg
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_56_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415383","1396415391","1396415385","1396415387","1396415381","1396415395"],"photo_ids_order":["1396415381","1396415383","1396415385","1396415387","1396415391","1396415395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5c83725e403bd07278ce44ed0449672.jpg","text":"TemporaryFile(/tmp/multipartBody7360203690363452562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_21_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/27/c21863db065b8c2dc7ada6014fc9297c.jpg","text":"TemporaryFile(/tmp/multipartBody8767325329521471731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_44_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/27/d4b41da56db73925b9895d4db213d3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8829116890043280481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_32_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/27/15147834b24c95e284a40f53ddb3c700.jpg","text":"TemporaryFile(/tmp/multipartBody5375241051921362959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_35_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/27/80cf2a1a277ae6e120e0c4c5331973ba.jpg","text":"TemporaryFile(/tmp/multipartBody6276481533490456622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_00_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/27/5223db7bdf7059455c892e6d8c17a438.jpg","text":"TemporaryFile(/tmp/multipartBody633860695262216810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261284707,"filename":"image_31102025_03_24_56_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415385","file1":"1396415383","file0":"1396415381","file4":"1396415391","file5":"1396415395","file3":"1396415387"},"map_files_photo_id_array":[{"photo_id":"1396415395","filename":"file5"},{"photo_id":"1396415385","filename":"file2"},{"photo_id":"1396415391","filename":"file4"},{"photo_id":"1396415383","filename":"file1"},{"photo_id":"1396415381","filename":"file0"},{"photo_id":"1396415387","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396415383":["hashtag1","hashtag2"]},{"1396415391":["hashtag1","hashtag2"]},{"1396415385":["hashtag1","hashtag2"]},{"1396415387":["hashtag1","hashtag2"]},{"1396415381":["hashtag1","hashtag2"]},{"1396415395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396415383, 1396415391, 1396415385, 1396415387, 1396415381, 1396415395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39254641532898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:34:31.991155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_19_2782.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_23_3646.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_25_2613.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_29_3564.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_31_2542.jpg', '/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_34_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_19_2782.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_23_3646.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_25_2613.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_29_3564.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_31_2542.jpg
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_34_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415407","1396415422","1396415419","1396415415","1396415409","1396415411"],"photo_ids_order":["1396415407","1396415409","1396415411","1396415415","1396415419","1396415422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd54866534f0a173683cc599e42d86ac.jpg","text":"TemporaryFile(/tmp/multipartBody5309203787943892282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_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/27/6bcb7200bf41254034ffca3fef3d1ea7.jpg","text":"TemporaryFile(/tmp/multipartBody7032939310970294263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_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/27/325e287cc517b40d9d4a7a8cc2bb1147.jpg","text":"TemporaryFile(/tmp/multipartBody635927195951371278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_31_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/27/3f8a4f4e1732ea45a520e52953f0e0dc.jpg","text":"TemporaryFile(/tmp/multipartBody610136063572665436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_29_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/27/418312d7823a7763af59ab6e3ff4988c.jpg","text":"TemporaryFile(/tmp/multipartBody772640560469846081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_23_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/27/156e8751998b239c7da0b367e45cd3b9.jpg","text":"TemporaryFile(/tmp/multipartBody3582277849425871038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261333944,"filename":"image_21112025_21_14_25_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415411","file1":"1396415409","file0":"1396415407","file4":"1396415419","file5":"1396415422","file3":"1396415415"},"map_files_photo_id_array":[{"photo_id":"1396415422","filename":"file5"},{"photo_id":"1396415411","filename":"file2"},{"photo_id":"1396415419","filename":"file4"},{"photo_id":"1396415409","filename":"file1"},{"photo_id":"1396415407","filename":"file0"},{"photo_id":"1396415415","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396415407":["hashtag1","hashtag2"]},{"1396415422":["hashtag1","hashtag2"]},{"1396415419":["hashtag1","hashtag2"]},{"1396415415":["hashtag1","hashtag2"]},{"1396415409":["hashtag1","hashtag2"]},{"1396415411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396415407, 1396415422, 1396415419, 1396415415, 1396415409, 1396415411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.869136571884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 17:35:22.248598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_36_10556.jpg', '/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_46_9681.jpg', '/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_55_9657.jpg', '/home/pi/Desktop/images/27112025/13/48/image_27112025_13_49_05_9869.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_16_10629.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_26_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_36_10556.jpg
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_46_9681.jpg
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_48_55_9657.jpg
/home/pi/Desktop/images/27112025/13/48/image_27112025_13_49_05_9869.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_16_10629.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_26_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415446","1396415440","1396415437","1396415442","1396415451","1396415444"],"photo_ids_order":["1396415437","1396415440","1396415442","1396415444","1396415446","1396415451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b0733ab83927e6219b9c9d49b81ce6b.jpg","text":"TemporaryFile(/tmp/multipartBody6141600528898252965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_49_16_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42224721cd95664ff75c703a08c32a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4159086193578727578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_48_46_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8974612673dd935af56c87627a2dafc7.jpg","text":"TemporaryFile(/tmp/multipartBody3196792809106378948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_48_36_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8607a23651943855a0fa88eeb858abc7.jpg","text":"TemporaryFile(/tmp/multipartBody1065436738887453901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_48_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/279c248cd8278f9489eb3d3803448ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3931416809009189312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_49_26_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/558e8a6d39fd9b8850286a5d5c209607.jpg","text":"TemporaryFile(/tmp/multipartBody8417194041063389019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261383046,"filename":"image_27112025_13_49_05_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415442","file1":"1396415440","file0":"1396415437","file4":"1396415446","file5":"1396415451","file3":"1396415444"},"map_files_photo_id_array":[{"photo_id":"1396415451","filename":"file5"},{"photo_id":"1396415442","filename":"file2"},{"photo_id":"1396415446","filename":"file4"},{"photo_id":"1396415440","filename":"file1"},{"photo_id":"1396415437","filename":"file0"},{"photo_id":"1396415444","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415446":["hashtag1","hashtag2"]},{"1396415440":["hashtag1","hashtag2"]},{"1396415437":["hashtag1","hashtag2"]},{"1396415442":["hashtag1","hashtag2"]},{"1396415451":["hashtag1","hashtag2"]},{"1396415444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415446, 1396415440, 1396415437, 1396415442, 1396415451, 1396415444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33004450798035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:36:02.810163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_36_10655.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_46_9711.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_56_9812.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_50_05_9713.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_16_10584.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_26_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_36_10655.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_46_9711.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_56_9812.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_50_05_9713.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_16_10584.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_26_9635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6251721382141113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:36:12.393946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_38_3674.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_11_3658.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_13_2691.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_16_2683.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_21_4793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/14/image_21112025_21_14_38_3674.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_07_3011.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_11_3658.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_13_2691.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_16_2683.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_21_4793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415472","1396415483","1396415477","1396415486","1396415489","1396415474"],"photo_ids_order":["1396415472","1396415474","1396415477","1396415483","1396415486","1396415489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e747f77e868149d64c40fc78986b5dac.jpg","text":"TemporaryFile(/tmp/multipartBody8485909856843473761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_14_38_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/27/7f49779b47fb7f759518b69f932ecef3.jpg","text":"TemporaryFile(/tmp/multipartBody8343885272416479082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_17_13_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/27/d7f408b8adcac11683e565e913ff24c9.jpg","text":"TemporaryFile(/tmp/multipartBody7126496769303722994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_17_11_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/27/53fcd77ddac2e846f9f72d008a353fde.jpg","text":"TemporaryFile(/tmp/multipartBody1704904084749771195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_17_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/27/a9a27fce0635598a15e51d3ddf4a1bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5402756769413079015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_17_21_4793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5167b628a1561c5d4b5da73dd612c0da.jpg","text":"TemporaryFile(/tmp/multipartBody7783426445700083413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261434093,"filename":"image_21112025_21_17_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415477","file1":"1396415474","file0":"1396415472","file4":"1396415486","file5":"1396415489","file3":"1396415483"},"map_files_photo_id_array":[{"photo_id":"1396415489","filename":"file5"},{"photo_id":"1396415477","filename":"file2"},{"photo_id":"1396415486","filename":"file4"},{"photo_id":"1396415474","filename":"file1"},{"photo_id":"1396415472","filename":"file0"},{"photo_id":"1396415483","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396415472":["hashtag1","hashtag2"]},{"1396415483":["hashtag1","hashtag2"]},{"1396415477":["hashtag1","hashtag2"]},{"1396415486":["hashtag1","hashtag2"]},{"1396415489":["hashtag1","hashtag2"]},{"1396415474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396415472, 1396415483, 1396415477, 1396415486, 1396415489, 1396415474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.385679721832275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:37:03.168785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_36_10655.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_46_9711.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_56_9812.jpg', '/home/pi/Desktop/images/27112025/13/49/image_27112025_13_50_05_9713.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_16_10584.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_26_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_36_10655.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_46_9711.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_49_56_9812.jpg
/home/pi/Desktop/images/27112025/13/49/image_27112025_13_50_05_9713.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_16_10584.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_26_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415513","1396415509","1396415518","1396415503","1396415526","1396415522"],"photo_ids_order":["1396415503","1396415509","1396415513","1396415518","1396415522","1396415526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a7fdfaccbd40babb79d0a7963044153.jpg","text":"TemporaryFile(/tmp/multipartBody2233181368592733528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_49_56_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/155e5fa435b47bce8f86171ff27ac1aa.jpg","text":"TemporaryFile(/tmp/multipartBody7603662429780428807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_49_46_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/768ae9afcca59641ac4a758a08d652be.jpg","text":"TemporaryFile(/tmp/multipartBody3418009890900135568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_50_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e77273eb10c75e030f4983b3c74c977.jpg","text":"TemporaryFile(/tmp/multipartBody7308623444474702053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_49_36_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc33ed21947a97016dc1d5a5b5aefe6f.jpg","text":"TemporaryFile(/tmp/multipartBody3297816299459541719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_50_26_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a089896ea2ec0f73339ec0c4431c1f97.jpg","text":"TemporaryFile(/tmp/multipartBody302962722761146828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261484122,"filename":"image_27112025_13_50_16_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415513","file1":"1396415509","file0":"1396415503","file4":"1396415522","file5":"1396415526","file3":"1396415518"},"map_files_photo_id_array":[{"photo_id":"1396415526","filename":"file5"},{"photo_id":"1396415513","filename":"file2"},{"photo_id":"1396415522","filename":"file4"},{"photo_id":"1396415509","filename":"file1"},{"photo_id":"1396415503","filename":"file0"},{"photo_id":"1396415518","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415513":["hashtag1","hashtag2"]},{"1396415509":["hashtag1","hashtag2"]},{"1396415518":["hashtag1","hashtag2"]},{"1396415503":["hashtag1","hashtag2"]},{"1396415526":["hashtag1","hashtag2"]},{"1396415522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415513, 1396415509, 1396415518, 1396415503, 1396415526, 1396415522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49703931808472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:38:03.281769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_35_9589.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_46_10837.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_56_9573.jpg', '/home/pi/Desktop/images/27112025/13/50/image_27112025_13_51_06_9879.jpg', '/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_15_9815.jpg', '/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_26_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_35_9589.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_46_10837.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_50_56_9573.jpg
/home/pi/Desktop/images/27112025/13/50/image_27112025_13_51_06_9879.jpg
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_15_9815.jpg
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_26_10773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415551","1396415554","1396415556","1396415558","1396415546","1396415555"],"photo_ids_order":["1396415546","1396415551","1396415554","1396415555","1396415556","1396415558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e34b00044ef466a10281c85a60227c3.jpg","text":"TemporaryFile(/tmp/multipartBody2686771285302508845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_50_46_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c78ceddc2f79a5ca63642073240e6238.jpg","text":"TemporaryFile(/tmp/multipartBody6781166803103825510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_50_56_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dba9f8fc1eff00d8922b512d15e4c752.jpg","text":"TemporaryFile(/tmp/multipartBody3217007917106775382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_51_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60a976654556b6d820e8473b6e8348d7.jpg","text":"TemporaryFile(/tmp/multipartBody7124379485006728216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_51_26_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/974745d4c45ac3080658b649d3a57e09.jpg","text":"TemporaryFile(/tmp/multipartBody6527920354671632864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_50_35_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a82be62f0c7d422c2c749846d13e4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3405409266332646838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261544366,"filename":"image_27112025_13_51_06_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415554","file1":"1396415551","file0":"1396415546","file4":"1396415556","file5":"1396415558","file3":"1396415555"},"map_files_photo_id_array":[{"photo_id":"1396415558","filename":"file5"},{"photo_id":"1396415554","filename":"file2"},{"photo_id":"1396415556","filename":"file4"},{"photo_id":"1396415551","filename":"file1"},{"photo_id":"1396415546","filename":"file0"},{"photo_id":"1396415555","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415551":["hashtag1","hashtag2"]},{"1396415554":["hashtag1","hashtag2"]},{"1396415556":["hashtag1","hashtag2"]},{"1396415558":["hashtag1","hashtag2"]},{"1396415546":["hashtag1","hashtag2"]},{"1396415555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415551, 1396415554, 1396415556, 1396415558, 1396415546, 1396415555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20536017417908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:39:02.520105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_36_9600.jpg', '/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_45_9710.jpg', '/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_56_10732.jpg', '/home/pi/Desktop/images/27112025/13/51/image_27112025_13_52_06_9664.jpg', '/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_16_9863.jpg', '/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_26_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_36_9600.jpg
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_45_9710.jpg
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_51_56_10732.jpg
/home/pi/Desktop/images/27112025/13/51/image_27112025_13_52_06_9664.jpg
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_16_9863.jpg
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_26_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415592","1396415595","1396415583","1396415585","1396415579","1396415587"],"photo_ids_order":["1396415579","1396415583","1396415585","1396415587","1396415592","1396415595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2739781a2a803322bbd6ffc40aa45ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6168337526460499594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_52_16_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06a398c2ceaa3472506185401fd6eabe.jpg","text":"TemporaryFile(/tmp/multipartBody3817773722248194912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_52_26_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05c8286d54d7058efa72f9c562b34271.jpg","text":"TemporaryFile(/tmp/multipartBody1955285950234112844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_51_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/950654fc6ed809d3c1d25418ecd87e8c.jpg","text":"TemporaryFile(/tmp/multipartBody741789425641360999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_51_56_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9fdd4a189748712611563f33519c2a31.jpg","text":"TemporaryFile(/tmp/multipartBody7303452112778373177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_51_36_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1320501cb64c616c2fcb38a98aaee70.jpg","text":"TemporaryFile(/tmp/multipartBody3992730897585251188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261603539,"filename":"image_27112025_13_52_06_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415585","file1":"1396415583","file0":"1396415579","file4":"1396415592","file5":"1396415595","file3":"1396415587"},"map_files_photo_id_array":[{"photo_id":"1396415595","filename":"file5"},{"photo_id":"1396415585","filename":"file2"},{"photo_id":"1396415592","filename":"file4"},{"photo_id":"1396415583","filename":"file1"},{"photo_id":"1396415579","filename":"file0"},{"photo_id":"1396415587","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415592":["hashtag1","hashtag2"]},{"1396415595":["hashtag1","hashtag2"]},{"1396415583":["hashtag1","hashtag2"]},{"1396415585":["hashtag1","hashtag2"]},{"1396415579":["hashtag1","hashtag2"]},{"1396415587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415592, 1396415595, 1396415583, 1396415585, 1396415579, 1396415587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11795973777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:40:02.497693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_36_10586.jpg', '/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_46_9673.jpg', '/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_55_9635.jpg', '/home/pi/Desktop/images/27112025/13/52/image_27112025_13_53_06_10541.jpg', '/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_16_9679.jpg', '/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_25_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_36_10586.jpg
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_46_9673.jpg
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_52_55_9635.jpg
/home/pi/Desktop/images/27112025/13/52/image_27112025_13_53_06_10541.jpg
/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_16_9679.jpg
/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_25_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415613","1396415627","1396415621","1396415609","1396415624","1396415618"],"photo_ids_order":["1396415609","1396415613","1396415618","1396415621","1396415624","1396415627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eff62fbe043767759436c994603a67ba.jpg","text":"TemporaryFile(/tmp/multipartBody8597585801513924732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_52_46_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30a3525dc0529f9fe501d460a366f189.jpg","text":"TemporaryFile(/tmp/multipartBody8779428902637179941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_53_25_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b92dfdd3ca4ff8ce73c9becf6baee2c.jpg","text":"TemporaryFile(/tmp/multipartBody9076642732516184786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_53_06_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/973799a50d8406c8c8c0920829f6b82b.jpg","text":"TemporaryFile(/tmp/multipartBody5879632103436838476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_52_36_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c431a1af166bcc36b40e732856df51e1.jpg","text":"TemporaryFile(/tmp/multipartBody5899577957285611330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_53_16_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bca3158d45b0da9a76ec1f5ead9cb1b.jpg","text":"TemporaryFile(/tmp/multipartBody8498297692889818860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261663467,"filename":"image_27112025_13_52_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415618","file1":"1396415613","file0":"1396415609","file4":"1396415624","file5":"1396415627","file3":"1396415621"},"map_files_photo_id_array":[{"photo_id":"1396415627","filename":"file5"},{"photo_id":"1396415618","filename":"file2"},{"photo_id":"1396415624","filename":"file4"},{"photo_id":"1396415613","filename":"file1"},{"photo_id":"1396415609","filename":"file0"},{"photo_id":"1396415621","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415613":["hashtag1","hashtag2"]},{"1396415627":["hashtag1","hashtag2"]},{"1396415621":["hashtag1","hashtag2"]},{"1396415609":["hashtag1","hashtag2"]},{"1396415624":["hashtag1","hashtag2"]},{"1396415618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415613, 1396415627, 1396415621, 1396415609, 1396415624, 1396415618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55821967124939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:41:03.069568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_36_10643.jpg', '/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_46_9890.jpg', '/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_56_9668.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_06_10437.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_16_9774.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_26_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_36_10643.jpg
/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_46_9890.jpg
/home/pi/Desktop/images/27112025/13/53/image_27112025_13_53_56_9668.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_06_10437.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_16_9774.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_26_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415650","1396415664","1396415673","1396415655","1396415684","1396415686"],"photo_ids_order":["1396415650","1396415655","1396415664","1396415673","1396415684","1396415686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f1589ded5054e1bc9eaa36f54f7adf0.jpg","text":"TemporaryFile(/tmp/multipartBody6789555896812503108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_53_36_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a9498a1e99790308e2e2250c5b41422.jpg","text":"TemporaryFile(/tmp/multipartBody3304223906477247831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_53_56_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cbd7b8e8dae2b70a7f6c4ba3be03403.jpg","text":"TemporaryFile(/tmp/multipartBody4328567385343102356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_54_06_10437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0b428e6c9974514ff22b631e04d1aa1.jpg","text":"TemporaryFile(/tmp/multipartBody395010469261540505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_53_46_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a19167f6b834b980514695930b37237.jpg","text":"TemporaryFile(/tmp/multipartBody8975636383275451838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_54_16_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/623aa89d9e90b2499164fd22fa6bad7f.jpg","text":"TemporaryFile(/tmp/multipartBody9153498413867462667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261723900,"filename":"image_27112025_13_54_26_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415664","file1":"1396415655","file0":"1396415650","file4":"1396415684","file5":"1396415686","file3":"1396415673"},"map_files_photo_id_array":[{"photo_id":"1396415686","filename":"file5"},{"photo_id":"1396415664","filename":"file2"},{"photo_id":"1396415684","filename":"file4"},{"photo_id":"1396415655","filename":"file1"},{"photo_id":"1396415650","filename":"file0"},{"photo_id":"1396415673","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415650":["hashtag1","hashtag2"]},{"1396415664":["hashtag1","hashtag2"]},{"1396415673":["hashtag1","hashtag2"]},{"1396415655":["hashtag1","hashtag2"]},{"1396415684":["hashtag1","hashtag2"]},{"1396415686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415650, 1396415664, 1396415673, 1396415655, 1396415684, 1396415686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33871507644653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:42:03.096793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_36_10630.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_46_9588.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_55_9532.jpg', '/home/pi/Desktop/images/27112025/13/54/image_27112025_13_55_06_10606.jpg', '/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_15_9605.jpg', '/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_26_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_36_10630.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_46_9588.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_54_55_9532.jpg
/home/pi/Desktop/images/27112025/13/54/image_27112025_13_55_06_10606.jpg
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_15_9605.jpg
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_26_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415763","1396415775","1396415771","1396415765","1396415759","1396415768"],"photo_ids_order":["1396415759","1396415763","1396415765","1396415768","1396415771","1396415775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/607eb84c36b6cfd666edda4cd9e03cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7873337362097304454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_54_46_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71d1d0b6a460738782f4e091e818833e.jpg","text":"TemporaryFile(/tmp/multipartBody7145263056438979837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_55_26_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40f713e4adea7d8cbc4cff5982decbba.jpg","text":"TemporaryFile(/tmp/multipartBody3252023734721658960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_55_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c526ed202624d61c5c9fba13642e057e.jpg","text":"TemporaryFile(/tmp/multipartBody2154553725365955169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_54_55_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0773bfd6d8ff2d61a99fb1106845911e.jpg","text":"TemporaryFile(/tmp/multipartBody7412960526968195347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_54_36_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9d912e6b35cfc3a382c30ab4a6638df.jpg","text":"TemporaryFile(/tmp/multipartBody4383063339391765541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261784074,"filename":"image_27112025_13_55_06_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415765","file1":"1396415763","file0":"1396415759","file4":"1396415771","file5":"1396415775","file3":"1396415768"},"map_files_photo_id_array":[{"photo_id":"1396415775","filename":"file5"},{"photo_id":"1396415765","filename":"file2"},{"photo_id":"1396415771","filename":"file4"},{"photo_id":"1396415763","filename":"file1"},{"photo_id":"1396415759","filename":"file0"},{"photo_id":"1396415768","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415763":["hashtag1","hashtag2"]},{"1396415775":["hashtag1","hashtag2"]},{"1396415771":["hashtag1","hashtag2"]},{"1396415765":["hashtag1","hashtag2"]},{"1396415759":["hashtag1","hashtag2"]},{"1396415768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415763, 1396415775, 1396415771, 1396415765, 1396415759, 1396415768)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.017741441726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:43:07.127071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_36_9756.jpg', '/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_46_9691.jpg', '/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_55_9671.jpg', '/home/pi/Desktop/images/27112025/13/55/image_27112025_13_56_06_10707.jpg', '/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_16_9733.jpg', '/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_25_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_36_9756.jpg
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_46_9691.jpg
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_55_55_9671.jpg
/home/pi/Desktop/images/27112025/13/55/image_27112025_13_56_06_10707.jpg
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_16_9733.jpg
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_25_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396415986","1396416051","1396415901","1396416023","1396415957","1396415930"],"photo_ids_order":["1396415901","1396415930","1396415957","1396415986","1396416023","1396416051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/502dd434f58360ceef86a185661161e5.jpg","text":"TemporaryFile(/tmp/multipartBody4151481196190877542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_56_06_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2e4ca247eca585682e82afadbbee338.jpg","text":"TemporaryFile(/tmp/multipartBody2615080057996610814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_56_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/924a7715c53e1188904f1a0cd185d478.jpg","text":"TemporaryFile(/tmp/multipartBody3670037869777148536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_55_36_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10a87a9ed686703441038d8818eff03e.jpg","text":"TemporaryFile(/tmp/multipartBody8139625675960263938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_56_16_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9e9e2761b9a04fd9a79ad1a832ac263c.jpg","text":"TemporaryFile(/tmp/multipartBody5121829059966262362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_55_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de643337305c93f83b9ec4d5db5d60b3.jpg","text":"TemporaryFile(/tmp/multipartBody743918051229300738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261849869,"filename":"image_27112025_13_55_46_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396415957","file1":"1396415930","file0":"1396415901","file4":"1396416023","file5":"1396416051","file3":"1396415986"},"map_files_photo_id_array":[{"photo_id":"1396416051","filename":"file5"},{"photo_id":"1396415957","filename":"file2"},{"photo_id":"1396416023","filename":"file4"},{"photo_id":"1396415930","filename":"file1"},{"photo_id":"1396415901","filename":"file0"},{"photo_id":"1396415986","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396415986":["hashtag1","hashtag2"]},{"1396416051":["hashtag1","hashtag2"]},{"1396415901":["hashtag1","hashtag2"]},{"1396416023":["hashtag1","hashtag2"]},{"1396415957":["hashtag1","hashtag2"]},{"1396415930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396415986, 1396416051, 1396415901, 1396416023, 1396415957, 1396415930)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.42463183403015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:44:14.470671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_22_1648.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_25_2585.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_29_3659.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_31_2768.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_34_2631.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_38_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_22_1648.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_25_2585.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_29_3659.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_31_2768.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_34_2631.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_38_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396416451","1396416412","1396416349","1396416322","1396416380","1396416296"],"photo_ids_order":["1396416296","1396416322","1396416349","1396416380","1396416412","1396416451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb8856d63f5212a1632e72c0c270268e.jpg","text":"TemporaryFile(/tmp/multipartBody8595896802884011723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_38_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/27/a983d4d670efc154aa96419b9f01b2db.jpg","text":"TemporaryFile(/tmp/multipartBody9092586622500507848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_34_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/27/02d97550875395779c24abf8a90a99ca.jpg","text":"TemporaryFile(/tmp/multipartBody5140406449495717382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_29_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/27/58a19b0b50b10d42c3c2702ae9a566dc.jpg","text":"TemporaryFile(/tmp/multipartBody1381561237200149422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_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/27/1b861481dce9841a61fddbe382943bce.jpg","text":"TemporaryFile(/tmp/multipartBody6479071295606572425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_31_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/27/ae74679f74ac6c207080db7c23f28f67.jpg","text":"TemporaryFile(/tmp/multipartBody5702543410049123447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261916542,"filename":"image_21112025_21_17_22_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396416349","file1":"1396416322","file0":"1396416296","file4":"1396416412","file5":"1396416451","file3":"1396416380"},"map_files_photo_id_array":[{"photo_id":"1396416451","filename":"file5"},{"photo_id":"1396416349","filename":"file2"},{"photo_id":"1396416412","filename":"file4"},{"photo_id":"1396416322","filename":"file1"},{"photo_id":"1396416296","filename":"file0"},{"photo_id":"1396416380","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396416451":["hashtag1","hashtag2"]},{"1396416412":["hashtag1","hashtag2"]},{"1396416349":["hashtag1","hashtag2"]},{"1396416322":["hashtag1","hashtag2"]},{"1396416380":["hashtag1","hashtag2"]},{"1396416296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396416451, 1396416412, 1396416349, 1396416322, 1396416380, 1396416296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50066614151001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:45:03.479775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_36_10665.jpg', '/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_46_9575.jpg', '/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_55_9797.jpg', '/home/pi/Desktop/images/27112025/13/56/image_27112025_13_57_06_10562.jpg', '/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_16_9697.jpg', '/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_26_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_36_10665.jpg
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_46_9575.jpg
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_56_55_9797.jpg
/home/pi/Desktop/images/27112025/13/56/image_27112025_13_57_06_10562.jpg
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_16_9697.jpg
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_26_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396416597","1396416599","1396416618","1396416603","1396416593","1396416595"],"photo_ids_order":["1396416593","1396416595","1396416597","1396416599","1396416603","1396416618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/011536e4f8ee47be1d237e70706ce515.jpg","text":"TemporaryFile(/tmp/multipartBody2832152513125039970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_56_55_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/669ae171985f8e6d704dabc2a6178868.jpg","text":"TemporaryFile(/tmp/multipartBody8901771170914300544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_57_06_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b3d92197fc50532d488781196f078ad.jpg","text":"TemporaryFile(/tmp/multipartBody3440871616885695766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_57_26_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b1e63491c56454e2cb81691507fc8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4431830392232041932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_57_16_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba7958edaaea007b2c46a2e6cc99c091.jpg","text":"TemporaryFile(/tmp/multipartBody1647077080987068743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_56_36_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c5819a4768169763cb9bbc661ad1b76.jpg","text":"TemporaryFile(/tmp/multipartBody2498473249683470519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764261964485,"filename":"image_27112025_13_56_46_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396416597","file1":"1396416595","file0":"1396416593","file4":"1396416603","file5":"1396416618","file3":"1396416599"},"map_files_photo_id_array":[{"photo_id":"1396416618","filename":"file5"},{"photo_id":"1396416597","filename":"file2"},{"photo_id":"1396416603","filename":"file4"},{"photo_id":"1396416595","filename":"file1"},{"photo_id":"1396416593","filename":"file0"},{"photo_id":"1396416599","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396416597":["hashtag1","hashtag2"]},{"1396416599":["hashtag1","hashtag2"]},{"1396416618":["hashtag1","hashtag2"]},{"1396416603":["hashtag1","hashtag2"]},{"1396416593":["hashtag1","hashtag2"]},{"1396416595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396416597, 1396416599, 1396416618, 1396416603, 1396416593, 1396416595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.318119764328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:46:02.348222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_36_9685.jpg', '/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_46_9705.jpg', '/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_55_9805.jpg', '/home/pi/Desktop/images/27112025/13/57/image_27112025_13_58_06_10564.jpg', '/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_16_9732.jpg', '/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_25_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_36_9685.jpg
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_46_9705.jpg
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_57_55_9805.jpg
/home/pi/Desktop/images/27112025/13/57/image_27112025_13_58_06_10564.jpg
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_16_9732.jpg
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_25_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396416873","1396416811","1396416848","1396416782","1396416842","1396416764"],"photo_ids_order":["1396416764","1396416782","1396416811","1396416842","1396416848","1396416873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e5e2fc3fb2a7144e8ed9029e704b0f8.jpg","text":"TemporaryFile(/tmp/multipartBody9124200605387677804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_58_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d22c6be8fff0c163232e40f3a3cc8bc2.jpg","text":"TemporaryFile(/tmp/multipartBody863987178549864607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_57_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e45c731356f5ca583482a1df9d90e890.jpg","text":"TemporaryFile(/tmp/multipartBody3616738061962676405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_58_16_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c037c5b1215b3ca0b23ac33596e6d39.jpg","text":"TemporaryFile(/tmp/multipartBody1435048701681413628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_57_46_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a0ff9d114c4d9c299f1a0f57328272a.jpg","text":"TemporaryFile(/tmp/multipartBody6033494814912418880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_58_06_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80f59ecf44835adb8a974e3667c6d424.jpg","text":"TemporaryFile(/tmp/multipartBody3541142225311494271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262023360,"filename":"image_27112025_13_57_36_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396416811","file1":"1396416782","file0":"1396416764","file4":"1396416848","file5":"1396416873","file3":"1396416842"},"map_files_photo_id_array":[{"photo_id":"1396416873","filename":"file5"},{"photo_id":"1396416811","filename":"file2"},{"photo_id":"1396416848","filename":"file4"},{"photo_id":"1396416782","filename":"file1"},{"photo_id":"1396416764","filename":"file0"},{"photo_id":"1396416842","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396416873":["hashtag1","hashtag2"]},{"1396416811":["hashtag1","hashtag2"]},{"1396416848":["hashtag1","hashtag2"]},{"1396416782":["hashtag1","hashtag2"]},{"1396416842":["hashtag1","hashtag2"]},{"1396416764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396416873, 1396416811, 1396416848, 1396416782, 1396416842, 1396416764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83817934989929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:47:02.818251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_36_10657.jpg', '/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_46_9675.jpg', '/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_56_9713.jpg', '/home/pi/Desktop/images/27112025/13/58/image_27112025_13_59_06_10005.jpg', '/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_15_9808.jpg', '/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_26_10299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_36_10657.jpg
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_46_9675.jpg
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_58_56_9713.jpg
/home/pi/Desktop/images/27112025/13/58/image_27112025_13_59_06_10005.jpg
/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_15_9808.jpg
/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_26_10299.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396416955","1396416951","1396416939","1396416959","1396416947","1396416943"],"photo_ids_order":["1396416939","1396416943","1396416947","1396416951","1396416955","1396416959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d08dbc05911f78b33d6df1d83ad38d57.jpg","text":"TemporaryFile(/tmp/multipartBody2045116664839372457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_59_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a4fed898bb8c8be0248d9af042dc54c.jpg","text":"TemporaryFile(/tmp/multipartBody199081102953359078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_59_06_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8cc242ecc66233efca29ccd31dbd928b.jpg","text":"TemporaryFile(/tmp/multipartBody5211619987423228660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_58_36_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b53a1de36f85e4f3789a83d450c5d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6653688984576396561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_59_26_10299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0333d1c0a8366bb199324c9d23697e97.jpg","text":"TemporaryFile(/tmp/multipartBody6021405880952540879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_58_56_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf15cd98a5b8cc0e70c2c1818fe7f7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5004106125860864539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262083850,"filename":"image_27112025_13_58_46_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396416947","file1":"1396416943","file0":"1396416939","file4":"1396416955","file5":"1396416959","file3":"1396416951"},"map_files_photo_id_array":[{"photo_id":"1396416959","filename":"file5"},{"photo_id":"1396416947","filename":"file2"},{"photo_id":"1396416955","filename":"file4"},{"photo_id":"1396416943","filename":"file1"},{"photo_id":"1396416939","filename":"file0"},{"photo_id":"1396416951","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396416955":["hashtag1","hashtag2"]},{"1396416951":["hashtag1","hashtag2"]},{"1396416939":["hashtag1","hashtag2"]},{"1396416959":["hashtag1","hashtag2"]},{"1396416947":["hashtag1","hashtag2"]},{"1396416943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396416955, 1396416951, 1396416939, 1396416959, 1396416947, 1396416943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71528697013855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:48:02.640163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_36_9875.jpg', '/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_46_10577.jpg', '/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_55_9168.jpg', '/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_15_10059.jpg', '/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_25_10722.jpg', '/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_35_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_36_9875.jpg
/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_46_10577.jpg
/home/pi/Desktop/images/27112025/13/59/image_27112025_13_59_55_9168.jpg
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_15_10059.jpg
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_25_10722.jpg
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_35_9529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417188","1396417193","1396417104","1396417076","1396417157","1396417055"],"photo_ids_order":["1396417055","1396417076","1396417104","1396417157","1396417188","1396417193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8c2605e14377122337ecefa8d4a8ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2375368797001094290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_14_00_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6e2b7e58a8e1c49d9d7aca57716dcfb.jpg","text":"TemporaryFile(/tmp/multipartBody7787044162363606192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_14_00_35_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2e71f7a63d60e2fa71ac3ec5808a32c.jpg","text":"TemporaryFile(/tmp/multipartBody4701567908226188027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_13_59_55_9168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cac98be3c70e30f8853df437e7be3d60.jpg","text":"TemporaryFile(/tmp/multipartBody6936990215904018722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_13_59_46_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/755fb1fae8fbbc3a38acbd2f372def83.jpg","text":"TemporaryFile(/tmp/multipartBody4553398550388830121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_14_00_15_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c66b2e83cc98f0b17c1682bc242850f.jpg","text":"TemporaryFile(/tmp/multipartBody2920954022565730902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262143652,"filename":"image_27112025_13_59_36_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417104","file1":"1396417076","file0":"1396417055","file4":"1396417188","file5":"1396417193","file3":"1396417157"},"map_files_photo_id_array":[{"photo_id":"1396417193","filename":"file5"},{"photo_id":"1396417104","filename":"file2"},{"photo_id":"1396417188","filename":"file4"},{"photo_id":"1396417076","filename":"file1"},{"photo_id":"1396417055","filename":"file0"},{"photo_id":"1396417157","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417188":["hashtag1","hashtag2"]},{"1396417193":["hashtag1","hashtag2"]},{"1396417104":["hashtag1","hashtag2"]},{"1396417076":["hashtag1","hashtag2"]},{"1396417157":["hashtag1","hashtag2"]},{"1396417055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417188, 1396417193, 1396417104, 1396417076, 1396417157, 1396417055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16510033607483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:49:03.101219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_46_10644.jpg', '/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_55_9626.jpg', '/home/pi/Desktop/images/27112025/14/00/image_27112025_14_01_05_9643.jpg', '/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_16_10779.jpg', '/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_25_9656.jpg', '/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_35_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_46_10644.jpg
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_00_55_9626.jpg
/home/pi/Desktop/images/27112025/14/00/image_27112025_14_01_05_9643.jpg
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_16_10779.jpg
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_25_9656.jpg
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_35_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417386","1396417473","1396417326","1396417401","1396417412","1396417354"],"photo_ids_order":["1396417326","1396417354","1396417386","1396417401","1396417412","1396417473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b057f6d47b5fd2430b8449e7f539fad.jpg","text":"TemporaryFile(/tmp/multipartBody8741452797319099692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_01_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c51d47b20277a7a655e4e77816f1aa8c.jpg","text":"TemporaryFile(/tmp/multipartBody8727779922655249185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_01_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d0f8c6f22ebf72d5ad554018adb90bf.jpg","text":"TemporaryFile(/tmp/multipartBody2560514599056463273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_00_46_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97e94c006bf763118292a672aea587a7.jpg","text":"TemporaryFile(/tmp/multipartBody945495008579342956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_01_16_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ede708811288dbc07c4c8f665fd7b263.jpg","text":"TemporaryFile(/tmp/multipartBody6811880406247468300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_01_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c999e8a2f3f09260d4fa415f482d9004.jpg","text":"TemporaryFile(/tmp/multipartBody6472188252215932651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262204211,"filename":"image_27112025_14_00_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417386","file1":"1396417354","file0":"1396417326","file4":"1396417412","file5":"1396417473","file3":"1396417401"},"map_files_photo_id_array":[{"photo_id":"1396417473","filename":"file5"},{"photo_id":"1396417386","filename":"file2"},{"photo_id":"1396417412","filename":"file4"},{"photo_id":"1396417354","filename":"file1"},{"photo_id":"1396417326","filename":"file0"},{"photo_id":"1396417401","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417386":["hashtag1","hashtag2"]},{"1396417473":["hashtag1","hashtag2"]},{"1396417326":["hashtag1","hashtag2"]},{"1396417401":["hashtag1","hashtag2"]},{"1396417412":["hashtag1","hashtag2"]},{"1396417354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417386, 1396417473, 1396417326, 1396417401, 1396417412, 1396417354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7525110244751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:50:02.953756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_45_9912.jpg', '/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_55_10667.jpg', '/home/pi/Desktop/images/27112025/14/01/image_27112025_14_02_05_9644.jpg', '/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_15_9783.jpg', '/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_25_9694.jpg', '/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_45_9912.jpg
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_01_55_10667.jpg
/home/pi/Desktop/images/27112025/14/01/image_27112025_14_02_05_9644.jpg
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_15_9783.jpg
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_25_9694.jpg
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_35_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417740","1396417641","1396417737","1396417707","1396417700","1396417672"],"photo_ids_order":["1396417641","1396417672","1396417700","1396417707","1396417737","1396417740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/191852dc4baf31d508b9a16d09d46bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4070574219446320674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_02_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/869dfe6cc9dc88cc5da5d0a8c838c891.jpg","text":"TemporaryFile(/tmp/multipartBody6132815046148969740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_01_45_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32ce9fcc461eda2cd501ec2b424ed8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6974503119219927022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_02_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79a9e506e0ed5b8c4c4704bce9ca6fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2879998716107598738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_02_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b04c112f13e21041f208555fa7bcfa85.jpg","text":"TemporaryFile(/tmp/multipartBody7919049903786921377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_02_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c997e061a0d2e984b856d8f19fec33b.jpg","text":"TemporaryFile(/tmp/multipartBody7757258053951171473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262263977,"filename":"image_27112025_14_01_55_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417700","file1":"1396417672","file0":"1396417641","file4":"1396417737","file5":"1396417740","file3":"1396417707"},"map_files_photo_id_array":[{"photo_id":"1396417740","filename":"file5"},{"photo_id":"1396417700","filename":"file2"},{"photo_id":"1396417737","filename":"file4"},{"photo_id":"1396417672","filename":"file1"},{"photo_id":"1396417641","filename":"file0"},{"photo_id":"1396417707","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417740":["hashtag1","hashtag2"]},{"1396417641":["hashtag1","hashtag2"]},{"1396417737":["hashtag1","hashtag2"]},{"1396417707":["hashtag1","hashtag2"]},{"1396417700":["hashtag1","hashtag2"]},{"1396417672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417740, 1396417641, 1396417737, 1396417707, 1396417700, 1396417672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82970452308655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 17:50:42.471079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_59_3723.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_05_2902.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_14_2731.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_26_2864.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_29_3122.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_32_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_59_3723.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_05_2902.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_14_2731.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_26_2864.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_29_3122.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_32_2904.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.359114170074463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:51:03.420277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_45_9880.jpg', '/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_55_9599.jpg', '/home/pi/Desktop/images/27112025/14/02/image_27112025_14_03_05_10675.jpg', '/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_15_9561.jpg', '/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_25_9658.jpg', '/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_35_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_45_9880.jpg
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_02_55_9599.jpg
/home/pi/Desktop/images/27112025/14/02/image_27112025_14_03_05_10675.jpg
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_15_9561.jpg
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_25_9658.jpg
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_35_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417842","1396417824","1396417818","1396417835","1396417831","1396417828"],"photo_ids_order":["1396417818","1396417824","1396417828","1396417831","1396417835","1396417842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed9aed4ae423bb4fc031709ee2d65b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7608290534024965812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_03_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01d3f0ac64c3d9e5d1d8d8a655108cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7373310746451078162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_02_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e236454abcfb2ce08f73d5f84a910cda.jpg","text":"TemporaryFile(/tmp/multipartBody143748158631054346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_02_45_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53f795ceacb0228e0961927e4ecb2279.jpg","text":"TemporaryFile(/tmp/multipartBody4237684488225928862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_03_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90adb598f8e24badcfb40f896745d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5388231851603814111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_03_15_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93b98a633acb49a35facd18e835a158a.jpg","text":"TemporaryFile(/tmp/multipartBody6702868173724339467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262324209,"filename":"image_27112025_14_03_05_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417828","file1":"1396417824","file0":"1396417818","file4":"1396417835","file5":"1396417842","file3":"1396417831"},"map_files_photo_id_array":[{"photo_id":"1396417842","filename":"file5"},{"photo_id":"1396417828","filename":"file2"},{"photo_id":"1396417835","filename":"file4"},{"photo_id":"1396417824","filename":"file1"},{"photo_id":"1396417818","filename":"file0"},{"photo_id":"1396417831","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417842":["hashtag1","hashtag2"]},{"1396417824":["hashtag1","hashtag2"]},{"1396417818":["hashtag1","hashtag2"]},{"1396417835":["hashtag1","hashtag2"]},{"1396417831":["hashtag1","hashtag2"]},{"1396417828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417842, 1396417824, 1396417818, 1396417835, 1396417831, 1396417828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69776225090027 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-27 17:52:02.381091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_45_9328.jpg', '/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_55_10699.jpg', '/home/pi/Desktop/images/27112025/14/03/image_27112025_14_04_05_9563.jpg', '/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_15_9808.jpg', '/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_25_10640.jpg', '/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_35_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_45_9328.jpg
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_03_55_10699.jpg
/home/pi/Desktop/images/27112025/14/03/image_27112025_14_04_05_9563.jpg
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_15_9808.jpg
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_25_10640.jpg
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_35_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417860","1396417877","1396417874","1396417867","1396417870","1396417864"],"photo_ids_order":["1396417860","1396417864","1396417867","1396417870","1396417874","1396417877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/857951c56cdcbbcc71bc8259c1b7f16a.jpg","text":"TemporaryFile(/tmp/multipartBody313651804274768077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_03_45_9328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93d97d1a3d57eb6ed64da50d4a4d2a6e.jpg","text":"TemporaryFile(/tmp/multipartBody9147811510989292389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_04_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a29958c38969412fb3658090afb600ee.jpg","text":"TemporaryFile(/tmp/multipartBody2792605365368003186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_04_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23169819e3ee2f1c2c3b018bc8c5e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3401650227656023116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_04_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b72726d147a103f1d08d8ddd11eb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody6749666329156601345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_04_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00cc45194d1c69f9d11c9f8fd2aa0a77.jpg","text":"TemporaryFile(/tmp/multipartBody5658637677223578777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262383449,"filename":"image_27112025_14_03_55_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417867","file1":"1396417864","file0":"1396417860","file4":"1396417874","file5":"1396417877","file3":"1396417870"},"map_files_photo_id_array":[{"photo_id":"1396417877","filename":"file5"},{"photo_id":"1396417867","filename":"file2"},{"photo_id":"1396417874","filename":"file4"},{"photo_id":"1396417864","filename":"file1"},{"photo_id":"1396417860","filename":"file0"},{"photo_id":"1396417870","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417860":["hashtag1","hashtag2"]},{"1396417877":["hashtag1","hashtag2"]},{"1396417874":["hashtag1","hashtag2"]},{"1396417867":["hashtag1","hashtag2"]},{"1396417870":["hashtag1","hashtag2"]},{"1396417864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417860, 1396417877, 1396417874, 1396417867, 1396417870, 1396417864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33235764503479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:53:02.967532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_45_9700.jpg', '/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_55_10621.jpg', '/home/pi/Desktop/images/27112025/14/04/image_27112025_14_05_05_9727.jpg', '/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_15_9799.jpg', '/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_25_9721.jpg', '/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_35_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_45_9700.jpg
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_04_55_10621.jpg
/home/pi/Desktop/images/27112025/14/04/image_27112025_14_05_05_9727.jpg
/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_15_9799.jpg
/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_25_9721.jpg
/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_35_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417926","1396417916","1396417936","1396417921","1396417930","1396417900"],"photo_ids_order":["1396417900","1396417916","1396417921","1396417926","1396417930","1396417936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c24c2cb505af00c0e606cda5a743251e.jpg","text":"TemporaryFile(/tmp/multipartBody1898119085418489048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_05_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7c50553bdfaa2d32e154f7bb06e3025.jpg","text":"TemporaryFile(/tmp/multipartBody2262088571931139306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_04_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a5b51de5fa9c93a54aaf355521a3596.jpg","text":"TemporaryFile(/tmp/multipartBody2641735413967268634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_05_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/282e5eb02f82348d12ee341022f1752e.jpg","text":"TemporaryFile(/tmp/multipartBody2901790806475223118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_05_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/969fec4b839836ca9d1a9f273582981f.jpg","text":"TemporaryFile(/tmp/multipartBody5006952230975386895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_05_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/985a5829861b297b13a2147527af8545.jpg","text":"TemporaryFile(/tmp/multipartBody3492709662763650428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262443933,"filename":"image_27112025_14_04_45_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417921","file1":"1396417916","file0":"1396417900","file4":"1396417930","file5":"1396417936","file3":"1396417926"},"map_files_photo_id_array":[{"photo_id":"1396417936","filename":"file5"},{"photo_id":"1396417921","filename":"file2"},{"photo_id":"1396417930","filename":"file4"},{"photo_id":"1396417916","filename":"file1"},{"photo_id":"1396417900","filename":"file0"},{"photo_id":"1396417926","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417926":["hashtag1","hashtag2"]},{"1396417916":["hashtag1","hashtag2"]},{"1396417936":["hashtag1","hashtag2"]},{"1396417921":["hashtag1","hashtag2"]},{"1396417930":["hashtag1","hashtag2"]},{"1396417900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417926, 1396417916, 1396417936, 1396417921, 1396417930, 1396417900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.138225078582764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:54:03.136834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_45_9741.jpg', '/home/pi/Desktop/images/27112025/14/05/image_27112025_14_06_05_9705.jpg', '/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_15_10721.jpg', '/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_25_9787.jpg', '/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_35_9556.jpg', '/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_45_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/05/image_27112025_14_05_45_9741.jpg
/home/pi/Desktop/images/27112025/14/05/image_27112025_14_06_05_9705.jpg
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_15_10721.jpg
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_25_9787.jpg
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_35_9556.jpg
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_45_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396417965","1396417972","1396417975","1396417969","1396417960","1396417978"],"photo_ids_order":["1396417960","1396417965","1396417969","1396417972","1396417975","1396417978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c433d56bfe1250cb17e828d383b9fab2.jpg","text":"TemporaryFile(/tmp/multipartBody5241494939251020241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_06_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e8af21cb6ed1950f7019812f1937a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5715685765365930640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_06_25_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f11159b9cdc1ec2a29746e08eb4dceaa.jpg","text":"TemporaryFile(/tmp/multipartBody1178592416461506621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_06_35_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/593cf3bc0ae9847003828d3c6e25762f.jpg","text":"TemporaryFile(/tmp/multipartBody2333386709757241341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_06_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c4b47f8ec8a10f7e38040ce279a03b4.jpg","text":"TemporaryFile(/tmp/multipartBody3873569278205426232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_05_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/306c13c67389bc54412b6527ca449008.jpg","text":"TemporaryFile(/tmp/multipartBody524378382455603989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262504223,"filename":"image_27112025_14_06_45_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396417969","file1":"1396417965","file0":"1396417960","file4":"1396417975","file5":"1396417978","file3":"1396417972"},"map_files_photo_id_array":[{"photo_id":"1396417978","filename":"file5"},{"photo_id":"1396417969","filename":"file2"},{"photo_id":"1396417975","filename":"file4"},{"photo_id":"1396417965","filename":"file1"},{"photo_id":"1396417960","filename":"file0"},{"photo_id":"1396417972","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396417965":["hashtag1","hashtag2"]},{"1396417972":["hashtag1","hashtag2"]},{"1396417975":["hashtag1","hashtag2"]},{"1396417969":["hashtag1","hashtag2"]},{"1396417960":["hashtag1","hashtag2"]},{"1396417978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396417965, 1396417972, 1396417975, 1396417969, 1396417960, 1396417978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.712451696395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:55:03.358012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_55_9636.jpg', '/home/pi/Desktop/images/27112025/14/06/image_27112025_14_07_05_9658.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_16_10746.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_25_9550.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_35_9901.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_45_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_06_55_9636.jpg
/home/pi/Desktop/images/27112025/14/06/image_27112025_14_07_05_9658.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_16_10746.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_25_9550.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_35_9901.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_45_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418004","1396418012","1396418006","1396418017","1396418002","1396418008"],"photo_ids_order":["1396418002","1396418004","1396418006","1396418008","1396418012","1396418017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9f6e9fd31e7fe5cd4c5e855461459cb.jpg","text":"TemporaryFile(/tmp/multipartBody2423146209551149001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_07_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0ebd6642d006e9e749b8c1430fccfd5.jpg","text":"TemporaryFile(/tmp/multipartBody8844544457937545939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_07_35_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/030ab313d69aa56649a0f876a54b7462.jpg","text":"TemporaryFile(/tmp/multipartBody6865804039361523771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_07_16_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a37f824b5102de21daa905818905766.jpg","text":"TemporaryFile(/tmp/multipartBody5812914661498048283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_07_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19934636f7b9b9e2aed4c9f91fdb736e.jpg","text":"TemporaryFile(/tmp/multipartBody8647893644665186089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_06_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb5c79845fdaa0cf34ef26f6ba0e809a.jpg","text":"TemporaryFile(/tmp/multipartBody7211195527405842270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262564380,"filename":"image_27112025_14_07_25_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418006","file1":"1396418004","file0":"1396418002","file4":"1396418012","file5":"1396418017","file3":"1396418008"},"map_files_photo_id_array":[{"photo_id":"1396418017","filename":"file5"},{"photo_id":"1396418006","filename":"file2"},{"photo_id":"1396418012","filename":"file4"},{"photo_id":"1396418004","filename":"file1"},{"photo_id":"1396418002","filename":"file0"},{"photo_id":"1396418008","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418004":["hashtag1","hashtag2"]},{"1396418012":["hashtag1","hashtag2"]},{"1396418006":["hashtag1","hashtag2"]},{"1396418017":["hashtag1","hashtag2"]},{"1396418002":["hashtag1","hashtag2"]},{"1396418008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418004, 1396418012, 1396418006, 1396418017, 1396418002, 1396418008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37724781036377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:56:03.214579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_55_10700.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_08_05_9671.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_15_9730.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_26_10711.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_35_9547.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_45_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_55_10700.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_08_05_9671.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_15_9730.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_26_10711.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_35_9547.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_45_9675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6205036640167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 17:56:12.738394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_43_2674.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_47_3696.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_49_2688.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_52_2678.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_56_3730.jpg', '/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_58_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_43_2674.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_47_3696.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_49_2688.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_52_2678.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_56_3730.jpg
/home/pi/Desktop/images/21112025/21/17/image_21112025_21_17_58_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418136","1396418279","1396418222","1396418193","1396418163","1396418250"],"photo_ids_order":["1396418136","1396418163","1396418193","1396418222","1396418250","1396418279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c729caac0589cff65baf68305a60acf1.jpg","text":"TemporaryFile(/tmp/multipartBody7754630874549198644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_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/27/4b9f5c34c22d09d6b056f67961cc63dd.jpg","text":"TemporaryFile(/tmp/multipartBody4763612221514247104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_58_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/27/7a05f12bf5b01818e8bfb5450048606b.jpg","text":"TemporaryFile(/tmp/multipartBody7979289830292813671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_52_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/27/52976575a451bbb4105907dd878413be.jpg","text":"TemporaryFile(/tmp/multipartBody3156490605657674504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_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/27/b56c28b5d4e531d1e31f4262570363ce.jpg","text":"TemporaryFile(/tmp/multipartBody4278412712661931489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_47_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/27/96866a0807d9b223b081216cf29f2c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8384372716594747358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262634709,"filename":"image_21112025_21_17_56_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418193","file1":"1396418163","file0":"1396418136","file4":"1396418250","file5":"1396418279","file3":"1396418222"},"map_files_photo_id_array":[{"photo_id":"1396418279","filename":"file5"},{"photo_id":"1396418193","filename":"file2"},{"photo_id":"1396418250","filename":"file4"},{"photo_id":"1396418163","filename":"file1"},{"photo_id":"1396418136","filename":"file0"},{"photo_id":"1396418222","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396418136":["hashtag1","hashtag2"]},{"1396418279":["hashtag1","hashtag2"]},{"1396418222":["hashtag1","hashtag2"]},{"1396418193":["hashtag1","hashtag2"]},{"1396418163":["hashtag1","hashtag2"]},{"1396418250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396418136, 1396418279, 1396418222, 1396418193, 1396418163, 1396418250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49361777305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:57:02.570905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_55_10700.jpg', '/home/pi/Desktop/images/27112025/14/07/image_27112025_14_08_05_9671.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_15_9730.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_26_10711.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_35_9547.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_45_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_07_55_10700.jpg
/home/pi/Desktop/images/27112025/14/07/image_27112025_14_08_05_9671.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_15_9730.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_26_10711.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_35_9547.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_45_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418450","1396418393","1396418333","1396418362","1396418422","1396418469"],"photo_ids_order":["1396418333","1396418362","1396418393","1396418422","1396418450","1396418469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f1a5b8d51c63a0d9893e9d0a9522958.jpg","text":"TemporaryFile(/tmp/multipartBody2732267924092663142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_08_35_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6bef1ff87a57d21fcc808acd0c5d52a9.jpg","text":"TemporaryFile(/tmp/multipartBody300723649647180764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_08_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f84eb73f68fcef2dd2887573487eb57a.jpg","text":"TemporaryFile(/tmp/multipartBody4820534044440577551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_07_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/610a4e19c620de16e3c3782d2a54f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody7127017053605555647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_08_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e817401d27feac7e74823b592bdc9aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8895663713457947515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_08_26_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08716073af161697ba75e141f35ae55e.jpg","text":"TemporaryFile(/tmp/multipartBody2679358217947259425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262683481,"filename":"image_27112025_14_08_45_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418393","file1":"1396418362","file0":"1396418333","file4":"1396418450","file5":"1396418469","file3":"1396418422"},"map_files_photo_id_array":[{"photo_id":"1396418469","filename":"file5"},{"photo_id":"1396418393","filename":"file2"},{"photo_id":"1396418450","filename":"file4"},{"photo_id":"1396418362","filename":"file1"},{"photo_id":"1396418333","filename":"file0"},{"photo_id":"1396418422","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418450":["hashtag1","hashtag2"]},{"1396418393":["hashtag1","hashtag2"]},{"1396418333":["hashtag1","hashtag2"]},{"1396418362":["hashtag1","hashtag2"]},{"1396418422":["hashtag1","hashtag2"]},{"1396418469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418450, 1396418393, 1396418333, 1396418362, 1396418422, 1396418469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87377119064331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 17:59:03.107952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_58_12770.jpg', '/home/pi/Desktop/images/27112025/14/08/image_27112025_14_09_05_7818.jpg', '/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_15_9612.jpg', '/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_25_9724.jpg', '/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_35_10552.jpg', '/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_45_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_08_58_12770.jpg
/home/pi/Desktop/images/27112025/14/08/image_27112025_14_09_05_7818.jpg
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_15_9612.jpg
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_25_9724.jpg
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_35_10552.jpg
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_45_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418610","1396418627","1396418621","1396418615","1396418638","1396418632"],"photo_ids_order":["1396418610","1396418615","1396418621","1396418627","1396418632","1396418638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fecd83e0935fc9cea72dd0b4166195b.jpg","text":"TemporaryFile(/tmp/multipartBody1244865444222589828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_08_58_12770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf7aa80475cc2fdffad776b63ee14ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7870691535424514282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_09_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02155b0d88ce7a08300c033357dd18f3.jpg","text":"TemporaryFile(/tmp/multipartBody9056309159420626993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_09_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f8049b79da5bd0f3c86c6847d64c761.jpg","text":"TemporaryFile(/tmp/multipartBody4756287773097771852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_09_05_7818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0efc6165b6a961651847f677ae00573f.jpg","text":"TemporaryFile(/tmp/multipartBody6350417382319202566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_09_45_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b64e79c28fa4463cd5da7e5accd8665.jpg","text":"TemporaryFile(/tmp/multipartBody5803487800498806568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262804217,"filename":"image_27112025_14_09_35_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418621","file1":"1396418615","file0":"1396418610","file4":"1396418632","file5":"1396418638","file3":"1396418627"},"map_files_photo_id_array":[{"photo_id":"1396418638","filename":"file5"},{"photo_id":"1396418621","filename":"file2"},{"photo_id":"1396418632","filename":"file4"},{"photo_id":"1396418615","filename":"file1"},{"photo_id":"1396418610","filename":"file0"},{"photo_id":"1396418627","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418610":["hashtag1","hashtag2"]},{"1396418627":["hashtag1","hashtag2"]},{"1396418621":["hashtag1","hashtag2"]},{"1396418615":["hashtag1","hashtag2"]},{"1396418638":["hashtag1","hashtag2"]},{"1396418632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418610, 1396418627, 1396418621, 1396418615, 1396418638, 1396418632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.36221623420715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:00:03.070056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_55_10605.jpg', '/home/pi/Desktop/images/27112025/14/09/image_27112025_14_10_05_9679.jpg', '/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_15_9613.jpg', '/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_25_10598.jpg', '/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_35_9657.jpg', '/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_46_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_09_55_10605.jpg
/home/pi/Desktop/images/27112025/14/09/image_27112025_14_10_05_9679.jpg
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_15_9613.jpg
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_25_10598.jpg
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_35_9657.jpg
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_46_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418681","1396418678","1396418674","1396418665","1396418670","1396418676"],"photo_ids_order":["1396418665","1396418670","1396418674","1396418676","1396418678","1396418681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22b3cf31fd7cab0a69b38cb1892e637c.jpg","text":"TemporaryFile(/tmp/multipartBody606547386940568014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_10_46_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be7d0a3a6453bdc3ca50d864a7b42662.jpg","text":"TemporaryFile(/tmp/multipartBody7592444323793994005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_10_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7a0985776962920f4f059fffc686e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2415421863233628431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_10_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcca40c087f61177934d5c9361f147cd.jpg","text":"TemporaryFile(/tmp/multipartBody2534884004626837530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_09_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9100e4b7f9a9b35eb8b8fdaa3a537182.jpg","text":"TemporaryFile(/tmp/multipartBody4228752271018029536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_10_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e879f9d8f77f2dacc7da05aa5a57a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2079418558481230284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262863855,"filename":"image_27112025_14_10_25_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418674","file1":"1396418670","file0":"1396418665","file4":"1396418678","file5":"1396418681","file3":"1396418676"},"map_files_photo_id_array":[{"photo_id":"1396418681","filename":"file5"},{"photo_id":"1396418674","filename":"file2"},{"photo_id":"1396418678","filename":"file4"},{"photo_id":"1396418670","filename":"file1"},{"photo_id":"1396418665","filename":"file0"},{"photo_id":"1396418676","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418681":["hashtag1","hashtag2"]},{"1396418678":["hashtag1","hashtag2"]},{"1396418674":["hashtag1","hashtag2"]},{"1396418665":["hashtag1","hashtag2"]},{"1396418670":["hashtag1","hashtag2"]},{"1396418676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418681, 1396418678, 1396418674, 1396418665, 1396418670, 1396418676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.39600205421448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:01:02.574818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_55_9756.jpg', '/home/pi/Desktop/images/27112025/14/10/image_27112025_14_11_05_9570.jpg', '/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_15_9731.jpg', '/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_25_10594.jpg', '/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_35_9688.jpg', '/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_45_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_10_55_9756.jpg
/home/pi/Desktop/images/27112025/14/10/image_27112025_14_11_05_9570.jpg
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_15_9731.jpg
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_25_10594.jpg
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_35_9688.jpg
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_45_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418712","1396418705","1396418708","1396418698","1396418717","1396418702"],"photo_ids_order":["1396418698","1396418702","1396418705","1396418708","1396418712","1396418717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0dfa9fca90dd1e7c7c33ac09035bfd47.jpg","text":"TemporaryFile(/tmp/multipartBody3885023585962098668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_11_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae60e358379661692703a1ba1837f8e9.jpg","text":"TemporaryFile(/tmp/multipartBody450689368144884252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_11_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6df533edd27f0c1550e937c1dd782b43.jpg","text":"TemporaryFile(/tmp/multipartBody3369481744007479329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_11_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad7a27e4d68a76074254c8f55ace0af5.jpg","text":"TemporaryFile(/tmp/multipartBody4522191708309176682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_10_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/504e621d9b4248186be9e6a5c1037c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2614190982753194443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_11_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f98b4b1157cb9729c4e5d0deb8d9b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5507672330440540206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262923683,"filename":"image_27112025_14_11_05_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418705","file1":"1396418702","file0":"1396418698","file4":"1396418712","file5":"1396418717","file3":"1396418708"},"map_files_photo_id_array":[{"photo_id":"1396418717","filename":"file5"},{"photo_id":"1396418705","filename":"file2"},{"photo_id":"1396418712","filename":"file4"},{"photo_id":"1396418702","filename":"file1"},{"photo_id":"1396418698","filename":"file0"},{"photo_id":"1396418708","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418712":["hashtag1","hashtag2"]},{"1396418705":["hashtag1","hashtag2"]},{"1396418708":["hashtag1","hashtag2"]},{"1396418698":["hashtag1","hashtag2"]},{"1396418717":["hashtag1","hashtag2"]},{"1396418702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418712, 1396418705, 1396418708, 1396418698, 1396418717, 1396418702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.375723361968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:02:02.567347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_55_9221.jpg', '/home/pi/Desktop/images/27112025/14/11/image_27112025_14_12_05_10689.jpg', '/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_15_9642.jpg', '/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_25_9970.jpg', '/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_36_10566.jpg', '/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_45_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_11_55_9221.jpg
/home/pi/Desktop/images/27112025/14/11/image_27112025_14_12_05_10689.jpg
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_15_9642.jpg
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_25_9970.jpg
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_36_10566.jpg
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_45_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418742","1396418738","1396418732","1396418751","1396418745","1396418748"],"photo_ids_order":["1396418732","1396418738","1396418742","1396418745","1396418748","1396418751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a02d0f9d2c8096eb63cb0b69ff61c68.jpg","text":"TemporaryFile(/tmp/multipartBody3742337738986226833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_12_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33423eec9987ce7ca2dd4bca6092d1e3.jpg","text":"TemporaryFile(/tmp/multipartBody7163254021129609957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_12_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57b353a332f480fcd7b3baca9960e679.jpg","text":"TemporaryFile(/tmp/multipartBody3711230858022515869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_11_55_9221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e370a9d7211440d17c0135c1d57a9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8603475464998545205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_12_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62da40e95e9673bea6d1330d53bd1424.jpg","text":"TemporaryFile(/tmp/multipartBody305793649946286961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_12_25_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89569d34e6682e8a380f6d717f5c1001.jpg","text":"TemporaryFile(/tmp/multipartBody31903057387789849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764262983529,"filename":"image_27112025_14_12_36_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418742","file1":"1396418738","file0":"1396418732","file4":"1396418748","file5":"1396418751","file3":"1396418745"},"map_files_photo_id_array":[{"photo_id":"1396418751","filename":"file5"},{"photo_id":"1396418742","filename":"file2"},{"photo_id":"1396418748","filename":"file4"},{"photo_id":"1396418738","filename":"file1"},{"photo_id":"1396418732","filename":"file0"},{"photo_id":"1396418745","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418742":["hashtag1","hashtag2"]},{"1396418738":["hashtag1","hashtag2"]},{"1396418732":["hashtag1","hashtag2"]},{"1396418751":["hashtag1","hashtag2"]},{"1396418745":["hashtag1","hashtag2"]},{"1396418748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418742, 1396418738, 1396418732, 1396418751, 1396418745, 1396418748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73832297325134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:03:02.904816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_55_9532.jpg', '/home/pi/Desktop/images/27112025/14/12/image_27112025_14_13_05_10531.jpg', '/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_15_9861.jpg', '/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_25_9532.jpg', '/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_35_10599.jpg', '/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_45_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_12_55_9532.jpg
/home/pi/Desktop/images/27112025/14/12/image_27112025_14_13_05_10531.jpg
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_15_9861.jpg
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_25_9532.jpg
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_35_10599.jpg
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_45_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396418805","1396418783","1396418788","1396418848","1396418790","1396418778"],"photo_ids_order":["1396418778","1396418783","1396418788","1396418790","1396418805","1396418848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eaa37fe3bb5856a6cd76d74ff48cd2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4676629946946465412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_13_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfec795f0bd8ccde5728c8b085d722d5.jpg","text":"TemporaryFile(/tmp/multipartBody6681565647429629263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_13_05_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/442f17aa5e32799c11133cac9e243010.jpg","text":"TemporaryFile(/tmp/multipartBody7611673242839474749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_13_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2f7e53e3255bcb432c9c383e0f5044d.jpg","text":"TemporaryFile(/tmp/multipartBody5104392804740768441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_13_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c911856b214a4e4a8579d42805cdd21.jpg","text":"TemporaryFile(/tmp/multipartBody9088410898174150941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_13_25_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0c4d7d2be6b271e216c6b265f410342.jpg","text":"TemporaryFile(/tmp/multipartBody5865317457513100243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263043851,"filename":"image_27112025_14_12_55_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396418788","file1":"1396418783","file0":"1396418778","file4":"1396418805","file5":"1396418848","file3":"1396418790"},"map_files_photo_id_array":[{"photo_id":"1396418848","filename":"file5"},{"photo_id":"1396418788","filename":"file2"},{"photo_id":"1396418805","filename":"file4"},{"photo_id":"1396418783","filename":"file1"},{"photo_id":"1396418778","filename":"file0"},{"photo_id":"1396418790","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396418805":["hashtag1","hashtag2"]},{"1396418783":["hashtag1","hashtag2"]},{"1396418788":["hashtag1","hashtag2"]},{"1396418848":["hashtag1","hashtag2"]},{"1396418790":["hashtag1","hashtag2"]},{"1396418778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396418805, 1396418783, 1396418788, 1396418848, 1396418790, 1396418778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85724973678589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:04:03.216812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_56_10737.jpg', '/home/pi/Desktop/images/27112025/14/13/image_27112025_14_14_05_9657.jpg', '/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_15_9904.jpg', '/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_25_9801.jpg', '/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_35_9778.jpg', '/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_13_56_10737.jpg
/home/pi/Desktop/images/27112025/14/13/image_27112025_14_14_05_9657.jpg
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_15_9904.jpg
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_25_9801.jpg
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_35_9778.jpg
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_45_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396419044","1396419112","1396419174","1396419075","1396419144","1396419204"],"photo_ids_order":["1396419044","1396419075","1396419112","1396419144","1396419174","1396419204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f12901886ac4d3895adce69a2a02d36.jpg","text":"TemporaryFile(/tmp/multipartBody8072777714922543854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_13_56_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c9c5f394323eb251fc4151a50a5d3e0.jpg","text":"TemporaryFile(/tmp/multipartBody6609308879129503502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_14_15_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d58ec5a9da71bf083896aaa22f3680c.jpg","text":"TemporaryFile(/tmp/multipartBody2032487018881922388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_14_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/762fb1051ace91a116c12391c1030fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6835103447998081295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_14_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b83ceb140b8a0370d9fabd4b9b31e5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8714046993946132542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_14_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5659666d11dc2e4ff9a209c05a501002.jpg","text":"TemporaryFile(/tmp/multipartBody636173835841433391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263104145,"filename":"image_27112025_14_14_45_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396419112","file1":"1396419075","file0":"1396419044","file4":"1396419174","file5":"1396419204","file3":"1396419144"},"map_files_photo_id_array":[{"photo_id":"1396419204","filename":"file5"},{"photo_id":"1396419112","filename":"file2"},{"photo_id":"1396419174","filename":"file4"},{"photo_id":"1396419075","filename":"file1"},{"photo_id":"1396419044","filename":"file0"},{"photo_id":"1396419144","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396419044":["hashtag1","hashtag2"]},{"1396419112":["hashtag1","hashtag2"]},{"1396419174":["hashtag1","hashtag2"]},{"1396419075":["hashtag1","hashtag2"]},{"1396419144":["hashtag1","hashtag2"]},{"1396419204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396419044, 1396419112, 1396419174, 1396419075, 1396419144, 1396419204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23357534408569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:05:03.339449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_55_9661.jpg', '/home/pi/Desktop/images/27112025/14/14/image_27112025_14_15_05_10610.jpg', '/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_15_9720.jpg', '/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_25_10195.jpg', '/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_35_9662.jpg', '/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_14_55_9661.jpg
/home/pi/Desktop/images/27112025/14/14/image_27112025_14_15_05_10610.jpg
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_15_9720.jpg
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_25_10195.jpg
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_35_9662.jpg
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_45_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396419524","1396419518","1396419445","1396419486","1396419528","1396419414"],"photo_ids_order":["1396419414","1396419445","1396419486","1396419518","1396419524","1396419528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15757437813322da6edde0eb52550a49.jpg","text":"TemporaryFile(/tmp/multipartBody1317347272465021459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_15_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94eb046b7cf7b24644c48a94eae6a558.jpg","text":"TemporaryFile(/tmp/multipartBody8571214597885517296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_15_25_10195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3be4ff6c7163557c0363fe701476eaae.jpg","text":"TemporaryFile(/tmp/multipartBody2950757613685478142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_15_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9b367cfc420d471cb407fd98ccbec8d.jpg","text":"TemporaryFile(/tmp/multipartBody4618419197939282650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_15_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c711920b3b83b0864a5267efd5c18203.jpg","text":"TemporaryFile(/tmp/multipartBody4604033236206908971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_15_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c6903602d66cadee51ee7cdd66de9a2.jpg","text":"TemporaryFile(/tmp/multipartBody197269445330491610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263164364,"filename":"image_27112025_14_14_55_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396419486","file1":"1396419445","file0":"1396419414","file4":"1396419524","file5":"1396419528","file3":"1396419518"},"map_files_photo_id_array":[{"photo_id":"1396419528","filename":"file5"},{"photo_id":"1396419486","filename":"file2"},{"photo_id":"1396419524","filename":"file4"},{"photo_id":"1396419445","filename":"file1"},{"photo_id":"1396419414","filename":"file0"},{"photo_id":"1396419518","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396419524":["hashtag1","hashtag2"]},{"1396419518":["hashtag1","hashtag2"]},{"1396419445":["hashtag1","hashtag2"]},{"1396419486":["hashtag1","hashtag2"]},{"1396419528":["hashtag1","hashtag2"]},{"1396419414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396419524, 1396419518, 1396419445, 1396419486, 1396419528, 1396419414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57511830329895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:06:03.294173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_55_10576.jpg', '/home/pi/Desktop/images/27112025/14/15/image_27112025_14_16_05_9723.jpg', '/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_15_9831.jpg', '/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_25_10551.jpg', '/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_35_9723.jpg', '/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_45_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_15_55_10576.jpg
/home/pi/Desktop/images/27112025/14/15/image_27112025_14_16_05_9723.jpg
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_15_9831.jpg
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_25_10551.jpg
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_35_9723.jpg
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_45_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396419833","1396419892","1396419778","1396419733","1396419669","1396419702"],"photo_ids_order":["1396419669","1396419702","1396419733","1396419778","1396419833","1396419892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/852be8d20b1b26c77106f158b9da52aa.jpg","text":"TemporaryFile(/tmp/multipartBody2948880335859853067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_16_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1798f052185c19106dba883a7caef0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1364466016560203480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_16_45_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/408e0abe6130cbc8fa69a26cbd090bae.jpg","text":"TemporaryFile(/tmp/multipartBody8435446295471782031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_16_25_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99feb6184c1cc29ff366d86cd0289d2c.jpg","text":"TemporaryFile(/tmp/multipartBody427201481421705977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_16_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0a1dcaf839b03bb3b5c7198919d37b5.jpg","text":"TemporaryFile(/tmp/multipartBody5823856779732124506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_15_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9fcc00b1f38b7c4219c24f4ea479ff30.jpg","text":"TemporaryFile(/tmp/multipartBody7638633258463846128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263224257,"filename":"image_27112025_14_16_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396419733","file1":"1396419702","file0":"1396419669","file4":"1396419833","file5":"1396419892","file3":"1396419778"},"map_files_photo_id_array":[{"photo_id":"1396419892","filename":"file5"},{"photo_id":"1396419733","filename":"file2"},{"photo_id":"1396419833","filename":"file4"},{"photo_id":"1396419702","filename":"file1"},{"photo_id":"1396419669","filename":"file0"},{"photo_id":"1396419778","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396419833":["hashtag1","hashtag2"]},{"1396419892":["hashtag1","hashtag2"]},{"1396419778":["hashtag1","hashtag2"]},{"1396419733":["hashtag1","hashtag2"]},{"1396419669":["hashtag1","hashtag2"]},{"1396419702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396419833, 1396419892, 1396419778, 1396419733, 1396419669, 1396419702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46482443809509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:07:02.570208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_56_10684.jpg', '/home/pi/Desktop/images/27112025/14/16/image_27112025_14_17_05_9704.jpg', '/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_15_9741.jpg', '/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_25_9693.jpg', '/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_35_10776.jpg', '/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_16_56_10684.jpg
/home/pi/Desktop/images/27112025/14/16/image_27112025_14_17_05_9704.jpg
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_15_9741.jpg
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_25_9693.jpg
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_35_10776.jpg
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_45_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396420364","1396420340","1396420297","1396420312","1396420306","1396420263"],"photo_ids_order":["1396420263","1396420297","1396420306","1396420312","1396420340","1396420364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10605b88928bb3b83cd3cbd4311754cf.jpg","text":"TemporaryFile(/tmp/multipartBody6558126032044960648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_17_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05983ff5e33c960e6081393d4dd311e8.jpg","text":"TemporaryFile(/tmp/multipartBody1080064786367486575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_17_35_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94d942bc9d47909e848c9e665ad8dbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7161402692541058571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_17_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f61e52ec05b9ec602c9c526028ced8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4025866044635546784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_17_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34506222648660daa1f4ef7d16884638.jpg","text":"TemporaryFile(/tmp/multipartBody5583845777786269543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_17_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52be46c1ef145450f335df6a22237d44.jpg","text":"TemporaryFile(/tmp/multipartBody1088066156101132445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263283661,"filename":"image_27112025_14_16_56_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396420306","file1":"1396420297","file0":"1396420263","file4":"1396420340","file5":"1396420364","file3":"1396420312"},"map_files_photo_id_array":[{"photo_id":"1396420364","filename":"file5"},{"photo_id":"1396420306","filename":"file2"},{"photo_id":"1396420340","filename":"file4"},{"photo_id":"1396420297","filename":"file1"},{"photo_id":"1396420263","filename":"file0"},{"photo_id":"1396420312","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396420364":["hashtag1","hashtag2"]},{"1396420340":["hashtag1","hashtag2"]},{"1396420297":["hashtag1","hashtag2"]},{"1396420312":["hashtag1","hashtag2"]},{"1396420306":["hashtag1","hashtag2"]},{"1396420263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396420364, 1396420340, 1396420297, 1396420312, 1396420306, 1396420263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81360650062561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:08:02.511698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_55_9896.jpg', '/home/pi/Desktop/images/27112025/14/17/image_27112025_14_18_05_9826.jpg', '/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_15_9787.jpg', '/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_25_10550.jpg', '/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_35_9659.jpg', '/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_17_55_9896.jpg
/home/pi/Desktop/images/27112025/14/17/image_27112025_14_18_05_9826.jpg
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_15_9787.jpg
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_25_10550.jpg
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_35_9659.jpg
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_45_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396420632","1396420629","1396420608","1396420576","1396420636","1396420644"],"photo_ids_order":["1396420576","1396420608","1396420629","1396420632","1396420636","1396420644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d985c10773ccac170621a09ec329f7fd.jpg","text":"TemporaryFile(/tmp/multipartBody7442260476493404623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_18_25_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12fbad054e2015320c0634db6471ef6a.jpg","text":"TemporaryFile(/tmp/multipartBody478936043960582769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_18_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/436e20a5c6a1af1cb8d8a957aafddf34.jpg","text":"TemporaryFile(/tmp/multipartBody8871078285332073587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_18_05_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d491a768836d6aa8ca62298d08c54f32.jpg","text":"TemporaryFile(/tmp/multipartBody8791141073720623571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_17_55_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99ebe53dc94228a57123ac7183ff2128.jpg","text":"TemporaryFile(/tmp/multipartBody3543960088710044646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_18_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c977a85de14cd80c2299fa5ddad8f666.jpg","text":"TemporaryFile(/tmp/multipartBody6882039235651124572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263343455,"filename":"image_27112025_14_18_45_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396420629","file1":"1396420608","file0":"1396420576","file4":"1396420636","file5":"1396420644","file3":"1396420632"},"map_files_photo_id_array":[{"photo_id":"1396420644","filename":"file5"},{"photo_id":"1396420629","filename":"file2"},{"photo_id":"1396420636","filename":"file4"},{"photo_id":"1396420608","filename":"file1"},{"photo_id":"1396420576","filename":"file0"},{"photo_id":"1396420632","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396420632":["hashtag1","hashtag2"]},{"1396420629":["hashtag1","hashtag2"]},{"1396420608":["hashtag1","hashtag2"]},{"1396420576":["hashtag1","hashtag2"]},{"1396420636":["hashtag1","hashtag2"]},{"1396420644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396420632, 1396420629, 1396420608, 1396420576, 1396420636, 1396420644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92623710632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:09:03.122266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_55_9581.jpg', '/home/pi/Desktop/images/27112025/14/18/image_27112025_14_19_05_9570.jpg', '/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_15_10710.jpg', '/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_25_9671.jpg', '/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_35_9608.jpg', '/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_45_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_18_55_9581.jpg
/home/pi/Desktop/images/27112025/14/18/image_27112025_14_19_05_9570.jpg
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_15_10710.jpg
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_25_9671.jpg
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_35_9608.jpg
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_45_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396421063","1396420961","1396420907","1396421028","1396421001","1396420848"],"photo_ids_order":["1396420848","1396420907","1396420961","1396421001","1396421028","1396421063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64d1451842a6366eb533c1be63e5c523.jpg","text":"TemporaryFile(/tmp/multipartBody971126807780675671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_19_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1152a43885fd59ec1932894e239ba509.jpg","text":"TemporaryFile(/tmp/multipartBody1732290864681709438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_19_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5471bc852dca48bd4846fbbb6bfbd796.jpg","text":"TemporaryFile(/tmp/multipartBody1020523582957216128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_19_05_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9ae5ca5215d859fcc5761a9de943873.jpg","text":"TemporaryFile(/tmp/multipartBody7136222553917873237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_19_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15c6830173dbe4f723faa93a12884049.jpg","text":"TemporaryFile(/tmp/multipartBody3698346864910418837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_19_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a9014fe17b44ac404b72d094f43eb2b.jpg","text":"TemporaryFile(/tmp/multipartBody6567171930483487228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263404222,"filename":"image_27112025_14_18_55_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396420961","file1":"1396420907","file0":"1396420848","file4":"1396421028","file5":"1396421063","file3":"1396421001"},"map_files_photo_id_array":[{"photo_id":"1396421063","filename":"file5"},{"photo_id":"1396420961","filename":"file2"},{"photo_id":"1396421028","filename":"file4"},{"photo_id":"1396420907","filename":"file1"},{"photo_id":"1396420848","filename":"file0"},{"photo_id":"1396421001","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396421063":["hashtag1","hashtag2"]},{"1396420961":["hashtag1","hashtag2"]},{"1396420907":["hashtag1","hashtag2"]},{"1396421028":["hashtag1","hashtag2"]},{"1396421001":["hashtag1","hashtag2"]},{"1396420848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396421063, 1396420961, 1396420907, 1396421028, 1396421001, 1396420848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5184109210968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:10:02.810841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_55_9767.jpg', '/home/pi/Desktop/images/27112025/14/19/image_27112025_14_20_05_9821.jpg', '/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_15_9687.jpg', '/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_25_10559.jpg', '/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_35_9555.jpg', '/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_45_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_19_55_9767.jpg
/home/pi/Desktop/images/27112025/14/19/image_27112025_14_20_05_9821.jpg
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_15_9687.jpg
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_25_10559.jpg
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_35_9555.jpg
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_45_10782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396421363","1396421395","1396421300","1396421266","1396421428","1396421329"],"photo_ids_order":["1396421266","1396421300","1396421329","1396421363","1396421395","1396421428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c3ab8b034999a4c702a70c973775b68.jpg","text":"TemporaryFile(/tmp/multipartBody7684183829851734247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_20_25_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30d4c99c752190c0a5a13d8d5fea2560.jpg","text":"TemporaryFile(/tmp/multipartBody353619132184045038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_20_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffae3877bc0df46f9b685305ebaa63ab.jpg","text":"TemporaryFile(/tmp/multipartBody7663854730397314727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_20_05_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92eb4941e482be688b15a402f7f24d98.jpg","text":"TemporaryFile(/tmp/multipartBody6760513251617665135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_19_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f29ddc4635ecff49fb25448b31156ce.jpg","text":"TemporaryFile(/tmp/multipartBody5089973966448946714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_20_45_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/edce6f9f110e42358b4493f680cd4d48.jpg","text":"TemporaryFile(/tmp/multipartBody3962539510690496558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263463855,"filename":"image_27112025_14_20_15_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396421329","file1":"1396421300","file0":"1396421266","file4":"1396421395","file5":"1396421428","file3":"1396421363"},"map_files_photo_id_array":[{"photo_id":"1396421428","filename":"file5"},{"photo_id":"1396421329","filename":"file2"},{"photo_id":"1396421395","filename":"file4"},{"photo_id":"1396421300","filename":"file1"},{"photo_id":"1396421266","filename":"file0"},{"photo_id":"1396421363","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396421363":["hashtag1","hashtag2"]},{"1396421395":["hashtag1","hashtag2"]},{"1396421300":["hashtag1","hashtag2"]},{"1396421266":["hashtag1","hashtag2"]},{"1396421428":["hashtag1","hashtag2"]},{"1396421329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396421363, 1396421395, 1396421300, 1396421266, 1396421428, 1396421329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78965616226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:11:03.212924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_55_9740.jpg', '/home/pi/Desktop/images/27112025/14/20/image_27112025_14_21_05_9710.jpg', '/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_15_9724.jpg', '/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_25_10553.jpg', '/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_35_9662.jpg', '/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_46_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_20_55_9740.jpg
/home/pi/Desktop/images/27112025/14/20/image_27112025_14_21_05_9710.jpg
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_15_9724.jpg
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_25_10553.jpg
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_35_9662.jpg
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_46_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396421489","1396421474","1396421518","1396421614","1396421580","1396421547"],"photo_ids_order":["1396421474","1396421489","1396421518","1396421547","1396421580","1396421614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e86205339a12744a26fc199a55d76ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7125074793539133387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_21_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eeb4f7bf64dc7d25b4d98a9cfbd869e7.jpg","text":"TemporaryFile(/tmp/multipartBody4715755256202346686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_20_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b264220c61869792dcfd31ea85ca30cf.jpg","text":"TemporaryFile(/tmp/multipartBody1197381305111488490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_21_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab42d5a4fbf2c1bd1e804dd976273f87.jpg","text":"TemporaryFile(/tmp/multipartBody3870470592399362316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_21_46_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fb5318af29782f7ba7ba83e5ffdb02d.jpg","text":"TemporaryFile(/tmp/multipartBody9216684681548068414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_21_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3538f59eaee543617dc653eb94a9bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1010659184822737245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263524241,"filename":"image_27112025_14_21_25_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396421518","file1":"1396421489","file0":"1396421474","file4":"1396421580","file5":"1396421614","file3":"1396421547"},"map_files_photo_id_array":[{"photo_id":"1396421614","filename":"file5"},{"photo_id":"1396421518","filename":"file2"},{"photo_id":"1396421580","filename":"file4"},{"photo_id":"1396421489","filename":"file1"},{"photo_id":"1396421474","filename":"file0"},{"photo_id":"1396421547","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396421489":["hashtag1","hashtag2"]},{"1396421474":["hashtag1","hashtag2"]},{"1396421518":["hashtag1","hashtag2"]},{"1396421614":["hashtag1","hashtag2"]},{"1396421580":["hashtag1","hashtag2"]},{"1396421547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396421489, 1396421474, 1396421518, 1396421614, 1396421580, 1396421547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31567454338074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:12:03.159457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_55_9571.jpg', '/home/pi/Desktop/images/27112025/14/21/image_27112025_14_22_05_9662.jpg', '/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_15_10595.jpg', '/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_25_9639.jpg', '/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_35_9605.jpg', '/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_45_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_21_55_9571.jpg
/home/pi/Desktop/images/27112025/14/21/image_27112025_14_22_05_9662.jpg
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_15_10595.jpg
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_25_9639.jpg
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_35_9605.jpg
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_45_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396421960","1396422008","1396421920","1396421865","1396421826","1396422041"],"photo_ids_order":["1396421826","1396421865","1396421920","1396421960","1396422008","1396422041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/799bcffcea9417718956efe3645a200c.jpg","text":"TemporaryFile(/tmp/multipartBody4568715536254357570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_22_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0add44fe70f167b07acf13b2cc3b1367.jpg","text":"TemporaryFile(/tmp/multipartBody5362442425418359699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_22_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec20a527cdd84a6fe0ec8c3206d1b9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8251794434539418363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_22_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6335e771f0c3d5631fff3dad34bffbb.jpg","text":"TemporaryFile(/tmp/multipartBody6278419782168855489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_22_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/185e478d3031c176ced045bfd63ba44e.jpg","text":"TemporaryFile(/tmp/multipartBody6676453910651566881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_21_55_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/981700b22113f5c0864f829b6a8ea46a.jpg","text":"TemporaryFile(/tmp/multipartBody2596073336863956370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263584216,"filename":"image_27112025_14_22_45_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396421920","file1":"1396421865","file0":"1396421826","file4":"1396422008","file5":"1396422041","file3":"1396421960"},"map_files_photo_id_array":[{"photo_id":"1396422041","filename":"file5"},{"photo_id":"1396421920","filename":"file2"},{"photo_id":"1396422008","filename":"file4"},{"photo_id":"1396421865","filename":"file1"},{"photo_id":"1396421826","filename":"file0"},{"photo_id":"1396421960","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396421960":["hashtag1","hashtag2"]},{"1396422008":["hashtag1","hashtag2"]},{"1396421920":["hashtag1","hashtag2"]},{"1396421865":["hashtag1","hashtag2"]},{"1396421826":["hashtag1","hashtag2"]},{"1396422041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396421960, 1396422008, 1396421920, 1396421865, 1396421826, 1396422041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39270877838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:13:02.569453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_55_9682.jpg', '/home/pi/Desktop/images/27112025/14/22/image_27112025_14_23_05_9669.jpg', '/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_15_10762.jpg', '/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_25_9750.jpg', '/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_35_9702.jpg', '/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_46_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_22_55_9682.jpg
/home/pi/Desktop/images/27112025/14/22/image_27112025_14_23_05_9669.jpg
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_15_10762.jpg
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_25_9750.jpg
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_35_9702.jpg
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_46_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396422239","1396422289","1396422270","1396422306","1396422296","1396422293"],"photo_ids_order":["1396422239","1396422270","1396422289","1396422293","1396422296","1396422306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fcc605d8ead75df8fb0dc11e56b5e96.jpg","text":"TemporaryFile(/tmp/multipartBody3115126951754511594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_22_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fff6c73aa1cd01e334d89f9f6355bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4187951207484159489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_23_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44a8bbf461109c756a8972fe137833d0.jpg","text":"TemporaryFile(/tmp/multipartBody8597238218174645497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_23_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11ea884ea72de9eec3e77de54c234c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3564618800431680079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_23_46_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c03c5925f4cc7cb7a37014e91f149871.jpg","text":"TemporaryFile(/tmp/multipartBody704886322455923880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_23_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aea6c03ed004e830babd9e4b6a2c8ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1808140552339125217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263643537,"filename":"image_27112025_14_23_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396422289","file1":"1396422270","file0":"1396422239","file4":"1396422296","file5":"1396422306","file3":"1396422293"},"map_files_photo_id_array":[{"photo_id":"1396422306","filename":"file5"},{"photo_id":"1396422289","filename":"file2"},{"photo_id":"1396422296","filename":"file4"},{"photo_id":"1396422270","filename":"file1"},{"photo_id":"1396422239","filename":"file0"},{"photo_id":"1396422293","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396422239":["hashtag1","hashtag2"]},{"1396422289":["hashtag1","hashtag2"]},{"1396422270":["hashtag1","hashtag2"]},{"1396422306":["hashtag1","hashtag2"]},{"1396422296":["hashtag1","hashtag2"]},{"1396422293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396422239, 1396422289, 1396422270, 1396422306, 1396422296, 1396422293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38469362258911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:14:02.644651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_56_10005.jpg', '/home/pi/Desktop/images/27112025/14/23/image_27112025_14_24_05_9640.jpg', '/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_15_9661.jpg', '/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_25_9809.jpg', '/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_35_10800.jpg', '/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_45_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_23_56_10005.jpg
/home/pi/Desktop/images/27112025/14/23/image_27112025_14_24_05_9640.jpg
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_15_9661.jpg
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_25_9809.jpg
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_35_10800.jpg
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_45_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396422574","1396422481","1396422454","1396422520","1396422489","1396422492"],"photo_ids_order":["1396422454","1396422481","1396422489","1396422492","1396422520","1396422574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6a3eca7a1ac0cfa559e48bf46bd5a81.jpg","text":"TemporaryFile(/tmp/multipartBody9175666126342273224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_24_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e57e9b411e499fca5bed5337e9252569.jpg","text":"TemporaryFile(/tmp/multipartBody2289402289381049085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_24_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb7df5ac91a11b0036bc5026099f699a.jpg","text":"TemporaryFile(/tmp/multipartBody4661573864731366432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_23_56_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/406757515f09507032a2b3d1ff9b749f.jpg","text":"TemporaryFile(/tmp/multipartBody6997157775371747893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_24_35_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d97f860753994b2c2cd53f2c27019911.jpg","text":"TemporaryFile(/tmp/multipartBody2713301911022287394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_24_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e7d038a31f385d8ff73c5fa95ceaebe.jpg","text":"TemporaryFile(/tmp/multipartBody6552732396766524667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263703699,"filename":"image_27112025_14_24_25_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396422489","file1":"1396422481","file0":"1396422454","file4":"1396422520","file5":"1396422574","file3":"1396422492"},"map_files_photo_id_array":[{"photo_id":"1396422574","filename":"file5"},{"photo_id":"1396422489","filename":"file2"},{"photo_id":"1396422520","filename":"file4"},{"photo_id":"1396422481","filename":"file1"},{"photo_id":"1396422454","filename":"file0"},{"photo_id":"1396422492","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396422574":["hashtag1","hashtag2"]},{"1396422481":["hashtag1","hashtag2"]},{"1396422454":["hashtag1","hashtag2"]},{"1396422520":["hashtag1","hashtag2"]},{"1396422489":["hashtag1","hashtag2"]},{"1396422492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396422574, 1396422481, 1396422454, 1396422520, 1396422489, 1396422492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2463436126709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:15:02.924141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_55_9616.jpg', '/home/pi/Desktop/images/27112025/14/24/image_27112025_14_25_05_10586.jpg', '/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_15_9795.jpg', '/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_25_9753.jpg', '/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_36_10685.jpg', '/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_24_55_9616.jpg
/home/pi/Desktop/images/27112025/14/24/image_27112025_14_25_05_10586.jpg
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_15_9795.jpg
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_25_9753.jpg
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_36_10685.jpg
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_45_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396423018","1396423048","1396422925","1396422984","1396422882","1396422957"],"photo_ids_order":["1396422882","1396422925","1396422957","1396422984","1396423018","1396423048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59de83e41c6c159439f8fe23b10655c2.jpg","text":"TemporaryFile(/tmp/multipartBody6803269913121797985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_25_36_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d10211eba0faeaea302d784a74bb5f3.jpg","text":"TemporaryFile(/tmp/multipartBody2312950772741012292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_25_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/019d8120a1f8262f3082698d363f3c04.jpg","text":"TemporaryFile(/tmp/multipartBody8540028445755976942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_25_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/373aabde1d89afefa04a32ab05a807c1.jpg","text":"TemporaryFile(/tmp/multipartBody6801452106825594916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_25_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b2018beb43ac04561faf1b0cbebb57e.jpg","text":"TemporaryFile(/tmp/multipartBody8777372678936328762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_24_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcd918ef52fee9749b408442e8bc27cb.jpg","text":"TemporaryFile(/tmp/multipartBody5292721819854473186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263763801,"filename":"image_27112025_14_25_15_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396422957","file1":"1396422925","file0":"1396422882","file4":"1396423018","file5":"1396423048","file3":"1396422984"},"map_files_photo_id_array":[{"photo_id":"1396423048","filename":"file5"},{"photo_id":"1396422957","filename":"file2"},{"photo_id":"1396423018","filename":"file4"},{"photo_id":"1396422925","filename":"file1"},{"photo_id":"1396422882","filename":"file0"},{"photo_id":"1396422984","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396423018":["hashtag1","hashtag2"]},{"1396423048":["hashtag1","hashtag2"]},{"1396422925":["hashtag1","hashtag2"]},{"1396422984":["hashtag1","hashtag2"]},{"1396422882":["hashtag1","hashtag2"]},{"1396422957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396423018, 1396423048, 1396422925, 1396422984, 1396422882, 1396422957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59631872177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:16:02.913560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_55_9733.jpg', '/home/pi/Desktop/images/27112025/14/25/image_27112025_14_26_06_10608.jpg', '/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_15_9838.jpg', '/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_25_9604.jpg', '/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_35_9605.jpg', '/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_45_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_25_55_9733.jpg
/home/pi/Desktop/images/27112025/14/25/image_27112025_14_26_06_10608.jpg
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_15_9838.jpg
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_25_9604.jpg
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_35_9605.jpg
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_45_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396423153","1396423207","1396423176","1396423140","1396423242","1396423125"],"photo_ids_order":["1396423125","1396423140","1396423153","1396423176","1396423207","1396423242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11a57749ddfdbd2ba5a21c452e76b23d.jpg","text":"TemporaryFile(/tmp/multipartBody5633238778959803906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_26_15_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c69345fae08aba5c627e2d5abf659e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1153447431391522351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_26_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62ba34d994135af71a57728e47a4e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6222117598272977986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_26_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d91e255e209a4001a817ac431512469.jpg","text":"TemporaryFile(/tmp/multipartBody1234189628328625764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_26_06_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0394112973564a692d2462565c9258df.jpg","text":"TemporaryFile(/tmp/multipartBody4498095583335670922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_26_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33687a1861b25f18d0c87c01fcd0def1.jpg","text":"TemporaryFile(/tmp/multipartBody317173137969399987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263823831,"filename":"image_27112025_14_25_55_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396423153","file1":"1396423140","file0":"1396423125","file4":"1396423207","file5":"1396423242","file3":"1396423176"},"map_files_photo_id_array":[{"photo_id":"1396423242","filename":"file5"},{"photo_id":"1396423153","filename":"file2"},{"photo_id":"1396423207","filename":"file4"},{"photo_id":"1396423140","filename":"file1"},{"photo_id":"1396423125","filename":"file0"},{"photo_id":"1396423176","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396423153":["hashtag1","hashtag2"]},{"1396423207":["hashtag1","hashtag2"]},{"1396423176":["hashtag1","hashtag2"]},{"1396423140":["hashtag1","hashtag2"]},{"1396423242":["hashtag1","hashtag2"]},{"1396423125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396423153, 1396423207, 1396423176, 1396423140, 1396423242, 1396423125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66241407394409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:17:03.198905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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
 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 10
2025-11-27 18:17:22.666709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_55_9648.jpg', '/home/pi/Desktop/images/27112025/14/26/image_27112025_14_27_05_10651.jpg', '/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_15_9577.jpg', '/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_25_9617.jpg', '/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_35_10662.jpg', '/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_45_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_26_55_9648.jpg
/home/pi/Desktop/images/27112025/14/26/image_27112025_14_27_05_10651.jpg
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_15_9577.jpg
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_25_9617.jpg
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_35_10662.jpg
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_45_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396423624","1396423656","1396423610","1396423604","1396423660","1396423607"],"photo_ids_order":["1396423604","1396423607","1396423610","1396423624","1396423656","1396423660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e90d650662ce544062fc22a6a35bb4b6.jpg","text":"TemporaryFile(/tmp/multipartBody5391320962498083989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_27_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff6006d8e04684c4068c42f72d912d88.jpg","text":"TemporaryFile(/tmp/multipartBody5056194855400102853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_27_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ea78a4bb87008109ba4bde452ae351a.jpg","text":"TemporaryFile(/tmp/multipartBody6565697836223168403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_27_15_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a86e6844cf20c8e0db7dc60528191056.jpg","text":"TemporaryFile(/tmp/multipartBody6100854567184003400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_26_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85c25288a0c7f5826afe7d94d729bbd3.jpg","text":"TemporaryFile(/tmp/multipartBody2270213034788155538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_27_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccbb007d3c1716d321dfa9ae3c13311f.jpg","text":"TemporaryFile(/tmp/multipartBody7441640302883318180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263903679,"filename":"image_27112025_14_27_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396423610","file1":"1396423607","file0":"1396423604","file4":"1396423656","file5":"1396423660","file3":"1396423624"},"map_files_photo_id_array":[{"photo_id":"1396423660","filename":"file5"},{"photo_id":"1396423610","filename":"file2"},{"photo_id":"1396423656","filename":"file4"},{"photo_id":"1396423607","filename":"file1"},{"photo_id":"1396423604","filename":"file0"},{"photo_id":"1396423624","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396423624":["hashtag1","hashtag2"]},{"1396423656":["hashtag1","hashtag2"]},{"1396423610":["hashtag1","hashtag2"]},{"1396423604":["hashtag1","hashtag2"]},{"1396423660":["hashtag1","hashtag2"]},{"1396423607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396423624, 1396423656, 1396423610, 1396423604, 1396423660, 1396423607)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.76754665374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:18:12.689012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_17_1729.jpg', '/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_19_1648.jpg', '/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_20_1678.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_07_3018.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_22_2539.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_25_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_17_1729.jpg
/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_19_1648.jpg
/home/pi/Desktop/images/21112025/21/18/image_21112025_21_18_20_1678.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_07_3018.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_22_2539.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_25_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396423858","1396424106","1396423992","1396423931","1396424053","1396423894"],"photo_ids_order":["1396423858","1396423894","1396423931","1396423992","1396424053","1396424106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64dc3e9f5b87fc677c994bbfa426ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody2300710717294245569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_18_17_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f794b92f1111a1b83ca7d2b6741689a9.jpg","text":"TemporaryFile(/tmp/multipartBody3336256347628069136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_19_25_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/27/77c420a51800b81a1bdbf97a2720159e.jpg","text":"TemporaryFile(/tmp/multipartBody6326379005764273959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_19_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/27/89a4e57132fd2dca6e96419d1dfc31fd.jpg","text":"TemporaryFile(/tmp/multipartBody9167175951806312845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_18_20_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/27/0f439d1dc44af94e3b6971b232695ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5769388820486734896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_19_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/27/12b200bcb93fb9f1c7a79e7a403c39e5.jpg","text":"TemporaryFile(/tmp/multipartBody6335332478235681859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764263954574,"filename":"image_21112025_21_18_19_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396423931","file1":"1396423894","file0":"1396423858","file4":"1396424053","file5":"1396424106","file3":"1396423992"},"map_files_photo_id_array":[{"photo_id":"1396424106","filename":"file5"},{"photo_id":"1396423931","filename":"file2"},{"photo_id":"1396424053","filename":"file4"},{"photo_id":"1396423894","filename":"file1"},{"photo_id":"1396423858","filename":"file0"},{"photo_id":"1396423992","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396423858":["hashtag1","hashtag2"]},{"1396424106":["hashtag1","hashtag2"]},{"1396423992":["hashtag1","hashtag2"]},{"1396423931":["hashtag1","hashtag2"]},{"1396424053":["hashtag1","hashtag2"]},{"1396423894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396423858, 1396424106, 1396423992, 1396423931, 1396424053, 1396423894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60266876220703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:19:02.926571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_55_9621.jpg', '/home/pi/Desktop/images/27112025/14/27/image_27112025_14_28_05_10640.jpg', '/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_15_9643.jpg', '/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_25_9857.jpg', '/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_36_10697.jpg', '/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_45_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_27_55_9621.jpg
/home/pi/Desktop/images/27112025/14/27/image_27112025_14_28_05_10640.jpg
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_15_9643.jpg
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_25_9857.jpg
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_36_10697.jpg
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_45_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396424379","1396424412","1396424313","1396424275","1396424350","1396424239"],"photo_ids_order":["1396424239","1396424275","1396424313","1396424350","1396424379","1396424412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7932f69cba46f2e52e391bbe1076aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody9102440564753537785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_28_36_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a9ded900b2cf2fb702b83f2701d8f90.jpg","text":"TemporaryFile(/tmp/multipartBody3531406592358199983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_28_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c9516caf6c4bc68e945269bcfe40165.jpg","text":"TemporaryFile(/tmp/multipartBody7641664388876309025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_28_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b30fce5d0edb0d579e9b0fdae76144a.jpg","text":"TemporaryFile(/tmp/multipartBody3332416982745576293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_28_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98c383b8b2147080e5a8f5af7d89684f.jpg","text":"TemporaryFile(/tmp/multipartBody4304489488085645870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_28_25_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20fd6994a0dc7850cf794c3bd54addc1.jpg","text":"TemporaryFile(/tmp/multipartBody1909168067341614331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264004210,"filename":"image_27112025_14_27_55_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396424313","file1":"1396424275","file0":"1396424239","file4":"1396424379","file5":"1396424412","file3":"1396424350"},"map_files_photo_id_array":[{"photo_id":"1396424412","filename":"file5"},{"photo_id":"1396424313","filename":"file2"},{"photo_id":"1396424379","filename":"file4"},{"photo_id":"1396424275","filename":"file1"},{"photo_id":"1396424239","filename":"file0"},{"photo_id":"1396424350","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396424379":["hashtag1","hashtag2"]},{"1396424412":["hashtag1","hashtag2"]},{"1396424313":["hashtag1","hashtag2"]},{"1396424275":["hashtag1","hashtag2"]},{"1396424350":["hashtag1","hashtag2"]},{"1396424239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396424379, 1396424412, 1396424313, 1396424275, 1396424350, 1396424239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04909539222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:20:02.529019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_55_9664.jpg', '/home/pi/Desktop/images/27112025/14/28/image_27112025_14_29_05_9638.jpg', '/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_15_10634.jpg', '/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_25_9579.jpg', '/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_35_10624.jpg', '/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_45_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_28_55_9664.jpg
/home/pi/Desktop/images/27112025/14/28/image_27112025_14_29_05_9638.jpg
/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_15_10634.jpg
/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_25_9579.jpg
/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_35_10624.jpg
/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_45_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396424577","1396424499","1396424538","1396424526","1396424573","1396424551"],"photo_ids_order":["1396424499","1396424526","1396424538","1396424551","1396424573","1396424577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4629fb7e287b1543e7f03d1019666c7.jpg","text":"TemporaryFile(/tmp/multipartBody2928819982444295473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_29_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3af571c340ec49d45dbf70981845b3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8526733128797903751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_28_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd245d15f72d34f7496371edc2d2e7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5254548964191848539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_29_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21a9b1470763abfaa5a952430f452e4a.jpg","text":"TemporaryFile(/tmp/multipartBody516511293317606703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_29_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abebf79cdb4f97fd625fc48f74e81581.jpg","text":"TemporaryFile(/tmp/multipartBody1411812709944150552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_29_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ff72f391eed1739d456a4324be955d8.jpg","text":"TemporaryFile(/tmp/multipartBody1533025310240280548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264063492,"filename":"image_27112025_14_29_25_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396424538","file1":"1396424526","file0":"1396424499","file4":"1396424573","file5":"1396424577","file3":"1396424551"},"map_files_photo_id_array":[{"photo_id":"1396424577","filename":"file5"},{"photo_id":"1396424538","filename":"file2"},{"photo_id":"1396424573","filename":"file4"},{"photo_id":"1396424526","filename":"file1"},{"photo_id":"1396424499","filename":"file0"},{"photo_id":"1396424551","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396424577":["hashtag1","hashtag2"]},{"1396424499":["hashtag1","hashtag2"]},{"1396424538":["hashtag1","hashtag2"]},{"1396424526":["hashtag1","hashtag2"]},{"1396424573":["hashtag1","hashtag2"]},{"1396424551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396424577, 1396424499, 1396424538, 1396424526, 1396424573, 1396424551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19511961936951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:21:03.169234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_55_9638.jpg', '/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_15_10055.jpg', '/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_25_10637.jpg', '/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_45_9717.jpg', '/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_55_10583.jpg', '/home/pi/Desktop/images/27112025/14/30/image_27112025_14_31_05_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/29/image_27112025_14_29_55_9638.jpg
/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_15_10055.jpg
/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_25_10637.jpg
/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_45_9717.jpg
/home/pi/Desktop/images/27112025/14/30/image_27112025_14_30_55_10583.jpg
/home/pi/Desktop/images/27112025/14/30/image_27112025_14_31_05_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396424824","1396424703","1396424797","1396424665","1396424767","1396424737"],"photo_ids_order":["1396424665","1396424703","1396424737","1396424767","1396424797","1396424824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a963dcd0b3fb25f7d9494ad89c10d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1685812434943059430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_31_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52bb2cf391d8b49f85d7e035a1e7a623.jpg","text":"TemporaryFile(/tmp/multipartBody6357029102666716358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_30_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc19f01d92d74e7d867c9e5564265976.jpg","text":"TemporaryFile(/tmp/multipartBody2814379814592232980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_30_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50412d7330cf22d4892a26f53fe4b43c.jpg","text":"TemporaryFile(/tmp/multipartBody5953571543399455484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_29_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63e361a125e8163f92a7ac1f283a5e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3501859905258291419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_30_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d45633f60fd47ca817563914ba8660d.jpg","text":"TemporaryFile(/tmp/multipartBody4212020918202759466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264124286,"filename":"image_27112025_14_30_25_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396424737","file1":"1396424703","file0":"1396424665","file4":"1396424797","file5":"1396424824","file3":"1396424767"},"map_files_photo_id_array":[{"photo_id":"1396424824","filename":"file5"},{"photo_id":"1396424737","filename":"file2"},{"photo_id":"1396424797","filename":"file4"},{"photo_id":"1396424703","filename":"file1"},{"photo_id":"1396424665","filename":"file0"},{"photo_id":"1396424767","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396424824":["hashtag1","hashtag2"]},{"1396424703":["hashtag1","hashtag2"]},{"1396424797":["hashtag1","hashtag2"]},{"1396424665":["hashtag1","hashtag2"]},{"1396424767":["hashtag1","hashtag2"]},{"1396424737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396424824, 1396424703, 1396424797, 1396424665, 1396424767, 1396424737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23966908454895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:22:02.985474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_15_10735.jpg', '/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_25_9547.jpg', '/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_35_9695.jpg', '/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_45_10601.jpg', '/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_55_9560.jpg', '/home/pi/Desktop/images/27112025/14/31/image_27112025_14_32_05_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_15_10735.jpg
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_25_9547.jpg
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_35_9695.jpg
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_45_10601.jpg
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_31_55_9560.jpg
/home/pi/Desktop/images/27112025/14/31/image_27112025_14_32_05_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396425063","1396425029","1396425190","1396425124","1396425154","1396425093"],"photo_ids_order":["1396425029","1396425063","1396425093","1396425124","1396425154","1396425190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0eb3ca5b1b95fb9502576d664b0bbdc9.jpg","text":"TemporaryFile(/tmp/multipartBody7077834159360941025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_31_25_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd6c667b6a67bc65411239812bcd8754.jpg","text":"TemporaryFile(/tmp/multipartBody5279022891015622374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_31_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd9a3ae54f3d70222332511878665526.jpg","text":"TemporaryFile(/tmp/multipartBody4641970114679948645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_32_05_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afdd787af2422857de2d7f94efcc5c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3552378744280718841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_31_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e93f0cdcf1c2ab8efa8540216477cda.jpg","text":"TemporaryFile(/tmp/multipartBody6449877477198520771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_31_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55d77855615e7eba606685ddd2f9e749.jpg","text":"TemporaryFile(/tmp/multipartBody2272273929224944118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264183854,"filename":"image_27112025_14_31_35_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396425093","file1":"1396425063","file0":"1396425029","file4":"1396425154","file5":"1396425190","file3":"1396425124"},"map_files_photo_id_array":[{"photo_id":"1396425190","filename":"file5"},{"photo_id":"1396425093","filename":"file2"},{"photo_id":"1396425154","filename":"file4"},{"photo_id":"1396425063","filename":"file1"},{"photo_id":"1396425029","filename":"file0"},{"photo_id":"1396425124","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396425063":["hashtag1","hashtag2"]},{"1396425029":["hashtag1","hashtag2"]},{"1396425190":["hashtag1","hashtag2"]},{"1396425124":["hashtag1","hashtag2"]},{"1396425154":["hashtag1","hashtag2"]},{"1396425093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396425063, 1396425029, 1396425190, 1396425124, 1396425154, 1396425093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73945713043213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:23:02.985128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:23:12.419650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10
2025-11-27 18:23:28.049270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_15_10691.jpg', '/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_25_9654.jpg', '/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_35_9580.jpg', '/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_44_9878.jpg', '/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_55_10848.jpg', '/home/pi/Desktop/images/27112025/14/32/image_27112025_14_33_05_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_15_10691.jpg
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_25_9654.jpg
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_35_9580.jpg
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_44_9878.jpg
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_32_55_10848.jpg
/home/pi/Desktop/images/27112025/14/32/image_27112025_14_33_05_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396425492","1396425525","1396425587","1396425464","1396425437","1396425660"],"photo_ids_order":["1396425437","1396425464","1396425492","1396425525","1396425587","1396425660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e27437e2bdab7aef40fc942432110ac.jpg","text":"TemporaryFile(/tmp/multipartBody7183831581388465513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_32_35_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7a50798b8b367ed402c055e4f1d5d45.jpg","text":"TemporaryFile(/tmp/multipartBody5188504695185146533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_32_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a18aea6c740f0ad176e5882bcf159cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7477012189413594182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_32_55_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09546a7a9c323075dbd1dc6e8e6d3920.jpg","text":"TemporaryFile(/tmp/multipartBody5411585256259751661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_32_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51e3d5e9bdfc04683baba18c119bdff3.jpg","text":"TemporaryFile(/tmp/multipartBody5121920418840592502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_32_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14dfaa6f9a7290b0a5794e4cd9644382.jpg","text":"TemporaryFile(/tmp/multipartBody5991958983485838799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264268960,"filename":"image_27112025_14_33_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396425492","file1":"1396425464","file0":"1396425437","file4":"1396425587","file5":"1396425660","file3":"1396425525"},"map_files_photo_id_array":[{"photo_id":"1396425660","filename":"file5"},{"photo_id":"1396425492","filename":"file2"},{"photo_id":"1396425587","filename":"file4"},{"photo_id":"1396425464","filename":"file1"},{"photo_id":"1396425437","filename":"file0"},{"photo_id":"1396425525","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396425492":["hashtag1","hashtag2"]},{"1396425525":["hashtag1","hashtag2"]},{"1396425587":["hashtag1","hashtag2"]},{"1396425464":["hashtag1","hashtag2"]},{"1396425437":["hashtag1","hashtag2"]},{"1396425660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396425492, 1396425525, 1396425587, 1396425464, 1396425437, 1396425660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59434127807617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:24:12.592482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_29_3800.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_31_2671.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_48_16310.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_49_1718.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_51_1513.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_52_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_29_3800.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_31_2671.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_48_16310.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_49_1718.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_51_1513.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_52_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396425831","1396425804","1396425896","1396425875","1396425859","1396425820"],"photo_ids_order":["1396425804","1396425820","1396425831","1396425859","1396425875","1396425896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d73a958fc7b88d4b7334a3e7ca05d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody2153030064274399063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_48_16310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f367b871d04bc80c4e0f9bcef5123dad.jpg","text":"TemporaryFile(/tmp/multipartBody2156848827712732054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_29_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/27/b8af62181a72374ba23edc204c0f4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4175404621683175846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_52_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30cc55eb064c13bb80a5516cfd819ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3536745034844228472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_51_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8b62fa41bdd10a42a942b73ca412b26.jpg","text":"TemporaryFile(/tmp/multipartBody6383353614116173364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_49_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/27/1811921e32b5ca9c2ea0c05d5a81fbf1.jpg","text":"TemporaryFile(/tmp/multipartBody6188744368843120171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264314625,"filename":"image_21112025_21_19_31_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396425831","file1":"1396425820","file0":"1396425804","file4":"1396425875","file5":"1396425896","file3":"1396425859"},"map_files_photo_id_array":[{"photo_id":"1396425896","filename":"file5"},{"photo_id":"1396425831","filename":"file2"},{"photo_id":"1396425875","filename":"file4"},{"photo_id":"1396425820","filename":"file1"},{"photo_id":"1396425804","filename":"file0"},{"photo_id":"1396425859","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396425831":["hashtag1","hashtag2"]},{"1396425804":["hashtag1","hashtag2"]},{"1396425896":["hashtag1","hashtag2"]},{"1396425875":["hashtag1","hashtag2"]},{"1396425859":["hashtag1","hashtag2"]},{"1396425820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396425831, 1396425804, 1396425896, 1396425875, 1396425859, 1396425820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.730895042419434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:25:02.546278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_15_9669.jpg', '/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_25_10642.jpg', '/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_35_9973.jpg', '/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_45_9626.jpg', '/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_55_10555.jpg', '/home/pi/Desktop/images/27112025/14/33/image_27112025_14_34_05_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_15_9669.jpg
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_25_10642.jpg
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_35_9973.jpg
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_45_9626.jpg
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_33_55_10555.jpg
/home/pi/Desktop/images/27112025/14/33/image_27112025_14_34_05_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396425932","1396425941","1396425961","1396425937","1396425952","1396425946"],"photo_ids_order":["1396425932","1396425937","1396425941","1396425946","1396425952","1396425961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fdba4a20b9e11f9a2ceb5efac6e2dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody261053309468844287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_33_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f899ac5843a6d692cda1bd67a9de82a.jpg","text":"TemporaryFile(/tmp/multipartBody7741694339916084606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_33_35_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/522d970c0cac9645d0ee604ee39fe70b.jpg","text":"TemporaryFile(/tmp/multipartBody4679767416042118892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_34_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/433aec5db6222dc50bbba3f167017c50.jpg","text":"TemporaryFile(/tmp/multipartBody5024235086453070872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_33_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/60cc1c1eac8555d6d2abe18403660893.jpg","text":"TemporaryFile(/tmp/multipartBody1607513817511348537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_33_55_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3925f3b79be487129d59774e2de7dc4e.jpg","text":"TemporaryFile(/tmp/multipartBody6109554500412650704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264363550,"filename":"image_27112025_14_33_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396425941","file1":"1396425937","file0":"1396425932","file4":"1396425952","file5":"1396425961","file3":"1396425946"},"map_files_photo_id_array":[{"photo_id":"1396425961","filename":"file5"},{"photo_id":"1396425941","filename":"file2"},{"photo_id":"1396425952","filename":"file4"},{"photo_id":"1396425937","filename":"file1"},{"photo_id":"1396425932","filename":"file0"},{"photo_id":"1396425946","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396425932":["hashtag1","hashtag2"]},{"1396425941":["hashtag1","hashtag2"]},{"1396425961":["hashtag1","hashtag2"]},{"1396425937":["hashtag1","hashtag2"]},{"1396425952":["hashtag1","hashtag2"]},{"1396425946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396425932, 1396425941, 1396425961, 1396425937, 1396425952, 1396425946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.31156349182129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:26:02.984725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_15_9590.jpg', '/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_25_9828.jpg', '/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_35_10821.jpg', '/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_45_9748.jpg', '/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_55_9673.jpg', '/home/pi/Desktop/images/27112025/14/34/image_27112025_14_35_05_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_15_9590.jpg
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_25_9828.jpg
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_35_10821.jpg
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_45_9748.jpg
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_34_55_9673.jpg
/home/pi/Desktop/images/27112025/14/34/image_27112025_14_35_05_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396425980","1396425992","1396425988","1396425973","1396425976","1396425984"],"photo_ids_order":["1396425973","1396425976","1396425980","1396425984","1396425988","1396425992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1fca5367c13414cd972bec481b3fe0a2.jpg","text":"TemporaryFile(/tmp/multipartBody4294253863773798822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_34_35_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b915641d038eb3facda6bc720cc0083.jpg","text":"TemporaryFile(/tmp/multipartBody5729291192631872705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_35_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a780d3ab79cc5a0a3f848dfb3c872dcf.jpg","text":"TemporaryFile(/tmp/multipartBody786793128364765782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_34_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ade39341c0ae45926313d5b9b020d656.jpg","text":"TemporaryFile(/tmp/multipartBody1146110194139712339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_34_15_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/543c81249db9173a1a55ee4689f2900f.jpg","text":"TemporaryFile(/tmp/multipartBody7919220233780998359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_34_25_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b30ca3a0623245890341eb27b6257fd.jpg","text":"TemporaryFile(/tmp/multipartBody6571684161680139307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264424093,"filename":"image_27112025_14_34_45_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396425980","file1":"1396425976","file0":"1396425973","file4":"1396425988","file5":"1396425992","file3":"1396425984"},"map_files_photo_id_array":[{"photo_id":"1396425992","filename":"file5"},{"photo_id":"1396425980","filename":"file2"},{"photo_id":"1396425988","filename":"file4"},{"photo_id":"1396425976","filename":"file1"},{"photo_id":"1396425973","filename":"file0"},{"photo_id":"1396425984","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396425980":["hashtag1","hashtag2"]},{"1396425992":["hashtag1","hashtag2"]},{"1396425988":["hashtag1","hashtag2"]},{"1396425973":["hashtag1","hashtag2"]},{"1396425976":["hashtag1","hashtag2"]},{"1396425984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396425980, 1396425992, 1396425988, 1396425973, 1396425976, 1396425984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92904281616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:27:03.336755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_15_10684.jpg', '/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_25_9761.jpg', '/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_35_9667.jpg', '/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_45_10550.jpg', '/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_55_9853.jpg', '/home/pi/Desktop/images/27112025/14/35/image_27112025_14_36_05_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_15_10684.jpg
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_25_9761.jpg
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_35_9667.jpg
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_45_10550.jpg
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_35_55_9853.jpg
/home/pi/Desktop/images/27112025/14/35/image_27112025_14_36_05_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396426055","1396426072","1396426066","1396426069","1396426063","1396426059"],"photo_ids_order":["1396426055","1396426059","1396426063","1396426066","1396426069","1396426072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ec62838a16fa38bc6cc6ac8516d3a36.jpg","text":"TemporaryFile(/tmp/multipartBody2187461792906371168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_35_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9f4551fb1a460d8b63695b94a0ee69a.jpg","text":"TemporaryFile(/tmp/multipartBody7641789398433225459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_36_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13b338ea58e86784fa3b068f2a0e7efb.jpg","text":"TemporaryFile(/tmp/multipartBody7607387731365708934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_35_45_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3029893122ec656c2b6fb47f523729f.jpg","text":"TemporaryFile(/tmp/multipartBody8051575737203740180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_35_55_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc27b0871eebb8455983da4e443277be.jpg","text":"TemporaryFile(/tmp/multipartBody8137569361906403283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_35_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fe0b617b50eb106ee0901ab45a6c398.jpg","text":"TemporaryFile(/tmp/multipartBody4408075218475091029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264484500,"filename":"image_27112025_14_35_25_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396426063","file1":"1396426059","file0":"1396426055","file4":"1396426069","file5":"1396426072","file3":"1396426066"},"map_files_photo_id_array":[{"photo_id":"1396426072","filename":"file5"},{"photo_id":"1396426063","filename":"file2"},{"photo_id":"1396426069","filename":"file4"},{"photo_id":"1396426059","filename":"file1"},{"photo_id":"1396426055","filename":"file0"},{"photo_id":"1396426066","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396426055":["hashtag1","hashtag2"]},{"1396426072":["hashtag1","hashtag2"]},{"1396426066":["hashtag1","hashtag2"]},{"1396426069":["hashtag1","hashtag2"]},{"1396426063":["hashtag1","hashtag2"]},{"1396426059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396426055, 1396426072, 1396426066, 1396426069, 1396426063, 1396426059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99606156349182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:28:02.356943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_15_10692.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_25_9114.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_35_10600.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_45_9808.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_55_9576.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_37_05_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_15_10692.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_25_9114.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_35_10600.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_45_9808.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_55_9576.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_37_05_10605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6434032917022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:28:11.906714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_54_1578.jpg', '/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_55_1561.jpg', '/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_02_6653.jpg', '/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_13_1682.jpg', '/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_14_1655.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_54_1578.jpg
/home/pi/Desktop/images/21112025/21/19/image_21112025_21_19_55_1561.jpg
/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_02_6653.jpg
/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_13_1682.jpg
/home/pi/Desktop/images/21112025/21/20/image_21112025_21_20_14_1655.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396426127","1396426189","1396426096","1396426219","1396426158","1396426092"],"photo_ids_order":["1396426092","1396426096","1396426127","1396426158","1396426189","1396426219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d8bdb49e5f74613151a24acc53c4cf7.jpg","text":"TemporaryFile(/tmp/multipartBody693061551850807195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_20_02_6653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56761019ca4bf0a596e3df431ed753c0.jpg","text":"TemporaryFile(/tmp/multipartBody720653323645521261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_20_14_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/27/6a72af6b75323ae12d4eb994abdc2fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4126740309618077581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_19_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/27/12acb200cd0a719c1a281bf53a862598.jpg","text":"TemporaryFile(/tmp/multipartBody5413260574888169205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_21_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/27/3c2e0f34701803baaadcf57ac52e2087.jpg","text":"TemporaryFile(/tmp/multipartBody7690853860300708648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_20_13_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/27/7bbea6b15c63447e7145236ba8f48d15.jpg","text":"TemporaryFile(/tmp/multipartBody363529971939327847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264553939,"filename":"image_21112025_21_19_54_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396426127","file1":"1396426096","file0":"1396426092","file4":"1396426189","file5":"1396426219","file3":"1396426158"},"map_files_photo_id_array":[{"photo_id":"1396426219","filename":"file5"},{"photo_id":"1396426127","filename":"file2"},{"photo_id":"1396426189","filename":"file4"},{"photo_id":"1396426096","filename":"file1"},{"photo_id":"1396426092","filename":"file0"},{"photo_id":"1396426158","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396426127":["hashtag1","hashtag2"]},{"1396426189":["hashtag1","hashtag2"]},{"1396426096":["hashtag1","hashtag2"]},{"1396426219":["hashtag1","hashtag2"]},{"1396426158":["hashtag1","hashtag2"]},{"1396426092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396426127, 1396426189, 1396426096, 1396426219, 1396426158, 1396426092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.372111797332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-27 18:29:07.019668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10
2025-11-27 18:29:21.910674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_15_10692.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_25_9114.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_35_10600.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_45_9808.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_55_9576.jpg', '/home/pi/Desktop/images/27112025/14/36/image_27112025_14_37_05_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_15_10692.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_25_9114.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_35_10600.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_45_9808.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_36_55_9576.jpg
/home/pi/Desktop/images/27112025/14/36/image_27112025_14_37_05_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396426586","1396426646","1396426489","1396426555","1396426615","1396426521"],"photo_ids_order":["1396426489","1396426521","1396426555","1396426586","1396426615","1396426646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/779487a132a9d5373d3fbc0fa403ee43.jpg","text":"TemporaryFile(/tmp/multipartBody5081892954242800450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_36_45_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de0a8281365dbbccd9cb5f33648a17d1.jpg","text":"TemporaryFile(/tmp/multipartBody6590724731306439829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_37_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63ccf035da4f4d692bf25fc79a062a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8160690845335098238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_36_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c3865cec018e1965c4bf6e7502707c1.jpg","text":"TemporaryFile(/tmp/multipartBody7222155608861227258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_36_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/549963707108531c592d458530361158.jpg","text":"TemporaryFile(/tmp/multipartBody6227972803863280999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_36_55_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c51d037b084c12281dc3a65df580a4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8152846226998057220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264622874,"filename":"image_27112025_14_36_25_9114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396426555","file1":"1396426521","file0":"1396426489","file4":"1396426615","file5":"1396426646","file3":"1396426586"},"map_files_photo_id_array":[{"photo_id":"1396426646","filename":"file5"},{"photo_id":"1396426555","filename":"file2"},{"photo_id":"1396426615","filename":"file4"},{"photo_id":"1396426521","filename":"file1"},{"photo_id":"1396426489","filename":"file0"},{"photo_id":"1396426586","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396426586":["hashtag1","hashtag2"]},{"1396426646":["hashtag1","hashtag2"]},{"1396426489":["hashtag1","hashtag2"]},{"1396426555":["hashtag1","hashtag2"]},{"1396426615":["hashtag1","hashtag2"]},{"1396426521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396426586, 1396426646, 1396426489, 1396426555, 1396426615, 1396426521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3217875957489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:30:12.207478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_10_3613.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_13_2572.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_17_3620.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_19_2633.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_22_2785.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_26_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_10_3613.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_13_2572.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_17_3620.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_19_2633.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_22_2785.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_26_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396426994","1396426895","1396426865","1396426963","1396426837","1396426926"],"photo_ids_order":["1396426837","1396426865","1396426895","1396426926","1396426963","1396426994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9269c8bfc9151b7d2057c6dac4219b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3615807095874516595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_26_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/27/cc5088dbebefae4b2c4af1a188319e24.jpg","text":"TemporaryFile(/tmp/multipartBody270604320539937658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_17_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/27/3fe0f553095615d0a096da87371f5fa4.jpg","text":"TemporaryFile(/tmp/multipartBody634317668169011409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_13_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/27/00ae0c68b1061376fccce562590430ff.jpg","text":"TemporaryFile(/tmp/multipartBody6975259447254371402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_22_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/27/c0de8399cc921d3d312cce82d5c4836c.jpg","text":"TemporaryFile(/tmp/multipartBody7757447662405963579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_10_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/27/dc047a78ea7fd2c5c524450a93c9514e.jpg","text":"TemporaryFile(/tmp/multipartBody5859951879378753513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264674171,"filename":"image_21112025_21_21_19_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396426895","file1":"1396426865","file0":"1396426837","file4":"1396426963","file5":"1396426994","file3":"1396426926"},"map_files_photo_id_array":[{"photo_id":"1396426994","filename":"file5"},{"photo_id":"1396426895","filename":"file2"},{"photo_id":"1396426963","filename":"file4"},{"photo_id":"1396426865","filename":"file1"},{"photo_id":"1396426837","filename":"file0"},{"photo_id":"1396426926","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396426994":["hashtag1","hashtag2"]},{"1396426895":["hashtag1","hashtag2"]},{"1396426865":["hashtag1","hashtag2"]},{"1396426963":["hashtag1","hashtag2"]},{"1396426837":["hashtag1","hashtag2"]},{"1396426926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396426994, 1396426895, 1396426865, 1396426963, 1396426837, 1396426926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41079878807068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:31:03.252587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_15_9652.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_25_10653.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_35_9652.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_55_10778.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_38_05_9691.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_15_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_15_9652.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_25_10653.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_35_9652.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_55_10778.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_38_05_9691.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_15_10031.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7019727230072021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:31:12.432781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_28_2709.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_31_2499.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_34_3643.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_37_2699.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_40_2604.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_43_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_28_2709.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_31_2499.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_34_3643.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_37_2699.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_40_2604.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_43_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396427108","1396427098","1396427113","1396427116","1396427118","1396427103"],"photo_ids_order":["1396427098","1396427103","1396427108","1396427113","1396427116","1396427118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1060b9d7140df5e0a52acef726b859a7.jpg","text":"TemporaryFile(/tmp/multipartBody4977552452863148788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_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/27/70e25b126cac2bfb280c80a51075f017.jpg","text":"TemporaryFile(/tmp/multipartBody2235560349334790101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_28_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/27/c37fc64a651a1f8da793583f57724193.jpg","text":"TemporaryFile(/tmp/multipartBody28860097005683401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_37_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/27/69ea7970e4f9f956817c8be857647e02.jpg","text":"TemporaryFile(/tmp/multipartBody4185194648602725111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_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/27/cd7dc4f045ba9676104204210c77175e.jpg","text":"TemporaryFile(/tmp/multipartBody812667212162474563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_43_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/27/22beed478e76dce01d9e3aab83a53039.jpg","text":"TemporaryFile(/tmp/multipartBody8958965198624121182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264734368,"filename":"image_21112025_21_21_31_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396427108","file1":"1396427103","file0":"1396427098","file4":"1396427116","file5":"1396427118","file3":"1396427113"},"map_files_photo_id_array":[{"photo_id":"1396427118","filename":"file5"},{"photo_id":"1396427108","filename":"file2"},{"photo_id":"1396427116","filename":"file4"},{"photo_id":"1396427103","filename":"file1"},{"photo_id":"1396427098","filename":"file0"},{"photo_id":"1396427113","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396427108":["hashtag1","hashtag2"]},{"1396427098":["hashtag1","hashtag2"]},{"1396427113":["hashtag1","hashtag2"]},{"1396427116":["hashtag1","hashtag2"]},{"1396427118":["hashtag1","hashtag2"]},{"1396427103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396427108, 1396427098, 1396427113, 1396427116, 1396427118, 1396427103)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.26362109184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:32:12.692960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_46_2663.jpg', '/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_50_3641.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_11_3697.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_14_2644.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_16_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_46_2663.jpg
/home/pi/Desktop/images/21112025/21/21/image_21112025_21_21_50_3641.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_07_3012.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_11_3697.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_14_2644.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_16_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396427351","1396427294","1396427323","1396427233","1396427265","1396427390"],"photo_ids_order":["1396427233","1396427265","1396427294","1396427323","1396427351","1396427390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd1088c4bcfd3ff21665057fab2d51ad.jpg","text":"TemporaryFile(/tmp/multipartBody8753894584451730498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_24_14_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/27/350e81b97636256ef9c55f041d2a3725.jpg","text":"TemporaryFile(/tmp/multipartBody891098282837754466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_24_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/27/27c31b4df38e0c9f3eddb3a927c33870.jpg","text":"TemporaryFile(/tmp/multipartBody8081923962448286650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_24_11_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/27/17d3b92f0b6b8fd9d02c90b705e924a0.jpg","text":"TemporaryFile(/tmp/multipartBody4177791906216801248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_21_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/27/b01e20487c8b20f6ea7a96d7efc9ac67.jpg","text":"TemporaryFile(/tmp/multipartBody3923672768348326644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_21_50_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/27/5890771a411445f4cb8475a0bbc5e720.jpg","text":"TemporaryFile(/tmp/multipartBody5226260000185663928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264794779,"filename":"image_21112025_21_24_16_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396427294","file1":"1396427265","file0":"1396427233","file4":"1396427351","file5":"1396427390","file3":"1396427323"},"map_files_photo_id_array":[{"photo_id":"1396427390","filename":"file5"},{"photo_id":"1396427294","filename":"file2"},{"photo_id":"1396427351","filename":"file4"},{"photo_id":"1396427265","filename":"file1"},{"photo_id":"1396427233","filename":"file0"},{"photo_id":"1396427323","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396427351":["hashtag1","hashtag2"]},{"1396427294":["hashtag1","hashtag2"]},{"1396427323":["hashtag1","hashtag2"]},{"1396427233":["hashtag1","hashtag2"]},{"1396427265":["hashtag1","hashtag2"]},{"1396427390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396427351, 1396427294, 1396427323, 1396427233, 1396427265, 1396427390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.083656549453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:33:02.990986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_15_9652.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_25_10653.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_35_9652.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_55_10778.jpg', '/home/pi/Desktop/images/27112025/14/37/image_27112025_14_38_05_9691.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_15_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_15_9652.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_25_10653.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_35_9652.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_55_10778.jpg
/home/pi/Desktop/images/27112025/14/37/image_27112025_14_38_05_9691.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_15_10031.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396427519","1396427522","1396427553","1396427514","1396427616","1396427672"],"photo_ids_order":["1396427514","1396427519","1396427522","1396427553","1396427616","1396427672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d59c2c4f10e676153ccb63877b09016.jpg","text":"TemporaryFile(/tmp/multipartBody2964090264059105158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_37_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4772d12e63353ff0eb6b3be29d6e37c.jpg","text":"TemporaryFile(/tmp/multipartBody4788923915159284264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_37_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ccfa2c01c7686a7efdff45e289ed1d9e.jpg","text":"TemporaryFile(/tmp/multipartBody5383137789105570618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_37_55_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7a74e4ed8a118b1ac3f19324761d3e08.jpg","text":"TemporaryFile(/tmp/multipartBody7744242668768636538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_37_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fc661b2ae92be6cd78bff86156073f9.jpg","text":"TemporaryFile(/tmp/multipartBody2693730908607457554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_38_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1469c181c279038ea60f0a884fa1464c.jpg","text":"TemporaryFile(/tmp/multipartBody3678716553630018716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264848363,"filename":"image_27112025_14_38_15_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396427522","file1":"1396427519","file0":"1396427514","file4":"1396427616","file5":"1396427672","file3":"1396427553"},"map_files_photo_id_array":[{"photo_id":"1396427672","filename":"file5"},{"photo_id":"1396427522","filename":"file2"},{"photo_id":"1396427616","filename":"file4"},{"photo_id":"1396427519","filename":"file1"},{"photo_id":"1396427514","filename":"file0"},{"photo_id":"1396427553","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396427519":["hashtag1","hashtag2"]},{"1396427522":["hashtag1","hashtag2"]},{"1396427553":["hashtag1","hashtag2"]},{"1396427514":["hashtag1","hashtag2"]},{"1396427616":["hashtag1","hashtag2"]},{"1396427672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396427519, 1396427522, 1396427553, 1396427514, 1396427616, 1396427672)","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 = 1396427522 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/27112025/14/37/image_27112025_14_37_35_9652.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.16670203208923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 18:34:22.575994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_25_9595.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_35_9799.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_45_10818.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_55_9578.jpg', '/home/pi/Desktop/images/27112025/14/38/image_27112025_14_39_05_9945.jpg', '/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_15_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_25_9595.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_35_9799.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_45_10818.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_38_55_9578.jpg
/home/pi/Desktop/images/27112025/14/38/image_27112025_14_39_05_9945.jpg
/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_15_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396428094","1396428124","1396428211","1396428183","1396428066","1396428153"],"photo_ids_order":["1396428066","1396428094","1396428124","1396428153","1396428183","1396428211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c2668784c932ddd636784bdd360a502.jpg","text":"TemporaryFile(/tmp/multipartBody3633789075272651420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_38_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56b39c356d5e3c5629d96bc48d4c86ed.jpg","text":"TemporaryFile(/tmp/multipartBody1549170602192089257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_38_45_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab15778d5f495b435f1a0718dbea0954.jpg","text":"TemporaryFile(/tmp/multipartBody7691812122474840951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_39_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e1c25db6e169e7afcd71b6a7c94a492.jpg","text":"TemporaryFile(/tmp/multipartBody8856244482956166537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_39_05_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47ee1a739dac8aa7925056152688c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8856248911920688199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_38_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1010fcc06cd5b9d16dc3706426386c6.jpg","text":"TemporaryFile(/tmp/multipartBody578190352659885089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264923607,"filename":"image_27112025_14_38_55_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396428124","file1":"1396428094","file0":"1396428066","file4":"1396428183","file5":"1396428211","file3":"1396428153"},"map_files_photo_id_array":[{"photo_id":"1396428211","filename":"file5"},{"photo_id":"1396428124","filename":"file2"},{"photo_id":"1396428183","filename":"file4"},{"photo_id":"1396428094","filename":"file1"},{"photo_id":"1396428066","filename":"file0"},{"photo_id":"1396428153","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396428094":["hashtag1","hashtag2"]},{"1396428124":["hashtag1","hashtag2"]},{"1396428211":["hashtag1","hashtag2"]},{"1396428183":["hashtag1","hashtag2"]},{"1396428066":["hashtag1","hashtag2"]},{"1396428153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396428094, 1396428124, 1396428211, 1396428183, 1396428066, 1396428153)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.92291474342346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:35:17.106924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_20_3772.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_23_2685.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_26_2693.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_29_3584.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_32_2617.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_34_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_20_3772.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_23_2685.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_26_2693.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_29_3584.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_32_2617.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_34_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396428370","1396428361","1396428378","1396428369","1396428405","1396428365"],"photo_ids_order":["1396428361","1396428365","1396428369","1396428370","1396428378","1396428405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80e062c4ba7fdfd21bc4b970afa39780.jpg","text":"TemporaryFile(/tmp/multipartBody8103827852406632069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_29_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/27/20998aa8230a1e88f40f19ce087fb375.jpg","text":"TemporaryFile(/tmp/multipartBody3700009282709394763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_20_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/27/2d6503773a621b1091baaedbc89b7a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2270877927701285427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_32_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/27/e4252b02990ed05a7fec7ccb3f7d01df.jpg","text":"TemporaryFile(/tmp/multipartBody7784108059385707601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_26_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/27/b8a7e2d1f2dd2730b9c3d78a34f33683.jpg","text":"TemporaryFile(/tmp/multipartBody3696074829423696835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_34_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/27/09dae8fde4ff182f53d7d938d29a3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4866331994241427349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764264980396,"filename":"image_21112025_21_24_23_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396428369","file1":"1396428365","file0":"1396428361","file4":"1396428378","file5":"1396428405","file3":"1396428370"},"map_files_photo_id_array":[{"photo_id":"1396428405","filename":"file5"},{"photo_id":"1396428369","filename":"file2"},{"photo_id":"1396428378","filename":"file4"},{"photo_id":"1396428365","filename":"file1"},{"photo_id":"1396428361","filename":"file0"},{"photo_id":"1396428370","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396428370":["hashtag1","hashtag2"]},{"1396428361":["hashtag1","hashtag2"]},{"1396428378":["hashtag1","hashtag2"]},{"1396428369":["hashtag1","hashtag2"]},{"1396428405":["hashtag1","hashtag2"]},{"1396428365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396428370, 1396428361, 1396428378, 1396428369, 1396428405, 1396428365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52691698074341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:36:02.737993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_35_9692.jpg', '/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_45_9751.jpg', '/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_55_10734.jpg', '/home/pi/Desktop/images/27112025/14/39/image_27112025_14_40_05_9609.jpg', '/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_15_9670.jpg', '/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_24_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_35_9692.jpg
/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_45_9751.jpg
/home/pi/Desktop/images/27112025/14/39/image_27112025_14_39_55_10734.jpg
/home/pi/Desktop/images/27112025/14/39/image_27112025_14_40_05_9609.jpg
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_15_9670.jpg
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_24_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396428632","1396428741","1396428794","1396428578","1396428845","1396428689"],"photo_ids_order":["1396428578","1396428632","1396428689","1396428741","1396428794","1396428845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13b5282852c667e4cbce948e9b7081c4.jpg","text":"TemporaryFile(/tmp/multipartBody6406866116524787190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_39_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3432e2e2d61dfa5f93e5471124c3de9.jpg","text":"TemporaryFile(/tmp/multipartBody7060510535468873716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_40_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1531ce9baaf2ae5aff3f6d0e6d6fbbce.jpg","text":"TemporaryFile(/tmp/multipartBody2738368161118753897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_40_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/399ede24aceb993725dfd50de7556bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8975892110244611499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_39_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46a61003cc428a9780fb0d2508ef058e.jpg","text":"TemporaryFile(/tmp/multipartBody5383920231355363950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_40_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42474c68553fd624434e4052dec99c7e.jpg","text":"TemporaryFile(/tmp/multipartBody67661665850594369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265023686,"filename":"image_27112025_14_39_55_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396428689","file1":"1396428632","file0":"1396428578","file4":"1396428794","file5":"1396428845","file3":"1396428741"},"map_files_photo_id_array":[{"photo_id":"1396428845","filename":"file5"},{"photo_id":"1396428689","filename":"file2"},{"photo_id":"1396428794","filename":"file4"},{"photo_id":"1396428632","filename":"file1"},{"photo_id":"1396428578","filename":"file0"},{"photo_id":"1396428741","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396428632":["hashtag1","hashtag2"]},{"1396428741":["hashtag1","hashtag2"]},{"1396428794":["hashtag1","hashtag2"]},{"1396428578":["hashtag1","hashtag2"]},{"1396428845":["hashtag1","hashtag2"]},{"1396428689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396428632, 1396428741, 1396428794, 1396428578, 1396428845, 1396428689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967923402786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:37:03.121508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_35_10577.jpg', '/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_45_9653.jpg', '/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_55_10692.jpg', '/home/pi/Desktop/images/27112025/14/40/image_27112025_14_41_05_9553.jpg', '/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_15_9576.jpg', '/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_25_10890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_35_10577.jpg
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_45_9653.jpg
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_40_55_10692.jpg
/home/pi/Desktop/images/27112025/14/40/image_27112025_14_41_05_9553.jpg
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_15_9576.jpg
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_25_10890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429102","1396429132","1396429172","1396429160","1396429192","1396429093"],"photo_ids_order":["1396429093","1396429102","1396429132","1396429160","1396429172","1396429192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca443aa1f8688d99265899d349c58d39.jpg","text":"TemporaryFile(/tmp/multipartBody2404440051594448148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_40_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f94b29f29962b9a4785b513f3aeb371.jpg","text":"TemporaryFile(/tmp/multipartBody3994009288847047949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_40_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0284520f46c17eb34f54a5be060a95c.jpg","text":"TemporaryFile(/tmp/multipartBody7566527805135503810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_41_15_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/802fd5a54e4ecdcf8b5a6dfac1e5a93c.jpg","text":"TemporaryFile(/tmp/multipartBody706983711348255033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_41_05_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d23caf2a2f407b605f0a11ac8a17b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5228115353128773344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_41_25_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01fe1c7731fe690dcc7d1a2a1829f080.jpg","text":"TemporaryFile(/tmp/multipartBody3450053096912095988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265084135,"filename":"image_27112025_14_40_35_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429132","file1":"1396429102","file0":"1396429093","file4":"1396429172","file5":"1396429192","file3":"1396429160"},"map_files_photo_id_array":[{"photo_id":"1396429192","filename":"file5"},{"photo_id":"1396429132","filename":"file2"},{"photo_id":"1396429172","filename":"file4"},{"photo_id":"1396429102","filename":"file1"},{"photo_id":"1396429093","filename":"file0"},{"photo_id":"1396429160","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396429102":["hashtag1","hashtag2"]},{"1396429132":["hashtag1","hashtag2"]},{"1396429172":["hashtag1","hashtag2"]},{"1396429160":["hashtag1","hashtag2"]},{"1396429192":["hashtag1","hashtag2"]},{"1396429093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396429102, 1396429132, 1396429172, 1396429160, 1396429192, 1396429093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.846338987350464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:38:03.209742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_35_9727.jpg', '/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_45_9804.jpg', '/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_55_9613.jpg', '/home/pi/Desktop/images/27112025/14/41/image_27112025_14_42_05_10660.jpg', '/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_15_9635.jpg', '/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_25_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_35_9727.jpg
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_45_9804.jpg
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_41_55_9613.jpg
/home/pi/Desktop/images/27112025/14/41/image_27112025_14_42_05_10660.jpg
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_15_9635.jpg
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_25_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429411","1396429435","1396429389","1396429455","1396429383","1396429437"],"photo_ids_order":["1396429383","1396429389","1396429411","1396429435","1396429437","1396429455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ba9babacd4fd3e7a9c554e30a657baf.jpg","text":"TemporaryFile(/tmp/multipartBody4356721391162782495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_41_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd9187b52f4b1921c3e90e2f84443f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7341599145470954827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_42_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5a69b5c3fd445ea26f8c41876be8d67.jpg","text":"TemporaryFile(/tmp/multipartBody3801042160716697875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_41_45_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22e2fc868699d820b381088ca67b1d44.jpg","text":"TemporaryFile(/tmp/multipartBody2134724807723454248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_42_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8411d9bbd6f0b62485fa575e2599a1f2.jpg","text":"TemporaryFile(/tmp/multipartBody4040785540263724409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_41_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14c6de36527e85879840bfe91d410dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4234843472826967693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265144183,"filename":"image_27112025_14_42_15_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429411","file1":"1396429389","file0":"1396429383","file4":"1396429437","file5":"1396429455","file3":"1396429435"},"map_files_photo_id_array":[{"photo_id":"1396429455","filename":"file5"},{"photo_id":"1396429411","filename":"file2"},{"photo_id":"1396429437","filename":"file4"},{"photo_id":"1396429389","filename":"file1"},{"photo_id":"1396429383","filename":"file0"},{"photo_id":"1396429435","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396429411":["hashtag1","hashtag2"]},{"1396429435":["hashtag1","hashtag2"]},{"1396429389":["hashtag1","hashtag2"]},{"1396429455":["hashtag1","hashtag2"]},{"1396429383":["hashtag1","hashtag2"]},{"1396429437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396429411, 1396429435, 1396429389, 1396429455, 1396429383, 1396429437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53162670135498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:39:03.017036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_35_10677.jpg', '/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_45_9632.jpg', '/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_55_10588.jpg', '/home/pi/Desktop/images/27112025/14/42/image_27112025_14_43_05_9706.jpg', '/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_15_10064.jpg', '/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_25_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_35_10677.jpg
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_45_9632.jpg
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_42_55_10588.jpg
/home/pi/Desktop/images/27112025/14/42/image_27112025_14_43_05_9706.jpg
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_15_10064.jpg
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_25_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429522","1396429504","1396429518","1396429509","1396429526","1396429514"],"photo_ids_order":["1396429504","1396429509","1396429514","1396429518","1396429522","1396429526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7dcfa6207aa2651be270f60f69abab53.jpg","text":"TemporaryFile(/tmp/multipartBody2547055384153297676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_43_15_10064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09e37d54298692f823d63122ff91bac6.jpg","text":"TemporaryFile(/tmp/multipartBody4776338058229643995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_42_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4aaf6ec40121a6393a583d9aa36ce16c.jpg","text":"TemporaryFile(/tmp/multipartBody7150944821383503055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_43_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/397662bbea19474c279bd9c0448a4801.jpg","text":"TemporaryFile(/tmp/multipartBody6327975501020136363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_42_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aeb2d2e65bdd1b1c7f2947329b2185c4.jpg","text":"TemporaryFile(/tmp/multipartBody5572416179975672244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_43_25_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ad4acd57dcb9cacb2dd9fdd6fc2f209.jpg","text":"TemporaryFile(/tmp/multipartBody3751169232018502215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265204179,"filename":"image_27112025_14_42_55_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429514","file1":"1396429509","file0":"1396429504","file4":"1396429522","file5":"1396429526","file3":"1396429518"},"map_files_photo_id_array":[{"photo_id":"1396429526","filename":"file5"},{"photo_id":"1396429514","filename":"file2"},{"photo_id":"1396429522","filename":"file4"},{"photo_id":"1396429509","filename":"file1"},{"photo_id":"1396429504","filename":"file0"},{"photo_id":"1396429518","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396429522":["hashtag1","hashtag2"]},{"1396429504":["hashtag1","hashtag2"]},{"1396429518":["hashtag1","hashtag2"]},{"1396429509":["hashtag1","hashtag2"]},{"1396429526":["hashtag1","hashtag2"]},{"1396429514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396429522, 1396429504, 1396429518, 1396429509, 1396429526, 1396429514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33047413825989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:40:02.545301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_35_10620.jpg', '/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_45_9716.jpg', '/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_55_9629.jpg', '/home/pi/Desktop/images/27112025/14/43/image_27112025_14_44_05_9893.jpg', '/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_15_10665.jpg', '/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_25_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_35_10620.jpg
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_45_9716.jpg
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_43_55_9629.jpg
/home/pi/Desktop/images/27112025/14/43/image_27112025_14_44_05_9893.jpg
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_15_10665.jpg
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_25_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429540","1396429559","1396429550","1396429553","1396429547","1396429555"],"photo_ids_order":["1396429540","1396429547","1396429550","1396429553","1396429555","1396429559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12394d80f2122c6d66c94408ce70c202.jpg","text":"TemporaryFile(/tmp/multipartBody4808704552726772800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_43_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/089232f9b895caf2fd689109db7acc06.jpg","text":"TemporaryFile(/tmp/multipartBody1158965173701201505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_44_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cec16d4a2cfbc9e7046ded25170a5868.jpg","text":"TemporaryFile(/tmp/multipartBody1627607459922545782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_43_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ae44a9f84c70b9349b41b19166ed740.jpg","text":"TemporaryFile(/tmp/multipartBody546748129699769039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_44_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17e7569e651adc1bb65be537ae6739f6.jpg","text":"TemporaryFile(/tmp/multipartBody6096500831663920977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_43_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65aec9f417e0f5d83a55298dca84a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody451295985765325611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265265206,"filename":"image_27112025_14_44_15_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429550","file1":"1396429547","file0":"1396429540","file4":"1396429555","file5":"1396429559","file3":"1396429553"},"map_files_photo_id_array":[{"photo_id":"1396429559","filename":"file5"},{"photo_id":"1396429550","filename":"file2"},{"photo_id":"1396429555","filename":"file4"},{"photo_id":"1396429547","filename":"file1"},{"photo_id":"1396429540","filename":"file0"},{"photo_id":"1396429553","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396429540":["hashtag1","hashtag2"]},{"1396429559":["hashtag1","hashtag2"]},{"1396429550":["hashtag1","hashtag2"]},{"1396429553":["hashtag1","hashtag2"]},{"1396429547":["hashtag1","hashtag2"]},{"1396429555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396429540, 1396429559, 1396429550, 1396429553, 1396429547, 1396429555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.972755670547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:41:03.099053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_35_9712.jpg', '/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_45_10653.jpg', '/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_55_9537.jpg', '/home/pi/Desktop/images/27112025/14/44/image_27112025_14_45_05_9685.jpg', '/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_15_10812.jpg', '/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_25_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_35_9712.jpg
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_45_10653.jpg
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_44_55_9537.jpg
/home/pi/Desktop/images/27112025/14/44/image_27112025_14_45_05_9685.jpg
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_15_10812.jpg
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_25_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429630","1396429590","1396429584","1396429632","1396429608","1396429634"],"photo_ids_order":["1396429584","1396429590","1396429608","1396429630","1396429632","1396429634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/755cb66c544442cf90d9dc396da3477c.jpg","text":"TemporaryFile(/tmp/multipartBody2149601071383738601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_45_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d15b7c9fa22a8c8cc5c9030d0d31b035.jpg","text":"TemporaryFile(/tmp/multipartBody1225705442145751041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_44_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f4755a57f53869b6579a2644a46c1ee.jpg","text":"TemporaryFile(/tmp/multipartBody5080813656570085007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_44_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98e103fcf895eec4d5d8c3fd18f6caeb.jpg","text":"TemporaryFile(/tmp/multipartBody5393870313195712286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_45_15_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9f4a154a3ca572554f48624b031429a.jpg","text":"TemporaryFile(/tmp/multipartBody2839641303466605333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_44_55_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c435475be1c9bb030504255d5c7b6d9.jpg","text":"TemporaryFile(/tmp/multipartBody1751118118812957392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265323990,"filename":"image_27112025_14_45_25_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429608","file1":"1396429590","file0":"1396429584","file4":"1396429632","file5":"1396429634","file3":"1396429630"},"map_files_photo_id_array":[{"photo_id":"1396429634","filename":"file5"},{"photo_id":"1396429608","filename":"file2"},{"photo_id":"1396429632","filename":"file4"},{"photo_id":"1396429590","filename":"file1"},{"photo_id":"1396429584","filename":"file0"},{"photo_id":"1396429630","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396429630":["hashtag1","hashtag2"]},{"1396429590":["hashtag1","hashtag2"]},{"1396429584":["hashtag1","hashtag2"]},{"1396429632":["hashtag1","hashtag2"]},{"1396429608":["hashtag1","hashtag2"]},{"1396429634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396429630, 1396429590, 1396429584, 1396429632, 1396429608, 1396429634)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.729931354522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:42:02.917123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:42:14.842364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_41_2677.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_43_2797.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_47_3573.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_50_2911.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_53_2605.jpg', '/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_55_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_41_2677.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_43_2797.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_47_3573.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_50_2911.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_53_2605.jpg
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_55_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396429927","1396429797","1396429767","1396429869","1396429898","1396429838"],"photo_ids_order":["1396429767","1396429797","1396429838","1396429869","1396429898","1396429927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b7c217100b30284d8b1ad2fbcae3342.jpg","text":"TemporaryFile(/tmp/multipartBody1469300724658085094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_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/27/065171682c0ade9107888368a6b39e26.jpg","text":"TemporaryFile(/tmp/multipartBody4821602292967008658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_43_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/27/3034078eb3ebb3f1388b2423204449e9.jpg","text":"TemporaryFile(/tmp/multipartBody8596390860720719030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_41_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/27/7d5746c46756ab7301dbbdc16d8c4b16.jpg","text":"TemporaryFile(/tmp/multipartBody2651226817920418648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_50_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/27/19bde69ae4d0e060ee692b2621871c7e.jpg","text":"TemporaryFile(/tmp/multipartBody842700640404382863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_53_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/27/5949e7326143a83d4cddad061be6055c.jpg","text":"TemporaryFile(/tmp/multipartBody2482970917196107875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265398032,"filename":"image_21112025_21_24_47_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396429838","file1":"1396429797","file0":"1396429767","file4":"1396429898","file5":"1396429927","file3":"1396429869"},"map_files_photo_id_array":[{"photo_id":"1396429927","filename":"file5"},{"photo_id":"1396429838","filename":"file2"},{"photo_id":"1396429898","filename":"file4"},{"photo_id":"1396429797","filename":"file1"},{"photo_id":"1396429767","filename":"file0"},{"photo_id":"1396429869","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396429927":["hashtag1","hashtag2"]},{"1396429797":["hashtag1","hashtag2"]},{"1396429767":["hashtag1","hashtag2"]},{"1396429869":["hashtag1","hashtag2"]},{"1396429898":["hashtag1","hashtag2"]},{"1396429838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396429927, 1396429797, 1396429767, 1396429869, 1396429898, 1396429838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.9297411441803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:43:05.075364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_40_15293.jpg', '/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_45_4761.jpg', '/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_55_9797.jpg', '/home/pi/Desktop/images/27112025/14/45/image_27112025_14_46_05_10475.jpg', '/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_15_9858.jpg', '/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_25_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_40_15293.jpg
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_45_4761.jpg
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_45_55_9797.jpg
/home/pi/Desktop/images/27112025/14/45/image_27112025_14_46_05_10475.jpg
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_15_9858.jpg
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_25_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396430191","1396430158","1396430452","1396430355","1396430285","1396430234"],"photo_ids_order":["1396430158","1396430191","1396430234","1396430285","1396430355","1396430452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f09b7df8026f43b37abdb7dbfec9a99.jpg","text":"TemporaryFile(/tmp/multipartBody8159637011111407215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_45_45_4761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/657bf5f91868cdcd9b1e45f70f9d538d.jpg","text":"TemporaryFile(/tmp/multipartBody9008561734258172933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_45_40_15293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/580f22e0634ef3fca7cd5802bbca2ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7926986570722203396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_46_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/468dd29673fef78cc7c39445de5b47a1.jpg","text":"TemporaryFile(/tmp/multipartBody6914712318741170195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_46_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20de07cdd2ed02c8681350e30f4dd784.jpg","text":"TemporaryFile(/tmp/multipartBody6879414343419659051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_46_05_10475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d15ec7c11e05bb400b8cf19f017f5ff1.jpg","text":"TemporaryFile(/tmp/multipartBody153041300872714731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265448721,"filename":"image_27112025_14_45_55_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396430234","file1":"1396430191","file0":"1396430158","file4":"1396430355","file5":"1396430452","file3":"1396430285"},"map_files_photo_id_array":[{"photo_id":"1396430452","filename":"file5"},{"photo_id":"1396430234","filename":"file2"},{"photo_id":"1396430355","filename":"file4"},{"photo_id":"1396430191","filename":"file1"},{"photo_id":"1396430158","filename":"file0"},{"photo_id":"1396430285","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396430191":["hashtag1","hashtag2"]},{"1396430158":["hashtag1","hashtag2"]},{"1396430452":["hashtag1","hashtag2"]},{"1396430355":["hashtag1","hashtag2"]},{"1396430285":["hashtag1","hashtag2"]},{"1396430234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396430191, 1396430158, 1396430452, 1396430355, 1396430285, 1396430234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.332603216171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:44:03.499701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_35_9948.jpg', '/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_45_10654.jpg', '/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_55_9861.jpg', '/home/pi/Desktop/images/27112025/14/46/image_27112025_14_47_05_9563.jpg', '/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_15_9686.jpg', '/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_25_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_35_9948.jpg
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_45_10654.jpg
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_46_55_9861.jpg
/home/pi/Desktop/images/27112025/14/46/image_27112025_14_47_05_9563.jpg
/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_15_9686.jpg
/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_25_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396430872","1396430860","1396430818","1396430868","1396430865","1396430789"],"photo_ids_order":["1396430789","1396430818","1396430860","1396430865","1396430868","1396430872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37e88c552887ff89c2847ffefb9c2819.jpg","text":"TemporaryFile(/tmp/multipartBody1650179986526399584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_47_25_10488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/100ac60b0a26ffefe8046ede7276ee16.jpg","text":"TemporaryFile(/tmp/multipartBody1299125236060189750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_46_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/304e47230be23995fcd50fcf0fd964ff.jpg","text":"TemporaryFile(/tmp/multipartBody2514039948310678032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_46_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/877e2f4e9efd9907f0425a77ab66dcef.jpg","text":"TemporaryFile(/tmp/multipartBody5210667009099991313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_47_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c3b843a08cc2b1c812821eaba2142af0.jpg","text":"TemporaryFile(/tmp/multipartBody4054076977238491988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_47_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39bbc626c360bd4efd072229d8095e73.jpg","text":"TemporaryFile(/tmp/multipartBody8657606873531012440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265506734,"filename":"image_27112025_14_46_35_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396430860","file1":"1396430818","file0":"1396430789","file4":"1396430868","file5":"1396430872","file3":"1396430865"},"map_files_photo_id_array":[{"photo_id":"1396430872","filename":"file5"},{"photo_id":"1396430860","filename":"file2"},{"photo_id":"1396430868","filename":"file4"},{"photo_id":"1396430818","filename":"file1"},{"photo_id":"1396430789","filename":"file0"},{"photo_id":"1396430865","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396430872":["hashtag1","hashtag2"]},{"1396430860":["hashtag1","hashtag2"]},{"1396430818":["hashtag1","hashtag2"]},{"1396430868":["hashtag1","hashtag2"]},{"1396430865":["hashtag1","hashtag2"]},{"1396430789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396430872, 1396430860, 1396430818, 1396430868, 1396430865, 1396430789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.441821336746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:45:03.342312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_35_9646.jpg', '/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_45_10579.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_01_15800.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_05_3704.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_15_9768.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_25_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_35_9646.jpg
/home/pi/Desktop/images/27112025/14/47/image_27112025_14_47_45_10579.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_01_15800.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_05_3704.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_15_9768.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_25_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431090","1396431093","1396431050","1396431023","1396431076","1396430992"],"photo_ids_order":["1396430992","1396431023","1396431050","1396431076","1396431090","1396431093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f6fe9234710f5fc843f0f188281c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody4785618649132417968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_48_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e59fda87c02a771ce07055d705c2b09.jpg","text":"TemporaryFile(/tmp/multipartBody2721363585496220263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_48_25_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5960e9503895b40824a9ef1af8a576c9.jpg","text":"TemporaryFile(/tmp/multipartBody8906771855648970952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_48_01_15800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ffa854f4ef4aae7ab1fa8b5f790fd7c.jpg","text":"TemporaryFile(/tmp/multipartBody134575291202359128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_47_45_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c50659918a256bf6d112b68eee146c7.jpg","text":"TemporaryFile(/tmp/multipartBody7558245011943322918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_48_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/27/5872276db0a1d9244f53e1e5f14459d6.jpg","text":"TemporaryFile(/tmp/multipartBody261791585518372468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265567149,"filename":"image_27112025_14_47_35_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431050","file1":"1396431023","file0":"1396430992","file4":"1396431090","file5":"1396431093","file3":"1396431076"},"map_files_photo_id_array":[{"photo_id":"1396431093","filename":"file5"},{"photo_id":"1396431050","filename":"file2"},{"photo_id":"1396431090","filename":"file4"},{"photo_id":"1396431023","filename":"file1"},{"photo_id":"1396430992","filename":"file0"},{"photo_id":"1396431076","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396431090":["hashtag1","hashtag2"]},{"1396431093":["hashtag1","hashtag2"]},{"1396431050":["hashtag1","hashtag2"]},{"1396431023":["hashtag1","hashtag2"]},{"1396431076":["hashtag1","hashtag2"]},{"1396430992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396431090, 1396431093, 1396431050, 1396431023, 1396431076, 1396430992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.92555093765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:46:02.589888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:46:12.084396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_59_3609.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_11_3668.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_13_2742.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_16_2625.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_22_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/24/image_21112025_21_24_59_3609.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_07_3011.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_11_3668.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_13_2742.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_16_2625.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_22_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431283","1396431310","1396431399","1396431339","1396431371","1396431271"],"photo_ids_order":["1396431271","1396431283","1396431310","1396431339","1396431371","1396431399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fc8f751e2ec84637264310838011f38.jpg","text":"TemporaryFile(/tmp/multipartBody8968895990385118273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_26_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/27/59fd37783fb20d3b151693df68e197e4.jpg","text":"TemporaryFile(/tmp/multipartBody4059919492656759015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_26_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/27/82d8294db939dac3b9657d6ac2c07a39.jpg","text":"TemporaryFile(/tmp/multipartBody9122322563589542820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_26_22_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/27/826803aa56e3bd0faf3f5ce6a5e4648b.jpg","text":"TemporaryFile(/tmp/multipartBody7459524615810972883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_26_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/27/d4fe412133e6bd92809d1cd887e8a556.jpg","text":"TemporaryFile(/tmp/multipartBody7477926712906317917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_26_16_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/27/0cc6f84b307c4ca5bdbb39dc79a08bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4406395058166245367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265634140,"filename":"image_21112025_21_24_59_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431310","file1":"1396431283","file0":"1396431271","file4":"1396431371","file5":"1396431399","file3":"1396431339"},"map_files_photo_id_array":[{"photo_id":"1396431399","filename":"file5"},{"photo_id":"1396431310","filename":"file2"},{"photo_id":"1396431371","filename":"file4"},{"photo_id":"1396431283","filename":"file1"},{"photo_id":"1396431271","filename":"file0"},{"photo_id":"1396431339","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396431283":["hashtag1","hashtag2"]},{"1396431310":["hashtag1","hashtag2"]},{"1396431399":["hashtag1","hashtag2"]},{"1396431339":["hashtag1","hashtag2"]},{"1396431371":["hashtag1","hashtag2"]},{"1396431271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396431283, 1396431310, 1396431399, 1396431339, 1396431371, 1396431271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.248345136642456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:47:03.061751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_36_10235.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_45_9789.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_56_10837.jpg', '/home/pi/Desktop/images/27112025/14/48/image_27112025_14_49_05_8791.jpg', '/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_15_10185.jpg', '/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_25_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_36_10235.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_45_9789.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_48_56_10837.jpg
/home/pi/Desktop/images/27112025/14/48/image_27112025_14_49_05_8791.jpg
/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_15_10185.jpg
/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_25_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431532","1396431507","1396431488","1396431479","1396431503","1396431509"],"photo_ids_order":["1396431479","1396431488","1396431503","1396431507","1396431509","1396431532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c9c710f7034d7a1c39b4b1c65a20f32.jpg","text":"TemporaryFile(/tmp/multipartBody2472903850543052510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_49_25_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7a5730235cf47f8a5a3d64a6e0c4e68.jpg","text":"TemporaryFile(/tmp/multipartBody4504399760084668990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_49_05_8791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6dc7c44d42b26c40ac402e3a58e2c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1886366507064676147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_48_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/740e9820bc11439d87eb61201d21b7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3164756485722294832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_48_36_10235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e68f077cddd066a0fc2eff4fa38cceda.jpg","text":"TemporaryFile(/tmp/multipartBody4603109982127992485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_48_56_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72b0975736d94982ac7244a5638f68d7.jpg","text":"TemporaryFile(/tmp/multipartBody3868334018901934665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265685729,"filename":"image_27112025_14_49_15_10185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431503","file1":"1396431488","file0":"1396431479","file4":"1396431509","file5":"1396431532","file3":"1396431507"},"map_files_photo_id_array":[{"photo_id":"1396431532","filename":"file5"},{"photo_id":"1396431503","filename":"file2"},{"photo_id":"1396431509","filename":"file4"},{"photo_id":"1396431488","filename":"file1"},{"photo_id":"1396431479","filename":"file0"},{"photo_id":"1396431507","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396431532":["hashtag1","hashtag2"]},{"1396431507":["hashtag1","hashtag2"]},{"1396431488":["hashtag1","hashtag2"]},{"1396431479":["hashtag1","hashtag2"]},{"1396431503":["hashtag1","hashtag2"]},{"1396431509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396431532, 1396431507, 1396431488, 1396431479, 1396431503, 1396431509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.82827877998352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:48:03.276285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:48:12.705493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_26_3547.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_28_2536.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_32_3563.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_35_2808.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_37_2702.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_40_3130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_26_3547.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_28_2536.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_32_3563.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_35_2808.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_37_2702.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_40_3130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431672","1396431660","1396431674","1396431668","1396431656","1396431664"],"photo_ids_order":["1396431656","1396431660","1396431664","1396431668","1396431672","1396431674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62f8e593adbad6ba804246d6502cbed1.jpg","text":"TemporaryFile(/tmp/multipartBody1285933139199662931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_37_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/27/15f675feff2fa7068acea67ce6b9ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody4692470748534746580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_28_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/27/a2c6bb635ac1b31fd4c8491334724aff.jpg","text":"TemporaryFile(/tmp/multipartBody7965701492199576857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_40_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/27/323fb2157cc25383fb620983f8f5f156.jpg","text":"TemporaryFile(/tmp/multipartBody1616970460812108110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_35_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/27/58c8ba5bc9331da0c7539d6118cd40a3.jpg","text":"TemporaryFile(/tmp/multipartBody9091581345376328767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_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/27/43c0397e8677cf5a33ae2857cb523ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7920456879098963762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265754633,"filename":"image_21112025_21_26_32_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431664","file1":"1396431660","file0":"1396431656","file4":"1396431672","file5":"1396431674","file3":"1396431668"},"map_files_photo_id_array":[{"photo_id":"1396431674","filename":"file5"},{"photo_id":"1396431664","filename":"file2"},{"photo_id":"1396431672","filename":"file4"},{"photo_id":"1396431660","filename":"file1"},{"photo_id":"1396431656","filename":"file0"},{"photo_id":"1396431668","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396431672":["hashtag1","hashtag2"]},{"1396431660":["hashtag1","hashtag2"]},{"1396431674":["hashtag1","hashtag2"]},{"1396431668":["hashtag1","hashtag2"]},{"1396431656":["hashtag1","hashtag2"]},{"1396431664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396431672, 1396431660, 1396431674, 1396431668, 1396431656, 1396431664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.647719621658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:49:02.933576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_35_9788.jpg', '/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_14_10048.jpg', '/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_24_10772.jpg', '/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_34_9586.jpg', '/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_44_9810.jpg', '/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_55_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/49/image_27112025_14_49_35_9788.jpg
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_14_10048.jpg
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_24_10772.jpg
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_34_9586.jpg
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_44_9810.jpg
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_51_55_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431709","1396431789","1396431774","1396431822","1396431810","1396431742"],"photo_ids_order":["1396431709","1396431742","1396431774","1396431789","1396431810","1396431822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0afde7617af506119c54a1d0d15204fb.jpg","text":"TemporaryFile(/tmp/multipartBody7541772950732958802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_49_35_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44d95e6122d56ac73afae3cadbd4d619.jpg","text":"TemporaryFile(/tmp/multipartBody8446948023943134286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_51_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6699426103cbbaba4c61edd347234f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1710333516129104233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_51_24_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f633908092df5432ac09be2d39f512d4.jpg","text":"TemporaryFile(/tmp/multipartBody7917908805960189075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_51_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a2eb554bf1d3e9fce38fef07d07ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody3076776174424673657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_51_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4f1efcb5b04a2b08be744136edf74c4.jpg","text":"TemporaryFile(/tmp/multipartBody5826845619670408988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265804035,"filename":"image_27112025_14_51_14_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431774","file1":"1396431742","file0":"1396431709","file4":"1396431810","file5":"1396431822","file3":"1396431789"},"map_files_photo_id_array":[{"photo_id":"1396431822","filename":"file5"},{"photo_id":"1396431774","filename":"file2"},{"photo_id":"1396431810","filename":"file4"},{"photo_id":"1396431742","filename":"file1"},{"photo_id":"1396431709","filename":"file0"},{"photo_id":"1396431789","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396431709":["hashtag1","hashtag2"]},{"1396431789":["hashtag1","hashtag2"]},{"1396431774":["hashtag1","hashtag2"]},{"1396431822":["hashtag1","hashtag2"]},{"1396431810":["hashtag1","hashtag2"]},{"1396431742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396431709, 1396431789, 1396431774, 1396431822, 1396431810, 1396431742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48755478858948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:50:02.787129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/51/image_27112025_14_52_04_9727.jpg', '/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_14_9733.jpg', '/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_24_9617.jpg', '/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_34_10616.jpg', '/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_44_9624.jpg', '/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_54_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/51/image_27112025_14_52_04_9727.jpg
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_14_9733.jpg
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_24_9617.jpg
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_34_10616.jpg
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_44_9624.jpg
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_52_54_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431891","1396431894","1396431921","1396431909","1396431887","1396431883"],"photo_ids_order":["1396431883","1396431887","1396431891","1396431894","1396431909","1396431921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4140414550bd73214b0195dc9314783b.jpg","text":"TemporaryFile(/tmp/multipartBody6174060143740472308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ab64b3c3095bd12377ed69f50ef16d2.jpg","text":"TemporaryFile(/tmp/multipartBody4914308003480408218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76fd963b9b58147521700779a3fa8220.jpg","text":"TemporaryFile(/tmp/multipartBody5869420107961676427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c6aa02fb77d41632db4ac824c44fee8.jpg","text":"TemporaryFile(/tmp/multipartBody6873984830046707281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_44_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/27/b32e989d6b2ad500034e9ac23a1910bb.jpg","text":"TemporaryFile(/tmp/multipartBody8828917069135393263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df2b542c673579d0d73fecd8a124652f.jpg","text":"TemporaryFile(/tmp/multipartBody6899051059512526646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265863732,"filename":"image_27112025_14_52_04_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431891","file1":"1396431887","file0":"1396431883","file4":"1396431909","file5":"1396431921","file3":"1396431894"},"map_files_photo_id_array":[{"photo_id":"1396431921","filename":"file5"},{"photo_id":"1396431891","filename":"file2"},{"photo_id":"1396431909","filename":"file4"},{"photo_id":"1396431887","filename":"file1"},{"photo_id":"1396431883","filename":"file0"},{"photo_id":"1396431894","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396431891":["hashtag1","hashtag2"]},{"1396431894":["hashtag1","hashtag2"]},{"1396431921":["hashtag1","hashtag2"]},{"1396431909":["hashtag1","hashtag2"]},{"1396431887":["hashtag1","hashtag2"]},{"1396431883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396431891, 1396431894, 1396431921, 1396431909, 1396431887, 1396431883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83445644378662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:51:03.169489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:51:12.518534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_43_2585.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_58_14605.jpg', '/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_59_1711.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_01_1655.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_20_18701.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_21_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_43_2585.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_58_14605.jpg
/home/pi/Desktop/images/21112025/21/26/image_21112025_21_26_59_1711.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_01_1655.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_20_18701.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_21_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396431996","1396431992","1396431971","1396431965","1396431988","1396431982"],"photo_ids_order":["1396431965","1396431971","1396431982","1396431988","1396431992","1396431996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43f71e1092942a990a3c90c92ce883ed.jpg","text":"TemporaryFile(/tmp/multipartBody1434824117304684210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_27_21_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/27/5255cb91dfc0f98bdf7e16e2f206daeb.jpg","text":"TemporaryFile(/tmp/multipartBody8962833298401406556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_27_20_18701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7024825552acc88c4e3c82dfad206c12.jpg","text":"TemporaryFile(/tmp/multipartBody3929633973442211420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_26_58_14605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/123040ff8a618a0de37db66e254e5ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4680655398200982568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_26_43_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/27/ed84d8c54d9d22b8d53983a5d2b3b6e1.jpg","text":"TemporaryFile(/tmp/multipartBody7868010153052753296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_27_01_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/27/70f11146018482c20f585093e5a72fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5248497641918866779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265936098,"filename":"image_21112025_21_26_59_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396431982","file1":"1396431971","file0":"1396431965","file4":"1396431992","file5":"1396431996","file3":"1396431988"},"map_files_photo_id_array":[{"photo_id":"1396431996","filename":"file5"},{"photo_id":"1396431982","filename":"file2"},{"photo_id":"1396431992","filename":"file4"},{"photo_id":"1396431971","filename":"file1"},{"photo_id":"1396431965","filename":"file0"},{"photo_id":"1396431988","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396431996":["hashtag1","hashtag2"]},{"1396431992":["hashtag1","hashtag2"]},{"1396431971":["hashtag1","hashtag2"]},{"1396431965":["hashtag1","hashtag2"]},{"1396431988":["hashtag1","hashtag2"]},{"1396431982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396431996, 1396431992, 1396431971, 1396431965, 1396431988, 1396431982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.851889848709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:52:03.136547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/52/image_27112025_14_53_04_10778.jpg', '/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_14_9785.jpg', '/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_24_9851.jpg', '/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_34_9598.jpg', '/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_44_10703.jpg', '/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/52/image_27112025_14_53_04_10778.jpg
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_14_9785.jpg
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_24_9851.jpg
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_34_9598.jpg
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_44_10703.jpg
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_53_54_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396432012","1396432015","1396432053","1396432044","1396432031","1396432049"],"photo_ids_order":["1396432012","1396432015","1396432031","1396432044","1396432049","1396432053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ddc171594341d30c9c3f85731b304bd.jpg","text":"TemporaryFile(/tmp/multipartBody8610392886829105759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_04_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d93993926a0b9fb26b9fcde54a0b27da.jpg","text":"TemporaryFile(/tmp/multipartBody3006526196044793526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5262312cab9777fe679099ae6d7ad62d.jpg","text":"TemporaryFile(/tmp/multipartBody9005401326755961335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04231289b4673091172062a6943500b4.jpg","text":"TemporaryFile(/tmp/multipartBody8712013978547783717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44c560e2cf60f4f05d15832787fa8460.jpg","text":"TemporaryFile(/tmp/multipartBody3768002100045013550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_24_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5aee29177189f9a7d46d3109c76936f6.jpg","text":"TemporaryFile(/tmp/multipartBody988811491825715830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764265984186,"filename":"image_27112025_14_53_44_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396432031","file1":"1396432015","file0":"1396432012","file4":"1396432049","file5":"1396432053","file3":"1396432044"},"map_files_photo_id_array":[{"photo_id":"1396432053","filename":"file5"},{"photo_id":"1396432031","filename":"file2"},{"photo_id":"1396432049","filename":"file4"},{"photo_id":"1396432015","filename":"file1"},{"photo_id":"1396432012","filename":"file0"},{"photo_id":"1396432044","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396432012":["hashtag1","hashtag2"]},{"1396432015":["hashtag1","hashtag2"]},{"1396432053":["hashtag1","hashtag2"]},{"1396432044":["hashtag1","hashtag2"]},{"1396432031":["hashtag1","hashtag2"]},{"1396432049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396432012, 1396432015, 1396432053, 1396432044, 1396432031, 1396432049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01085090637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:53:02.738560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/53/image_27112025_14_54_04_9644.jpg', '/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_14_9954.jpg', '/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_24_10687.jpg', '/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_34_9708.jpg', '/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_44_9602.jpg', '/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_54_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/53/image_27112025_14_54_04_9644.jpg
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_14_9954.jpg
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_24_10687.jpg
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_34_9708.jpg
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_44_9602.jpg
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_54_54_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396432330","1396432391","1396432448","1396432174","1396432261","1396432117"],"photo_ids_order":["1396432117","1396432174","1396432261","1396432330","1396432391","1396432448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/acd0b1901d4a1c7938fce8c84f081d62.jpg","text":"TemporaryFile(/tmp/multipartBody3978736862746930633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33497710960af43bb9f4a88e47dd2853.jpg","text":"TemporaryFile(/tmp/multipartBody7044234247888627962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c22d6b1cd48638e88e0a6b2d54850699.jpg","text":"TemporaryFile(/tmp/multipartBody850108870657650041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_54_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53ef8d65d09eff4b694f374cdf796889.jpg","text":"TemporaryFile(/tmp/multipartBody6459950908020189317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_14_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7202f292bc6b38a7e99ae5330479cf0.jpg","text":"TemporaryFile(/tmp/multipartBody2134321364567877943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_24_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bea5e35b161bd3adcc08338d8c822477.jpg","text":"TemporaryFile(/tmp/multipartBody3535881484580225470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266043805,"filename":"image_27112025_14_54_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396432261","file1":"1396432174","file0":"1396432117","file4":"1396432391","file5":"1396432448","file3":"1396432330"},"map_files_photo_id_array":[{"photo_id":"1396432448","filename":"file5"},{"photo_id":"1396432261","filename":"file2"},{"photo_id":"1396432391","filename":"file4"},{"photo_id":"1396432174","filename":"file1"},{"photo_id":"1396432117","filename":"file0"},{"photo_id":"1396432330","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396432330":["hashtag1","hashtag2"]},{"1396432391":["hashtag1","hashtag2"]},{"1396432448":["hashtag1","hashtag2"]},{"1396432174":["hashtag1","hashtag2"]},{"1396432261":["hashtag1","hashtag2"]},{"1396432117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396432330, 1396432391, 1396432448, 1396432174, 1396432261, 1396432117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.53537583351135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:54:04.727194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:54:11.885060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10
2025-11-27 18:54:21.855239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/54/image_27112025_14_55_04_9683.jpg', '/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_14_9758.jpg', '/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_25_10618.jpg', '/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_34_9725.jpg', '/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_44_9697.jpg', '/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/54/image_27112025_14_55_04_9683.jpg
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_14_9758.jpg
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_25_10618.jpg
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_34_9725.jpg
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_44_9697.jpg
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_55_54_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396432782","1396432752","1396432722","1396432792","1396432693","1396432794"],"photo_ids_order":["1396432693","1396432722","1396432752","1396432782","1396432792","1396432794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c02282ad606cc4e69123a945329c6af.jpg","text":"TemporaryFile(/tmp/multipartBody8480289613962240678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c71a6174cf9e804b2a466752dcef27bd.jpg","text":"TemporaryFile(/tmp/multipartBody6856666446341313491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec993ada50086bf3b306952eb73b3d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7692377862463969028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2075b7fda0e5140b71cd639b278152fb.jpg","text":"TemporaryFile(/tmp/multipartBody5140194186667366276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e12b1b1702cbdd4532bedae7a9198270.jpg","text":"TemporaryFile(/tmp/multipartBody4832736366750762505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f30227e44edffb05c576362d55e45306.jpg","text":"TemporaryFile(/tmp/multipartBody3811415878158941418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266123124,"filename":"image_27112025_14_55_54_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396432752","file1":"1396432722","file0":"1396432693","file4":"1396432792","file5":"1396432794","file3":"1396432782"},"map_files_photo_id_array":[{"photo_id":"1396432794","filename":"file5"},{"photo_id":"1396432752","filename":"file2"},{"photo_id":"1396432792","filename":"file4"},{"photo_id":"1396432722","filename":"file1"},{"photo_id":"1396432693","filename":"file0"},{"photo_id":"1396432782","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396432782":["hashtag1","hashtag2"]},{"1396432752":["hashtag1","hashtag2"]},{"1396432722":["hashtag1","hashtag2"]},{"1396432792":["hashtag1","hashtag2"]},{"1396432693":["hashtag1","hashtag2"]},{"1396432794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396432782, 1396432752, 1396432722, 1396432792, 1396432693, 1396432794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.480963706970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:55:12.683852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 18:55:21.972133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_23_1563.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_25_1640.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_26_1667.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_28_1624.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_30_1741.jpg', '/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_31_1813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_23_1563.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_25_1640.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_26_1667.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_28_1624.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_30_1741.jpg
/home/pi/Desktop/images/21112025/21/27/image_21112025_21_27_31_1813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396432932","1396432926","1396432935","1396432929","1396432917","1396432922"],"photo_ids_order":["1396432917","1396432922","1396432926","1396432929","1396432932","1396432935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cd5a279c0afccd59753d6c6753db362.jpg","text":"TemporaryFile(/tmp/multipartBody8906813885756146923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_30_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/27/90307720ac18f3619b5611c0751ce9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6130372774486013787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_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/27/252aa65513a039e7e2f6c206f5298270.jpg","text":"TemporaryFile(/tmp/multipartBody9185411418118207919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_31_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff75339beb2dbc98aa6d082506858855.jpg","text":"TemporaryFile(/tmp/multipartBody4620684480251625923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_28_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/27/3aae1f1530e3fcb9cc6895e56141a14f.jpg","text":"TemporaryFile(/tmp/multipartBody6350040895075113688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_23_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/27/f6e4cd73450f5d8fd2d57b9c2efe93ec.jpg","text":"TemporaryFile(/tmp/multipartBody4990714723851631274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266183923,"filename":"image_21112025_21_27_25_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396432926","file1":"1396432922","file0":"1396432917","file4":"1396432932","file5":"1396432935","file3":"1396432929"},"map_files_photo_id_array":[{"photo_id":"1396432935","filename":"file5"},{"photo_id":"1396432926","filename":"file2"},{"photo_id":"1396432932","filename":"file4"},{"photo_id":"1396432922","filename":"file1"},{"photo_id":"1396432917","filename":"file0"},{"photo_id":"1396432929","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396432932":["hashtag1","hashtag2"]},{"1396432926":["hashtag1","hashtag2"]},{"1396432935":["hashtag1","hashtag2"]},{"1396432929":["hashtag1","hashtag2"]},{"1396432917":["hashtag1","hashtag2"]},{"1396432922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396432932, 1396432926, 1396432935, 1396432929, 1396432917, 1396432922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78404664993286 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 10 --only_old 1
2025-11-27 18:56:15.351012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_06_3012.jpg', '/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_10_3685.jpg', '/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_13_2671.jpg', '/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_15_2702.jpg', '/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_31_15827.jpg', '/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_33_1511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_06_3012.jpg
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_10_3685.jpg
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_13_2671.jpg
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_15_2702.jpg
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_31_15827.jpg
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_33_1511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396432956","1396432965","1396432968","1396432947","1396432970","1396432992"],"photo_ids_order":["1396432947","1396432956","1396432965","1396432968","1396432970","1396432992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99a36cd10aa9fe93d3de188cb1400d39.jpg","text":"TemporaryFile(/tmp/multipartBody3918457762192534980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_29_10_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/27/d915361614be42ec165314b69f5df5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7520172430814492103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_29_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/27/e8e8e7ec5d8386f4632e73fa4c85569c.jpg","text":"TemporaryFile(/tmp/multipartBody8991157356570364768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_29_15_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/27/3332ffe79838e4af8467304c023c06f5.jpg","text":"TemporaryFile(/tmp/multipartBody4071854463389068972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_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/27/02f42a1d121c5f8ed9183f34839abf50.jpg","text":"TemporaryFile(/tmp/multipartBody934342653219824497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_29_31_15827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/deffe63bd71cf57daab494aa3b1aceef.jpg","text":"TemporaryFile(/tmp/multipartBody9085292319011835225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266237347,"filename":"image_21112025_21_29_33_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396432965","file1":"1396432956","file0":"1396432947","file4":"1396432970","file5":"1396432992","file3":"1396432968"},"map_files_photo_id_array":[{"photo_id":"1396432992","filename":"file5"},{"photo_id":"1396432965","filename":"file2"},{"photo_id":"1396432970","filename":"file4"},{"photo_id":"1396432956","filename":"file1"},{"photo_id":"1396432947","filename":"file0"},{"photo_id":"1396432968","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396432956":["hashtag1","hashtag2"]},{"1396432965":["hashtag1","hashtag2"]},{"1396432968":["hashtag1","hashtag2"]},{"1396432947":["hashtag1","hashtag2"]},{"1396432970":["hashtag1","hashtag2"]},{"1396432992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396432956, 1396432965, 1396432968, 1396432947, 1396432970, 1396432992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.859625577926636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 18:57:12.587858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_34_1755.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_10_3638.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_13_2769.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_16_2651.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_20_3858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/29/image_21112025_21_29_34_1755.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_07_3011.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_10_3638.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_13_2769.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_16_2651.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_20_3858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396433096","1396433099","1396433090","1396433093","1396433086","1396433088"],"photo_ids_order":["1396433086","1396433088","1396433090","1396433093","1396433096","1396433099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59c47d4a29a104fcd3be5473be38080c.jpg","text":"TemporaryFile(/tmp/multipartBody6844941528151105083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_31_16_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/27/fdd4ee0e7fb138a7fc5bb7fca5805fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4882265694117742518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_31_20_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d9fcbcf74e04954206d0c81aab143c3e.jpg","text":"TemporaryFile(/tmp/multipartBody5926359688554686189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_31_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/27/84d331ebbce2c715fd36a209e1f7d884.jpg","text":"TemporaryFile(/tmp/multipartBody3899863794013469184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_31_13_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/27/f9b9ee7a780781be106d86f8414a9957.jpg","text":"TemporaryFile(/tmp/multipartBody2821085608518287976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_29_34_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9caa39a6e869f3273bef390917bd8d7.jpg","text":"TemporaryFile(/tmp/multipartBody4459510230271159637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266295142,"filename":"image_21112025_21_31_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396433090","file1":"1396433088","file0":"1396433086","file4":"1396433096","file5":"1396433099","file3":"1396433093"},"map_files_photo_id_array":[{"photo_id":"1396433099","filename":"file5"},{"photo_id":"1396433090","filename":"file2"},{"photo_id":"1396433096","filename":"file4"},{"photo_id":"1396433088","filename":"file1"},{"photo_id":"1396433086","filename":"file0"},{"photo_id":"1396433093","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396433096":["hashtag1","hashtag2"]},{"1396433099":["hashtag1","hashtag2"]},{"1396433090":["hashtag1","hashtag2"]},{"1396433093":["hashtag1","hashtag2"]},{"1396433086":["hashtag1","hashtag2"]},{"1396433088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396433096, 1396433099, 1396433090, 1396433093, 1396433086, 1396433088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30020356178284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 18:59:03.038136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/55/image_27112025_14_56_04_10615.jpg', '/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_14_9677.jpg', '/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_24_9820.jpg', '/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_34_10583.jpg', '/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_44_9804.jpg', '/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_54_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/55/image_27112025_14_56_04_10615.jpg
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_14_9677.jpg
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_24_9820.jpg
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_34_10583.jpg
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_44_9804.jpg
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_56_54_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396433469","1396433415","1396433531","1396433356","1396433299","1396433239"],"photo_ids_order":["1396433239","1396433299","1396433356","1396433415","1396433469","1396433531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14663c0748242f3e336a62e8f58e70ad.jpg","text":"TemporaryFile(/tmp/multipartBody7970685931804841810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/922768e0d6691e5c022165f37c919a02.jpg","text":"TemporaryFile(/tmp/multipartBody5795952635185562274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_34_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f5ab13b548bfce20da3a9e519d26007.jpg","text":"TemporaryFile(/tmp/multipartBody7255650496358146792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e35133de0f0666d3300bc463402e0c53.jpg","text":"TemporaryFile(/tmp/multipartBody2893081481491644747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7976343d32498c067609239aaec8198d.jpg","text":"TemporaryFile(/tmp/multipartBody8490627612743129540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ce4fd2154fc0eb00bc52ea9949b45ff.jpg","text":"TemporaryFile(/tmp/multipartBody7743087857285511274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266404063,"filename":"image_27112025_14_56_04_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396433356","file1":"1396433299","file0":"1396433239","file4":"1396433469","file5":"1396433531","file3":"1396433415"},"map_files_photo_id_array":[{"photo_id":"1396433531","filename":"file5"},{"photo_id":"1396433356","filename":"file2"},{"photo_id":"1396433469","filename":"file4"},{"photo_id":"1396433299","filename":"file1"},{"photo_id":"1396433239","filename":"file0"},{"photo_id":"1396433415","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396433469":["hashtag1","hashtag2"]},{"1396433415":["hashtag1","hashtag2"]},{"1396433531":["hashtag1","hashtag2"]},{"1396433356":["hashtag1","hashtag2"]},{"1396433299":["hashtag1","hashtag2"]},{"1396433239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396433469, 1396433415, 1396433531, 1396433356, 1396433299, 1396433239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69364809989929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:00:03.159195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/56/image_27112025_14_57_05_10700.jpg', '/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_14_9774.jpg', '/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_24_9549.jpg', '/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_34_10634.jpg', '/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_44_9639.jpg', '/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/56/image_27112025_14_57_05_10700.jpg
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_14_9774.jpg
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_24_9549.jpg
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_34_10634.jpg
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_44_9639.jpg
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_57_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396434140","1396434085","1396433980","1396433920","1396434189","1396434036"],"photo_ids_order":["1396433920","1396433980","1396434036","1396434085","1396434140","1396434189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c64eff3f4f422b258d3f53692be0f142.jpg","text":"TemporaryFile(/tmp/multipartBody5651684541179030011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d6e20a46800a28069d3a46d59f7c45c.jpg","text":"TemporaryFile(/tmp/multipartBody7763831785112382388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/416a05e285f2ae68d25feed840dccece.jpg","text":"TemporaryFile(/tmp/multipartBody7172655583180450292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c96a262fe7fba2b5c0e23cf136e4088.jpg","text":"TemporaryFile(/tmp/multipartBody6960055061285780414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6de58c388bcf9cbe05d775188ef72190.jpg","text":"TemporaryFile(/tmp/multipartBody8472216649675031591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56b199191335d670a0762b070e2d3ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7490234039806074419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266464272,"filename":"image_27112025_14_57_24_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396434036","file1":"1396433980","file0":"1396433920","file4":"1396434140","file5":"1396434189","file3":"1396434085"},"map_files_photo_id_array":[{"photo_id":"1396434189","filename":"file5"},{"photo_id":"1396434036","filename":"file2"},{"photo_id":"1396434140","filename":"file4"},{"photo_id":"1396433980","filename":"file1"},{"photo_id":"1396433920","filename":"file0"},{"photo_id":"1396434085","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396434140":["hashtag1","hashtag2"]},{"1396434085":["hashtag1","hashtag2"]},{"1396433980":["hashtag1","hashtag2"]},{"1396433920":["hashtag1","hashtag2"]},{"1396434189":["hashtag1","hashtag2"]},{"1396434036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396434140, 1396434085, 1396433980, 1396433920, 1396434189, 1396434036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21519064903259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:01:02.628876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/57/image_27112025_14_58_04_10593.jpg', '/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_14_9696.jpg', '/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_24_9724.jpg', '/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_34_9816.jpg', '/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_44_10632.jpg', '/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/57/image_27112025_14_58_04_10593.jpg
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_14_9696.jpg
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_24_9724.jpg
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_34_9816.jpg
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_44_10632.jpg
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_58_54_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396434722","1396434670","1396434718","1396434699","1396434703","1396434696"],"photo_ids_order":["1396434670","1396434696","1396434699","1396434703","1396434718","1396434722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d27efed1a4032f6852eff32dc6fdcb08.jpg","text":"TemporaryFile(/tmp/multipartBody2657433592082396948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d75cea188322e24cd75b64e17a67690.jpg","text":"TemporaryFile(/tmp/multipartBody5626787072841918872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_04_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b346f428e395380658d16033df3b3863.jpg","text":"TemporaryFile(/tmp/multipartBody2435507614339465314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/acd17112951badd9804f916d6e8caaab.jpg","text":"TemporaryFile(/tmp/multipartBody3068914805529509260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7bbb8dbef621a88c88c23333d72c3750.jpg","text":"TemporaryFile(/tmp/multipartBody4496333152063226021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/859759416405f050ebc0c090d6d16511.jpg","text":"TemporaryFile(/tmp/multipartBody8563280511322469634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266523559,"filename":"image_27112025_14_58_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396434699","file1":"1396434696","file0":"1396434670","file4":"1396434718","file5":"1396434722","file3":"1396434703"},"map_files_photo_id_array":[{"photo_id":"1396434722","filename":"file5"},{"photo_id":"1396434699","filename":"file2"},{"photo_id":"1396434718","filename":"file4"},{"photo_id":"1396434696","filename":"file1"},{"photo_id":"1396434670","filename":"file0"},{"photo_id":"1396434703","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396434722":["hashtag1","hashtag2"]},{"1396434670":["hashtag1","hashtag2"]},{"1396434718":["hashtag1","hashtag2"]},{"1396434699":["hashtag1","hashtag2"]},{"1396434703":["hashtag1","hashtag2"]},{"1396434696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396434722, 1396434670, 1396434718, 1396434699, 1396434703, 1396434696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14132857322693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:02:02.445404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/14/58/image_27112025_14_59_04_9683.jpg', '/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_14_10688.jpg', '/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_24_9702.jpg', '/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_34_9793.jpg', '/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_44_9800.jpg', '/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_54_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/14/58/image_27112025_14_59_04_9683.jpg
/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_14_10688.jpg
/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_24_9702.jpg
/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_34_9793.jpg
/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_44_9800.jpg
/home/pi/Desktop/images/27112025/14/59/image_27112025_14_59_54_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396435345","1396435060","1396435284","1396435416","1396435218","1396435140"],"photo_ids_order":["1396435060","1396435140","1396435218","1396435284","1396435345","1396435416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae152f9f5e33ea4070bb94271dced04c.jpg","text":"TemporaryFile(/tmp/multipartBody4921324895909890872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da903f710c111c1d3282ee297aa51e74.jpg","text":"TemporaryFile(/tmp/multipartBody1887945415393694136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6018eabad00ab420592815dcacaf9b1.jpg","text":"TemporaryFile(/tmp/multipartBody7813073198168682165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cb00acaed88ac56072bcd48bc2712aa.jpg","text":"TemporaryFile(/tmp/multipartBody4245386807912823153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_54_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d71a6b913c18d03383f4541121495ef9.jpg","text":"TemporaryFile(/tmp/multipartBody213340946036850184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9399d0c8f3cbaafc005cc49de486fea1.jpg","text":"TemporaryFile(/tmp/multipartBody3393353126547313567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266583456,"filename":"image_27112025_14_59_14_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396435218","file1":"1396435140","file0":"1396435060","file4":"1396435345","file5":"1396435416","file3":"1396435284"},"map_files_photo_id_array":[{"photo_id":"1396435416","filename":"file5"},{"photo_id":"1396435218","filename":"file2"},{"photo_id":"1396435345","filename":"file4"},{"photo_id":"1396435140","filename":"file1"},{"photo_id":"1396435060","filename":"file0"},{"photo_id":"1396435284","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396435345":["hashtag1","hashtag2"]},{"1396435060":["hashtag1","hashtag2"]},{"1396435284":["hashtag1","hashtag2"]},{"1396435416":["hashtag1","hashtag2"]},{"1396435218":["hashtag1","hashtag2"]},{"1396435140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396435345, 1396435060, 1396435284, 1396435416, 1396435218, 1396435140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65213346481323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:03:03.305179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_14_10052.jpg', '/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_25_10691.jpg', '/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_35_9718.jpg', '/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_44_9603.jpg', '/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_55_10714.jpg', '/home/pi/Desktop/images/27112025/15/00/image_27112025_15_01_05_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_14_10052.jpg
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_25_10691.jpg
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_35_9718.jpg
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_44_9603.jpg
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_00_55_10714.jpg
/home/pi/Desktop/images/27112025/15/00/image_27112025_15_01_05_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396436000","1396435882","1396435852","1396435942","1396435912","1396435971"],"photo_ids_order":["1396435852","1396435882","1396435912","1396435942","1396435971","1396436000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a18588e7af9e25c0f5963622ec7a7f75.jpg","text":"TemporaryFile(/tmp/multipartBody1142891870782468907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_01_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14305bd8103d1c95585cca9dadfba85d.jpg","text":"TemporaryFile(/tmp/multipartBody9123182592556616595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_00_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c0a2a7ec62f8b19fb4a90c69c0d83a6.jpg","text":"TemporaryFile(/tmp/multipartBody1622524623677315088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_00_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0b2db9ee762b3cefb2b6345e835c32b.jpg","text":"TemporaryFile(/tmp/multipartBody1876965632323182780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_00_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c1ce757597f546c7453e8a9a0c3c3d33.jpg","text":"TemporaryFile(/tmp/multipartBody5375400680718762900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_00_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc9329350ef18af38ee6897adc9bff9e.jpg","text":"TemporaryFile(/tmp/multipartBody6471299061049674307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266645680,"filename":"image_27112025_15_00_55_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396435912","file1":"1396435882","file0":"1396435852","file4":"1396435971","file5":"1396436000","file3":"1396435942"},"map_files_photo_id_array":[{"photo_id":"1396436000","filename":"file5"},{"photo_id":"1396435912","filename":"file2"},{"photo_id":"1396435971","filename":"file4"},{"photo_id":"1396435882","filename":"file1"},{"photo_id":"1396435852","filename":"file0"},{"photo_id":"1396435942","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396436000":["hashtag1","hashtag2"]},{"1396435882":["hashtag1","hashtag2"]},{"1396435852":["hashtag1","hashtag2"]},{"1396435942":["hashtag1","hashtag2"]},{"1396435912":["hashtag1","hashtag2"]},{"1396435971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396436000, 1396435882, 1396435852, 1396435942, 1396435912, 1396435971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.594168186187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:04:03.501719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_14_9719.jpg', '/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_25_10696.jpg', '/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_35_9632.jpg', '/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_44_9582.jpg', '/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_55_10640.jpg', '/home/pi/Desktop/images/27112025/15/01/image_27112025_15_02_05_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_14_9719.jpg
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_25_10696.jpg
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_35_9632.jpg
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_44_9582.jpg
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_01_55_10640.jpg
/home/pi/Desktop/images/27112025/15/01/image_27112025_15_02_05_9992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396436338","1396436448","1396436541","1396436508","1396436403","1396436480"],"photo_ids_order":["1396436338","1396436403","1396436448","1396436480","1396436508","1396436541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f30ed2fb52570c5d1a6cb8abb32f4c65.jpg","text":"TemporaryFile(/tmp/multipartBody5971632904168478103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_01_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01c2e1a332504523d415210a885cc58d.jpg","text":"TemporaryFile(/tmp/multipartBody788645982125524326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_01_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0139b305068caeb216bfec7ff5567ee4.jpg","text":"TemporaryFile(/tmp/multipartBody548686416428393671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_02_05_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38a31b3e4f7ed1367237e0f15edbc589.jpg","text":"TemporaryFile(/tmp/multipartBody8097192919204695958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_01_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5da31e518e5af9f2e4db7fcd64ec5110.jpg","text":"TemporaryFile(/tmp/multipartBody3381765730321498474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_01_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8da1fe5056b4aa492ae06c35e132693.jpg","text":"TemporaryFile(/tmp/multipartBody5557005665143553167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266704496,"filename":"image_27112025_15_01_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396436448","file1":"1396436403","file0":"1396436338","file4":"1396436508","file5":"1396436541","file3":"1396436480"},"map_files_photo_id_array":[{"photo_id":"1396436541","filename":"file5"},{"photo_id":"1396436448","filename":"file2"},{"photo_id":"1396436508","filename":"file4"},{"photo_id":"1396436403","filename":"file1"},{"photo_id":"1396436338","filename":"file0"},{"photo_id":"1396436480","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396436338":["hashtag1","hashtag2"]},{"1396436448":["hashtag1","hashtag2"]},{"1396436541":["hashtag1","hashtag2"]},{"1396436508":["hashtag1","hashtag2"]},{"1396436403":["hashtag1","hashtag2"]},{"1396436480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396436338, 1396436448, 1396436541, 1396436508, 1396436403, 1396436480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17677307128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:05:02.622491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_15_9696.jpg', '/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_24_9664.jpg', '/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_35_10652.jpg', '/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_44_9658.jpg', '/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_54_9627.jpg', '/home/pi/Desktop/images/27112025/15/02/image_27112025_15_03_05_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_15_9696.jpg
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_24_9664.jpg
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_35_10652.jpg
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_44_9658.jpg
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_02_54_9627.jpg
/home/pi/Desktop/images/27112025/15/02/image_27112025_15_03_05_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396437004","1396436770","1396436944","1396436830","1396436728","1396436886"],"photo_ids_order":["1396436728","1396436770","1396436830","1396436886","1396436944","1396437004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe20ff8b0d023c5dd77a513f141f9968.jpg","text":"TemporaryFile(/tmp/multipartBody1621675432068804603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_03_05_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/228d6110b0c03b3283930eb27d651d70.jpg","text":"TemporaryFile(/tmp/multipartBody6909373177623904127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_02_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abfdcbeb927ffaffe00debee5a9c1556.jpg","text":"TemporaryFile(/tmp/multipartBody6008689733353029834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_02_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ada1aab654d4aaf2fc3c283bbab7010c.jpg","text":"TemporaryFile(/tmp/multipartBody202028943745245189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_02_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fb24504114f2b5742a1bb8343a0823c4.jpg","text":"TemporaryFile(/tmp/multipartBody8940924356956927038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_02_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/192e2214a009efb69d04f8dd01d715d7.jpg","text":"TemporaryFile(/tmp/multipartBody4379084554092154545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266763613,"filename":"image_27112025_15_02_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396436830","file1":"1396436770","file0":"1396436728","file4":"1396436944","file5":"1396437004","file3":"1396436886"},"map_files_photo_id_array":[{"photo_id":"1396437004","filename":"file5"},{"photo_id":"1396436830","filename":"file2"},{"photo_id":"1396436944","filename":"file4"},{"photo_id":"1396436770","filename":"file1"},{"photo_id":"1396436728","filename":"file0"},{"photo_id":"1396436886","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396437004":["hashtag1","hashtag2"]},{"1396436770":["hashtag1","hashtag2"]},{"1396436944":["hashtag1","hashtag2"]},{"1396436830":["hashtag1","hashtag2"]},{"1396436728":["hashtag1","hashtag2"]},{"1396436886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396437004, 1396436770, 1396436944, 1396436830, 1396436728, 1396436886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.037760496139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:06:02.654851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_14_9700.jpg', '/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_24_9737.jpg', '/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_35_10620.jpg', '/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_44_9727.jpg', '/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_55_10577.jpg', '/home/pi/Desktop/images/27112025/15/03/image_27112025_15_04_05_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_14_9700.jpg
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_24_9737.jpg
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_35_10620.jpg
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_44_9727.jpg
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_03_55_10577.jpg
/home/pi/Desktop/images/27112025/15/03/image_27112025_15_04_05_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396437460","1396437429","1396437491","1396437395","1396437542","1396437358"],"photo_ids_order":["1396437358","1396437395","1396437429","1396437460","1396437491","1396437542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77a3599a933a8181596fefe8c8bac264.jpg","text":"TemporaryFile(/tmp/multipartBody1756259227695588773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_03_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9292e8e1f40c2a6af07c20a60098bab4.jpg","text":"TemporaryFile(/tmp/multipartBody296506514107447421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_03_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2972475be65c1b4995391e2ce1f0b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6152597024708936993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_03_55_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32f48a1c56439a68b96fbfcc6d846948.jpg","text":"TemporaryFile(/tmp/multipartBody3175165479964419004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_03_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41cbd4eea750c91ad1d079dc383de508.jpg","text":"TemporaryFile(/tmp/multipartBody3765236306041448215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_04_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ff371d5a58cad695837f55ce1c66026.jpg","text":"TemporaryFile(/tmp/multipartBody614445025470263793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266823454,"filename":"image_27112025_15_03_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396437429","file1":"1396437395","file0":"1396437358","file4":"1396437491","file5":"1396437542","file3":"1396437460"},"map_files_photo_id_array":[{"photo_id":"1396437542","filename":"file5"},{"photo_id":"1396437429","filename":"file2"},{"photo_id":"1396437491","filename":"file4"},{"photo_id":"1396437395","filename":"file1"},{"photo_id":"1396437358","filename":"file0"},{"photo_id":"1396437460","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396437460":["hashtag1","hashtag2"]},{"1396437429":["hashtag1","hashtag2"]},{"1396437491":["hashtag1","hashtag2"]},{"1396437395":["hashtag1","hashtag2"]},{"1396437542":["hashtag1","hashtag2"]},{"1396437358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396437460, 1396437429, 1396437491, 1396437395, 1396437542, 1396437358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60703706741333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:07:03.192362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_15_9697.jpg', '/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_24_9620.jpg', '/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_35_10695.jpg', '/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_45_9674.jpg', '/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_54_9627.jpg', '/home/pi/Desktop/images/27112025/15/04/image_27112025_15_05_05_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_15_9697.jpg
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_24_9620.jpg
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_35_10695.jpg
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_45_9674.jpg
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_04_54_9627.jpg
/home/pi/Desktop/images/27112025/15/04/image_27112025_15_05_05_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396438219","1396438105","1396438050","1396437999","1396437939","1396438162"],"photo_ids_order":["1396437939","1396437999","1396438050","1396438105","1396438162","1396438219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/532c930817f8b6de091f2c43839b46a7.jpg","text":"TemporaryFile(/tmp/multipartBody4194854375881702145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_05_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9dee0f86f7e69567645023b7f2c8eb58.jpg","text":"TemporaryFile(/tmp/multipartBody3257451057663368959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_04_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/768d55e9b44872f96896953ec111f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody7271544472970729303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_04_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e579b73faca6a0474c2b2a9befd45d26.jpg","text":"TemporaryFile(/tmp/multipartBody7063862461417944184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_04_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c18e09b1b2731b793410ef666486b971.jpg","text":"TemporaryFile(/tmp/multipartBody3464553049171256977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_04_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/04ecf44cee59d868ac61eb45f0528dda.jpg","text":"TemporaryFile(/tmp/multipartBody3073516768840210314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266884300,"filename":"image_27112025_15_04_54_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396438050","file1":"1396437999","file0":"1396437939","file4":"1396438162","file5":"1396438219","file3":"1396438105"},"map_files_photo_id_array":[{"photo_id":"1396438219","filename":"file5"},{"photo_id":"1396438050","filename":"file2"},{"photo_id":"1396438162","filename":"file4"},{"photo_id":"1396437999","filename":"file1"},{"photo_id":"1396437939","filename":"file0"},{"photo_id":"1396438105","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396438219":["hashtag1","hashtag2"]},{"1396438105":["hashtag1","hashtag2"]},{"1396438050":["hashtag1","hashtag2"]},{"1396437999":["hashtag1","hashtag2"]},{"1396437939":["hashtag1","hashtag2"]},{"1396438162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396438219, 1396438105, 1396438050, 1396437999, 1396437939, 1396438162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37055826187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:08:03.065990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_15_9677.jpg', '/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_24_9594.jpg', '/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_35_10862.jpg', '/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_45_9776.jpg', '/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_54_9652.jpg', '/home/pi/Desktop/images/27112025/15/05/image_27112025_15_06_05_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_15_9677.jpg
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_24_9594.jpg
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_35_10862.jpg
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_45_9776.jpg
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_05_54_9652.jpg
/home/pi/Desktop/images/27112025/15/05/image_27112025_15_06_05_10542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396438665","1396438568","1396438523","1396438669","1396438648","1396438615"],"photo_ids_order":["1396438523","1396438568","1396438615","1396438648","1396438665","1396438669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/694471f9e061fd087be5ecfc07b490e3.jpg","text":"TemporaryFile(/tmp/multipartBody6998182047483128362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_05_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dde2665a95476174ed3e49827817958e.jpg","text":"TemporaryFile(/tmp/multipartBody3824035321674092328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_05_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1304fb2f00cecd8611d20baae635a31.jpg","text":"TemporaryFile(/tmp/multipartBody882014816219190764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_05_15_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d55f1ffa41a11a121727174357e5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6581562649803596813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_06_05_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80d8f3a8d593d1b1e63bc5094b340ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7216987370344237391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_05_45_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aba5a6f11940a972db954548feb6b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4665797239093517262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764266944118,"filename":"image_27112025_15_05_35_10862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396438615","file1":"1396438568","file0":"1396438523","file4":"1396438665","file5":"1396438669","file3":"1396438648"},"map_files_photo_id_array":[{"photo_id":"1396438669","filename":"file5"},{"photo_id":"1396438615","filename":"file2"},{"photo_id":"1396438665","filename":"file4"},{"photo_id":"1396438568","filename":"file1"},{"photo_id":"1396438523","filename":"file0"},{"photo_id":"1396438648","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396438665":["hashtag1","hashtag2"]},{"1396438568":["hashtag1","hashtag2"]},{"1396438523":["hashtag1","hashtag2"]},{"1396438669":["hashtag1","hashtag2"]},{"1396438648":["hashtag1","hashtag2"]},{"1396438615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396438665, 1396438568, 1396438523, 1396438669, 1396438648, 1396438615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11523389816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:09:03.608959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_15_9693.jpg', '/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_24_9715.jpg', '/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_35_10684.jpg', '/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_45_9719.jpg', '/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_54_9628.jpg', '/home/pi/Desktop/images/27112025/15/06/image_27112025_15_07_04_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_15_9693.jpg
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_24_9715.jpg
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_35_10684.jpg
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_45_9719.jpg
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_06_54_9628.jpg
/home/pi/Desktop/images/27112025/15/06/image_27112025_15_07_04_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396438878","1396438965","1396438845","1396438937","1396438987","1396438909"],"photo_ids_order":["1396438845","1396438878","1396438909","1396438937","1396438965","1396438987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa24408b227441faf591490b56b988ba.jpg","text":"TemporaryFile(/tmp/multipartBody3617440204996198924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_06_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c4c66af319b7521f926254250659cb3.jpg","text":"TemporaryFile(/tmp/multipartBody485240685218699629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_06_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/201ab96f5f48f05884cc87c882e7ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody2665825885423331813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_06_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b09b4f92e8bdbcd84c46d002d7c6cfac.jpg","text":"TemporaryFile(/tmp/multipartBody7981681794457315536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_06_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f5f903f5aad5331768a1f21c1c78bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6818106798353536951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_07_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8440fbd228f33c8d8ea2403609d2c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody715323046069764288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267004722,"filename":"image_27112025_15_06_35_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396438909","file1":"1396438878","file0":"1396438845","file4":"1396438965","file5":"1396438987","file3":"1396438937"},"map_files_photo_id_array":[{"photo_id":"1396438987","filename":"file5"},{"photo_id":"1396438909","filename":"file2"},{"photo_id":"1396438965","filename":"file4"},{"photo_id":"1396438878","filename":"file1"},{"photo_id":"1396438845","filename":"file0"},{"photo_id":"1396438937","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396438878":["hashtag1","hashtag2"]},{"1396438965":["hashtag1","hashtag2"]},{"1396438845":["hashtag1","hashtag2"]},{"1396438937":["hashtag1","hashtag2"]},{"1396438987":["hashtag1","hashtag2"]},{"1396438909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396438878, 1396438965, 1396438845, 1396438937, 1396438987, 1396438909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.245596408843994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:10:03.038485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_15_10686.jpg', '/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_25_9685.jpg', '/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_34_9693.jpg', '/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_45_10698.jpg', '/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_55_9730.jpg', '/home/pi/Desktop/images/27112025/15/07/image_27112025_15_08_04_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_15_10686.jpg
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_25_9685.jpg
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_34_9693.jpg
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_45_10698.jpg
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_07_55_9730.jpg
/home/pi/Desktop/images/27112025/15/07/image_27112025_15_08_04_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439090","1396439141","1396439120","1396439137","1396439059","1396439131"],"photo_ids_order":["1396439059","1396439090","1396439120","1396439131","1396439137","1396439141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ad5f36a2bb83a36e26c51294fbb81c5.jpg","text":"TemporaryFile(/tmp/multipartBody1950622240013275036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_07_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e4fdb4f6ed3ff1d1a5ee491f23c4c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3081533184536067933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_08_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef2a5b444236bded9404319d57961755.jpg","text":"TemporaryFile(/tmp/multipartBody2235777214786164827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_07_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/264fc55ef667fcdd41cdf66c61eb19a5.jpg","text":"TemporaryFile(/tmp/multipartBody2270543202349646266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_07_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a56e21d4b868daeb54e8b8987a2f0ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4353025927158781814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_07_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a81cb3c70115b6d1fb5e3128318b104.jpg","text":"TemporaryFile(/tmp/multipartBody1735710159955413689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267063979,"filename":"image_27112025_15_07_45_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439120","file1":"1396439090","file0":"1396439059","file4":"1396439137","file5":"1396439141","file3":"1396439131"},"map_files_photo_id_array":[{"photo_id":"1396439141","filename":"file5"},{"photo_id":"1396439120","filename":"file2"},{"photo_id":"1396439137","filename":"file4"},{"photo_id":"1396439090","filename":"file1"},{"photo_id":"1396439059","filename":"file0"},{"photo_id":"1396439131","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439090":["hashtag1","hashtag2"]},{"1396439141":["hashtag1","hashtag2"]},{"1396439120":["hashtag1","hashtag2"]},{"1396439137":["hashtag1","hashtag2"]},{"1396439059":["hashtag1","hashtag2"]},{"1396439131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439090, 1396439141, 1396439120, 1396439137, 1396439059, 1396439131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3493173122406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:11:02.291203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_14_9623.jpg', '/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_25_10715.jpg', '/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_35_9718.jpg', '/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_44_9608.jpg', '/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_55_10561.jpg', '/home/pi/Desktop/images/27112025/15/08/image_27112025_15_09_04_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_14_9623.jpg
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_25_10715.jpg
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_35_9718.jpg
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_44_9608.jpg
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_08_55_10561.jpg
/home/pi/Desktop/images/27112025/15/08/image_27112025_15_09_04_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439157","1396439153","1396439161","1396439166","1396439175","1396439169"],"photo_ids_order":["1396439153","1396439157","1396439161","1396439166","1396439169","1396439175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0dd7f4fe44a81f694b2bb8392552a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5041984307686671044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_08_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/707c54b75e8b60e2a44f2d324cca0cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6985607586055704397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_08_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a4718dd231ce5205848721d973884cb.jpg","text":"TemporaryFile(/tmp/multipartBody7881589317341322275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_08_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fbb71563d3823ff9abb1bdce602447d.jpg","text":"TemporaryFile(/tmp/multipartBody8342142309749395014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_08_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54dfcf7c9e63c40cb3ccaac24944ee27.jpg","text":"TemporaryFile(/tmp/multipartBody6120120206270509642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_09_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1080b5ef623c75375690c4ecf96b06c.jpg","text":"TemporaryFile(/tmp/multipartBody3484806717479139497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267123367,"filename":"image_27112025_15_08_55_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439161","file1":"1396439157","file0":"1396439153","file4":"1396439169","file5":"1396439175","file3":"1396439166"},"map_files_photo_id_array":[{"photo_id":"1396439175","filename":"file5"},{"photo_id":"1396439161","filename":"file2"},{"photo_id":"1396439169","filename":"file4"},{"photo_id":"1396439157","filename":"file1"},{"photo_id":"1396439153","filename":"file0"},{"photo_id":"1396439166","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439157":["hashtag1","hashtag2"]},{"1396439153":["hashtag1","hashtag2"]},{"1396439161":["hashtag1","hashtag2"]},{"1396439166":["hashtag1","hashtag2"]},{"1396439175":["hashtag1","hashtag2"]},{"1396439169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439157, 1396439153, 1396439161, 1396439166, 1396439175, 1396439169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.301023960113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:12:02.543645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_15_10640.jpg', '/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_25_9608.jpg', '/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_34_9581.jpg', '/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_45_10611.jpg', '/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_54_9548.jpg', '/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_15_10889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_15_10640.jpg
/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_25_9608.jpg
/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_34_9581.jpg
/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_45_10611.jpg
/home/pi/Desktop/images/27112025/15/09/image_27112025_15_09_54_9548.jpg
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_15_10889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439183","1396439191","1396439194","1396439197","1396439200","1396439187"],"photo_ids_order":["1396439183","1396439187","1396439191","1396439194","1396439197","1396439200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/588fb80e115c8e753757dfe812d0205d.jpg","text":"TemporaryFile(/tmp/multipartBody6166287430867664674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_09_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab54ad100393e9ba1450809bf8db585e.jpg","text":"TemporaryFile(/tmp/multipartBody851408127488727031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_09_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c3d04ddb26d1ec87592aa575748d88a.jpg","text":"TemporaryFile(/tmp/multipartBody5863610666836325666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_09_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/491ab987b359de9739eb077045b38e96.jpg","text":"TemporaryFile(/tmp/multipartBody9037857108127904706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_09_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/859279ae1618aff661f1be525e467e98.jpg","text":"TemporaryFile(/tmp/multipartBody7021124385513802454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_10_15_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d1ef6456ae565e7ce0edc3a18a4cedc8.jpg","text":"TemporaryFile(/tmp/multipartBody1771397239408750446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267183621,"filename":"image_27112025_15_09_25_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439191","file1":"1396439187","file0":"1396439183","file4":"1396439197","file5":"1396439200","file3":"1396439194"},"map_files_photo_id_array":[{"photo_id":"1396439200","filename":"file5"},{"photo_id":"1396439191","filename":"file2"},{"photo_id":"1396439197","filename":"file4"},{"photo_id":"1396439187","filename":"file1"},{"photo_id":"1396439183","filename":"file0"},{"photo_id":"1396439194","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439183":["hashtag1","hashtag2"]},{"1396439191":["hashtag1","hashtag2"]},{"1396439194":["hashtag1","hashtag2"]},{"1396439197":["hashtag1","hashtag2"]},{"1396439200":["hashtag1","hashtag2"]},{"1396439187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439183, 1396439191, 1396439194, 1396439197, 1396439200, 1396439187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.724209785461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:13:02.980677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_25_9717.jpg', '/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_35_9839.jpg', '/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_44_9638.jpg', '/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_54_9887.jpg', '/home/pi/Desktop/images/27112025/15/10/image_27112025_15_11_05_10561.jpg', '/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_14_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_25_9717.jpg
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_35_9839.jpg
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_44_9638.jpg
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_10_54_9887.jpg
/home/pi/Desktop/images/27112025/15/10/image_27112025_15_11_05_10561.jpg
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_14_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439222","1396439242","1396439245","1396439239","1396439233","1396439215"],"photo_ids_order":["1396439215","1396439222","1396439233","1396439239","1396439242","1396439245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34633f605be7b90a159c0e916012dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody5131385847760612952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_10_35_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49b65c2b4c6fe4b45524694f00371a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7854423601221781191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_11_05_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0796abcee53a2280d6ca930d5d6dae57.jpg","text":"TemporaryFile(/tmp/multipartBody3753808199869824315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_11_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/629d5ed899a2317ebc6c46a1238b5366.jpg","text":"TemporaryFile(/tmp/multipartBody8417149921974720445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_10_54_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85c4d56c70657cf90a0e440177e0fad2.jpg","text":"TemporaryFile(/tmp/multipartBody8537752537027253390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_10_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9d4d608fafa5ed33580b51a78babe0e3.jpg","text":"TemporaryFile(/tmp/multipartBody3556290255411193188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267243961,"filename":"image_27112025_15_10_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439233","file1":"1396439222","file0":"1396439215","file4":"1396439242","file5":"1396439245","file3":"1396439239"},"map_files_photo_id_array":[{"photo_id":"1396439245","filename":"file5"},{"photo_id":"1396439233","filename":"file2"},{"photo_id":"1396439242","filename":"file4"},{"photo_id":"1396439222","filename":"file1"},{"photo_id":"1396439215","filename":"file0"},{"photo_id":"1396439239","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439222":["hashtag1","hashtag2"]},{"1396439242":["hashtag1","hashtag2"]},{"1396439245":["hashtag1","hashtag2"]},{"1396439239":["hashtag1","hashtag2"]},{"1396439233":["hashtag1","hashtag2"]},{"1396439215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439222, 1396439242, 1396439245, 1396439239, 1396439233, 1396439215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38306903839111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:14:02.970928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_25_10606.jpg', '/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_35_9784.jpg', '/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_44_9722.jpg', '/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_54_9867.jpg', '/home/pi/Desktop/images/27112025/15/11/image_27112025_15_12_05_10668.jpg', '/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_15_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_25_10606.jpg
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_35_9784.jpg
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_44_9722.jpg
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_11_54_9867.jpg
/home/pi/Desktop/images/27112025/15/11/image_27112025_15_12_05_10668.jpg
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_15_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439262","1396439256","1396439270","1396439258","1396439266","1396439274"],"photo_ids_order":["1396439256","1396439258","1396439262","1396439266","1396439270","1396439274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de2fd0d9d0bdb9db6043d95f95f0fcd2.jpg","text":"TemporaryFile(/tmp/multipartBody2478949992707665167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_11_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6df532be49c0642fb5341d5601707db.jpg","text":"TemporaryFile(/tmp/multipartBody2093997819873553589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_11_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea7791b826cd2460edb1db6f3810aedb.jpg","text":"TemporaryFile(/tmp/multipartBody2142912244212410748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_12_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/232af475ea0d8fe4e1debe3a66ee25b3.jpg","text":"TemporaryFile(/tmp/multipartBody713710047190468632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_11_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38c296b8e6bd7b33e48c766374978f63.jpg","text":"TemporaryFile(/tmp/multipartBody5806314246276035701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_11_54_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5809b8decb9aaab4541f8c4f61d9ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody9969978929223631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267304108,"filename":"image_27112025_15_12_15_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439262","file1":"1396439258","file0":"1396439256","file4":"1396439270","file5":"1396439274","file3":"1396439266"},"map_files_photo_id_array":[{"photo_id":"1396439274","filename":"file5"},{"photo_id":"1396439262","filename":"file2"},{"photo_id":"1396439270","filename":"file4"},{"photo_id":"1396439258","filename":"file1"},{"photo_id":"1396439256","filename":"file0"},{"photo_id":"1396439266","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439262":["hashtag1","hashtag2"]},{"1396439256":["hashtag1","hashtag2"]},{"1396439270":["hashtag1","hashtag2"]},{"1396439258":["hashtag1","hashtag2"]},{"1396439266":["hashtag1","hashtag2"]},{"1396439274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439262, 1396439256, 1396439270, 1396439258, 1396439266, 1396439274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35790657997131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:15:03.273137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_24_9749.jpg', '/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_34_9623.jpg', '/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_45_10655.jpg', '/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_54_9551.jpg', '/home/pi/Desktop/images/27112025/15/12/image_27112025_15_13_04_9829.jpg', '/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_15_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_24_9749.jpg
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_34_9623.jpg
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_45_10655.jpg
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_12_54_9551.jpg
/home/pi/Desktop/images/27112025/15/12/image_27112025_15_13_04_9829.jpg
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_15_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439297","1396439309","1396439284","1396439293","1396439302","1396439289"],"photo_ids_order":["1396439284","1396439289","1396439293","1396439297","1396439302","1396439309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9fde23525bd8fba2b704a53a7552115c.jpg","text":"TemporaryFile(/tmp/multipartBody2324351437948896680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_12_54_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec3d456f71a5f540e6f338072c326185.jpg","text":"TemporaryFile(/tmp/multipartBody6417620846357906685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_13_15_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6365b62dcbd81574bc6bc25874eba8de.jpg","text":"TemporaryFile(/tmp/multipartBody9002280018280739647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_12_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8eb503a1ac6d80c9ab39e9a324afd776.jpg","text":"TemporaryFile(/tmp/multipartBody2352651087482552240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_12_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e3ad9d103b89a801b658e82bd049a11.jpg","text":"TemporaryFile(/tmp/multipartBody6588341254652378342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_13_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/431e5dbb18089e2e79c56fbdb56e255e.jpg","text":"TemporaryFile(/tmp/multipartBody5686379680134173731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267364227,"filename":"image_27112025_15_12_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439293","file1":"1396439289","file0":"1396439284","file4":"1396439302","file5":"1396439309","file3":"1396439297"},"map_files_photo_id_array":[{"photo_id":"1396439309","filename":"file5"},{"photo_id":"1396439293","filename":"file2"},{"photo_id":"1396439302","filename":"file4"},{"photo_id":"1396439289","filename":"file1"},{"photo_id":"1396439284","filename":"file0"},{"photo_id":"1396439297","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439297":["hashtag1","hashtag2"]},{"1396439309":["hashtag1","hashtag2"]},{"1396439284":["hashtag1","hashtag2"]},{"1396439293":["hashtag1","hashtag2"]},{"1396439302":["hashtag1","hashtag2"]},{"1396439289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439297, 1396439309, 1396439284, 1396439293, 1396439302, 1396439289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17788648605347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:16:03.242428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_24_9659.jpg', '/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_34_9752.jpg', '/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_45_10699.jpg', '/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_54_9544.jpg', '/home/pi/Desktop/images/27112025/15/13/image_27112025_15_14_05_10643.jpg', '/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_15_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_24_9659.jpg
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_34_9752.jpg
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_45_10699.jpg
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_13_54_9544.jpg
/home/pi/Desktop/images/27112025/15/13/image_27112025_15_14_05_10643.jpg
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_15_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439355","1396439328","1396439336","1396439321","1396439317","1396439352"],"photo_ids_order":["1396439317","1396439321","1396439328","1396439336","1396439352","1396439355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba3cfca515f0cc424a2798e08d525484.jpg","text":"TemporaryFile(/tmp/multipartBody7505575706914276986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_14_15_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9188925b11d4a25781dc033ea341164b.jpg","text":"TemporaryFile(/tmp/multipartBody4428119556433751434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_13_45_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d37272966290f8cec398f14fabd0853c.jpg","text":"TemporaryFile(/tmp/multipartBody566285328273567396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_13_54_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7eb20d4714199513404e6e28cab82030.jpg","text":"TemporaryFile(/tmp/multipartBody2215039990883815597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_13_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa998392eca9afb73cbbb025d9bfd935.jpg","text":"TemporaryFile(/tmp/multipartBody9200514766760612659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_13_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8fb64f520b7bc9e2f35ef16261af3a2.jpg","text":"TemporaryFile(/tmp/multipartBody7402351606527546459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267424239,"filename":"image_27112025_15_14_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439328","file1":"1396439321","file0":"1396439317","file4":"1396439352","file5":"1396439355","file3":"1396439336"},"map_files_photo_id_array":[{"photo_id":"1396439355","filename":"file5"},{"photo_id":"1396439328","filename":"file2"},{"photo_id":"1396439352","filename":"file4"},{"photo_id":"1396439321","filename":"file1"},{"photo_id":"1396439317","filename":"file0"},{"photo_id":"1396439336","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439355":["hashtag1","hashtag2"]},{"1396439328":["hashtag1","hashtag2"]},{"1396439336":["hashtag1","hashtag2"]},{"1396439321":["hashtag1","hashtag2"]},{"1396439317":["hashtag1","hashtag2"]},{"1396439352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439355, 1396439328, 1396439336, 1396439321, 1396439317, 1396439352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46264457702637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:17:02.603381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_24_9766.jpg', '/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_35_10633.jpg', '/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_45_9794.jpg', '/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_55_9745.jpg', '/home/pi/Desktop/images/27112025/15/14/image_27112025_15_15_04_9592.jpg', '/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_15_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_24_9766.jpg
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_35_10633.jpg
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_45_9794.jpg
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_14_55_9745.jpg
/home/pi/Desktop/images/27112025/15/14/image_27112025_15_15_04_9592.jpg
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_15_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439406","1396439390","1396439401","1396439394","1396439397","1396439379"],"photo_ids_order":["1396439379","1396439390","1396439394","1396439397","1396439401","1396439406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/421823dd6ad0c4ab2d2e606f85e7452f.jpg","text":"TemporaryFile(/tmp/multipartBody172024630815875529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_15_15_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5114f36a0d849adc851956ed87fcb34.jpg","text":"TemporaryFile(/tmp/multipartBody3916832591595503543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_14_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f57383012cad1a2b1bf22da4d9ea4ab2.jpg","text":"TemporaryFile(/tmp/multipartBody9133826788008815159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_15_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcae43289cb68fe54ee4c2bfd0acc49d.jpg","text":"TemporaryFile(/tmp/multipartBody4029308738993895943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_14_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54a8b09d96f045b69ce5cdf954a647c0.jpg","text":"TemporaryFile(/tmp/multipartBody7255325707849792051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_14_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91101828523e72913175e3e841631ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7693305183461170794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267483461,"filename":"image_27112025_15_14_24_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439394","file1":"1396439390","file0":"1396439379","file4":"1396439401","file5":"1396439406","file3":"1396439397"},"map_files_photo_id_array":[{"photo_id":"1396439406","filename":"file5"},{"photo_id":"1396439394","filename":"file2"},{"photo_id":"1396439401","filename":"file4"},{"photo_id":"1396439390","filename":"file1"},{"photo_id":"1396439379","filename":"file0"},{"photo_id":"1396439397","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439406":["hashtag1","hashtag2"]},{"1396439390":["hashtag1","hashtag2"]},{"1396439401":["hashtag1","hashtag2"]},{"1396439394":["hashtag1","hashtag2"]},{"1396439397":["hashtag1","hashtag2"]},{"1396439379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439406, 1396439390, 1396439401, 1396439394, 1396439397, 1396439379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0435688495636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:18:02.700656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_24_9671.jpg', '/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_35_10579.jpg', '/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_45_9555.jpg', '/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_54_9753.jpg', '/home/pi/Desktop/images/27112025/15/15/image_27112025_15_16_05_10719.jpg', '/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_15_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_24_9671.jpg
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_35_10579.jpg
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_45_9555.jpg
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_15_54_9753.jpg
/home/pi/Desktop/images/27112025/15/15/image_27112025_15_16_05_10719.jpg
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_15_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439424","1396439435","1396439440","1396439416","1396439419","1396439430"],"photo_ids_order":["1396439416","1396439419","1396439424","1396439430","1396439435","1396439440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/012e6d536c5090a6aa18d272b57a2871.jpg","text":"TemporaryFile(/tmp/multipartBody2180329856726756239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_15_45_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bffb9791eff190b174850bfc7cc326db.jpg","text":"TemporaryFile(/tmp/multipartBody7705481712492588280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_16_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/406f979d2f4fc5965950c6e861f62beb.jpg","text":"TemporaryFile(/tmp/multipartBody682962175189167829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_16_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f578cb3841df2cc792968245c5839ef.jpg","text":"TemporaryFile(/tmp/multipartBody5045279914204910682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_15_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c429c0f7cced3d2ca504009d1b12d030.jpg","text":"TemporaryFile(/tmp/multipartBody7441330853835457014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_15_35_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9ae511e102bfc48fcf620128a559d88.jpg","text":"TemporaryFile(/tmp/multipartBody5241935869475660791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267543747,"filename":"image_27112025_15_15_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439424","file1":"1396439419","file0":"1396439416","file4":"1396439435","file5":"1396439440","file3":"1396439430"},"map_files_photo_id_array":[{"photo_id":"1396439440","filename":"file5"},{"photo_id":"1396439424","filename":"file2"},{"photo_id":"1396439435","filename":"file4"},{"photo_id":"1396439419","filename":"file1"},{"photo_id":"1396439416","filename":"file0"},{"photo_id":"1396439430","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439424":["hashtag1","hashtag2"]},{"1396439435":["hashtag1","hashtag2"]},{"1396439440":["hashtag1","hashtag2"]},{"1396439416":["hashtag1","hashtag2"]},{"1396439419":["hashtag1","hashtag2"]},{"1396439430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439424, 1396439435, 1396439440, 1396439416, 1396439419, 1396439430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61126494407654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:19:03.326935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_24_9746.jpg', '/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_35_10708.jpg', '/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_45_9710.jpg', '/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_54_9629.jpg', '/home/pi/Desktop/images/27112025/15/16/image_27112025_15_17_05_10732.jpg', '/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_15_9554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_24_9746.jpg
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_35_10708.jpg
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_45_9710.jpg
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_16_54_9629.jpg
/home/pi/Desktop/images/27112025/15/16/image_27112025_15_17_05_10732.jpg
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_15_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439453","1396439470","1396439464","1396439467","1396439461","1396439457"],"photo_ids_order":["1396439453","1396439457","1396439461","1396439464","1396439467","1396439470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b80f6f32fe1002ceb7184ecf2b0368a9.jpg","text":"TemporaryFile(/tmp/multipartBody5826229038505585505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_16_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1b40752551b264c0f8d6782838554ad.jpg","text":"TemporaryFile(/tmp/multipartBody5984510269955072654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_17_15_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e623df85d81ee602ba6fd412e2e5933.jpg","text":"TemporaryFile(/tmp/multipartBody2658360967151496024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_16_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df117acdfb49f2dcacec64eb961103a9.jpg","text":"TemporaryFile(/tmp/multipartBody2831361592552557196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_17_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c1ba0d6eab1330674e517af826e851e.jpg","text":"TemporaryFile(/tmp/multipartBody3866827757319939922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_16_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/986ecbea2cd23c8b28b4ac8adeb27d13.jpg","text":"TemporaryFile(/tmp/multipartBody9127170766586221943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267604594,"filename":"image_27112025_15_16_35_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439461","file1":"1396439457","file0":"1396439453","file4":"1396439467","file5":"1396439470","file3":"1396439464"},"map_files_photo_id_array":[{"photo_id":"1396439470","filename":"file5"},{"photo_id":"1396439461","filename":"file2"},{"photo_id":"1396439467","filename":"file4"},{"photo_id":"1396439457","filename":"file1"},{"photo_id":"1396439453","filename":"file0"},{"photo_id":"1396439464","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439453":["hashtag1","hashtag2"]},{"1396439470":["hashtag1","hashtag2"]},{"1396439464":["hashtag1","hashtag2"]},{"1396439467":["hashtag1","hashtag2"]},{"1396439461":["hashtag1","hashtag2"]},{"1396439457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439453, 1396439470, 1396439464, 1396439467, 1396439461, 1396439457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70458269119263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:20:03.207115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_24_9759.jpg', '/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_35_10674.jpg', '/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_45_9568.jpg', '/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_54_9600.jpg', '/home/pi/Desktop/images/27112025/15/17/image_27112025_15_18_05_10737.jpg', '/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_15_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_24_9759.jpg
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_35_10674.jpg
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_45_9568.jpg
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_17_54_9600.jpg
/home/pi/Desktop/images/27112025/15/17/image_27112025_15_18_05_10737.jpg
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_15_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439532","1396439504","1396439528","1396439491","1396439509","1396439524"],"photo_ids_order":["1396439491","1396439504","1396439509","1396439524","1396439528","1396439532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23618bb8ee8f60474b72056d2de2b706.jpg","text":"TemporaryFile(/tmp/multipartBody6484448516700884513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_18_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21694a7dc9ce591f40197c263a6ab9c7.jpg","text":"TemporaryFile(/tmp/multipartBody946198442512679558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_17_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fae483602afff38db5aa5d5051c5040.jpg","text":"TemporaryFile(/tmp/multipartBody504029900938289420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_18_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7585508f085beacff4efde600dfa7a51.jpg","text":"TemporaryFile(/tmp/multipartBody6341572400058321645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_17_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fb7109c788b0e94082b7a87163e5adc.jpg","text":"TemporaryFile(/tmp/multipartBody2041861602652303289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_17_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f5507f5f4ff54035cf2bc2257c5f9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8640430240679289791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267664213,"filename":"image_27112025_15_17_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439509","file1":"1396439504","file0":"1396439491","file4":"1396439528","file5":"1396439532","file3":"1396439524"},"map_files_photo_id_array":[{"photo_id":"1396439532","filename":"file5"},{"photo_id":"1396439509","filename":"file2"},{"photo_id":"1396439528","filename":"file4"},{"photo_id":"1396439504","filename":"file1"},{"photo_id":"1396439491","filename":"file0"},{"photo_id":"1396439524","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439532":["hashtag1","hashtag2"]},{"1396439504":["hashtag1","hashtag2"]},{"1396439528":["hashtag1","hashtag2"]},{"1396439491":["hashtag1","hashtag2"]},{"1396439509":["hashtag1","hashtag2"]},{"1396439524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439532, 1396439504, 1396439528, 1396439491, 1396439509, 1396439524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17044138908386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:21:02.553895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_24_9666.jpg', '/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_34_9782.jpg', '/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_45_10577.jpg', '/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_54_9635.jpg', '/home/pi/Desktop/images/27112025/15/18/image_27112025_15_19_05_10550.jpg', '/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_15_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_24_9666.jpg
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_34_9782.jpg
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_45_10577.jpg
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_18_54_9635.jpg
/home/pi/Desktop/images/27112025/15/18/image_27112025_15_19_05_10550.jpg
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_15_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439610","1396439579","1396439558","1396439606","1396439614","1396439602"],"photo_ids_order":["1396439558","1396439579","1396439602","1396439606","1396439610","1396439614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ac0a928b27ba14742891c80dfeea890.jpg","text":"TemporaryFile(/tmp/multipartBody57817439341638308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_19_05_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/072c05dc6375c86d05d7ddfe61ef145e.jpg","text":"TemporaryFile(/tmp/multipartBody2238256045211700248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_18_34_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61ba47b421f06b3dae993a4b8cd57962.jpg","text":"TemporaryFile(/tmp/multipartBody8143148394950294212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_18_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aad9a9283ac50c4537a3c66a09a98027.jpg","text":"TemporaryFile(/tmp/multipartBody2462608969805557662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_18_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4294d426993dfb4d3aaac1056c7e39de.jpg","text":"TemporaryFile(/tmp/multipartBody4825231411486414057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_19_15_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9afb237e2c1610c710c6ec53c0be3049.jpg","text":"TemporaryFile(/tmp/multipartBody8267283168716673775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267723562,"filename":"image_27112025_15_18_45_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439602","file1":"1396439579","file0":"1396439558","file4":"1396439610","file5":"1396439614","file3":"1396439606"},"map_files_photo_id_array":[{"photo_id":"1396439614","filename":"file5"},{"photo_id":"1396439602","filename":"file2"},{"photo_id":"1396439610","filename":"file4"},{"photo_id":"1396439579","filename":"file1"},{"photo_id":"1396439558","filename":"file0"},{"photo_id":"1396439606","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439610":["hashtag1","hashtag2"]},{"1396439579":["hashtag1","hashtag2"]},{"1396439558":["hashtag1","hashtag2"]},{"1396439606":["hashtag1","hashtag2"]},{"1396439614":["hashtag1","hashtag2"]},{"1396439602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439610, 1396439579, 1396439558, 1396439606, 1396439614, 1396439602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.573970079422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:22:02.462096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_24_9634.jpg', '/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_34_9782.jpg', '/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_45_10731.jpg', '/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_55_9642.jpg', '/home/pi/Desktop/images/27112025/15/19/image_27112025_15_20_04_9786.jpg', '/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_15_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_24_9634.jpg
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_34_9782.jpg
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_45_10731.jpg
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_19_55_9642.jpg
/home/pi/Desktop/images/27112025/15/19/image_27112025_15_20_04_9786.jpg
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_15_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439625","1396439633","1396439621","1396439641","1396439629","1396439637"],"photo_ids_order":["1396439621","1396439625","1396439629","1396439633","1396439637","1396439641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e1594986eed1cf98611695d8ec39b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6055141492268027772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_19_34_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/329df06a310bc50a63d7344af4376111.jpg","text":"TemporaryFile(/tmp/multipartBody5641218558692117578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_19_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae870ebc5b75e6e1fe36b459c098f5be.jpg","text":"TemporaryFile(/tmp/multipartBody7453314121369150043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_19_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d11e8c170e478cc57f0972e21a7ac82.jpg","text":"TemporaryFile(/tmp/multipartBody6446997864294571547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_20_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/070c0276429a489bb601015cbb8864bd.jpg","text":"TemporaryFile(/tmp/multipartBody8527951061896342049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_19_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b337647a5816facb506e839512adf2c.jpg","text":"TemporaryFile(/tmp/multipartBody6069704036042699727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267783469,"filename":"image_27112025_15_20_04_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439629","file1":"1396439625","file0":"1396439621","file4":"1396439637","file5":"1396439641","file3":"1396439633"},"map_files_photo_id_array":[{"photo_id":"1396439641","filename":"file5"},{"photo_id":"1396439629","filename":"file2"},{"photo_id":"1396439637","filename":"file4"},{"photo_id":"1396439625","filename":"file1"},{"photo_id":"1396439621","filename":"file0"},{"photo_id":"1396439633","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439625":["hashtag1","hashtag2"]},{"1396439633":["hashtag1","hashtag2"]},{"1396439621":["hashtag1","hashtag2"]},{"1396439641":["hashtag1","hashtag2"]},{"1396439629":["hashtag1","hashtag2"]},{"1396439637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439625, 1396439633, 1396439621, 1396439641, 1396439629, 1396439637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44856309890747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:23:02.908778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_25_9679.jpg', '/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_35_10255.jpg', '/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_45_9611.jpg', '/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_54_9930.jpg', '/home/pi/Desktop/images/27112025/15/20/image_27112025_15_21_04_9648.jpg', '/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_15_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_25_9679.jpg
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_35_10255.jpg
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_45_9611.jpg
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_20_54_9930.jpg
/home/pi/Desktop/images/27112025/15/20/image_27112025_15_21_04_9648.jpg
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_15_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439684","1396439678","1396439681","1396439675","1396439667","1396439655"],"photo_ids_order":["1396439655","1396439667","1396439675","1396439678","1396439681","1396439684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75ba7034da3e9599e14b307dc4146cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7899431659783601429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_21_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54bc5e1f77a3279daed234f7197af2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7043876769153454161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_20_54_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0e5e870c81e91c3d729137ff6343b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1385343322440509670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_21_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4568e7739ae1eaa0c4c286716be681c6.jpg","text":"TemporaryFile(/tmp/multipartBody4025753430721823520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_20_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d9180e6fc3d7cfe74fd1d0d7e905ed6.jpg","text":"TemporaryFile(/tmp/multipartBody294727019729906692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_20_35_10255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f9819767c3589e2f6f80700a48f31df.jpg","text":"TemporaryFile(/tmp/multipartBody8947285064738850379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267843990,"filename":"image_27112025_15_20_25_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439675","file1":"1396439667","file0":"1396439655","file4":"1396439681","file5":"1396439684","file3":"1396439678"},"map_files_photo_id_array":[{"photo_id":"1396439684","filename":"file5"},{"photo_id":"1396439675","filename":"file2"},{"photo_id":"1396439681","filename":"file4"},{"photo_id":"1396439667","filename":"file1"},{"photo_id":"1396439655","filename":"file0"},{"photo_id":"1396439678","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439684":["hashtag1","hashtag2"]},{"1396439678":["hashtag1","hashtag2"]},{"1396439681":["hashtag1","hashtag2"]},{"1396439675":["hashtag1","hashtag2"]},{"1396439667":["hashtag1","hashtag2"]},{"1396439655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439684, 1396439678, 1396439681, 1396439675, 1396439667, 1396439655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12206673622131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:24:03.208667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_25_9693.jpg', '/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_34_9599.jpg', '/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_45_10537.jpg', '/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_54_9772.jpg', '/home/pi/Desktop/images/27112025/15/21/image_27112025_15_22_04_9663.jpg', '/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_15_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_25_9693.jpg
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_34_9599.jpg
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_45_10537.jpg
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_21_54_9772.jpg
/home/pi/Desktop/images/27112025/15/21/image_27112025_15_22_04_9663.jpg
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_15_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439715","1396439699","1396439702","1396439711","1396439692","1396439707"],"photo_ids_order":["1396439692","1396439699","1396439702","1396439707","1396439711","1396439715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9719c523402726f5097b3636ec89adbb.jpg","text":"TemporaryFile(/tmp/multipartBody599996760782200839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_22_15_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66610883ab924231fc473b518dc33070.jpg","text":"TemporaryFile(/tmp/multipartBody6020656753437879935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_21_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe3e051055c0025267ef49d87be115b3.jpg","text":"TemporaryFile(/tmp/multipartBody514883196520779017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_21_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63b51afcbffa7fa2906792a6cacd7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody3901274426613778538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_22_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/636a79bd650dd0090e3b6229cf7f50d4.jpg","text":"TemporaryFile(/tmp/multipartBody8523155470019958346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_21_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fa3af586bd7c9d969d6074d5e12ce15.jpg","text":"TemporaryFile(/tmp/multipartBody3194851198028917961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267904357,"filename":"image_27112025_15_21_54_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439702","file1":"1396439699","file0":"1396439692","file4":"1396439711","file5":"1396439715","file3":"1396439707"},"map_files_photo_id_array":[{"photo_id":"1396439715","filename":"file5"},{"photo_id":"1396439702","filename":"file2"},{"photo_id":"1396439711","filename":"file4"},{"photo_id":"1396439699","filename":"file1"},{"photo_id":"1396439692","filename":"file0"},{"photo_id":"1396439707","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439715":["hashtag1","hashtag2"]},{"1396439699":["hashtag1","hashtag2"]},{"1396439702":["hashtag1","hashtag2"]},{"1396439711":["hashtag1","hashtag2"]},{"1396439692":["hashtag1","hashtag2"]},{"1396439707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439715, 1396439699, 1396439702, 1396439711, 1396439692, 1396439707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.517064332962036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:25:03.203774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_25_9740.jpg', '/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_34_9722.jpg', '/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_44_9756.jpg', '/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_55_10855.jpg', '/home/pi/Desktop/images/27112025/15/22/image_27112025_15_23_05_9745.jpg', '/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_14_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_25_9740.jpg
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_34_9722.jpg
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_44_9756.jpg
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_22_55_10855.jpg
/home/pi/Desktop/images/27112025/15/22/image_27112025_15_23_05_9745.jpg
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_14_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439730","1396439726","1396439743","1396439740","1396439734","1396439737"],"photo_ids_order":["1396439726","1396439730","1396439734","1396439737","1396439740","1396439743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da9c5f0224c7a0539447cf6452876af0.jpg","text":"TemporaryFile(/tmp/multipartBody7373290215898873906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_22_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b0e7868997eb36ac9893cbb0ff6ab26.jpg","text":"TemporaryFile(/tmp/multipartBody5201249704502038502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_22_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d744c5bc0217c6cc7c2000d3b308bc9b.jpg","text":"TemporaryFile(/tmp/multipartBody353132502713451415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_23_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef1d931e443eda54e64c3ef51ca00019.jpg","text":"TemporaryFile(/tmp/multipartBody7385943822433141073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_23_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07d7a6cf54ab6b59ad3241da13d92d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3672040959749375437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_22_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58494d76a937308d5172620e46e2fecc.jpg","text":"TemporaryFile(/tmp/multipartBody7881999731477706509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764267964256,"filename":"image_27112025_15_22_55_10855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439734","file1":"1396439730","file0":"1396439726","file4":"1396439740","file5":"1396439743","file3":"1396439737"},"map_files_photo_id_array":[{"photo_id":"1396439743","filename":"file5"},{"photo_id":"1396439734","filename":"file2"},{"photo_id":"1396439740","filename":"file4"},{"photo_id":"1396439730","filename":"file1"},{"photo_id":"1396439726","filename":"file0"},{"photo_id":"1396439737","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439730":["hashtag1","hashtag2"]},{"1396439726":["hashtag1","hashtag2"]},{"1396439743":["hashtag1","hashtag2"]},{"1396439740":["hashtag1","hashtag2"]},{"1396439734":["hashtag1","hashtag2"]},{"1396439737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439730, 1396439726, 1396439743, 1396439740, 1396439734, 1396439737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52315092086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:26:03.230527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_25_10731.jpg', '/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_35_9538.jpg', '/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_44_9584.jpg', '/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_55_10713.jpg', '/home/pi/Desktop/images/27112025/15/23/image_27112025_15_24_04_9589.jpg', '/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_25_10731.jpg
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_35_9538.jpg
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_44_9584.jpg
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_23_55_10713.jpg
/home/pi/Desktop/images/27112025/15/23/image_27112025_15_24_04_9589.jpg
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439768","1396439753","1396439756","1396439776","1396439773","1396439760"],"photo_ids_order":["1396439753","1396439756","1396439760","1396439768","1396439773","1396439776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0713060516165a39adfb9c1ccab1348a.jpg","text":"TemporaryFile(/tmp/multipartBody7790144584884413386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_23_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f51af4267d876444cfe06af603909dd.jpg","text":"TemporaryFile(/tmp/multipartBody8024569366431330965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_23_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01ca903d1fecaa47da9981ac3ed97049.jpg","text":"TemporaryFile(/tmp/multipartBody8842933611441067749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_23_35_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e68f1d64db843e5df6cc7faa2f15fcd4.jpg","text":"TemporaryFile(/tmp/multipartBody1515419710898626592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_24_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/913e19a6d1ea2120cf37bb9d40ee129b.jpg","text":"TemporaryFile(/tmp/multipartBody4659081569781068186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_24_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ace4b55e73b5ed93112418695248fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7765449459987651336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268024230,"filename":"image_27112025_15_23_44_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439760","file1":"1396439756","file0":"1396439753","file4":"1396439773","file5":"1396439776","file3":"1396439768"},"map_files_photo_id_array":[{"photo_id":"1396439776","filename":"file5"},{"photo_id":"1396439760","filename":"file2"},{"photo_id":"1396439773","filename":"file4"},{"photo_id":"1396439756","filename":"file1"},{"photo_id":"1396439753","filename":"file0"},{"photo_id":"1396439768","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439768":["hashtag1","hashtag2"]},{"1396439753":["hashtag1","hashtag2"]},{"1396439756":["hashtag1","hashtag2"]},{"1396439776":["hashtag1","hashtag2"]},{"1396439773":["hashtag1","hashtag2"]},{"1396439760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439768, 1396439753, 1396439756, 1396439776, 1396439773, 1396439760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60545873641968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:27:02.751683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_25_10682.jpg', '/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_35_9763.jpg', '/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_44_9657.jpg', '/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_55_10652.jpg', '/home/pi/Desktop/images/27112025/15/24/image_27112025_15_25_05_9660.jpg', '/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_14_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_25_10682.jpg
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_35_9763.jpg
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_44_9657.jpg
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_24_55_10652.jpg
/home/pi/Desktop/images/27112025/15/24/image_27112025_15_25_05_9660.jpg
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_14_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439811","1396439798","1396439794","1396439807","1396439815","1396439803"],"photo_ids_order":["1396439794","1396439798","1396439803","1396439807","1396439811","1396439815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4a1de1770efbbd9efbcef4bcecd39ce.jpg","text":"TemporaryFile(/tmp/multipartBody1725216737142607564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_25_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d33dd10759a13b4f841a38e71b1f420.jpg","text":"TemporaryFile(/tmp/multipartBody989944539501443527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_24_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87095f04f5e9fa82e0edfde10ba44049.jpg","text":"TemporaryFile(/tmp/multipartBody6375574318472584318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_24_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a170a1b316b3aaa6f7fa54a609673ada.jpg","text":"TemporaryFile(/tmp/multipartBody1836550268324230396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_24_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c67b44a9a818ccbb5df26b5cf14928a1.jpg","text":"TemporaryFile(/tmp/multipartBody7243711902598995716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_25_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65926d0d1f9413c22e171fbc35a44467.jpg","text":"TemporaryFile(/tmp/multipartBody5588839498196791255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268083776,"filename":"image_27112025_15_24_44_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439803","file1":"1396439798","file0":"1396439794","file4":"1396439811","file5":"1396439815","file3":"1396439807"},"map_files_photo_id_array":[{"photo_id":"1396439815","filename":"file5"},{"photo_id":"1396439803","filename":"file2"},{"photo_id":"1396439811","filename":"file4"},{"photo_id":"1396439798","filename":"file1"},{"photo_id":"1396439794","filename":"file0"},{"photo_id":"1396439807","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439811":["hashtag1","hashtag2"]},{"1396439798":["hashtag1","hashtag2"]},{"1396439794":["hashtag1","hashtag2"]},{"1396439807":["hashtag1","hashtag2"]},{"1396439815":["hashtag1","hashtag2"]},{"1396439803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439811, 1396439798, 1396439794, 1396439807, 1396439815, 1396439803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58282685279846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:28:02.745090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_25_10553.jpg', '/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_35_9792.jpg', '/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_44_9568.jpg', '/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_55_10662.jpg', '/home/pi/Desktop/images/27112025/15/25/image_27112025_15_26_05_9657.jpg', '/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_14_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_25_10553.jpg
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_35_9792.jpg
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_44_9568.jpg
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_25_55_10662.jpg
/home/pi/Desktop/images/27112025/15/25/image_27112025_15_26_05_9657.jpg
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_14_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439831","1396439834","1396439842","1396439839","1396439824","1396439827"],"photo_ids_order":["1396439824","1396439827","1396439831","1396439834","1396439839","1396439842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4773f61154a935fd8d9d3eef8d1a0066.jpg","text":"TemporaryFile(/tmp/multipartBody2831526049798964747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_25_44_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6127cbada2dac9f3b38943c561fbedbc.jpg","text":"TemporaryFile(/tmp/multipartBody1838891521501095928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_25_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0287a1a711f0d1e1978773153e484869.jpg","text":"TemporaryFile(/tmp/multipartBody4635885388850009546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_26_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1821b3b248b1f9c102b087766b3fc967.jpg","text":"TemporaryFile(/tmp/multipartBody1312602603945412275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_26_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a0e6a8b1f67cd10fcb0a1269d9a1c677.jpg","text":"TemporaryFile(/tmp/multipartBody3867012379104907692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_25_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20c631a4bdef361c92689134bc721abe.jpg","text":"TemporaryFile(/tmp/multipartBody7080644946338962948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268143738,"filename":"image_27112025_15_25_35_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439831","file1":"1396439827","file0":"1396439824","file4":"1396439839","file5":"1396439842","file3":"1396439834"},"map_files_photo_id_array":[{"photo_id":"1396439842","filename":"file5"},{"photo_id":"1396439831","filename":"file2"},{"photo_id":"1396439839","filename":"file4"},{"photo_id":"1396439827","filename":"file1"},{"photo_id":"1396439824","filename":"file0"},{"photo_id":"1396439834","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439831":["hashtag1","hashtag2"]},{"1396439834":["hashtag1","hashtag2"]},{"1396439842":["hashtag1","hashtag2"]},{"1396439839":["hashtag1","hashtag2"]},{"1396439824":["hashtag1","hashtag2"]},{"1396439827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439831, 1396439834, 1396439842, 1396439839, 1396439824, 1396439827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77608919143677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:29:03.740891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_25_10627.jpg', '/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_35_9618.jpg', '/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_45_9812.jpg', '/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_54_9704.jpg', '/home/pi/Desktop/images/27112025/15/26/image_27112025_15_27_05_10688.jpg', '/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_25_10627.jpg
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_35_9618.jpg
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_45_9812.jpg
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_26_54_9704.jpg
/home/pi/Desktop/images/27112025/15/26/image_27112025_15_27_05_10688.jpg
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_15_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439876","1396439885","1396439864","1396439873","1396439871","1396439880"],"photo_ids_order":["1396439864","1396439871","1396439873","1396439876","1396439880","1396439885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/221f50e82febdeb952ff67ac03754017.jpg","text":"TemporaryFile(/tmp/multipartBody1313525054059799173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_26_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4edeca3bec86a83d6a57d884af3d86b4.jpg","text":"TemporaryFile(/tmp/multipartBody7032272670195298348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_27_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e243262e8149e282bea09e2864836b03.jpg","text":"TemporaryFile(/tmp/multipartBody7306148231272642246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_26_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/244632a702969ad18c9dca05c18aefb6.jpg","text":"TemporaryFile(/tmp/multipartBody4972607391943067834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_26_45_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3230848a26bcfbbd0a4cabe0deb474e.jpg","text":"TemporaryFile(/tmp/multipartBody4077385897273183205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_26_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93d6cc60cce1426d3a36fd4ad04dc16a.jpg","text":"TemporaryFile(/tmp/multipartBody5732116799420648555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268204885,"filename":"image_27112025_15_27_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439873","file1":"1396439871","file0":"1396439864","file4":"1396439880","file5":"1396439885","file3":"1396439876"},"map_files_photo_id_array":[{"photo_id":"1396439885","filename":"file5"},{"photo_id":"1396439873","filename":"file2"},{"photo_id":"1396439880","filename":"file4"},{"photo_id":"1396439871","filename":"file1"},{"photo_id":"1396439864","filename":"file0"},{"photo_id":"1396439876","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439876":["hashtag1","hashtag2"]},{"1396439885":["hashtag1","hashtag2"]},{"1396439864":["hashtag1","hashtag2"]},{"1396439873":["hashtag1","hashtag2"]},{"1396439871":["hashtag1","hashtag2"]},{"1396439880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439876, 1396439885, 1396439864, 1396439873, 1396439871, 1396439880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.324294567108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:30:03.209135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_24_9707.jpg', '/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_35_10592.jpg', '/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_45_9547.jpg', '/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_54_9782.jpg', '/home/pi/Desktop/images/27112025/15/27/image_27112025_15_28_05_10679.jpg', '/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_15_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_24_9707.jpg
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_35_10592.jpg
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_45_9547.jpg
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_27_54_9782.jpg
/home/pi/Desktop/images/27112025/15/27/image_27112025_15_28_05_10679.jpg
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_15_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439904","1396439897","1396439912","1396439909","1396439900","1396439906"],"photo_ids_order":["1396439897","1396439900","1396439904","1396439906","1396439909","1396439912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b24fac5bb482de96319051eaf82f3531.jpg","text":"TemporaryFile(/tmp/multipartBody743546303206611779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_27_45_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52e3d32d5a8f3d1c658a9e5220b9ff48.jpg","text":"TemporaryFile(/tmp/multipartBody7833463282231780286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_27_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7871d0e5a1105d663d94a249e9d5fad.jpg","text":"TemporaryFile(/tmp/multipartBody7120091907797280212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_28_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/764d0f22877c7b0afd114dad7b5aacc0.jpg","text":"TemporaryFile(/tmp/multipartBody144137332716003057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_28_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3e4023b61cfa486aabd789234ca73bf.jpg","text":"TemporaryFile(/tmp/multipartBody5764334326986712691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_27_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a9157e16eae34b8f073d9313444a884.jpg","text":"TemporaryFile(/tmp/multipartBody6991936259906005057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268264178,"filename":"image_27112025_15_27_54_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439904","file1":"1396439900","file0":"1396439897","file4":"1396439909","file5":"1396439912","file3":"1396439906"},"map_files_photo_id_array":[{"photo_id":"1396439912","filename":"file5"},{"photo_id":"1396439904","filename":"file2"},{"photo_id":"1396439909","filename":"file4"},{"photo_id":"1396439900","filename":"file1"},{"photo_id":"1396439897","filename":"file0"},{"photo_id":"1396439906","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439904":["hashtag1","hashtag2"]},{"1396439897":["hashtag1","hashtag2"]},{"1396439912":["hashtag1","hashtag2"]},{"1396439909":["hashtag1","hashtag2"]},{"1396439900":["hashtag1","hashtag2"]},{"1396439906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439904, 1396439897, 1396439912, 1396439909, 1396439900, 1396439906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967406034469604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:31:02.658659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_25_10129.jpg', '/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_35_9760.jpg', '/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_44_9668.jpg', '/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_55_10682.jpg', '/home/pi/Desktop/images/27112025/15/28/image_27112025_15_29_05_9611.jpg', '/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_14_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_25_10129.jpg
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_35_9760.jpg
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_44_9668.jpg
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_28_55_10682.jpg
/home/pi/Desktop/images/27112025/15/28/image_27112025_15_29_05_9611.jpg
/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_14_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439951","1396439950","1396439944","1396439947","1396439952","1396439955"],"photo_ids_order":["1396439944","1396439947","1396439950","1396439951","1396439952","1396439955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c120b792e492883e72373e5058207c7.jpg","text":"TemporaryFile(/tmp/multipartBody8262752687110120630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_28_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb33e51b8b5c1b99c8112444ca0f2d96.jpg","text":"TemporaryFile(/tmp/multipartBody7718366453833756285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_28_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab1ef7ca7d758864136605a9953159d0.jpg","text":"TemporaryFile(/tmp/multipartBody216968476761485826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_28_25_10129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7933582d15f092ada330cf647d9395b4.jpg","text":"TemporaryFile(/tmp/multipartBody4921050307086430453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_28_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8d8afc66b107395333dff35486b61e8.jpg","text":"TemporaryFile(/tmp/multipartBody9182515943520920489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_29_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb0972e5cac85907827b42517dca22c0.jpg","text":"TemporaryFile(/tmp/multipartBody7221901584717747069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268323621,"filename":"image_27112025_15_29_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439950","file1":"1396439947","file0":"1396439944","file4":"1396439952","file5":"1396439955","file3":"1396439951"},"map_files_photo_id_array":[{"photo_id":"1396439955","filename":"file5"},{"photo_id":"1396439950","filename":"file2"},{"photo_id":"1396439952","filename":"file4"},{"photo_id":"1396439947","filename":"file1"},{"photo_id":"1396439944","filename":"file0"},{"photo_id":"1396439951","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439951":["hashtag1","hashtag2"]},{"1396439950":["hashtag1","hashtag2"]},{"1396439944":["hashtag1","hashtag2"]},{"1396439947":["hashtag1","hashtag2"]},{"1396439952":["hashtag1","hashtag2"]},{"1396439955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439951, 1396439950, 1396439944, 1396439947, 1396439952, 1396439955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.002360820770264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:32:03.172816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_25_10640.jpg', '/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_34_9588.jpg', '/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_45_10967.jpg', '/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_54_8802.jpg', '/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_13_10037.jpg', '/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_24_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_25_10640.jpg
/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_34_9588.jpg
/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_45_10967.jpg
/home/pi/Desktop/images/27112025/15/29/image_27112025_15_29_54_8802.jpg
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_13_10037.jpg
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_24_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396439984","1396439972","1396439974","1396439979","1396439988","1396439976"],"photo_ids_order":["1396439972","1396439974","1396439976","1396439979","1396439984","1396439988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5d662a7f3f74eb8c34e87809bc362ad.jpg","text":"TemporaryFile(/tmp/multipartBody4371152027296958984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_31_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f10d686ad28c5162d121c2fc1101dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody4592097697302167450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_29_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db81287df2a63d0eab962cd58b3928a4.jpg","text":"TemporaryFile(/tmp/multipartBody9155965412056504848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_29_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d9a13b4cb51ba89bfef24f1c4830913.jpg","text":"TemporaryFile(/tmp/multipartBody5524318970406829968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_29_54_8802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a293be8b8f81497f3f03d62099a7089a.jpg","text":"TemporaryFile(/tmp/multipartBody4950029263809530547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_31_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3628bf7e02beedf87dd7021d3419835f.jpg","text":"TemporaryFile(/tmp/multipartBody5678600718407781386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268384151,"filename":"image_27112025_15_29_45_10967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396439976","file1":"1396439974","file0":"1396439972","file4":"1396439984","file5":"1396439988","file3":"1396439979"},"map_files_photo_id_array":[{"photo_id":"1396439988","filename":"file5"},{"photo_id":"1396439976","filename":"file2"},{"photo_id":"1396439984","filename":"file4"},{"photo_id":"1396439974","filename":"file1"},{"photo_id":"1396439972","filename":"file0"},{"photo_id":"1396439979","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396439984":["hashtag1","hashtag2"]},{"1396439972":["hashtag1","hashtag2"]},{"1396439974":["hashtag1","hashtag2"]},{"1396439979":["hashtag1","hashtag2"]},{"1396439988":["hashtag1","hashtag2"]},{"1396439976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396439984, 1396439972, 1396439974, 1396439979, 1396439988, 1396439976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04311442375183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:33:02.584385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_33_9669.jpg', '/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_43_9669.jpg', '/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_54_10681.jpg', '/home/pi/Desktop/images/27112025/15/31/image_27112025_15_32_03_9627.jpg', '/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_14_10629.jpg', '/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_33_9669.jpg
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_43_9669.jpg
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_31_54_10681.jpg
/home/pi/Desktop/images/27112025/15/31/image_27112025_15_32_03_9627.jpg
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_14_10629.jpg
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_24_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440021","1396440015","1396440017","1396440031","1396440025","1396440028"],"photo_ids_order":["1396440015","1396440017","1396440021","1396440025","1396440028","1396440031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1024ee29f4089fe234d90b91d0a6925.jpg","text":"TemporaryFile(/tmp/multipartBody2419698512734842866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_31_54_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0513069968f89b6986f73b25a1f2e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody509158163490068592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_31_33_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/adf85aabc0104307c2f2aac49cdf95b6.jpg","text":"TemporaryFile(/tmp/multipartBody6219127860281751801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_31_43_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ddaa99358d2cf0b7f7d1466a8e9bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody2281809297162586658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_32_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89ea12f02918c3376c70be3f1a94f348.jpg","text":"TemporaryFile(/tmp/multipartBody1473406525927811607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_32_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65481a150fc3c7a80a784fafa6aac696.jpg","text":"TemporaryFile(/tmp/multipartBody2730206268740590830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268443489,"filename":"image_27112025_15_32_14_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440021","file1":"1396440017","file0":"1396440015","file4":"1396440028","file5":"1396440031","file3":"1396440025"},"map_files_photo_id_array":[{"photo_id":"1396440031","filename":"file5"},{"photo_id":"1396440021","filename":"file2"},{"photo_id":"1396440028","filename":"file4"},{"photo_id":"1396440017","filename":"file1"},{"photo_id":"1396440015","filename":"file0"},{"photo_id":"1396440025","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440021":["hashtag1","hashtag2"]},{"1396440015":["hashtag1","hashtag2"]},{"1396440017":["hashtag1","hashtag2"]},{"1396440031":["hashtag1","hashtag2"]},{"1396440025":["hashtag1","hashtag2"]},{"1396440028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440021, 1396440015, 1396440017, 1396440031, 1396440025, 1396440028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2736451625824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:34:02.883218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_33_9718.jpg', '/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_43_9749.jpg', '/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_54_10590.jpg', '/home/pi/Desktop/images/27112025/15/32/image_27112025_15_33_04_9894.jpg', '/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_13_9606.jpg', '/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_24_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_33_9718.jpg
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_43_9749.jpg
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_32_54_10590.jpg
/home/pi/Desktop/images/27112025/15/32/image_27112025_15_33_04_9894.jpg
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_13_9606.jpg
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_24_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440066","1396440060","1396440065","1396440044","1396440041","1396440052"],"photo_ids_order":["1396440041","1396440044","1396440052","1396440060","1396440065","1396440066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c2329cb53f390409c7fc76975bae6de.jpg","text":"TemporaryFile(/tmp/multipartBody6411404820035065902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_33_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/060b3182c7120bb26bce82d65eb7342d.jpg","text":"TemporaryFile(/tmp/multipartBody7814358208428165094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_33_04_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e0fbe4e939f4d3532d48e997a3f8509.jpg","text":"TemporaryFile(/tmp/multipartBody3272595582214921561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_33_13_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99f90cc3467f134b4025b7f580fe9688.jpg","text":"TemporaryFile(/tmp/multipartBody5339239155077532471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_32_43_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d374b9fb15c3e3f003c71aef736c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody4936276963898101672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_32_33_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fde23c0e4c4e4bbf4e6b4101c8b88ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7784995216634341689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268503869,"filename":"image_27112025_15_32_54_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440052","file1":"1396440044","file0":"1396440041","file4":"1396440065","file5":"1396440066","file3":"1396440060"},"map_files_photo_id_array":[{"photo_id":"1396440066","filename":"file5"},{"photo_id":"1396440052","filename":"file2"},{"photo_id":"1396440065","filename":"file4"},{"photo_id":"1396440044","filename":"file1"},{"photo_id":"1396440041","filename":"file0"},{"photo_id":"1396440060","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440066":["hashtag1","hashtag2"]},{"1396440060":["hashtag1","hashtag2"]},{"1396440065":["hashtag1","hashtag2"]},{"1396440044":["hashtag1","hashtag2"]},{"1396440041":["hashtag1","hashtag2"]},{"1396440052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440066, 1396440060, 1396440065, 1396440044, 1396440041, 1396440052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29085636138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 19:34:42.129648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_59_3723.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_05_2902.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_14_2731.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_26_2864.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_29_3122.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_32_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/24/image_31102025_03_24_59_3723.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_05_2902.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_14_2731.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_26_2864.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_29_3122.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_32_2904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440090","1396440092","1396440080","1396440088","1396440103","1396440096"],"photo_ids_order":["1396440080","1396440088","1396440090","1396440092","1396440096","1396440103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ced04c91304e426befddd2db6bc5e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4725028903538578348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_25_14_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/27/e18affc2ca68d8c70aba89aec0594525.jpg","text":"TemporaryFile(/tmp/multipartBody4431763234937659855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_25_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/27/8e0b4b34187e1bc4b6c4686ef9b14dbd.jpg","text":"TemporaryFile(/tmp/multipartBody9195105426620984246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_24_59_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/27/bbd69e686651d3081da1caca627ac93c.jpg","text":"TemporaryFile(/tmp/multipartBody1099451876035708655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_25_05_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b472532b030194c67a0392f44212ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2442160621184896819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_25_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/27/41bed9b61f4fe19d3a5fa34fe8c26de8.jpg","text":"TemporaryFile(/tmp/multipartBody1647025545124299624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268543733,"filename":"image_31102025_03_25_29_3122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440090","file1":"1396440088","file0":"1396440080","file4":"1396440096","file5":"1396440103","file3":"1396440092"},"map_files_photo_id_array":[{"photo_id":"1396440103","filename":"file5"},{"photo_id":"1396440090","filename":"file2"},{"photo_id":"1396440096","filename":"file4"},{"photo_id":"1396440088","filename":"file1"},{"photo_id":"1396440080","filename":"file0"},{"photo_id":"1396440092","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396440090":["hashtag1","hashtag2"]},{"1396440092":["hashtag1","hashtag2"]},{"1396440080":["hashtag1","hashtag2"]},{"1396440088":["hashtag1","hashtag2"]},{"1396440103":["hashtag1","hashtag2"]},{"1396440096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396440090, 1396440092, 1396440080, 1396440088, 1396440103, 1396440096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18093967437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 19:35:22.239393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_34_9813.jpg', '/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_44_9901.jpg', '/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_54_10537.jpg', '/home/pi/Desktop/images/27112025/15/33/image_27112025_15_34_04_9647.jpg', '/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_13_9653.jpg', '/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_24_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_34_9813.jpg
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_44_9901.jpg
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_33_54_10537.jpg
/home/pi/Desktop/images/27112025/15/33/image_27112025_15_34_04_9647.jpg
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_13_9653.jpg
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_24_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440123","1396440125","1396440116","1396440121","1396440127","1396440112"],"photo_ids_order":["1396440112","1396440116","1396440121","1396440123","1396440125","1396440127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/263723898621ae21ba4a3cf09a940ed2.jpg","text":"TemporaryFile(/tmp/multipartBody9018190052449473968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_34_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abaa70918333d9abb604228719628d50.jpg","text":"TemporaryFile(/tmp/multipartBody3779496303824669562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_34_13_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86d857d380cb8f174f6d8693a85a1aef.jpg","text":"TemporaryFile(/tmp/multipartBody8629173082755372243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_33_44_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5963e2cec8975ac30eb23f12329592e4.jpg","text":"TemporaryFile(/tmp/multipartBody2577948890569290660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_33_54_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24d679a94194e9030a1632e6ef8d93fc.jpg","text":"TemporaryFile(/tmp/multipartBody4405273420331704079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_34_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afcdab1dff1ba9063329a3fd2a34ff59.jpg","text":"TemporaryFile(/tmp/multipartBody1460160331741820207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268583042,"filename":"image_27112025_15_33_34_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440121","file1":"1396440116","file0":"1396440112","file4":"1396440125","file5":"1396440127","file3":"1396440123"},"map_files_photo_id_array":[{"photo_id":"1396440127","filename":"file5"},{"photo_id":"1396440121","filename":"file2"},{"photo_id":"1396440125","filename":"file4"},{"photo_id":"1396440116","filename":"file1"},{"photo_id":"1396440112","filename":"file0"},{"photo_id":"1396440123","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440123":["hashtag1","hashtag2"]},{"1396440125":["hashtag1","hashtag2"]},{"1396440116":["hashtag1","hashtag2"]},{"1396440121":["hashtag1","hashtag2"]},{"1396440127":["hashtag1","hashtag2"]},{"1396440112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440123, 1396440125, 1396440116, 1396440121, 1396440127, 1396440112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71401023864746 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 10 --only_old 1
2025-11-27 19:36:12.442717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_22_2608.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_25_2546.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_28_3656.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_31_2624.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_38_3670.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_40_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_22_2608.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_25_2546.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_28_3656.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_31_2624.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_38_3670.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_40_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440183","1396440159","1396440182","1396440166","1396440169","1396440151"],"photo_ids_order":["1396440151","1396440159","1396440166","1396440169","1396440182","1396440183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a05c106d0126023b75bb5e266b41ebf.jpg","text":"TemporaryFile(/tmp/multipartBody9152459559726642444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_40_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/27/c1ffeefc3785a696791a83b048ab8fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2350475395978794728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_25_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/27/d28cb98f2566edac3df95bf8e3ee1a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3825180828815278260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_38_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/27/6ee443fe41ef7e8df30a1bea262ca6ba.jpg","text":"TemporaryFile(/tmp/multipartBody8401744804991195531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_28_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/27/80d614d6cae9f43764468ac6fed64401.jpg","text":"TemporaryFile(/tmp/multipartBody3016001523032054997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_31_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/27/4eec3c2cdc0acc4d5fc3bfc5036e4734.jpg","text":"TemporaryFile(/tmp/multipartBody4847404477738248378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268634512,"filename":"image_21112025_21_31_22_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440166","file1":"1396440159","file0":"1396440151","file4":"1396440182","file5":"1396440183","file3":"1396440169"},"map_files_photo_id_array":[{"photo_id":"1396440183","filename":"file5"},{"photo_id":"1396440166","filename":"file2"},{"photo_id":"1396440182","filename":"file4"},{"photo_id":"1396440159","filename":"file1"},{"photo_id":"1396440151","filename":"file0"},{"photo_id":"1396440169","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396440183":["hashtag1","hashtag2"]},{"1396440159":["hashtag1","hashtag2"]},{"1396440182":["hashtag1","hashtag2"]},{"1396440166":["hashtag1","hashtag2"]},{"1396440169":["hashtag1","hashtag2"]},{"1396440151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396440183, 1396440159, 1396440182, 1396440166, 1396440169, 1396440151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37272262573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:37:03.383115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_34_9769.jpg', '/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_43_9626.jpg', '/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_53_9646.jpg', '/home/pi/Desktop/images/27112025/15/34/image_27112025_15_35_04_10771.jpg', '/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_14_9702.jpg', '/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_23_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_34_9769.jpg
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_43_9626.jpg
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_34_53_9646.jpg
/home/pi/Desktop/images/27112025/15/34/image_27112025_15_35_04_10771.jpg
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_14_9702.jpg
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_23_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440264","1396440213","1396440317","1396440311","1396440221","1396440217"],"photo_ids_order":["1396440213","1396440217","1396440221","1396440264","1396440311","1396440317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8cbd09849105b948cb1b9fae241068a.jpg","text":"TemporaryFile(/tmp/multipartBody7107073361656735443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_35_04_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/290d1d7dc943aa0082a77c74e5e2525a.jpg","text":"TemporaryFile(/tmp/multipartBody3712692848557586251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_34_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fe5b68bbf271807213b7e283f8339b2.jpg","text":"TemporaryFile(/tmp/multipartBody5133325364937383200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_35_23_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bfda4f83acad512e474f6f001d2d730.jpg","text":"TemporaryFile(/tmp/multipartBody2746366790622163326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_35_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2662e1a79df9be93cd8403ec95137d82.jpg","text":"TemporaryFile(/tmp/multipartBody5277221962978333698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_34_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d2fc0b4d1eb462d2cc1b705639b8fda.jpg","text":"TemporaryFile(/tmp/multipartBody845530441107251306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268684359,"filename":"image_27112025_15_34_43_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440221","file1":"1396440217","file0":"1396440213","file4":"1396440311","file5":"1396440317","file3":"1396440264"},"map_files_photo_id_array":[{"photo_id":"1396440317","filename":"file5"},{"photo_id":"1396440221","filename":"file2"},{"photo_id":"1396440311","filename":"file4"},{"photo_id":"1396440217","filename":"file1"},{"photo_id":"1396440213","filename":"file0"},{"photo_id":"1396440264","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440264":["hashtag1","hashtag2"]},{"1396440213":["hashtag1","hashtag2"]},{"1396440317":["hashtag1","hashtag2"]},{"1396440311":["hashtag1","hashtag2"]},{"1396440221":["hashtag1","hashtag2"]},{"1396440217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440264, 1396440213, 1396440317, 1396440311, 1396440221, 1396440217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37548208236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:38:02.360006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_33_9714.jpg', '/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_44_10673.jpg', '/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_54_9721.jpg', '/home/pi/Desktop/images/27112025/15/35/image_27112025_15_36_03_9826.jpg', '/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_14_10625.jpg', '/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_33_9714.jpg
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_44_10673.jpg
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_35_54_9721.jpg
/home/pi/Desktop/images/27112025/15/35/image_27112025_15_36_03_9826.jpg
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_14_10625.jpg
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_24_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440381","1396440389","1396440347","1396440370","1396440367","1396440352"],"photo_ids_order":["1396440347","1396440352","1396440367","1396440370","1396440381","1396440389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf6f19c8892f9a9ffdcedc3c62e4ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody513547497458784478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_36_14_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/855f737ea734a75a6a093e2ebd527b34.jpg","text":"TemporaryFile(/tmp/multipartBody2384590708954232051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_36_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a78a521c070bf88062170b6096896d8.jpg","text":"TemporaryFile(/tmp/multipartBody1103900210395078009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_35_33_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ddddf0cd30e7ddb0fe293758be7d6517.jpg","text":"TemporaryFile(/tmp/multipartBody7237557696443974585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_36_03_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e98a4120e461493c86fdf4952b778ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6818264901330582040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_35_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f0a22aef45eaa000830071c03d9bf86.jpg","text":"TemporaryFile(/tmp/multipartBody3058684388750553257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268743360,"filename":"image_27112025_15_35_44_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440367","file1":"1396440352","file0":"1396440347","file4":"1396440381","file5":"1396440389","file3":"1396440370"},"map_files_photo_id_array":[{"photo_id":"1396440389","filename":"file5"},{"photo_id":"1396440367","filename":"file2"},{"photo_id":"1396440381","filename":"file4"},{"photo_id":"1396440352","filename":"file1"},{"photo_id":"1396440347","filename":"file0"},{"photo_id":"1396440370","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440381":["hashtag1","hashtag2"]},{"1396440389":["hashtag1","hashtag2"]},{"1396440347":["hashtag1","hashtag2"]},{"1396440370":["hashtag1","hashtag2"]},{"1396440367":["hashtag1","hashtag2"]},{"1396440352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440381, 1396440389, 1396440347, 1396440370, 1396440367, 1396440352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85354208946228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:39:03.003831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_33_9557.jpg', '/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_44_10732.jpg', '/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_54_9722.jpg', '/home/pi/Desktop/images/27112025/15/36/image_27112025_15_37_04_9898.jpg', '/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_13_9588.jpg', '/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_24_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_33_9557.jpg
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_44_10732.jpg
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_36_54_9722.jpg
/home/pi/Desktop/images/27112025/15/36/image_27112025_15_37_04_9898.jpg
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_13_9588.jpg
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_24_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440474","1396440519","1396440515","1396440506","1396440511","1396440523"],"photo_ids_order":["1396440474","1396440506","1396440511","1396440515","1396440519","1396440523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b712549d0ae5b0f54889d35cd86d6396.jpg","text":"TemporaryFile(/tmp/multipartBody4596147673754715531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_36_33_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2cc6f5c0fe94b5af682c9b4dc2a0b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2562473274170542221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_37_13_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9fbc58754c15bfb4d51a22d63cdd86fe.jpg","text":"TemporaryFile(/tmp/multipartBody1665052077844371018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_37_04_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/27/f1206505186ca229374304a28777fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody4959034952783559268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_36_44_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a8c8bb55801acca7b8180fc910a4014.jpg","text":"TemporaryFile(/tmp/multipartBody7638534805336405493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_36_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7acb7de5416d5dcbb43ff60b1b46ab57.jpg","text":"TemporaryFile(/tmp/multipartBody135392488911498962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268804030,"filename":"image_27112025_15_37_24_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440511","file1":"1396440506","file0":"1396440474","file4":"1396440519","file5":"1396440523","file3":"1396440515"},"map_files_photo_id_array":[{"photo_id":"1396440523","filename":"file5"},{"photo_id":"1396440511","filename":"file2"},{"photo_id":"1396440519","filename":"file4"},{"photo_id":"1396440506","filename":"file1"},{"photo_id":"1396440474","filename":"file0"},{"photo_id":"1396440515","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440474":["hashtag1","hashtag2"]},{"1396440519":["hashtag1","hashtag2"]},{"1396440515":["hashtag1","hashtag2"]},{"1396440506":["hashtag1","hashtag2"]},{"1396440511":["hashtag1","hashtag2"]},{"1396440523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440474, 1396440519, 1396440515, 1396440506, 1396440511, 1396440523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09036993980408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:40:02.850043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_33_9635.jpg', '/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_43_9670.jpg', '/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_54_10550.jpg', '/home/pi/Desktop/images/27112025/15/37/image_27112025_15_38_04_9790.jpg', '/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_14_10563.jpg', '/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_24_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_33_9635.jpg
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_43_9670.jpg
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_37_54_10550.jpg
/home/pi/Desktop/images/27112025/15/37/image_27112025_15_38_04_9790.jpg
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_14_10563.jpg
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_24_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440558","1396440556","1396440550","1396440553","1396440532","1396440541"],"photo_ids_order":["1396440532","1396440541","1396440550","1396440553","1396440556","1396440558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/680aba08ee78a17fc926032394ad42b8.jpg","text":"TemporaryFile(/tmp/multipartBody1899170071515090371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_38_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40b614a15343c0e6986fa382a770dc90.jpg","text":"TemporaryFile(/tmp/multipartBody1951874888255175710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_38_14_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcb6936fef367723ca9bf60b5efa7497.jpg","text":"TemporaryFile(/tmp/multipartBody1590357736326015552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_37_54_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ecce27c0cd991311cabc00a5f2ed293f.jpg","text":"TemporaryFile(/tmp/multipartBody7332123785171122781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_38_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9986e7502e8309a96fdce49a2521ecc9.jpg","text":"TemporaryFile(/tmp/multipartBody8801709529885468422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_37_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b9f336c4db1b145ba212ad9cc39be6e.jpg","text":"TemporaryFile(/tmp/multipartBody7131540005732205069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268863785,"filename":"image_27112025_15_37_43_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440550","file1":"1396440541","file0":"1396440532","file4":"1396440556","file5":"1396440558","file3":"1396440553"},"map_files_photo_id_array":[{"photo_id":"1396440558","filename":"file5"},{"photo_id":"1396440550","filename":"file2"},{"photo_id":"1396440556","filename":"file4"},{"photo_id":"1396440541","filename":"file1"},{"photo_id":"1396440532","filename":"file0"},{"photo_id":"1396440553","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440558":["hashtag1","hashtag2"]},{"1396440556":["hashtag1","hashtag2"]},{"1396440550":["hashtag1","hashtag2"]},{"1396440553":["hashtag1","hashtag2"]},{"1396440532":["hashtag1","hashtag2"]},{"1396440541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440558, 1396440556, 1396440550, 1396440553, 1396440532, 1396440541)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.95893454551697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:41:03.208133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_34_9638.jpg', '/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_43_9623.jpg', '/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_54_10713.jpg', '/home/pi/Desktop/images/27112025/15/38/image_27112025_15_39_04_9711.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_13_9741.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_24_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_34_9638.jpg
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_43_9623.jpg
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_38_54_10713.jpg
/home/pi/Desktop/images/27112025/15/38/image_27112025_15_39_04_9711.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_13_9741.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_24_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440663","1396440642","1396440659","1396440629","1396440676","1396440706"],"photo_ids_order":["1396440629","1396440642","1396440659","1396440663","1396440676","1396440706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab45f82acf288b78c8248727398d1253.jpg","text":"TemporaryFile(/tmp/multipartBody4173457565674755896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_39_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9e36d4240e93eb75cd91f1277aecde6.jpg","text":"TemporaryFile(/tmp/multipartBody3875674524385159557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_38_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea3af0ca9cf62d18979ce66f5596617b.jpg","text":"TemporaryFile(/tmp/multipartBody2507615732445519897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_38_54_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85a644b0d68452d67e73d855eb818bef.jpg","text":"TemporaryFile(/tmp/multipartBody8312593166624884994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_38_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86983427f61f50de5b4b77a549cf7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2809971791772544416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_39_13_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e3bccdef5691d03c4f55ef60ec838b3.jpg","text":"TemporaryFile(/tmp/multipartBody7279328660744451908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268924263,"filename":"image_27112025_15_39_24_10828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440659","file1":"1396440642","file0":"1396440629","file4":"1396440676","file5":"1396440706","file3":"1396440663"},"map_files_photo_id_array":[{"photo_id":"1396440706","filename":"file5"},{"photo_id":"1396440659","filename":"file2"},{"photo_id":"1396440676","filename":"file4"},{"photo_id":"1396440642","filename":"file1"},{"photo_id":"1396440629","filename":"file0"},{"photo_id":"1396440663","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440663":["hashtag1","hashtag2"]},{"1396440642":["hashtag1","hashtag2"]},{"1396440659":["hashtag1","hashtag2"]},{"1396440629":["hashtag1","hashtag2"]},{"1396440676":["hashtag1","hashtag2"]},{"1396440706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440663, 1396440642, 1396440659, 1396440629, 1396440676, 1396440706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66619610786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:42:03.053648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_34_9818.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_44_9629.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_53_9758.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_40_04_10686.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_14_9643.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_23_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_34_9818.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_44_9629.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_53_9758.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_40_04_10686.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_14_9643.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_23_9669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6712567806243896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 19:42:12.608068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_43_2690.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_46_2767.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_49_3580.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_52_2628.jpg', '/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_55_2638.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_43_2690.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_46_2767.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_49_3580.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_52_2628.jpg
/home/pi/Desktop/images/21112025/21/31/image_21112025_21_31_55_2638.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_06_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440846","1396440837","1396440831","1396440842","1396440853","1396440847"],"photo_ids_order":["1396440831","1396440837","1396440842","1396440846","1396440847","1396440853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bf3e49f0f0840f19c9be75d01d7d8dd.jpg","text":"TemporaryFile(/tmp/multipartBody5105337200483486702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_31_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/27/76952d6a506c095fc5cb4536093fdbfe.jpg","text":"TemporaryFile(/tmp/multipartBody2362829857276229047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_31_46_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/27/28a7b9ec7961b4329d22799489de43ea.jpg","text":"TemporaryFile(/tmp/multipartBody43377625712330767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_31_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/27/5d9a057e49a939df19ae071b437e03d3.jpg","text":"TemporaryFile(/tmp/multipartBody3596976480224235985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_31_49_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/27/81a30827d6546d6aed74ad13c1b8ec06.jpg","text":"TemporaryFile(/tmp/multipartBody5833313391207612899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_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/27/e8fd44c31fc84fa7ac7657c7fe13d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2020757049439427178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764268994653,"filename":"image_21112025_21_31_55_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440842","file1":"1396440837","file0":"1396440831","file4":"1396440847","file5":"1396440853","file3":"1396440846"},"map_files_photo_id_array":[{"photo_id":"1396440853","filename":"file5"},{"photo_id":"1396440842","filename":"file2"},{"photo_id":"1396440847","filename":"file4"},{"photo_id":"1396440837","filename":"file1"},{"photo_id":"1396440831","filename":"file0"},{"photo_id":"1396440846","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396440846":["hashtag1","hashtag2"]},{"1396440837":["hashtag1","hashtag2"]},{"1396440831":["hashtag1","hashtag2"]},{"1396440842":["hashtag1","hashtag2"]},{"1396440853":["hashtag1","hashtag2"]},{"1396440847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396440846, 1396440837, 1396440831, 1396440842, 1396440853, 1396440847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50600743293762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:43:02.760902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_34_9818.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_44_9629.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_53_9758.jpg', '/home/pi/Desktop/images/27112025/15/39/image_27112025_15_40_04_10686.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_14_9643.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_23_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_34_9818.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_44_9629.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_39_53_9758.jpg
/home/pi/Desktop/images/27112025/15/39/image_27112025_15_40_04_10686.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_14_9643.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_23_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396440879","1396440911","1396440905","1396440908","1396440902","1396440897"],"photo_ids_order":["1396440879","1396440897","1396440902","1396440905","1396440908","1396440911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a5ef70290b5640c3092f5d14afb7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5979745686472494067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_39_34_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/27/05e14d01fa54e9d48fe03343c9005642.jpg","text":"TemporaryFile(/tmp/multipartBody9095618730158189400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_40_23_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb41c27008319e85c896f35152b2c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody245687368260218917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_40_04_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/826ba6eb562fd81b922f8646e300e429.jpg","text":"TemporaryFile(/tmp/multipartBody8304236697294891544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_40_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6c0e38a9942e56033dfd0ba1fe978d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3560260166190149466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_39_53_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eae4522f75b807829989f9136f796f8f.jpg","text":"TemporaryFile(/tmp/multipartBody9071002900643570798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269043817,"filename":"image_27112025_15_39_44_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396440902","file1":"1396440897","file0":"1396440879","file4":"1396440908","file5":"1396440911","file3":"1396440905"},"map_files_photo_id_array":[{"photo_id":"1396440911","filename":"file5"},{"photo_id":"1396440902","filename":"file2"},{"photo_id":"1396440908","filename":"file4"},{"photo_id":"1396440897","filename":"file1"},{"photo_id":"1396440879","filename":"file0"},{"photo_id":"1396440905","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396440879":["hashtag1","hashtag2"]},{"1396440911":["hashtag1","hashtag2"]},{"1396440905":["hashtag1","hashtag2"]},{"1396440908":["hashtag1","hashtag2"]},{"1396440902":["hashtag1","hashtag2"]},{"1396440897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396440879, 1396440911, 1396440905, 1396440908, 1396440902, 1396440897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57055974006653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:44:03.067237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_34_10646.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_44_9564.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_53_9823.jpg', '/home/pi/Desktop/images/27112025/15/40/image_27112025_15_41_03_9811.jpg', '/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_14_10738.jpg', '/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_24_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_34_10646.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_44_9564.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_40_53_9823.jpg
/home/pi/Desktop/images/27112025/15/40/image_27112025_15_41_03_9811.jpg
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_14_10738.jpg
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_24_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441067","1396441055","1396441070","1396441058","1396441052","1396441062"],"photo_ids_order":["1396441052","1396441055","1396441058","1396441062","1396441067","1396441070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69ca5d24c124d6d7bc601a481270dc46.jpg","text":"TemporaryFile(/tmp/multipartBody2644046863022837940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_41_14_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb886b596a6224e265f8c854783383f5.jpg","text":"TemporaryFile(/tmp/multipartBody3302843223739680476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_40_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7d3c61d86ba15cdd707e073fade68c1.jpg","text":"TemporaryFile(/tmp/multipartBody6370093192502383777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_41_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/20dedf6fd1f190a44781efebd53e6156.jpg","text":"TemporaryFile(/tmp/multipartBody7048567076052380371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_40_53_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86f6ca89afc13bc08726071a8da978a8.jpg","text":"TemporaryFile(/tmp/multipartBody830745952211893339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_40_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a603595d6219fa68db0d6953ce7ec169.jpg","text":"TemporaryFile(/tmp/multipartBody2419146076153564244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269104006,"filename":"image_27112025_15_41_03_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441058","file1":"1396441055","file0":"1396441052","file4":"1396441067","file5":"1396441070","file3":"1396441062"},"map_files_photo_id_array":[{"photo_id":"1396441070","filename":"file5"},{"photo_id":"1396441058","filename":"file2"},{"photo_id":"1396441067","filename":"file4"},{"photo_id":"1396441055","filename":"file1"},{"photo_id":"1396441052","filename":"file0"},{"photo_id":"1396441062","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441067":["hashtag1","hashtag2"]},{"1396441055":["hashtag1","hashtag2"]},{"1396441070":["hashtag1","hashtag2"]},{"1396441058":["hashtag1","hashtag2"]},{"1396441052":["hashtag1","hashtag2"]},{"1396441062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441067, 1396441055, 1396441070, 1396441058, 1396441052, 1396441062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68920826911926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:45:02.988767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_33_9683.jpg', '/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_44_10724.jpg', '/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_54_9623.jpg', '/home/pi/Desktop/images/27112025/15/41/image_27112025_15_42_03_9652.jpg', '/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_13_9802.jpg', '/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_24_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_33_9683.jpg
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_44_10724.jpg
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_41_54_9623.jpg
/home/pi/Desktop/images/27112025/15/41/image_27112025_15_42_03_9652.jpg
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_13_9802.jpg
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_24_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441091","1396441094","1396441082","1396441078","1396441098","1396441086"],"photo_ids_order":["1396441078","1396441082","1396441086","1396441091","1396441094","1396441098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe1a7edb4f07166cba422937a8375389.jpg","text":"TemporaryFile(/tmp/multipartBody752095498207277861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_42_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5a9c36ae26c331a9642252c8edc9f21.jpg","text":"TemporaryFile(/tmp/multipartBody1693081665319020430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_42_13_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cb0ae94cae573c33e39e2423bbc7e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4407944486277065747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_41_44_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42f0c3ab897fecafa5c280025c502f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5248768393350813732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_41_33_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0590985eca4ec45aef1e0bb64e767dad.jpg","text":"TemporaryFile(/tmp/multipartBody5561400849953886469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_42_24_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f5cfa4e7233503703e743e307ef6d66.jpg","text":"TemporaryFile(/tmp/multipartBody4876845639828995028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269164156,"filename":"image_27112025_15_41_54_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441086","file1":"1396441082","file0":"1396441078","file4":"1396441094","file5":"1396441098","file3":"1396441091"},"map_files_photo_id_array":[{"photo_id":"1396441098","filename":"file5"},{"photo_id":"1396441086","filename":"file2"},{"photo_id":"1396441094","filename":"file4"},{"photo_id":"1396441082","filename":"file1"},{"photo_id":"1396441078","filename":"file0"},{"photo_id":"1396441091","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441091":["hashtag1","hashtag2"]},{"1396441094":["hashtag1","hashtag2"]},{"1396441082":["hashtag1","hashtag2"]},{"1396441078":["hashtag1","hashtag2"]},{"1396441098":["hashtag1","hashtag2"]},{"1396441086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441091, 1396441094, 1396441082, 1396441078, 1396441098, 1396441086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.902430057525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:46:03.019157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_34_9833.jpg', '/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_43_9546.jpg', '/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_54_10640.jpg', '/home/pi/Desktop/images/27112025/15/42/image_27112025_15_43_04_9658.jpg', '/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_13_9754.jpg', '/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_23_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_34_9833.jpg
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_43_9546.jpg
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_42_54_10640.jpg
/home/pi/Desktop/images/27112025/15/42/image_27112025_15_43_04_9658.jpg
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_13_9754.jpg
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_23_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441125","1396441142","1396441145","1396441133","1396441129","1396441138"],"photo_ids_order":["1396441125","1396441129","1396441133","1396441138","1396441142","1396441145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8e74de19fac3e78cb7117df6315b780.jpg","text":"TemporaryFile(/tmp/multipartBody8317783612617996120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_42_34_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b89e1517bf64e693900e113ae888d47.jpg","text":"TemporaryFile(/tmp/multipartBody7554672507182171871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_43_13_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/058bacb83f2bd4aabc678b0e9b383e13.jpg","text":"TemporaryFile(/tmp/multipartBody6368388886114088566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_43_23_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f03fa1e5b2a432b343b86c6f8371706.jpg","text":"TemporaryFile(/tmp/multipartBody5030296180267516677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_42_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/39183aa35eae7e82745bbe5938572422.jpg","text":"TemporaryFile(/tmp/multipartBody6688816562205151693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_42_43_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0937f7b6de3552806f6eb1a5ad6ad726.jpg","text":"TemporaryFile(/tmp/multipartBody5289467801090138879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269224029,"filename":"image_27112025_15_43_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441133","file1":"1396441129","file0":"1396441125","file4":"1396441142","file5":"1396441145","file3":"1396441138"},"map_files_photo_id_array":[{"photo_id":"1396441145","filename":"file5"},{"photo_id":"1396441133","filename":"file2"},{"photo_id":"1396441142","filename":"file4"},{"photo_id":"1396441129","filename":"file1"},{"photo_id":"1396441125","filename":"file0"},{"photo_id":"1396441138","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441125":["hashtag1","hashtag2"]},{"1396441142":["hashtag1","hashtag2"]},{"1396441145":["hashtag1","hashtag2"]},{"1396441133":["hashtag1","hashtag2"]},{"1396441129":["hashtag1","hashtag2"]},{"1396441138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441125, 1396441142, 1396441145, 1396441133, 1396441129, 1396441138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93101501464844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:47:03.103139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_34_10714.jpg', '/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_44_9661.jpg', '/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_53_9751.jpg', '/home/pi/Desktop/images/27112025/15/43/image_27112025_15_44_04_10628.jpg', '/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_14_9678.jpg', '/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_24_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_34_10714.jpg
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_44_9661.jpg
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_43_53_9751.jpg
/home/pi/Desktop/images/27112025/15/43/image_27112025_15_44_04_10628.jpg
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_14_9678.jpg
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_24_10035.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441190","1396441175","1396441186","1396441194","1396441182","1396441179"],"photo_ids_order":["1396441175","1396441179","1396441182","1396441186","1396441190","1396441194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/357a366d264a2ffc6a9f9f215ca64d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2293938915022347440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_44_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5c7a93f5c585e6f8d470dfd3e49c093.jpg","text":"TemporaryFile(/tmp/multipartBody8639938386418949220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_43_34_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62c98822fddb72d2819eea3d230e5e74.jpg","text":"TemporaryFile(/tmp/multipartBody8768742220810670990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_44_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d9df5561b9c87d9e210e375428e4a37.jpg","text":"TemporaryFile(/tmp/multipartBody4020218042714724394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_44_24_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/645998ab43cb88a95ee7c74d71df71e5.jpg","text":"TemporaryFile(/tmp/multipartBody8739791462131726144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_43_53_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78c68f03b5bd11cd30f41073bc8be9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6672905064483772403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269284222,"filename":"image_27112025_15_43_44_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441182","file1":"1396441179","file0":"1396441175","file4":"1396441190","file5":"1396441194","file3":"1396441186"},"map_files_photo_id_array":[{"photo_id":"1396441194","filename":"file5"},{"photo_id":"1396441182","filename":"file2"},{"photo_id":"1396441190","filename":"file4"},{"photo_id":"1396441179","filename":"file1"},{"photo_id":"1396441175","filename":"file0"},{"photo_id":"1396441186","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441190":["hashtag1","hashtag2"]},{"1396441175":["hashtag1","hashtag2"]},{"1396441186":["hashtag1","hashtag2"]},{"1396441194":["hashtag1","hashtag2"]},{"1396441182":["hashtag1","hashtag2"]},{"1396441179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441190, 1396441175, 1396441186, 1396441194, 1396441182, 1396441179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08602476119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 19:47:42.436265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_35_2606.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_41_2774.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_44_2705.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_47_2680.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_50_3526.jpg', '/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_56_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_35_2606.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_41_2774.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_44_2705.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_47_2680.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_50_3526.jpg
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_56_2883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441245","1396441305","1396441277","1396441205","1396441213","1396441201"],"photo_ids_order":["1396441201","1396441205","1396441213","1396441245","1396441277","1396441305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5ec53c05569d8455b50b4a9668cf754.jpg","text":"TemporaryFile(/tmp/multipartBody4260462763397261954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_47_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/27/9601c5001635f5c4bf93f84afcc76e87.jpg","text":"TemporaryFile(/tmp/multipartBody3505948104953992840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_56_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/27/bc6fcd1051d1caf7b18bc725b688f503.jpg","text":"TemporaryFile(/tmp/multipartBody3771249858261459972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_50_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/27/9f5d56fcb93dc89ac8cc334fa6276cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1452831670245411025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_41_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/27/b3650f3d587178e2b04d4ca22c157362.jpg","text":"TemporaryFile(/tmp/multipartBody1624886471469993912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_44_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/27/cb7748221ea1282303a48a9db45a00fe.jpg","text":"TemporaryFile(/tmp/multipartBody443498758570344263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269324346,"filename":"image_31102025_03_25_35_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441213","file1":"1396441205","file0":"1396441201","file4":"1396441277","file5":"1396441305","file3":"1396441245"},"map_files_photo_id_array":[{"photo_id":"1396441305","filename":"file5"},{"photo_id":"1396441213","filename":"file2"},{"photo_id":"1396441277","filename":"file4"},{"photo_id":"1396441205","filename":"file1"},{"photo_id":"1396441201","filename":"file0"},{"photo_id":"1396441245","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396441245":["hashtag1","hashtag2"]},{"1396441305":["hashtag1","hashtag2"]},{"1396441277":["hashtag1","hashtag2"]},{"1396441205":["hashtag1","hashtag2"]},{"1396441213":["hashtag1","hashtag2"]},{"1396441201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396441245, 1396441305, 1396441277, 1396441205, 1396441213, 1396441201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66507863998413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 19:48:32.788750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_10_3657.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_13_2674.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_18_5400.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_20_1654.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_21_1792.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_28_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_10_3657.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_13_2674.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_18_5400.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_20_1654.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_21_1792.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_28_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441394","1396441385","1396441388","1396441390","1396441392","1396441386"],"photo_ids_order":["1396441385","1396441386","1396441388","1396441390","1396441392","1396441394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93ed1e73317f178a3c46ec13fec00ae0.jpg","text":"TemporaryFile(/tmp/multipartBody5673291983405288621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_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/27/bd3c33466f4e58de56355c2033b5a2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8491793427627803627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_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/27/8d9dbae70928be35c0771e63cee2d76c.jpg","text":"TemporaryFile(/tmp/multipartBody5259268557670242583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_18_5400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/862ee95beb5ab8ef0dd600ec00f80900.jpg","text":"TemporaryFile(/tmp/multipartBody8005617091769589012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_20_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/27/7caab7d11fa65e65ce41158b53d8bb59.jpg","text":"TemporaryFile(/tmp/multipartBody3114618458905760201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_21_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63b93970b6076aeae44f6ffa5582d5ac.jpg","text":"TemporaryFile(/tmp/multipartBody3135879554905702695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269374950,"filename":"image_21112025_21_33_13_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441388","file1":"1396441386","file0":"1396441385","file4":"1396441392","file5":"1396441394","file3":"1396441390"},"map_files_photo_id_array":[{"photo_id":"1396441394","filename":"file5"},{"photo_id":"1396441388","filename":"file2"},{"photo_id":"1396441392","filename":"file4"},{"photo_id":"1396441386","filename":"file1"},{"photo_id":"1396441385","filename":"file0"},{"photo_id":"1396441390","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396441394":["hashtag1","hashtag2"]},{"1396441385":["hashtag1","hashtag2"]},{"1396441388":["hashtag1","hashtag2"]},{"1396441390":["hashtag1","hashtag2"]},{"1396441392":["hashtag1","hashtag2"]},{"1396441386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396441394, 1396441385, 1396441388, 1396441390, 1396441392, 1396441386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.32901430130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 19:49:21.973076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_33_9689.jpg', '/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_44_10682.jpg', '/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_54_9861.jpg', '/home/pi/Desktop/images/27112025/15/44/image_27112025_15_45_04_9667.jpg', '/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_13_9749.jpg', '/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_24_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_33_9689.jpg
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_44_10682.jpg
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_44_54_9861.jpg
/home/pi/Desktop/images/27112025/15/44/image_27112025_15_45_04_9667.jpg
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_13_9749.jpg
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_24_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441431","1396441439","1396441427","1396441442","1396441435","1396441446"],"photo_ids_order":["1396441427","1396441431","1396441435","1396441439","1396441442","1396441446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af3c6d79a5e6736ea64ce9ff493f272a.jpg","text":"TemporaryFile(/tmp/multipartBody6302703075626324446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_44_44_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/352ab593ebbf40ec22e66caf9f86e0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5931153075346672699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_45_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16379105211a6d5fc4161bf569b0660c.jpg","text":"TemporaryFile(/tmp/multipartBody3468926394526779394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_44_33_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f6e22afe137751b44a5b398db5d83fe.jpg","text":"TemporaryFile(/tmp/multipartBody8271668853780627895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_45_13_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74485c09a3b67ece64e659e6ab470211.jpg","text":"TemporaryFile(/tmp/multipartBody9032022825059734227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_44_54_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f2905f7a38f6916907ab56d237f316a.jpg","text":"TemporaryFile(/tmp/multipartBody39058744258755336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269423019,"filename":"image_27112025_15_45_24_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441435","file1":"1396441431","file0":"1396441427","file4":"1396441442","file5":"1396441446","file3":"1396441439"},"map_files_photo_id_array":[{"photo_id":"1396441446","filename":"file5"},{"photo_id":"1396441435","filename":"file2"},{"photo_id":"1396441442","filename":"file4"},{"photo_id":"1396441431","filename":"file1"},{"photo_id":"1396441427","filename":"file0"},{"photo_id":"1396441439","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441431":["hashtag1","hashtag2"]},{"1396441439":["hashtag1","hashtag2"]},{"1396441427":["hashtag1","hashtag2"]},{"1396441442":["hashtag1","hashtag2"]},{"1396441435":["hashtag1","hashtag2"]},{"1396441446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441431, 1396441439, 1396441427, 1396441442, 1396441435, 1396441446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.675803899765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:50:02.386150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_34_9576.jpg', '/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_43_9681.jpg', '/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_54_10551.jpg', '/home/pi/Desktop/images/27112025/15/45/image_27112025_15_46_04_9650.jpg', '/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_14_10550.jpg', '/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_34_9576.jpg
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_43_9681.jpg
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_45_54_10551.jpg
/home/pi/Desktop/images/27112025/15/45/image_27112025_15_46_04_9650.jpg
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_14_10550.jpg
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_24_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441557","1396441499","1396441586","1396441469","1396441528","1396441449"],"photo_ids_order":["1396441449","1396441469","1396441499","1396441528","1396441557","1396441586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33e84107d2a1b02c2d1806625d8ce1ec.jpg","text":"TemporaryFile(/tmp/multipartBody2695442173350752743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_46_14_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/625357caabc2d4fa7b659ca70b3d4967.jpg","text":"TemporaryFile(/tmp/multipartBody3152854639360022609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_45_54_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f850d859f927fb93ab93729880bc720.jpg","text":"TemporaryFile(/tmp/multipartBody8853380708764339904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_46_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7abfde255128b61452c4667defc697e4.jpg","text":"TemporaryFile(/tmp/multipartBody2260395679652359393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_45_43_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/455e2b5a8d6ab64400470afdf5ce17e1.jpg","text":"TemporaryFile(/tmp/multipartBody464543701063529855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_46_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89cd17fafcec7543bd2605955e3179c4.jpg","text":"TemporaryFile(/tmp/multipartBody2437178020437225506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269463458,"filename":"image_27112025_15_45_34_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441499","file1":"1396441469","file0":"1396441449","file4":"1396441557","file5":"1396441586","file3":"1396441528"},"map_files_photo_id_array":[{"photo_id":"1396441586","filename":"file5"},{"photo_id":"1396441499","filename":"file2"},{"photo_id":"1396441557","filename":"file4"},{"photo_id":"1396441469","filename":"file1"},{"photo_id":"1396441449","filename":"file0"},{"photo_id":"1396441528","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441557":["hashtag1","hashtag2"]},{"1396441499":["hashtag1","hashtag2"]},{"1396441586":["hashtag1","hashtag2"]},{"1396441469":["hashtag1","hashtag2"]},{"1396441528":["hashtag1","hashtag2"]},{"1396441449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441557, 1396441499, 1396441586, 1396441469, 1396441528, 1396441449)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05391478538513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:51:02.808565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_33_9742.jpg', '/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_43_9822.jpg', '/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_54_10588.jpg', '/home/pi/Desktop/images/27112025/15/46/image_27112025_15_47_04_9739.jpg', '/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_13_9709.jpg', '/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_23_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_33_9742.jpg
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_43_9822.jpg
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_46_54_10588.jpg
/home/pi/Desktop/images/27112025/15/46/image_27112025_15_47_04_9739.jpg
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_13_9709.jpg
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_23_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441614","1396441623","1396441643","1396441610","1396441636","1396441618"],"photo_ids_order":["1396441610","1396441614","1396441618","1396441623","1396441636","1396441643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3298fd42139975ca01e16d836ffb7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6426256892102992713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_46_43_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca8bce619076fad447998bb6512b73c5.jpg","text":"TemporaryFile(/tmp/multipartBody6214911226219623332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_47_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf647b28d72f6746028bcc23228af3c6.jpg","text":"TemporaryFile(/tmp/multipartBody3849433517366077829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_47_23_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25295cba86e884a4b59f29642bc044e7.jpg","text":"TemporaryFile(/tmp/multipartBody9118769134877848131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_46_33_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e36f2c98ecf1efb148dd149972c16dc.jpg","text":"TemporaryFile(/tmp/multipartBody6629979745988747596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_47_13_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4fabde92f9e15877705403932036be8.jpg","text":"TemporaryFile(/tmp/multipartBody56032267330067087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269523862,"filename":"image_27112025_15_46_54_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441618","file1":"1396441614","file0":"1396441610","file4":"1396441636","file5":"1396441643","file3":"1396441623"},"map_files_photo_id_array":[{"photo_id":"1396441643","filename":"file5"},{"photo_id":"1396441618","filename":"file2"},{"photo_id":"1396441636","filename":"file4"},{"photo_id":"1396441614","filename":"file1"},{"photo_id":"1396441610","filename":"file0"},{"photo_id":"1396441623","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441614":["hashtag1","hashtag2"]},{"1396441623":["hashtag1","hashtag2"]},{"1396441643":["hashtag1","hashtag2"]},{"1396441610":["hashtag1","hashtag2"]},{"1396441636":["hashtag1","hashtag2"]},{"1396441618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441614, 1396441623, 1396441643, 1396441610, 1396441636, 1396441618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26196002960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:52:02.644397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_34_10696.jpg', '/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_43_9563.jpg', '/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_54_10629.jpg', '/home/pi/Desktop/images/27112025/15/47/image_27112025_15_48_04_9978.jpg', '/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_14_9619.jpg', '/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_23_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_34_10696.jpg
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_43_9563.jpg
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_47_54_10629.jpg
/home/pi/Desktop/images/27112025/15/47/image_27112025_15_48_04_9978.jpg
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_14_9619.jpg
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_23_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441811","1396441690","1396441720","1396441782","1396441683","1396441752"],"photo_ids_order":["1396441683","1396441690","1396441720","1396441752","1396441782","1396441811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a5242d3a7d984a754e7a730cd3f1104.jpg","text":"TemporaryFile(/tmp/multipartBody3144922792911091301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_48_23_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ce53668e9b8e3fb06d44c350b602915.jpg","text":"TemporaryFile(/tmp/multipartBody8067917049254211354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_47_43_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27d72f7142b95b4a47a30ec53d2e6214.jpg","text":"TemporaryFile(/tmp/multipartBody6396061073943395498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_47_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec5697594d5989646b4f60c289dc4368.jpg","text":"TemporaryFile(/tmp/multipartBody1431932811817389106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_48_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/609e3f772ad075d52e9aa9518136ac34.jpg","text":"TemporaryFile(/tmp/multipartBody2101570769997165503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_47_34_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91219baa196e6ef3452c0a4af215c16b.jpg","text":"TemporaryFile(/tmp/multipartBody5498089438161264394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269583623,"filename":"image_27112025_15_48_04_9978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441720","file1":"1396441690","file0":"1396441683","file4":"1396441782","file5":"1396441811","file3":"1396441752"},"map_files_photo_id_array":[{"photo_id":"1396441811","filename":"file5"},{"photo_id":"1396441720","filename":"file2"},{"photo_id":"1396441782","filename":"file4"},{"photo_id":"1396441690","filename":"file1"},{"photo_id":"1396441683","filename":"file0"},{"photo_id":"1396441752","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441811":["hashtag1","hashtag2"]},{"1396441690":["hashtag1","hashtag2"]},{"1396441720":["hashtag1","hashtag2"]},{"1396441782":["hashtag1","hashtag2"]},{"1396441683":["hashtag1","hashtag2"]},{"1396441752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441811, 1396441690, 1396441720, 1396441782, 1396441683, 1396441752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5728554725647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:53:03.198506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_34_10596.jpg', '/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_43_9662.jpg', '/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_53_9706.jpg', '/home/pi/Desktop/images/27112025/15/48/image_27112025_15_49_04_10560.jpg', '/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_13_9703.jpg', '/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_24_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_34_10596.jpg
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_43_9662.jpg
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_48_53_9706.jpg
/home/pi/Desktop/images/27112025/15/48/image_27112025_15_49_04_10560.jpg
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_13_9703.jpg
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_24_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396441883","1396441970","1396441886","1396441937","1396441888","1396441900"],"photo_ids_order":["1396441883","1396441886","1396441888","1396441900","1396441937","1396441970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/455c4a057ea2639d0bb8b837490d5ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8883998980024309799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_48_34_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/96b5079322e98d9a630e36cddf8f6087.jpg","text":"TemporaryFile(/tmp/multipartBody2079923528492708349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_49_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/103635b979a7348fe3bd657d1cb47660.jpg","text":"TemporaryFile(/tmp/multipartBody201882594285258775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_48_43_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d015074b7338bcad32a6416daad7f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody7317806267354522654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_49_13_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b8cfceb148af2b631c2fd3a1eb54312.jpg","text":"TemporaryFile(/tmp/multipartBody1035960980747317238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_48_53_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b52b549defd942d5c3877a297c284e35.jpg","text":"TemporaryFile(/tmp/multipartBody8452808206756553713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269644201,"filename":"image_27112025_15_49_04_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396441888","file1":"1396441886","file0":"1396441883","file4":"1396441937","file5":"1396441970","file3":"1396441900"},"map_files_photo_id_array":[{"photo_id":"1396441970","filename":"file5"},{"photo_id":"1396441888","filename":"file2"},{"photo_id":"1396441937","filename":"file4"},{"photo_id":"1396441886","filename":"file1"},{"photo_id":"1396441883","filename":"file0"},{"photo_id":"1396441900","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396441883":["hashtag1","hashtag2"]},{"1396441970":["hashtag1","hashtag2"]},{"1396441886":["hashtag1","hashtag2"]},{"1396441937":["hashtag1","hashtag2"]},{"1396441888":["hashtag1","hashtag2"]},{"1396441900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396441883, 1396441970, 1396441886, 1396441937, 1396441888, 1396441900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82299041748047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:54:03.227062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_34_9711.jpg', '/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_43_9700.jpg', '/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_53_9644.jpg', '/home/pi/Desktop/images/27112025/15/49/image_27112025_15_50_04_10600.jpg', '/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_14_9985.jpg', '/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_23_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_34_9711.jpg
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_43_9700.jpg
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_49_53_9644.jpg
/home/pi/Desktop/images/27112025/15/49/image_27112025_15_50_04_10600.jpg
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_14_9985.jpg
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_23_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396442147","1396442213","1396442346","1396442256","1396442316","1396442288"],"photo_ids_order":["1396442147","1396442213","1396442256","1396442288","1396442316","1396442346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ed0eb74342c98451a952f92b68af1ba.jpg","text":"TemporaryFile(/tmp/multipartBody2213740572510001888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_49_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6ff0c7f3f0e957ab96e3579f01386c5.jpg","text":"TemporaryFile(/tmp/multipartBody2582115482862232518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_49_43_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7511c4871f1e1a1cc4a2cf82e32eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody803120214647235377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_50_23_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7317c461af4ee5c533f8ff35234190fb.jpg","text":"TemporaryFile(/tmp/multipartBody1239586578563631127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_49_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/444a33fcc31f038625bec9d7e4b2d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3637724519694982649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_50_14_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1e167db21bc063f06a69034e4a65d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5786890456138651986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269704914,"filename":"image_27112025_15_50_04_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396442256","file1":"1396442213","file0":"1396442147","file4":"1396442316","file5":"1396442346","file3":"1396442288"},"map_files_photo_id_array":[{"photo_id":"1396442346","filename":"file5"},{"photo_id":"1396442256","filename":"file2"},{"photo_id":"1396442316","filename":"file4"},{"photo_id":"1396442213","filename":"file1"},{"photo_id":"1396442147","filename":"file0"},{"photo_id":"1396442288","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396442147":["hashtag1","hashtag2"]},{"1396442213":["hashtag1","hashtag2"]},{"1396442346":["hashtag1","hashtag2"]},{"1396442256":["hashtag1","hashtag2"]},{"1396442316":["hashtag1","hashtag2"]},{"1396442288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396442147, 1396442213, 1396442346, 1396442256, 1396442316, 1396442288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1981782913208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:55:03.161950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_33_9732.jpg', '/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_44_10587.jpg', '/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_53_9723.jpg', '/home/pi/Desktop/images/27112025/15/50/image_27112025_15_51_03_9785.jpg', '/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_14_10749.jpg', '/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_24_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_33_9732.jpg
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_44_10587.jpg
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_50_53_9723.jpg
/home/pi/Desktop/images/27112025/15/50/image_27112025_15_51_03_9785.jpg
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_14_10749.jpg
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_24_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396442468","1396442471","1396442465","1396442475","1396442457","1396442460"],"photo_ids_order":["1396442457","1396442460","1396442465","1396442468","1396442471","1396442475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd1ad5c11ae1b72dc752cf81de49c90e.jpg","text":"TemporaryFile(/tmp/multipartBody7545164514027998306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_51_03_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7da96d841753c4e2620c01ef6564144.jpg","text":"TemporaryFile(/tmp/multipartBody4810957836851223637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_51_14_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa4c500b3910ab6bd0320e5f0ec6fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7166631327616151189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_50_53_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d616cda0971f95bbc6a77f11c8e09ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8999232266725569667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_51_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e92fb7b1603ae2682969592d5b5cf532.jpg","text":"TemporaryFile(/tmp/multipartBody8042067915874125577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_50_33_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4a055be97d26e7e99f5cc4cc1f168b6.jpg","text":"TemporaryFile(/tmp/multipartBody4433122745610087760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269764971,"filename":"image_27112025_15_50_44_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396442465","file1":"1396442460","file0":"1396442457","file4":"1396442471","file5":"1396442475","file3":"1396442468"},"map_files_photo_id_array":[{"photo_id":"1396442475","filename":"file5"},{"photo_id":"1396442465","filename":"file2"},{"photo_id":"1396442471","filename":"file4"},{"photo_id":"1396442460","filename":"file1"},{"photo_id":"1396442457","filename":"file0"},{"photo_id":"1396442468","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396442468":["hashtag1","hashtag2"]},{"1396442471":["hashtag1","hashtag2"]},{"1396442465":["hashtag1","hashtag2"]},{"1396442475":["hashtag1","hashtag2"]},{"1396442457":["hashtag1","hashtag2"]},{"1396442460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396442468, 1396442471, 1396442465, 1396442475, 1396442457, 1396442460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18455743789673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:56:02.385107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_33_9688.jpg', '/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_44_10737.jpg', '/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_54_9659.jpg', '/home/pi/Desktop/images/27112025/15/51/image_27112025_15_52_03_9589.jpg', '/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_14_10734.jpg', '/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_24_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_33_9688.jpg
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_44_10737.jpg
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_51_54_9659.jpg
/home/pi/Desktop/images/27112025/15/51/image_27112025_15_52_03_9589.jpg
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_14_10734.jpg
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_24_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396442576","1396442525","1396442572","1396442557","1396442580","1396442499"],"photo_ids_order":["1396442499","1396442525","1396442557","1396442572","1396442576","1396442580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8947cc7c4852401535015fba267ea30e.jpg","text":"TemporaryFile(/tmp/multipartBody4130652811263563208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_52_14_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b17f4eed4d75f2417e94bdd7c5d19ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6317047820434950373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_51_44_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cdc788e29ad3b5e27d8bb361ef1ef266.jpg","text":"TemporaryFile(/tmp/multipartBody4453983262954323649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_52_03_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/860be15cba91be57d52ec00192bd2253.jpg","text":"TemporaryFile(/tmp/multipartBody8532447269697193677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_51_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f42a87c147f75d6f515d4fc672804453.jpg","text":"TemporaryFile(/tmp/multipartBody5199068244066637523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_52_24_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/742383f16a41e73061f6e88dac747404.jpg","text":"TemporaryFile(/tmp/multipartBody6853489515692694255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269823386,"filename":"image_27112025_15_51_33_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396442557","file1":"1396442525","file0":"1396442499","file4":"1396442576","file5":"1396442580","file3":"1396442572"},"map_files_photo_id_array":[{"photo_id":"1396442580","filename":"file5"},{"photo_id":"1396442557","filename":"file2"},{"photo_id":"1396442576","filename":"file4"},{"photo_id":"1396442525","filename":"file1"},{"photo_id":"1396442499","filename":"file0"},{"photo_id":"1396442572","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396442576":["hashtag1","hashtag2"]},{"1396442525":["hashtag1","hashtag2"]},{"1396442572":["hashtag1","hashtag2"]},{"1396442557":["hashtag1","hashtag2"]},{"1396442580":["hashtag1","hashtag2"]},{"1396442499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396442576, 1396442525, 1396442572, 1396442557, 1396442580, 1396442499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.693936586380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:57:02.683854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_33_9585.jpg', '/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_44_10525.jpg', '/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_54_9644.jpg', '/home/pi/Desktop/images/27112025/15/52/image_27112025_15_53_03_9815.jpg', '/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_14_10646.jpg', '/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_24_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_33_9585.jpg
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_44_10525.jpg
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_52_54_9644.jpg
/home/pi/Desktop/images/27112025/15/52/image_27112025_15_53_03_9815.jpg
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_14_10646.jpg
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_24_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396442593","1396442608","1396442605","1396442589","1396442597","1396442601"],"photo_ids_order":["1396442589","1396442593","1396442597","1396442601","1396442605","1396442608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07177af74d02efa316578a4f22b17157.jpg","text":"TemporaryFile(/tmp/multipartBody4254046033711474478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_52_44_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fe049bf80d923d6d54c1372de829e09.jpg","text":"TemporaryFile(/tmp/multipartBody818304478714003513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_53_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eea1f95ffb64cc4c1fe8f2a5b090c37f.jpg","text":"TemporaryFile(/tmp/multipartBody7593748780794629939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_53_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e1a9adc128f4d9708ef11ae42a6dadd.jpg","text":"TemporaryFile(/tmp/multipartBody4529378026672980253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_52_33_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b5bb87c9c4314cbc780f395ce55230f.jpg","text":"TemporaryFile(/tmp/multipartBody1962079930742842872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_52_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68b562db5659dd3c299d3b788675adaa.jpg","text":"TemporaryFile(/tmp/multipartBody2950441861906819593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764269885280,"filename":"image_27112025_15_53_03_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396442597","file1":"1396442593","file0":"1396442589","file4":"1396442605","file5":"1396442608","file3":"1396442601"},"map_files_photo_id_array":[{"photo_id":"1396442608","filename":"file5"},{"photo_id":"1396442597","filename":"file2"},{"photo_id":"1396442605","filename":"file4"},{"photo_id":"1396442593","filename":"file1"},{"photo_id":"1396442589","filename":"file0"},{"photo_id":"1396442601","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396442593":["hashtag1","hashtag2"]},{"1396442608":["hashtag1","hashtag2"]},{"1396442605":["hashtag1","hashtag2"]},{"1396442589":["hashtag1","hashtag2"]},{"1396442597":["hashtag1","hashtag2"]},{"1396442601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396442593, 1396442608, 1396442605, 1396442589, 1396442597, 1396442601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.364627838134766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 19:59:03.333623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_33_9702.jpg', '/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_44_10662.jpg', '/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_54_9997.jpg', '/home/pi/Desktop/images/27112025/15/53/image_27112025_15_54_04_9694.jpg', '/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_14_9860.jpg', '/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_23_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_33_9702.jpg
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_44_10662.jpg
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_53_54_9997.jpg
/home/pi/Desktop/images/27112025/15/53/image_27112025_15_54_04_9694.jpg
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_14_9860.jpg
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_23_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396442992","1396442974","1396443010","1396442985","1396443015","1396443006"],"photo_ids_order":["1396442974","1396442985","1396442992","1396443006","1396443010","1396443015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/659b1c835068d2892e1244f1f780b1ba.jpg","text":"TemporaryFile(/tmp/multipartBody7019204037678386807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_53_54_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/529f57f1c5b343ad03379de23d22e90c.jpg","text":"TemporaryFile(/tmp/multipartBody7553511030034874005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_53_33_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fca4ba29dcc580a73e98c70c7a64e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody626525339896244586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_54_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea014a70ed54ccb5adfabeafab013993.jpg","text":"TemporaryFile(/tmp/multipartBody3523827514833766838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_53_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a660385749b93d24b858855959fc5275.jpg","text":"TemporaryFile(/tmp/multipartBody1139156283631050925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_54_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b93577f7f69cae1a7f2d057541699402.jpg","text":"TemporaryFile(/tmp/multipartBody7390721532689265699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270004613,"filename":"image_27112025_15_54_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396442992","file1":"1396442985","file0":"1396442974","file4":"1396443010","file5":"1396443015","file3":"1396443006"},"map_files_photo_id_array":[{"photo_id":"1396443015","filename":"file5"},{"photo_id":"1396442992","filename":"file2"},{"photo_id":"1396443010","filename":"file4"},{"photo_id":"1396442985","filename":"file1"},{"photo_id":"1396442974","filename":"file0"},{"photo_id":"1396443006","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396442992":["hashtag1","hashtag2"]},{"1396442974":["hashtag1","hashtag2"]},{"1396443010":["hashtag1","hashtag2"]},{"1396442985":["hashtag1","hashtag2"]},{"1396443015":["hashtag1","hashtag2"]},{"1396443006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396442992, 1396442974, 1396443010, 1396442985, 1396443015, 1396443006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60562014579773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:00:03.027308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_33_9884.jpg', '/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_44_10654.jpg', '/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_54_9784.jpg', '/home/pi/Desktop/images/27112025/15/54/image_27112025_15_55_03_9829.jpg', '/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_13_9742.jpg', '/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_24_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_33_9884.jpg
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_44_10654.jpg
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_54_54_9784.jpg
/home/pi/Desktop/images/27112025/15/54/image_27112025_15_55_03_9829.jpg
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_13_9742.jpg
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_24_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396443311","1396443496","1396443391","1396443280","1396443448","1396443345"],"photo_ids_order":["1396443280","1396443311","1396443345","1396443391","1396443448","1396443496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6be496cc2147d94c133ca2499eca7b60.jpg","text":"TemporaryFile(/tmp/multipartBody2554609600093389903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_54_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7987b5e148f37350a51c77b231f23600.jpg","text":"TemporaryFile(/tmp/multipartBody5850947495530152723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_55_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d739167d2a8a1ac6ec662e3e2e66954.jpg","text":"TemporaryFile(/tmp/multipartBody4673515002493598107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_55_03_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/886faaff051c9772cff4516fb6d631c5.jpg","text":"TemporaryFile(/tmp/multipartBody3221611991522027399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_54_33_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae8da804fb0a11976dfb35f0935992d3.jpg","text":"TemporaryFile(/tmp/multipartBody978221859814926406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_55_13_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5323bb9f62bb25f8297833d1e6becbd.jpg","text":"TemporaryFile(/tmp/multipartBody8706466433850356238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270063979,"filename":"image_27112025_15_54_54_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396443345","file1":"1396443311","file0":"1396443280","file4":"1396443448","file5":"1396443496","file3":"1396443391"},"map_files_photo_id_array":[{"photo_id":"1396443496","filename":"file5"},{"photo_id":"1396443345","filename":"file2"},{"photo_id":"1396443448","filename":"file4"},{"photo_id":"1396443311","filename":"file1"},{"photo_id":"1396443280","filename":"file0"},{"photo_id":"1396443391","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396443311":["hashtag1","hashtag2"]},{"1396443496":["hashtag1","hashtag2"]},{"1396443391":["hashtag1","hashtag2"]},{"1396443280":["hashtag1","hashtag2"]},{"1396443448":["hashtag1","hashtag2"]},{"1396443345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396443311, 1396443496, 1396443391, 1396443280, 1396443448, 1396443345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.964855670928955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:01:03.469120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_34_9677.jpg', '/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_43_9740.jpg', '/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_54_10585.jpg', '/home/pi/Desktop/images/27112025/15/55/image_27112025_15_56_04_9739.jpg', '/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_13_9573.jpg', '/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_24_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_34_9677.jpg
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_43_9740.jpg
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_55_54_10585.jpg
/home/pi/Desktop/images/27112025/15/55/image_27112025_15_56_04_9739.jpg
/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_13_9573.jpg
/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_24_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396443946","1396443841","1396443751","1396443811","1396443780","1396443899"],"photo_ids_order":["1396443751","1396443780","1396443811","1396443841","1396443899","1396443946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5074494f2c56ae40c4712749835f87e7.jpg","text":"TemporaryFile(/tmp/multipartBody7244313556976626262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_56_24_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0ca11fca9e01b071de074d0a64e98a8.jpg","text":"TemporaryFile(/tmp/multipartBody802047195618286237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_56_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9c109de4b0f47b087d8d20a4b20564c1.jpg","text":"TemporaryFile(/tmp/multipartBody5506811548444298464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_55_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a90855d6cc2c7bd38e09783688da7b5.jpg","text":"TemporaryFile(/tmp/multipartBody3597519417554810065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_55_54_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbe2bd2a0111a25ff6d80c299387ab98.jpg","text":"TemporaryFile(/tmp/multipartBody7107982639208708715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_55_43_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50d8ccf6279f2908aaf66dd226c5d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody1281595195072591516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270129327,"filename":"image_27112025_15_56_13_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396443811","file1":"1396443780","file0":"1396443751","file4":"1396443899","file5":"1396443946","file3":"1396443841"},"map_files_photo_id_array":[{"photo_id":"1396443946","filename":"file5"},{"photo_id":"1396443811","filename":"file2"},{"photo_id":"1396443899","filename":"file4"},{"photo_id":"1396443780","filename":"file1"},{"photo_id":"1396443751","filename":"file0"},{"photo_id":"1396443841","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396443946":["hashtag1","hashtag2"]},{"1396443841":["hashtag1","hashtag2"]},{"1396443751":["hashtag1","hashtag2"]},{"1396443811":["hashtag1","hashtag2"]},{"1396443780":["hashtag1","hashtag2"]},{"1396443899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396443946, 1396443841, 1396443751, 1396443811, 1396443780, 1396443899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75300121307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:02:02.496794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_34_9829.jpg', '/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_54_10658.jpg', '/home/pi/Desktop/images/27112025/15/56/image_27112025_15_57_04_9601.jpg', '/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_23_9796.jpg', '/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_34_10701.jpg', '/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_44_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_34_9829.jpg
/home/pi/Desktop/images/27112025/15/56/image_27112025_15_56_54_10658.jpg
/home/pi/Desktop/images/27112025/15/56/image_27112025_15_57_04_9601.jpg
/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_23_9796.jpg
/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_34_10701.jpg
/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_44_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396444297","1396444420","1396444359","1396444178","1396444241","1396444211"],"photo_ids_order":["1396444178","1396444211","1396444241","1396444297","1396444359","1396444420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2e94966084d8503e1d9d86eb4d32b03.jpg","text":"TemporaryFile(/tmp/multipartBody6260134527705323770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_57_23_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c24ba23ba7990e34a0cf131637fe796.jpg","text":"TemporaryFile(/tmp/multipartBody3131160964943342820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_57_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22e6b2a6ed355ac1ea3f9b36ecc2fa42.jpg","text":"TemporaryFile(/tmp/multipartBody1063034541180106958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_57_34_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2786b195948b14b312c6e10254dfe7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5224441896400526459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_56_34_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/759f74f2cdc313fddbdc3e5d41b73225.jpg","text":"TemporaryFile(/tmp/multipartBody8130689204459914281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_57_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a5e9dd2e2e61893e197992794b908a5.jpg","text":"TemporaryFile(/tmp/multipartBody4837036986412630738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270183822,"filename":"image_27112025_15_56_54_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396444241","file1":"1396444211","file0":"1396444178","file4":"1396444359","file5":"1396444420","file3":"1396444297"},"map_files_photo_id_array":[{"photo_id":"1396444420","filename":"file5"},{"photo_id":"1396444241","filename":"file2"},{"photo_id":"1396444359","filename":"file4"},{"photo_id":"1396444211","filename":"file1"},{"photo_id":"1396444178","filename":"file0"},{"photo_id":"1396444297","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396444297":["hashtag1","hashtag2"]},{"1396444420":["hashtag1","hashtag2"]},{"1396444359":["hashtag1","hashtag2"]},{"1396444178":["hashtag1","hashtag2"]},{"1396444241":["hashtag1","hashtag2"]},{"1396444211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396444297, 1396444420, 1396444359, 1396444178, 1396444241, 1396444211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59430384635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:03:02.960665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_53_9679.jpg', '/home/pi/Desktop/images/27112025/15/57/image_27112025_15_58_04_10615.jpg', '/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_14_9660.jpg', '/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_24_9888.jpg', '/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_33_9641.jpg', '/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_44_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/57/image_27112025_15_57_53_9679.jpg
/home/pi/Desktop/images/27112025/15/57/image_27112025_15_58_04_10615.jpg
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_14_9660.jpg
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_24_9888.jpg
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_33_9641.jpg
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_44_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396444936","1396444884","1396444815","1396444847","1396444745","1396444975"],"photo_ids_order":["1396444745","1396444815","1396444847","1396444884","1396444936","1396444975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0c471183c6a95266c42736584c044798.jpg","text":"TemporaryFile(/tmp/multipartBody614564420431236822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_58_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12936757331e4b3b613fb1ba43a3f328.jpg","text":"TemporaryFile(/tmp/multipartBody2850718501625239736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_58_24_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ecd54608b65a5c3271e3ecacb952f21.jpg","text":"TemporaryFile(/tmp/multipartBody6886380941983502562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_58_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50321376050a552394afaa6eb16747d7.jpg","text":"TemporaryFile(/tmp/multipartBody4294847845055993895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_58_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fb681d6a834075236faa602b57e39b6.jpg","text":"TemporaryFile(/tmp/multipartBody3140237207174743830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_57_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc0922b15248e6904e4647f1ecbf01df.jpg","text":"TemporaryFile(/tmp/multipartBody5756238336884694462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270243970,"filename":"image_27112025_15_58_44_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396444847","file1":"1396444815","file0":"1396444745","file4":"1396444936","file5":"1396444975","file3":"1396444884"},"map_files_photo_id_array":[{"photo_id":"1396444975","filename":"file5"},{"photo_id":"1396444847","filename":"file2"},{"photo_id":"1396444936","filename":"file4"},{"photo_id":"1396444815","filename":"file1"},{"photo_id":"1396444745","filename":"file0"},{"photo_id":"1396444884","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396444936":["hashtag1","hashtag2"]},{"1396444884":["hashtag1","hashtag2"]},{"1396444815":["hashtag1","hashtag2"]},{"1396444847":["hashtag1","hashtag2"]},{"1396444745":["hashtag1","hashtag2"]},{"1396444975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396444936, 1396444884, 1396444815, 1396444847, 1396444745, 1396444975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20013737678528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:04:04.097413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_53_9597.jpg', '/home/pi/Desktop/images/27112025/15/58/image_27112025_15_59_03_9656.jpg', '/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_14_10741.jpg', '/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_24_9654.jpg', '/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_33_9633.jpg', '/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_53_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_58_53_9597.jpg
/home/pi/Desktop/images/27112025/15/58/image_27112025_15_59_03_9656.jpg
/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_14_10741.jpg
/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_24_9654.jpg
/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_33_9633.jpg
/home/pi/Desktop/images/27112025/15/59/image_27112025_15_59_53_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396445133","1396445130","1396445195","1396445127","1396445165","1396445137"],"photo_ids_order":["1396445127","1396445130","1396445133","1396445137","1396445165","1396445195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5358ec823e4b87ecf15d53a8dc61e7a9.jpg","text":"TemporaryFile(/tmp/multipartBody359369454920828449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_59_14_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61fce8eb76bfdcd81609b9de51eb3bec.jpg","text":"TemporaryFile(/tmp/multipartBody6696746083293403739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_59_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0f83d32d6a736a8dad1b7fdd2d89f96.jpg","text":"TemporaryFile(/tmp/multipartBody7522977785467876728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_59_53_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26a961fc39de2ecbb16c130e48b3fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody9202908565677564730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_58_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c9e8fd501b66da260713aa800437ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7758949238181586998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_59_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cde71edd508984dcccc65e0b8e515454.jpg","text":"TemporaryFile(/tmp/multipartBody962294645172136633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270305253,"filename":"image_27112025_15_59_24_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396445133","file1":"1396445130","file0":"1396445127","file4":"1396445165","file5":"1396445195","file3":"1396445137"},"map_files_photo_id_array":[{"photo_id":"1396445195","filename":"file5"},{"photo_id":"1396445133","filename":"file2"},{"photo_id":"1396445165","filename":"file4"},{"photo_id":"1396445130","filename":"file1"},{"photo_id":"1396445127","filename":"file0"},{"photo_id":"1396445137","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396445133":["hashtag1","hashtag2"]},{"1396445130":["hashtag1","hashtag2"]},{"1396445195":["hashtag1","hashtag2"]},{"1396445127":["hashtag1","hashtag2"]},{"1396445165":["hashtag1","hashtag2"]},{"1396445137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396445133, 1396445130, 1396445195, 1396445127, 1396445165, 1396445137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.14019322395325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:05:03.400825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_14_10056.jpg', '/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_25_10572.jpg', '/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_35_9927.jpg', '/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_45_9722.jpg', '/home/pi/Desktop/images/27112025/16/00/image_27112025_16_01_05_9721.jpg', '/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_15_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_14_10056.jpg
/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_25_10572.jpg
/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_35_9927.jpg
/home/pi/Desktop/images/27112025/16/00/image_27112025_16_00_45_9722.jpg
/home/pi/Desktop/images/27112025/16/00/image_27112025_16_01_05_9721.jpg
/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_15_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396445629","1396445739","1396445511","1396445576","1396445683","1396445440"],"photo_ids_order":["1396445440","1396445511","1396445576","1396445629","1396445683","1396445739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40f73dd2f2d252e6364fab6917ceb725.jpg","text":"TemporaryFile(/tmp/multipartBody753902157466041493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_00_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/496763800051c5e87514355839c21c17.jpg","text":"TemporaryFile(/tmp/multipartBody8620555087404932262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_01_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb0d26d57a5a5d8c9255bdc6489abaf6.jpg","text":"TemporaryFile(/tmp/multipartBody997351078887647355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_00_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/758803f466beece0e6bb7ccfe8abcaa1.jpg","text":"TemporaryFile(/tmp/multipartBody576418747143347948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_00_35_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4edbca3b47276c00e75a0bcbed6d1e09.jpg","text":"TemporaryFile(/tmp/multipartBody6778952022848340492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_01_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a7deac4754f15c412b16eb84d31c1de.jpg","text":"TemporaryFile(/tmp/multipartBody787916054731799625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270364457,"filename":"image_27112025_16_00_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396445576","file1":"1396445511","file0":"1396445440","file4":"1396445683","file5":"1396445739","file3":"1396445629"},"map_files_photo_id_array":[{"photo_id":"1396445739","filename":"file5"},{"photo_id":"1396445576","filename":"file2"},{"photo_id":"1396445683","filename":"file4"},{"photo_id":"1396445511","filename":"file1"},{"photo_id":"1396445440","filename":"file0"},{"photo_id":"1396445629","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396445629":["hashtag1","hashtag2"]},{"1396445739":["hashtag1","hashtag2"]},{"1396445511":["hashtag1","hashtag2"]},{"1396445576":["hashtag1","hashtag2"]},{"1396445683":["hashtag1","hashtag2"]},{"1396445440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396445629, 1396445739, 1396445511, 1396445576, 1396445683, 1396445440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.788713455200195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:06:02.262439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_35_9984.jpg', '/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_45_9652.jpg', '/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_55_9722.jpg', '/home/pi/Desktop/images/27112025/16/01/image_27112025_16_02_04_9714.jpg', '/home/pi/Desktop/images/27112025/16/02/image_27112025_16_02_45_10602.jpg', '/home/pi/Desktop/images/27112025/16/02/image_27112025_16_02_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_35_9984.jpg
/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_45_9652.jpg
/home/pi/Desktop/images/27112025/16/01/image_27112025_16_01_55_9722.jpg
/home/pi/Desktop/images/27112025/16/01/image_27112025_16_02_04_9714.jpg
/home/pi/Desktop/images/27112025/16/02/image_27112025_16_02_45_10602.jpg
/home/pi/Desktop/images/27112025/16/02/image_27112025_16_02_55_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396446258","1396446048","1396446123","1396446077","1396446229","1396446174"],"photo_ids_order":["1396446048","1396446077","1396446123","1396446174","1396446229","1396446258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06ba7d1e13a17699467725e62acbd149.jpg","text":"TemporaryFile(/tmp/multipartBody5571029607729029346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_02_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed11abd5d4d92a1abb3a29deb9639b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5465331341492677889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_01_35_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8fda64c1f20a169d55708175adcf28dc.jpg","text":"TemporaryFile(/tmp/multipartBody5757738276375697821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_01_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbd2712a7dedd3725b1164ce65ba6c60.jpg","text":"TemporaryFile(/tmp/multipartBody6744811498061087820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_01_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc8a2c9a6f4812ba56a1e63b8f668773.jpg","text":"TemporaryFile(/tmp/multipartBody1440034166655077549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_02_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef3b3e4ffcaf1949f3a4d1c49b8b14b6.jpg","text":"TemporaryFile(/tmp/multipartBody6454070825334494472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270423393,"filename":"image_27112025_16_02_04_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396446123","file1":"1396446077","file0":"1396446048","file4":"1396446229","file5":"1396446258","file3":"1396446174"},"map_files_photo_id_array":[{"photo_id":"1396446258","filename":"file5"},{"photo_id":"1396446123","filename":"file2"},{"photo_id":"1396446229","filename":"file4"},{"photo_id":"1396446077","filename":"file1"},{"photo_id":"1396446048","filename":"file0"},{"photo_id":"1396446174","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396446258":["hashtag1","hashtag2"]},{"1396446048":["hashtag1","hashtag2"]},{"1396446123":["hashtag1","hashtag2"]},{"1396446077":["hashtag1","hashtag2"]},{"1396446229":["hashtag1","hashtag2"]},{"1396446174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396446258, 1396446048, 1396446123, 1396446077, 1396446229, 1396446174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4076714515686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:07:02.875852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_15_10755.jpg', '/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_25_9726.jpg', '/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_35_9732.jpg', '/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_44_9859.jpg', '/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_55_10635.jpg', '/home/pi/Desktop/images/27112025/16/03/image_27112025_16_04_05_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_15_10755.jpg
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_25_9726.jpg
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_35_9732.jpg
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_44_9859.jpg
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_03_55_10635.jpg
/home/pi/Desktop/images/27112025/16/03/image_27112025_16_04_05_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396446534","1396446497","1396446515","1396446500","1396446503","1396446520"],"photo_ids_order":["1396446497","1396446500","1396446503","1396446515","1396446520","1396446534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/168b1d9414ad0fd93a6dbb84f40bd3cc.jpg","text":"TemporaryFile(/tmp/multipartBody2037899177409608660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_04_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d11c958521d4ca33ebba7b006d73fa85.jpg","text":"TemporaryFile(/tmp/multipartBody3205473088840605919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_03_15_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2960ac228033759774cd0d703e5bbad4.jpg","text":"TemporaryFile(/tmp/multipartBody6987947753190734645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_03_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59165157da4a63b9d6722bf00d0f5e40.jpg","text":"TemporaryFile(/tmp/multipartBody804111834267098782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_03_25_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/27/caf6b0f4728d0f71fe2f6913de3c3caa.jpg","text":"TemporaryFile(/tmp/multipartBody7363165462780014183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_03_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e0733a9a43d031516fc7aa5d7f88da1.jpg","text":"TemporaryFile(/tmp/multipartBody2946745162077696510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270483905,"filename":"image_27112025_16_03_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396446503","file1":"1396446500","file0":"1396446497","file4":"1396446520","file5":"1396446534","file3":"1396446515"},"map_files_photo_id_array":[{"photo_id":"1396446534","filename":"file5"},{"photo_id":"1396446503","filename":"file2"},{"photo_id":"1396446520","filename":"file4"},{"photo_id":"1396446500","filename":"file1"},{"photo_id":"1396446497","filename":"file0"},{"photo_id":"1396446515","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396446534":["hashtag1","hashtag2"]},{"1396446497":["hashtag1","hashtag2"]},{"1396446515":["hashtag1","hashtag2"]},{"1396446500":["hashtag1","hashtag2"]},{"1396446503":["hashtag1","hashtag2"]},{"1396446520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396446534, 1396446497, 1396446515, 1396446500, 1396446503, 1396446520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9096314907074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:08:02.810443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_14_9737.jpg', '/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_24_9796.jpg', '/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_35_10804.jpg', '/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_45_9654.jpg', '/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_55_9799.jpg', '/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_14_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_14_9737.jpg
/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_24_9796.jpg
/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_35_10804.jpg
/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_45_9654.jpg
/home/pi/Desktop/images/27112025/16/04/image_27112025_16_04_55_9799.jpg
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_14_10036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396446849","1396446680","1396446781","1396446742","1396446811","1396446712"],"photo_ids_order":["1396446680","1396446712","1396446742","1396446781","1396446811","1396446849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/637f494231710d6e16367ac52b52e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody4093719757688609694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_06_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/955e6659368280b4e90bed1cc95737d0.jpg","text":"TemporaryFile(/tmp/multipartBody5766996379030235622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_04_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a189d71900115ad0e7b1e1a30865567d.jpg","text":"TemporaryFile(/tmp/multipartBody878769243275407577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_04_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef35a33588758a266c41ef12a7d629a7.jpg","text":"TemporaryFile(/tmp/multipartBody7135019098618276157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_04_35_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7dfa2dd8855eb501eef2adc39d9540c8.jpg","text":"TemporaryFile(/tmp/multipartBody1350554719998299604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_04_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/657fd7b68a76b60ecc8e293a9e85d397.jpg","text":"TemporaryFile(/tmp/multipartBody950309694087683950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270546363,"filename":"image_27112025_16_04_24_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396446742","file1":"1396446712","file0":"1396446680","file4":"1396446811","file5":"1396446849","file3":"1396446781"},"map_files_photo_id_array":[{"photo_id":"1396446849","filename":"file5"},{"photo_id":"1396446742","filename":"file2"},{"photo_id":"1396446811","filename":"file4"},{"photo_id":"1396446712","filename":"file1"},{"photo_id":"1396446680","filename":"file0"},{"photo_id":"1396446781","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396446849":["hashtag1","hashtag2"]},{"1396446680":["hashtag1","hashtag2"]},{"1396446781":["hashtag1","hashtag2"]},{"1396446742":["hashtag1","hashtag2"]},{"1396446811":["hashtag1","hashtag2"]},{"1396446712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396446849, 1396446680, 1396446781, 1396446742, 1396446811, 1396446712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98039531707764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:09:03.592997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_24_10673.jpg', '/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_34_9772.jpg', '/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_44_9832.jpg', '/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_54_9813.jpg', '/home/pi/Desktop/images/27112025/16/06/image_27112025_16_07_05_10756.jpg', '/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_24_10673.jpg
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_34_9772.jpg
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_44_9832.jpg
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_06_54_9813.jpg
/home/pi/Desktop/images/27112025/16/06/image_27112025_16_07_05_10756.jpg
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_14_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447119","1396447061","1396447115","1396447124","1396447057","1396447098"],"photo_ids_order":["1396447057","1396447061","1396447098","1396447115","1396447119","1396447124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a31612c16cf6a155736747624f7c68c.jpg","text":"TemporaryFile(/tmp/multipartBody4971437554973333654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_07_05_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d661162d1099c97f53c97a5c381900f1.jpg","text":"TemporaryFile(/tmp/multipartBody4324840595148282161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_06_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3343c68fdb7122353607cef23a95940.jpg","text":"TemporaryFile(/tmp/multipartBody9175690428203524817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_06_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64d6d02b2cb31a65892b6ff4062a23aa.jpg","text":"TemporaryFile(/tmp/multipartBody4862477133837678793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_07_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d6ffad1c2637926967062f962a8b6178.jpg","text":"TemporaryFile(/tmp/multipartBody4591474279013093052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_06_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/393e862c320c35e6c3d30b05e19462ce.jpg","text":"TemporaryFile(/tmp/multipartBody3934526529180554784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270604727,"filename":"image_27112025_16_06_44_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447098","file1":"1396447061","file0":"1396447057","file4":"1396447119","file5":"1396447124","file3":"1396447115"},"map_files_photo_id_array":[{"photo_id":"1396447124","filename":"file5"},{"photo_id":"1396447098","filename":"file2"},{"photo_id":"1396447119","filename":"file4"},{"photo_id":"1396447061","filename":"file1"},{"photo_id":"1396447057","filename":"file0"},{"photo_id":"1396447115","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447119":["hashtag1","hashtag2"]},{"1396447061":["hashtag1","hashtag2"]},{"1396447115":["hashtag1","hashtag2"]},{"1396447124":["hashtag1","hashtag2"]},{"1396447057":["hashtag1","hashtag2"]},{"1396447098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447119, 1396447061, 1396447115, 1396447124, 1396447057, 1396447098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89856505393982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:10:03.215862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_24_9565.jpg', '/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_35_10646.jpg', '/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_44_9639.jpg', '/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_54_9698.jpg', '/home/pi/Desktop/images/27112025/16/07/image_27112025_16_08_05_10663.jpg', '/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_14_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_24_9565.jpg
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_35_10646.jpg
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_44_9639.jpg
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_07_54_9698.jpg
/home/pi/Desktop/images/27112025/16/07/image_27112025_16_08_05_10663.jpg
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_14_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447224","1396447232","1396447241","1396447235","1396447238","1396447228"],"photo_ids_order":["1396447224","1396447228","1396447232","1396447235","1396447238","1396447241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5647eb58cf30ade8373498c5a28c9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2566337534918269390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_07_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cdd47fa96fa3d98bf863d22e58d621b.jpg","text":"TemporaryFile(/tmp/multipartBody1358731629323063469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_07_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64783ae587c06794874ff0345efdf957.jpg","text":"TemporaryFile(/tmp/multipartBody9199076614724505832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_08_14_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/920901a733e74abafdad32d29e0e10ef.jpg","text":"TemporaryFile(/tmp/multipartBody3969717311958635363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_07_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5339847818bbfdc8efe310f643ef1e3.jpg","text":"TemporaryFile(/tmp/multipartBody1418112737085187063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_08_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/588af72081b8a8677762b566ec0f07de.jpg","text":"TemporaryFile(/tmp/multipartBody684657688284224669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270664164,"filename":"image_27112025_16_07_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447232","file1":"1396447228","file0":"1396447224","file4":"1396447238","file5":"1396447241","file3":"1396447235"},"map_files_photo_id_array":[{"photo_id":"1396447241","filename":"file5"},{"photo_id":"1396447232","filename":"file2"},{"photo_id":"1396447238","filename":"file4"},{"photo_id":"1396447228","filename":"file1"},{"photo_id":"1396447224","filename":"file0"},{"photo_id":"1396447235","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447224":["hashtag1","hashtag2"]},{"1396447232":["hashtag1","hashtag2"]},{"1396447241":["hashtag1","hashtag2"]},{"1396447235":["hashtag1","hashtag2"]},{"1396447238":["hashtag1","hashtag2"]},{"1396447228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447224, 1396447232, 1396447241, 1396447235, 1396447238, 1396447228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.875261068344116 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-27 20:11:02.675521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_24_9800.jpg', '/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_34_9611.jpg', '/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_45_10834.jpg', '/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_54_9649.jpg', '/home/pi/Desktop/images/27112025/16/08/image_27112025_16_09_04_9663.jpg', '/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_15_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_24_9800.jpg
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_34_9611.jpg
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_45_10834.jpg
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_08_54_9649.jpg
/home/pi/Desktop/images/27112025/16/08/image_27112025_16_09_04_9663.jpg
/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_15_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447255","1396447279","1396447275","1396447260","1396447263","1396447257"],"photo_ids_order":["1396447255","1396447257","1396447260","1396447263","1396447275","1396447279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10698b47e9e9955797920f8dc7a8c27e.jpg","text":"TemporaryFile(/tmp/multipartBody6101539285900869591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_08_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26eff4895acac3cfab46f67affbf8782.jpg","text":"TemporaryFile(/tmp/multipartBody7191785783752611699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_09_15_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/81b96c1c5ae8dcce4c15f1d5c1e7f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody6710358932085182356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_09_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8006d4ecacb927abaa56c6f8b21a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5413933909270563106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_08_45_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff8d6cd31f22b60435357cdba4f30614.jpg","text":"TemporaryFile(/tmp/multipartBody2359894607127047925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_08_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b17c12bf7b46f877f50ae0fc8f84632.jpg","text":"TemporaryFile(/tmp/multipartBody1371652262655060506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270723713,"filename":"image_27112025_16_08_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447260","file1":"1396447257","file0":"1396447255","file4":"1396447275","file5":"1396447279","file3":"1396447263"},"map_files_photo_id_array":[{"photo_id":"1396447279","filename":"file5"},{"photo_id":"1396447260","filename":"file2"},{"photo_id":"1396447275","filename":"file4"},{"photo_id":"1396447257","filename":"file1"},{"photo_id":"1396447255","filename":"file0"},{"photo_id":"1396447263","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447255":["hashtag1","hashtag2"]},{"1396447279":["hashtag1","hashtag2"]},{"1396447275":["hashtag1","hashtag2"]},{"1396447260":["hashtag1","hashtag2"]},{"1396447263":["hashtag1","hashtag2"]},{"1396447257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447255, 1396447279, 1396447275, 1396447260, 1396447263, 1396447257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15096735954285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 20:11:42.039306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_59_3862.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_02_2745.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_08_2647.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_20_3857.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_26_2581.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_32_3036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_59_3862.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_02_2745.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_08_2647.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_20_3857.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_26_2581.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_32_3036.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4462146759033203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:12:02.612329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_24_9606.jpg', '/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_35_10593.jpg', '/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_44_9685.jpg', '/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_54_9794.jpg', '/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_14_10058.jpg', '/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_25_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_24_9606.jpg
/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_35_10593.jpg
/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_44_9685.jpg
/home/pi/Desktop/images/27112025/16/09/image_27112025_16_09_54_9794.jpg
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_14_10058.jpg
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_25_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447302","1396447305","1396447295","1396447292","1396447313","1396447310"],"photo_ids_order":["1396447292","1396447295","1396447302","1396447305","1396447310","1396447313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4081a37405f1e07c7ef401d97f6efdff.jpg","text":"TemporaryFile(/tmp/multipartBody6884256475915423617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_09_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09c4624ea3057af720b6c913290a5590.jpg","text":"TemporaryFile(/tmp/multipartBody990467995109564329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_09_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffeae1db3a8e3c9ca1374c4994021a81.jpg","text":"TemporaryFile(/tmp/multipartBody5774962644732748358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_09_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/078a8e8c791763a6307bac36c3c57bb2.jpg","text":"TemporaryFile(/tmp/multipartBody6115265146204565587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_09_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89ecc6fca1b60916c4e1777399d8355f.jpg","text":"TemporaryFile(/tmp/multipartBody4692675351848110440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_10_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8864778a8d1c100fc31fb9108d09da19.jpg","text":"TemporaryFile(/tmp/multipartBody3154460355580670419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270783649,"filename":"image_27112025_16_10_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447302","file1":"1396447295","file0":"1396447292","file4":"1396447310","file5":"1396447313","file3":"1396447305"},"map_files_photo_id_array":[{"photo_id":"1396447313","filename":"file5"},{"photo_id":"1396447302","filename":"file2"},{"photo_id":"1396447310","filename":"file4"},{"photo_id":"1396447295","filename":"file1"},{"photo_id":"1396447292","filename":"file0"},{"photo_id":"1396447305","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447302":["hashtag1","hashtag2"]},{"1396447305":["hashtag1","hashtag2"]},{"1396447295":["hashtag1","hashtag2"]},{"1396447292":["hashtag1","hashtag2"]},{"1396447313":["hashtag1","hashtag2"]},{"1396447310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447302, 1396447305, 1396447295, 1396447292, 1396447313, 1396447310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.388871908187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:13:02.975021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_34_9711.jpg', '/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_44_9736.jpg', '/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_55_10590.jpg', '/home/pi/Desktop/images/27112025/16/10/image_27112025_16_11_04_9805.jpg', '/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_14_9565.jpg', '/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_25_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_34_9711.jpg
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_44_9736.jpg
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_10_55_10590.jpg
/home/pi/Desktop/images/27112025/16/10/image_27112025_16_11_04_9805.jpg
/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_14_9565.jpg
/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_25_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447352","1396447328","1396447348","1396447345","1396447359","1396447335"],"photo_ids_order":["1396447328","1396447335","1396447345","1396447348","1396447352","1396447359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74ec6b8088f0f098ad1fcfb3f515ea82.jpg","text":"TemporaryFile(/tmp/multipartBody6642639789524307339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_11_14_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac25cf4a48b6763bf7c57a69891367c8.jpg","text":"TemporaryFile(/tmp/multipartBody6182692610007996914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_10_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f4ce938fe9ca2b51aad444515cf2f67.jpg","text":"TemporaryFile(/tmp/multipartBody6089971585330484335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_11_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9636c1c74bf7d7f5ef4c3b39a6463f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4707062159610688509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_10_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/093130ca5196c93857df3bed79218c32.jpg","text":"TemporaryFile(/tmp/multipartBody3694189976048481518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_11_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/964d9ae5f00f7b10c683565e029be10c.jpg","text":"TemporaryFile(/tmp/multipartBody3286594226244786850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270843819,"filename":"image_27112025_16_10_44_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447345","file1":"1396447335","file0":"1396447328","file4":"1396447352","file5":"1396447359","file3":"1396447348"},"map_files_photo_id_array":[{"photo_id":"1396447359","filename":"file5"},{"photo_id":"1396447345","filename":"file2"},{"photo_id":"1396447352","filename":"file4"},{"photo_id":"1396447335","filename":"file1"},{"photo_id":"1396447328","filename":"file0"},{"photo_id":"1396447348","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447352":["hashtag1","hashtag2"]},{"1396447328":["hashtag1","hashtag2"]},{"1396447348":["hashtag1","hashtag2"]},{"1396447345":["hashtag1","hashtag2"]},{"1396447359":["hashtag1","hashtag2"]},{"1396447335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447352, 1396447328, 1396447348, 1396447345, 1396447359, 1396447335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49337387084961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 20:13:42.413767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_59_3862.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_02_2745.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_08_2647.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_20_3857.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_26_2581.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_32_3036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/25/image_31102025_03_25_59_3862.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_02_2745.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_08_2647.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_20_3857.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_26_2581.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_32_3036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447424","1396447373","1396447366","1396447456","1396447398","1396447368"],"photo_ids_order":["1396447366","1396447368","1396447373","1396447398","1396447424","1396447456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a071c4360d02f88e165191090ed9e66c.jpg","text":"TemporaryFile(/tmp/multipartBody6456254054279674776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_26_26_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/27/8641f36ea87fc40983478d0cfa42f92d.jpg","text":"TemporaryFile(/tmp/multipartBody634845772342600228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_26_08_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/27/69b7366851cd647ccadccc7b2f1211f9.jpg","text":"TemporaryFile(/tmp/multipartBody2148072329186126035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_25_59_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1acb25084e488ca8f17c8207081ef6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4139449626903651822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_26_32_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/27/38b3d730319217b8bea7b7a13b487f89.jpg","text":"TemporaryFile(/tmp/multipartBody8472938548282641157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_26_20_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/27/835b7eef8a3bb1f07e29ea6d2c22a484.jpg","text":"TemporaryFile(/tmp/multipartBody3793670423132771216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270883965,"filename":"image_31102025_03_26_02_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447373","file1":"1396447368","file0":"1396447366","file4":"1396447424","file5":"1396447456","file3":"1396447398"},"map_files_photo_id_array":[{"photo_id":"1396447456","filename":"file5"},{"photo_id":"1396447373","filename":"file2"},{"photo_id":"1396447424","filename":"file4"},{"photo_id":"1396447368","filename":"file1"},{"photo_id":"1396447366","filename":"file0"},{"photo_id":"1396447398","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396447424":["hashtag1","hashtag2"]},{"1396447373":["hashtag1","hashtag2"]},{"1396447366":["hashtag1","hashtag2"]},{"1396447456":["hashtag1","hashtag2"]},{"1396447398":["hashtag1","hashtag2"]},{"1396447368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396447424, 1396447373, 1396447366, 1396447456, 1396447398, 1396447368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20736742019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:14:32.637294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_31_2630.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_34_3576.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_37_2602.jpg', '/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_50_13689.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_11_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_31_2630.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_34_3576.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_37_2602.jpg
/home/pi/Desktop/images/21112025/21/33/image_21112025_21_33_50_13689.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_07_3012.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_11_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447499","1396447550","1396447526","1396447476","1396447479","1396447569"],"photo_ids_order":["1396447476","1396447479","1396447499","1396447526","1396447550","1396447569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8854e8a37653c08c16e4503938382005.jpg","text":"TemporaryFile(/tmp/multipartBody1657420530584631531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_33_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/27/9ad5417c8a6fc7e125ebb7823b4707eb.jpg","text":"TemporaryFile(/tmp/multipartBody8736328950771999205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_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/27/c52bf8d899836f071ab21a6cb581a442.jpg","text":"TemporaryFile(/tmp/multipartBody6656954950836017804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_33_50_13689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b3e8cd032c038fc4d35c3dc68ec1715.jpg","text":"TemporaryFile(/tmp/multipartBody7045697312792990869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_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/27/0dfd6a62d6e16440af4d67ea132674fc.jpg","text":"TemporaryFile(/tmp/multipartBody7909373213282562713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_33_34_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/27/786be188d00a3da82fecf35a72f0fda3.jpg","text":"TemporaryFile(/tmp/multipartBody6102894826780098848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270934769,"filename":"image_21112025_21_35_11_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447499","file1":"1396447479","file0":"1396447476","file4":"1396447550","file5":"1396447569","file3":"1396447526"},"map_files_photo_id_array":[{"photo_id":"1396447569","filename":"file5"},{"photo_id":"1396447499","filename":"file2"},{"photo_id":"1396447550","filename":"file4"},{"photo_id":"1396447479","filename":"file1"},{"photo_id":"1396447476","filename":"file0"},{"photo_id":"1396447526","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396447499":["hashtag1","hashtag2"]},{"1396447550":["hashtag1","hashtag2"]},{"1396447526":["hashtag1","hashtag2"]},{"1396447476":["hashtag1","hashtag2"]},{"1396447479":["hashtag1","hashtag2"]},{"1396447569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396447499, 1396447550, 1396447526, 1396447476, 1396447479, 1396447569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297805070877075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:15:15.263531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_13_2641.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_17_3615.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_20_2675.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_22_2761.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_25_2692.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_29_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_13_2641.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_17_3615.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_20_2675.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_22_2761.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_25_2692.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_29_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":["1396447629","1396447622","1396447607","1396447615","1396447632","1396447626"],"photo_ids_order":["1396447607","1396447615","1396447622","1396447626","1396447629","1396447632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e7d87817f67b8b53dc7b84909513c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1745663168607846765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_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/27/cdd06437a8ae3160ef6da993975958b2.jpg","text":"TemporaryFile(/tmp/multipartBody4811049472605195121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_20_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/27/af86bcfde31c045bc9248fcb7e607f41.jpg","text":"TemporaryFile(/tmp/multipartBody845727146761393609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_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/27/6dec6660406299c22f93ee0381d25ead.jpg","text":"TemporaryFile(/tmp/multipartBody143633786782481443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_17_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/27/49fcc0eac9a43511119c244c9f4c1b98.jpg","text":"TemporaryFile(/tmp/multipartBody538312694001777612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_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/27/93158947afa4d360870e8d726ca7bf59.jpg","text":"TemporaryFile(/tmp/multipartBody176218509658954572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764270977095,"filename":"image_21112025_21_35_22_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447622","file1":"1396447615","file0":"1396447607","file4":"1396447629","file5":"1396447632","file3":"1396447626"},"map_files_photo_id_array":[{"photo_id":"1396447632","filename":"file5"},{"photo_id":"1396447622","filename":"file2"},{"photo_id":"1396447629","filename":"file4"},{"photo_id":"1396447615","filename":"file1"},{"photo_id":"1396447607","filename":"file0"},{"photo_id":"1396447626","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396447629":["hashtag1","hashtag2"]},{"1396447622":["hashtag1","hashtag2"]},{"1396447607":["hashtag1","hashtag2"]},{"1396447615":["hashtag1","hashtag2"]},{"1396447632":["hashtag1","hashtag2"]},{"1396447626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396447629, 1396447622, 1396447607, 1396447615, 1396447632, 1396447626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66909718513489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:16:02.957193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_34_9678.jpg', '/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_14_9774.jpg', '/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_25_10688.jpg', '/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_44_9675.jpg', '/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_55_10688.jpg', '/home/pi/Desktop/images/27112025/16/12/image_27112025_16_13_04_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/11/image_27112025_16_11_34_9678.jpg
/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_14_9774.jpg
/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_25_10688.jpg
/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_44_9675.jpg
/home/pi/Desktop/images/27112025/16/12/image_27112025_16_12_55_10688.jpg
/home/pi/Desktop/images/27112025/16/12/image_27112025_16_13_04_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447641","1396447649","1396447637","1396447657","1396447644","1396447653"],"photo_ids_order":["1396447637","1396447641","1396447644","1396447649","1396447653","1396447657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f4239e5b0fdf3711d00e7ddbc152a243.jpg","text":"TemporaryFile(/tmp/multipartBody5272674575722090216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_12_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb98f6ae37930bc93fa188f478a9e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody845051944544193234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_12_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c12eb052e9b455cbe8fd3b58b7b7114c.jpg","text":"TemporaryFile(/tmp/multipartBody2138801879526608432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_11_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54a82c20e69e7ef6730c3a6b12073545.jpg","text":"TemporaryFile(/tmp/multipartBody2811699201790495184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_13_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b227d053ccd64bc6220a70a58731cb53.jpg","text":"TemporaryFile(/tmp/multipartBody2781321758700947820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_12_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb18d74e3ed10d3ec7d37f455960a0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3826750162608933926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271024031,"filename":"image_27112025_16_12_55_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447644","file1":"1396447641","file0":"1396447637","file4":"1396447653","file5":"1396447657","file3":"1396447649"},"map_files_photo_id_array":[{"photo_id":"1396447657","filename":"file5"},{"photo_id":"1396447644","filename":"file2"},{"photo_id":"1396447653","filename":"file4"},{"photo_id":"1396447641","filename":"file1"},{"photo_id":"1396447637","filename":"file0"},{"photo_id":"1396447649","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447641":["hashtag1","hashtag2"]},{"1396447649":["hashtag1","hashtag2"]},{"1396447637":["hashtag1","hashtag2"]},{"1396447657":["hashtag1","hashtag2"]},{"1396447644":["hashtag1","hashtag2"]},{"1396447653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447641, 1396447649, 1396447637, 1396447657, 1396447644, 1396447653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19357180595398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:17:03.253561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_14_9729.jpg', '/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_44_9809.jpg', '/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_54_9661.jpg', '/home/pi/Desktop/images/27112025/16/13/image_27112025_16_14_05_10636.jpg', '/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_14_9782.jpg', '/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_34_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_14_9729.jpg
/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_44_9809.jpg
/home/pi/Desktop/images/27112025/16/13/image_27112025_16_13_54_9661.jpg
/home/pi/Desktop/images/27112025/16/13/image_27112025_16_14_05_10636.jpg
/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_14_9782.jpg
/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_34_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447691","1396447685","1396447694","1396447688","1396447681","1396447678"],"photo_ids_order":["1396447678","1396447681","1396447685","1396447688","1396447691","1396447694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/347cd3db8d8ac2f9ee5e00030cce1a95.jpg","text":"TemporaryFile(/tmp/multipartBody4267977732758574620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_14_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73d8502c27480521153ff371c6f29b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4077877384183874497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_13_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9910bbdf40518b783153da4cd2a08d9.jpg","text":"TemporaryFile(/tmp/multipartBody8773969917360051766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_14_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc1c282d19dbf68fb6e16d74c454e60e.jpg","text":"TemporaryFile(/tmp/multipartBody6085354421556806550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_14_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31ea731aad6a5e022977f25ea5e3eca5.jpg","text":"TemporaryFile(/tmp/multipartBody5312340306589133943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_13_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4f706b3fc0cfbe5405d4fea2013e5bd.jpg","text":"TemporaryFile(/tmp/multipartBody7337207629782807242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271084285,"filename":"image_27112025_16_13_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447685","file1":"1396447681","file0":"1396447678","file4":"1396447691","file5":"1396447694","file3":"1396447688"},"map_files_photo_id_array":[{"photo_id":"1396447694","filename":"file5"},{"photo_id":"1396447685","filename":"file2"},{"photo_id":"1396447691","filename":"file4"},{"photo_id":"1396447681","filename":"file1"},{"photo_id":"1396447678","filename":"file0"},{"photo_id":"1396447688","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447691":["hashtag1","hashtag2"]},{"1396447685":["hashtag1","hashtag2"]},{"1396447694":["hashtag1","hashtag2"]},{"1396447688":["hashtag1","hashtag2"]},{"1396447681":["hashtag1","hashtag2"]},{"1396447678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447691, 1396447685, 1396447694, 1396447688, 1396447681, 1396447678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82422590255737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:18:03.210600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_45_10700.jpg', '/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_14_10057.jpg', '/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_24_10730.jpg', '/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_34_9661.jpg', '/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_55_10734.jpg', '/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_14_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/14/image_27112025_16_14_45_10700.jpg
/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_14_10057.jpg
/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_24_10730.jpg
/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_34_9661.jpg
/home/pi/Desktop/images/27112025/16/15/image_27112025_16_15_55_10734.jpg
/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_14_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447713","1396447707","1396447704","1396447718","1396447723","1396447710"],"photo_ids_order":["1396447704","1396447707","1396447710","1396447713","1396447718","1396447723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/443812868d12eed5031a913d6691386e.jpg","text":"TemporaryFile(/tmp/multipartBody6329372991281822650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_15_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08c12e5c12b7a64c4bdde749a5eac4af.jpg","text":"TemporaryFile(/tmp/multipartBody688184139479325831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_15_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89a0e906cd30758a9a0ca39099f68e4f.jpg","text":"TemporaryFile(/tmp/multipartBody1252549203155139984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_14_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85c25a57d6816124302153788deef43e.jpg","text":"TemporaryFile(/tmp/multipartBody7007714207287641729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_15_55_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07952f19faa26b6797013284ccb029c3.jpg","text":"TemporaryFile(/tmp/multipartBody546097015790453748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_16_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f5dd57ac02e28e89f506943e261cab3.jpg","text":"TemporaryFile(/tmp/multipartBody1327470608147174020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271144304,"filename":"image_27112025_16_15_24_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447710","file1":"1396447707","file0":"1396447704","file4":"1396447718","file5":"1396447723","file3":"1396447713"},"map_files_photo_id_array":[{"photo_id":"1396447723","filename":"file5"},{"photo_id":"1396447710","filename":"file2"},{"photo_id":"1396447718","filename":"file4"},{"photo_id":"1396447707","filename":"file1"},{"photo_id":"1396447704","filename":"file0"},{"photo_id":"1396447713","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447713":["hashtag1","hashtag2"]},{"1396447707":["hashtag1","hashtag2"]},{"1396447704":["hashtag1","hashtag2"]},{"1396447718":["hashtag1","hashtag2"]},{"1396447723":["hashtag1","hashtag2"]},{"1396447710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447713, 1396447707, 1396447704, 1396447718, 1396447723, 1396447710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.83973169326782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:19:02.942953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_24_10598.jpg', '/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_44_9725.jpg', '/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_54_10661.jpg', '/home/pi/Desktop/images/27112025/16/16/image_27112025_16_17_04_9677.jpg', '/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_24_9837.jpg', '/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_34_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_24_10598.jpg
/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_44_9725.jpg
/home/pi/Desktop/images/27112025/16/16/image_27112025_16_16_54_10661.jpg
/home/pi/Desktop/images/27112025/16/16/image_27112025_16_17_04_9677.jpg
/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_24_9837.jpg
/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_34_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447728","1396447732","1396447741","1396447735","1396447738","1396447743"],"photo_ids_order":["1396447728","1396447732","1396447735","1396447738","1396447741","1396447743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92957dc135b04dfe5346e0a80adf4697.jpg","text":"TemporaryFile(/tmp/multipartBody670123340629532686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_16_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/300fd3c8dd93cd4ef9df89681aadfd1c.jpg","text":"TemporaryFile(/tmp/multipartBody4277037461488291749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_16_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49ab70c4c5aafe70f2f999993b5fe436.jpg","text":"TemporaryFile(/tmp/multipartBody840371338225922933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_17_24_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e10867384afd6177459d3f4d78d9189.jpg","text":"TemporaryFile(/tmp/multipartBody1425288058694442677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_16_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db5aef23cfc74891f6d55180f3d167b4.jpg","text":"TemporaryFile(/tmp/multipartBody955741455043188679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_17_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f8371feb35a91f6c8ad6026baf0d61a.jpg","text":"TemporaryFile(/tmp/multipartBody4200808756961551124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271203935,"filename":"image_27112025_16_17_34_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447735","file1":"1396447732","file0":"1396447728","file4":"1396447741","file5":"1396447743","file3":"1396447738"},"map_files_photo_id_array":[{"photo_id":"1396447743","filename":"file5"},{"photo_id":"1396447735","filename":"file2"},{"photo_id":"1396447741","filename":"file4"},{"photo_id":"1396447732","filename":"file1"},{"photo_id":"1396447728","filename":"file0"},{"photo_id":"1396447738","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447728":["hashtag1","hashtag2"]},{"1396447732":["hashtag1","hashtag2"]},{"1396447741":["hashtag1","hashtag2"]},{"1396447735":["hashtag1","hashtag2"]},{"1396447738":["hashtag1","hashtag2"]},{"1396447743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447728, 1396447732, 1396447741, 1396447735, 1396447738, 1396447743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13739228248596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:20:02.518202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_44_9689.jpg', '/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_54_9729.jpg', '/home/pi/Desktop/images/27112025/16/17/image_27112025_16_18_04_9794.jpg', '/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_14_10626.jpg', '/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_24_9603.jpg', '/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_34_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_44_9689.jpg
/home/pi/Desktop/images/27112025/16/17/image_27112025_16_17_54_9729.jpg
/home/pi/Desktop/images/27112025/16/17/image_27112025_16_18_04_9794.jpg
/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_14_10626.jpg
/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_24_9603.jpg
/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_34_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447766","1396447761","1396447755","1396447770","1396447758","1396447752"],"photo_ids_order":["1396447752","1396447755","1396447758","1396447761","1396447766","1396447770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1ac282dc939d8c45de2d55b2a5d9a40.jpg","text":"TemporaryFile(/tmp/multipartBody2827724028621103928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_18_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fad9a6602d23d6bd138ec25e23805938.jpg","text":"TemporaryFile(/tmp/multipartBody4215534973164402971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_18_14_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e097775e8294a5feee79f3209934e65.jpg","text":"TemporaryFile(/tmp/multipartBody4304099713058410009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_17_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b471e7d02ead6be22c643a4043b4f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2615660802868893719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_18_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/109d724acacc0ccfdc99d84f783445bf.jpg","text":"TemporaryFile(/tmp/multipartBody8073574175721259285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_18_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d971f0f9c549cbde9413f7b0e5ba035.jpg","text":"TemporaryFile(/tmp/multipartBody2697449902302597896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271263540,"filename":"image_27112025_16_17_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447758","file1":"1396447755","file0":"1396447752","file4":"1396447766","file5":"1396447770","file3":"1396447761"},"map_files_photo_id_array":[{"photo_id":"1396447770","filename":"file5"},{"photo_id":"1396447758","filename":"file2"},{"photo_id":"1396447766","filename":"file4"},{"photo_id":"1396447755","filename":"file1"},{"photo_id":"1396447752","filename":"file0"},{"photo_id":"1396447761","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447766":["hashtag1","hashtag2"]},{"1396447761":["hashtag1","hashtag2"]},{"1396447755":["hashtag1","hashtag2"]},{"1396447770":["hashtag1","hashtag2"]},{"1396447758":["hashtag1","hashtag2"]},{"1396447752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447766, 1396447761, 1396447755, 1396447770, 1396447758, 1396447752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.569480657577515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:21:03.029270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_54_9660.jpg', '/home/pi/Desktop/images/27112025/16/18/image_27112025_16_19_04_9670.jpg', '/home/pi/Desktop/images/27112025/16/19/image_27112025_16_19_44_10577.jpg', '/home/pi/Desktop/images/27112025/16/19/image_27112025_16_19_54_9652.jpg', '/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_14_10057.jpg', '/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/18/image_27112025_16_18_54_9660.jpg
/home/pi/Desktop/images/27112025/16/18/image_27112025_16_19_04_9670.jpg
/home/pi/Desktop/images/27112025/16/19/image_27112025_16_19_44_10577.jpg
/home/pi/Desktop/images/27112025/16/19/image_27112025_16_19_54_9652.jpg
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_14_10057.jpg
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_24_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396447793","1396447826","1396447798","1396447891","1396447860","1396447923"],"photo_ids_order":["1396447793","1396447798","1396447826","1396447860","1396447891","1396447923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/084d57a24b6af921eaf64a378dfc3da5.jpg","text":"TemporaryFile(/tmp/multipartBody8165811935520847774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_18_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e365d708ad1e05fc55d43d6fe9d31f43.jpg","text":"TemporaryFile(/tmp/multipartBody7938081792535590892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_19_44_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/866ac8b91f54170c2f5dab123faa0a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2504532710522500472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_19_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/947bc1eb911e8ecc620a5114dd9b5799.jpg","text":"TemporaryFile(/tmp/multipartBody3031357339168633958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_20_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bb7451c3dcd193d88bd48e56dda248c.jpg","text":"TemporaryFile(/tmp/multipartBody4966867723934476286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_19_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfa41303f05d599767777ec99f5ff476.jpg","text":"TemporaryFile(/tmp/multipartBody8829343348973922009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271324006,"filename":"image_27112025_16_20_24_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396447826","file1":"1396447798","file0":"1396447793","file4":"1396447891","file5":"1396447923","file3":"1396447860"},"map_files_photo_id_array":[{"photo_id":"1396447923","filename":"file5"},{"photo_id":"1396447826","filename":"file2"},{"photo_id":"1396447891","filename":"file4"},{"photo_id":"1396447798","filename":"file1"},{"photo_id":"1396447793","filename":"file0"},{"photo_id":"1396447860","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396447793":["hashtag1","hashtag2"]},{"1396447826":["hashtag1","hashtag2"]},{"1396447798":["hashtag1","hashtag2"]},{"1396447891":["hashtag1","hashtag2"]},{"1396447860":["hashtag1","hashtag2"]},{"1396447923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396447793, 1396447826, 1396447798, 1396447891, 1396447860, 1396447923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.828449010849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:22:02.908698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_34_9629.jpg', '/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_45_10625.jpg', '/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_54_9580.jpg', '/home/pi/Desktop/images/27112025/16/20/image_27112025_16_21_04_9763.jpg', '/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_15_10598.jpg', '/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_34_9629.jpg
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_45_10625.jpg
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_20_54_9580.jpg
/home/pi/Desktop/images/27112025/16/20/image_27112025_16_21_04_9763.jpg
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_15_10598.jpg
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448198","1396448225","1396448140","1396448257","1396448110","1396448169"],"photo_ids_order":["1396448110","1396448140","1396448169","1396448198","1396448225","1396448257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca41fa3041e5656a6ad8f49c3e9d623b.jpg","text":"TemporaryFile(/tmp/multipartBody4950650584770374134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_21_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cac1413cedd402552a628f4517505aff.jpg","text":"TemporaryFile(/tmp/multipartBody2765438057452983533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_21_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed48d6ec39a2538ba462d6da58b851b4.jpg","text":"TemporaryFile(/tmp/multipartBody8405190116859034284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_20_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41453788fbee43e537f7b8df3b1f8c75.jpg","text":"TemporaryFile(/tmp/multipartBody5349932217037466311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_21_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7148d86033a31aca7773150dfecd2258.jpg","text":"TemporaryFile(/tmp/multipartBody329435993580452350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_20_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12617b6a903c23646900ddaa4cf9ed01.jpg","text":"TemporaryFile(/tmp/multipartBody7391331896613850818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271383848,"filename":"image_27112025_16_20_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448169","file1":"1396448140","file0":"1396448110","file4":"1396448225","file5":"1396448257","file3":"1396448198"},"map_files_photo_id_array":[{"photo_id":"1396448257","filename":"file5"},{"photo_id":"1396448169","filename":"file2"},{"photo_id":"1396448225","filename":"file4"},{"photo_id":"1396448140","filename":"file1"},{"photo_id":"1396448110","filename":"file0"},{"photo_id":"1396448198","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448198":["hashtag1","hashtag2"]},{"1396448225":["hashtag1","hashtag2"]},{"1396448140":["hashtag1","hashtag2"]},{"1396448257":["hashtag1","hashtag2"]},{"1396448110":["hashtag1","hashtag2"]},{"1396448169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448198, 1396448225, 1396448140, 1396448257, 1396448110, 1396448169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82560896873474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:23:03.459296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_34_9781.jpg', '/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_44_9675.jpg', '/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_54_10668.jpg', '/home/pi/Desktop/images/27112025/16/21/image_27112025_16_22_04_9744.jpg', '/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_14_9620.jpg', '/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_24_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_34_9781.jpg
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_44_9675.jpg
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_21_54_10668.jpg
/home/pi/Desktop/images/27112025/16/21/image_27112025_16_22_04_9744.jpg
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_14_9620.jpg
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_24_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448444","1396448436","1396448439","1396448448","1396448421","1396448409"],"photo_ids_order":["1396448409","1396448421","1396448436","1396448439","1396448444","1396448448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9c3876ed61cc9bb93acb9fb73017dae.jpg","text":"TemporaryFile(/tmp/multipartBody4336197613017843810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_22_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40c00fdfaa7fbde4dab75dd582587537.jpg","text":"TemporaryFile(/tmp/multipartBody3259501936275539668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_21_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e00d07403d72008903a47d6e0f2b368f.jpg","text":"TemporaryFile(/tmp/multipartBody6744534452992441727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_22_04_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82e581bc1fb968a42ae282840bf70da8.jpg","text":"TemporaryFile(/tmp/multipartBody3788963024529546905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_22_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cea1c005143edd1f0630b07ced3c7f4.jpg","text":"TemporaryFile(/tmp/multipartBody1079381024759724558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_21_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4aac000ae94ae7ede64065142fc51f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6723647745896971405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271444446,"filename":"image_27112025_16_21_34_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448436","file1":"1396448421","file0":"1396448409","file4":"1396448444","file5":"1396448448","file3":"1396448439"},"map_files_photo_id_array":[{"photo_id":"1396448448","filename":"file5"},{"photo_id":"1396448436","filename":"file2"},{"photo_id":"1396448444","filename":"file4"},{"photo_id":"1396448421","filename":"file1"},{"photo_id":"1396448409","filename":"file0"},{"photo_id":"1396448439","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448444":["hashtag1","hashtag2"]},{"1396448436":["hashtag1","hashtag2"]},{"1396448439":["hashtag1","hashtag2"]},{"1396448448":["hashtag1","hashtag2"]},{"1396448421":["hashtag1","hashtag2"]},{"1396448409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448444, 1396448436, 1396448439, 1396448448, 1396448421, 1396448409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17126154899597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:24:03.458469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_34_9701.jpg', '/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_44_9883.jpg', '/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_55_10607.jpg', '/home/pi/Desktop/images/27112025/16/22/image_27112025_16_23_04_9825.jpg', '/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_14_9573.jpg', '/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_24_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_34_9701.jpg
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_44_9883.jpg
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_22_55_10607.jpg
/home/pi/Desktop/images/27112025/16/22/image_27112025_16_23_04_9825.jpg
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_14_9573.jpg
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_24_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448672","1396448639","1396448630","1396448695","1396448643","1396448700"],"photo_ids_order":["1396448630","1396448639","1396448643","1396448672","1396448695","1396448700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ee4c69840f7fcdf93c99111a1ff4ab9.jpg","text":"TemporaryFile(/tmp/multipartBody9211263697249109897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_23_04_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0aa92ed37315d10128e774fde3144cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7553281476787212486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_22_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e2b7f18fc50ca62b31e3223732cb8566.jpg","text":"TemporaryFile(/tmp/multipartBody1848660506660850846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_22_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/962e917e01280243e419411cc34fbd9c.jpg","text":"TemporaryFile(/tmp/multipartBody6623219129824838733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_23_14_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6dcc7c60c6c1fdfafd3890f01e43926e.jpg","text":"TemporaryFile(/tmp/multipartBody4703857343531855645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_22_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2b24e39c6fb761dccb477899b686b64.jpg","text":"TemporaryFile(/tmp/multipartBody497746405434872333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271504584,"filename":"image_27112025_16_23_24_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448643","file1":"1396448639","file0":"1396448630","file4":"1396448695","file5":"1396448700","file3":"1396448672"},"map_files_photo_id_array":[{"photo_id":"1396448700","filename":"file5"},{"photo_id":"1396448643","filename":"file2"},{"photo_id":"1396448695","filename":"file4"},{"photo_id":"1396448639","filename":"file1"},{"photo_id":"1396448630","filename":"file0"},{"photo_id":"1396448672","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448672":["hashtag1","hashtag2"]},{"1396448639":["hashtag1","hashtag2"]},{"1396448630":["hashtag1","hashtag2"]},{"1396448695":["hashtag1","hashtag2"]},{"1396448643":["hashtag1","hashtag2"]},{"1396448700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448672, 1396448639, 1396448630, 1396448695, 1396448643, 1396448700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74860095977783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:25:02.598569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_34_10598.jpg', '/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_44_9663.jpg', '/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_54_9818.jpg', '/home/pi/Desktop/images/27112025/16/23/image_27112025_16_24_05_10702.jpg', '/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_14_9706.jpg', '/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_24_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_34_10598.jpg
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_44_9663.jpg
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_23_54_9818.jpg
/home/pi/Desktop/images/27112025/16/23/image_27112025_16_24_05_10702.jpg
/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_14_9706.jpg
/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_24_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448786","1396448782","1396448778","1396448792","1396448795","1396448789"],"photo_ids_order":["1396448778","1396448782","1396448786","1396448789","1396448792","1396448795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abc545a699c7eb0d66bcdfdff98af389.jpg","text":"TemporaryFile(/tmp/multipartBody4426545237945841073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_23_54_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/27/851d950cdbbd9c6b22d1091ad9abc5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2828976896536026959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_23_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8519a3a61f747c4d37908bbceeb3991a.jpg","text":"TemporaryFile(/tmp/multipartBody5055561377258199444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_23_34_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/652b5b7e280e7bf14060501400409657.jpg","text":"TemporaryFile(/tmp/multipartBody2504911112754641101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_24_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f0fa6c0e884e1d7a06de1f899960eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5795131825705321239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_24_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b52771ae7a39e2fa925ece104787b77.jpg","text":"TemporaryFile(/tmp/multipartBody900950668547958489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271563578,"filename":"image_27112025_16_24_05_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448786","file1":"1396448782","file0":"1396448778","file4":"1396448792","file5":"1396448795","file3":"1396448789"},"map_files_photo_id_array":[{"photo_id":"1396448795","filename":"file5"},{"photo_id":"1396448786","filename":"file2"},{"photo_id":"1396448792","filename":"file4"},{"photo_id":"1396448782","filename":"file1"},{"photo_id":"1396448778","filename":"file0"},{"photo_id":"1396448789","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448786":["hashtag1","hashtag2"]},{"1396448782":["hashtag1","hashtag2"]},{"1396448778":["hashtag1","hashtag2"]},{"1396448792":["hashtag1","hashtag2"]},{"1396448795":["hashtag1","hashtag2"]},{"1396448789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448786, 1396448782, 1396448778, 1396448792, 1396448795, 1396448789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67007517814636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:26:02.692474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_34_10543.jpg', '/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_44_9752.jpg', '/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_54_9742.jpg', '/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_14_10057.jpg', '/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_25_10607.jpg', '/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_34_10543.jpg
/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_44_9752.jpg
/home/pi/Desktop/images/27112025/16/24/image_27112025_16_24_54_9742.jpg
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_14_10057.jpg
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_25_10607.jpg
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_34_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448819","1396448804","1396448814","1396448823","1396448811","1396448808"],"photo_ids_order":["1396448804","1396448808","1396448811","1396448814","1396448819","1396448823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66482a113f7a8513a64519244096b454.jpg","text":"TemporaryFile(/tmp/multipartBody4485713516867895209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_25_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/632edcde715eb4df9e01c6bb031d0781.jpg","text":"TemporaryFile(/tmp/multipartBody2507486343419211611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_24_34_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32ce986b3e4374089997814fd3ca2736.jpg","text":"TemporaryFile(/tmp/multipartBody2978931636008974041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_25_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45f410367ec8c0ed7b210ec943ca8566.jpg","text":"TemporaryFile(/tmp/multipartBody8768018317516014479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_25_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ddca4fa23a28a312356ff928445fb417.jpg","text":"TemporaryFile(/tmp/multipartBody3000042864619085562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_24_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b6d9d2adf3b3cc639ce27e2a96b4b6c6.jpg","text":"TemporaryFile(/tmp/multipartBody5825069203181046931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271623570,"filename":"image_27112025_16_24_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448811","file1":"1396448808","file0":"1396448804","file4":"1396448819","file5":"1396448823","file3":"1396448814"},"map_files_photo_id_array":[{"photo_id":"1396448823","filename":"file5"},{"photo_id":"1396448811","filename":"file2"},{"photo_id":"1396448819","filename":"file4"},{"photo_id":"1396448808","filename":"file1"},{"photo_id":"1396448804","filename":"file0"},{"photo_id":"1396448814","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448819":["hashtag1","hashtag2"]},{"1396448804":["hashtag1","hashtag2"]},{"1396448814":["hashtag1","hashtag2"]},{"1396448823":["hashtag1","hashtag2"]},{"1396448811":["hashtag1","hashtag2"]},{"1396448808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448819, 1396448804, 1396448814, 1396448823, 1396448811, 1396448808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17311882972717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:27:03.081857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_45_10533.jpg', '/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_55_9628.jpg', '/home/pi/Desktop/images/27112025/16/25/image_27112025_16_26_04_9609.jpg', '/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_15_10664.jpg', '/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_24_9557.jpg', '/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_35_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_45_10533.jpg
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_25_55_9628.jpg
/home/pi/Desktop/images/27112025/16/25/image_27112025_16_26_04_9609.jpg
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_15_10664.jpg
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_24_9557.jpg
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_35_10531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448864","1396448852","1396448834","1396448860","1396448848","1396448856"],"photo_ids_order":["1396448834","1396448848","1396448852","1396448856","1396448860","1396448864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f47be4093e7a22b8079fa4314e22db2.jpg","text":"TemporaryFile(/tmp/multipartBody4930954715451352492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_26_35_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bd56a7ffbf8e5959af0c915172e1c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1166694082229847111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_26_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bb510f31bb33d521eb6e7cd52f38c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4762108212055848366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_25_45_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5078013f7a1d286f31625d56b54057ee.jpg","text":"TemporaryFile(/tmp/multipartBody4776319047024483951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_26_24_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2b155a2ad90bc19a28b9817720994fc.jpg","text":"TemporaryFile(/tmp/multipartBody1589896893913837108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_25_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bdad53f49bb9421c18b75a6f131c1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4891549373196111058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271684185,"filename":"image_27112025_16_26_15_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448852","file1":"1396448848","file0":"1396448834","file4":"1396448860","file5":"1396448864","file3":"1396448856"},"map_files_photo_id_array":[{"photo_id":"1396448864","filename":"file5"},{"photo_id":"1396448852","filename":"file2"},{"photo_id":"1396448860","filename":"file4"},{"photo_id":"1396448848","filename":"file1"},{"photo_id":"1396448834","filename":"file0"},{"photo_id":"1396448856","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448864":["hashtag1","hashtag2"]},{"1396448852":["hashtag1","hashtag2"]},{"1396448834":["hashtag1","hashtag2"]},{"1396448860":["hashtag1","hashtag2"]},{"1396448848":["hashtag1","hashtag2"]},{"1396448856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448864, 1396448852, 1396448834, 1396448860, 1396448848, 1396448856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.698084115982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:28:03.101852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_45_9620.jpg', '/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_54_9676.jpg', '/home/pi/Desktop/images/27112025/16/26/image_27112025_16_27_05_10666.jpg', '/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_15_9634.jpg', '/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_24_9746.jpg', '/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_35_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_45_9620.jpg
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_26_54_9676.jpg
/home/pi/Desktop/images/27112025/16/26/image_27112025_16_27_05_10666.jpg
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_15_9634.jpg
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_24_9746.jpg
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_35_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448870","1396448909","1396448884","1396448905","1396448892","1396448910"],"photo_ids_order":["1396448870","1396448884","1396448892","1396448905","1396448909","1396448910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/736cfa3891c1f2c50160842e81d76416.jpg","text":"TemporaryFile(/tmp/multipartBody4181058334427101315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_26_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bf6852dd8e3fcf2aff80605f90b5698.jpg","text":"TemporaryFile(/tmp/multipartBody5056551543375397918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_27_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51b33a392fda3080c5c885ded1aad0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2798786388304542802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_26_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14faafcbd7ce42c431844f103de57e21.jpg","text":"TemporaryFile(/tmp/multipartBody8851497933475956554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_27_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c04f0af24ea3a5dae7957a0fa5a6864c.jpg","text":"TemporaryFile(/tmp/multipartBody7429792236900300760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_27_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bc2756829a90dbd188823c4dc329b93.jpg","text":"TemporaryFile(/tmp/multipartBody9197255689258563426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271744036,"filename":"image_27112025_16_27_35_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448892","file1":"1396448884","file0":"1396448870","file4":"1396448909","file5":"1396448910","file3":"1396448905"},"map_files_photo_id_array":[{"photo_id":"1396448910","filename":"file5"},{"photo_id":"1396448892","filename":"file2"},{"photo_id":"1396448909","filename":"file4"},{"photo_id":"1396448884","filename":"file1"},{"photo_id":"1396448870","filename":"file0"},{"photo_id":"1396448905","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448870":["hashtag1","hashtag2"]},{"1396448909":["hashtag1","hashtag2"]},{"1396448884":["hashtag1","hashtag2"]},{"1396448905":["hashtag1","hashtag2"]},{"1396448892":["hashtag1","hashtag2"]},{"1396448910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448870, 1396448909, 1396448884, 1396448905, 1396448892, 1396448910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.187275886535645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:29:03.067399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_44_9559.jpg', '/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_55_10690.jpg', '/home/pi/Desktop/images/27112025/16/27/image_27112025_16_28_05_9834.jpg', '/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_15_9675.jpg', '/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_24_9827.jpg', '/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_34_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_44_9559.jpg
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_27_55_10690.jpg
/home/pi/Desktop/images/27112025/16/27/image_27112025_16_28_05_9834.jpg
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_15_9675.jpg
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_24_9827.jpg
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_34_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448933","1396448921","1396448941","1396448929","1396448926","1396448937"],"photo_ids_order":["1396448921","1396448926","1396448929","1396448933","1396448937","1396448941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0f18f4843718f57dc65cedeecc1dbeb.jpg","text":"TemporaryFile(/tmp/multipartBody7274060939860173610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_28_15_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/533b76b7d7bf106a71aa8259bc15e8e4.jpg","text":"TemporaryFile(/tmp/multipartBody953817333101998593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_27_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e855332b5db38039e3e73b61a98e9bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3109859795569763375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_28_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2adf3a73be47da874dbcb87974e55d31.jpg","text":"TemporaryFile(/tmp/multipartBody3299001072010455140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_28_05_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf3ea0870c26dd9cc5a839b4df0888d2.jpg","text":"TemporaryFile(/tmp/multipartBody4691383871107793787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_27_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/448f517ec16635f93f1d7378f3cb8c08.jpg","text":"TemporaryFile(/tmp/multipartBody7787019810097500477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271804125,"filename":"image_27112025_16_28_24_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448929","file1":"1396448926","file0":"1396448921","file4":"1396448937","file5":"1396448941","file3":"1396448933"},"map_files_photo_id_array":[{"photo_id":"1396448941","filename":"file5"},{"photo_id":"1396448929","filename":"file2"},{"photo_id":"1396448937","filename":"file4"},{"photo_id":"1396448926","filename":"file1"},{"photo_id":"1396448921","filename":"file0"},{"photo_id":"1396448933","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448933":["hashtag1","hashtag2"]},{"1396448921":["hashtag1","hashtag2"]},{"1396448941":["hashtag1","hashtag2"]},{"1396448929":["hashtag1","hashtag2"]},{"1396448926":["hashtag1","hashtag2"]},{"1396448937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448933, 1396448921, 1396448941, 1396448929, 1396448926, 1396448937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.435036182403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:30:02.572258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_45_10535.jpg', '/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_54_9737.jpg', '/home/pi/Desktop/images/27112025/16/28/image_27112025_16_29_05_10659.jpg', '/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_15_9792.jpg', '/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_25_9875.jpg', '/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_35_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_45_10535.jpg
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_28_54_9737.jpg
/home/pi/Desktop/images/27112025/16/28/image_27112025_16_29_05_10659.jpg
/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_15_9792.jpg
/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_25_9875.jpg
/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_35_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448963","1396448965","1396448950","1396448958","1396448961","1396448954"],"photo_ids_order":["1396448950","1396448954","1396448958","1396448961","1396448963","1396448965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8666b8358d858998584c265f3c05225.jpg","text":"TemporaryFile(/tmp/multipartBody4843108992771813846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_29_25_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36b1fc9513d0d777b5dce22d532bbc55.jpg","text":"TemporaryFile(/tmp/multipartBody5506837876177822019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_29_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/333e0597eb60f8f9716c8bb71390a69e.jpg","text":"TemporaryFile(/tmp/multipartBody4326191390508463951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_28_45_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e10677b242c07edb85712fdf257dc00a.jpg","text":"TemporaryFile(/tmp/multipartBody1094022215410354218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_29_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dc42f451df965be5dfef2773633fd854.jpg","text":"TemporaryFile(/tmp/multipartBody6989310002568320310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_29_15_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8db9293efb0f45535289d1a46b0294fc.jpg","text":"TemporaryFile(/tmp/multipartBody7440681678499612523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271863539,"filename":"image_27112025_16_28_54_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448958","file1":"1396448954","file0":"1396448950","file4":"1396448963","file5":"1396448965","file3":"1396448961"},"map_files_photo_id_array":[{"photo_id":"1396448965","filename":"file5"},{"photo_id":"1396448958","filename":"file2"},{"photo_id":"1396448963","filename":"file4"},{"photo_id":"1396448954","filename":"file1"},{"photo_id":"1396448950","filename":"file0"},{"photo_id":"1396448961","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448963":["hashtag1","hashtag2"]},{"1396448965":["hashtag1","hashtag2"]},{"1396448950":["hashtag1","hashtag2"]},{"1396448958":["hashtag1","hashtag2"]},{"1396448961":["hashtag1","hashtag2"]},{"1396448954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448963, 1396448965, 1396448950, 1396448958, 1396448961, 1396448954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86475920677185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:31:02.745035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_44_9701.jpg', '/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_55_10660.jpg', '/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_15_10051.jpg', '/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_25_10767.jpg', '/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_35_9676.jpg', '/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_45_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_44_9701.jpg
/home/pi/Desktop/images/27112025/16/29/image_27112025_16_29_55_10660.jpg
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_15_10051.jpg
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_25_10767.jpg
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_35_9676.jpg
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_45_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396448984","1396448992","1396448995","1396448988","1396448997","1396449000"],"photo_ids_order":["1396448984","1396448988","1396448992","1396448995","1396448997","1396449000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0dacf53d2e6ec0f0770e23ae26d57b3.jpg","text":"TemporaryFile(/tmp/multipartBody6692806309655951883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_29_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/830b9217c337557690c3a4c84e915e21.jpg","text":"TemporaryFile(/tmp/multipartBody2415411890640939478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_30_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb3dd2b9760f654c55a212569d9a0826.jpg","text":"TemporaryFile(/tmp/multipartBody6044873665128613617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_30_25_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dde8545a216f39097966ecba2973fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody132343126002158715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_29_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77401be6c9b2656fa2bb3d9621f7bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody2237958312576091013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_30_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf1e539924e793aab5168ee35a452c36.jpg","text":"TemporaryFile(/tmp/multipartBody3743476670667286295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271923762,"filename":"image_27112025_16_30_45_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396448992","file1":"1396448988","file0":"1396448984","file4":"1396448997","file5":"1396449000","file3":"1396448995"},"map_files_photo_id_array":[{"photo_id":"1396449000","filename":"file5"},{"photo_id":"1396448992","filename":"file2"},{"photo_id":"1396448997","filename":"file4"},{"photo_id":"1396448988","filename":"file1"},{"photo_id":"1396448984","filename":"file0"},{"photo_id":"1396448995","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396448984":["hashtag1","hashtag2"]},{"1396448992":["hashtag1","hashtag2"]},{"1396448995":["hashtag1","hashtag2"]},{"1396448988":["hashtag1","hashtag2"]},{"1396448997":["hashtag1","hashtag2"]},{"1396449000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396448984, 1396448992, 1396448995, 1396448988, 1396448997, 1396449000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.834396839141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:32:02.964000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_55_10724.jpg', '/home/pi/Desktop/images/27112025/16/30/image_27112025_16_31_05_9760.jpg', '/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_15_9846.jpg', '/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_25_9722.jpg', '/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_36_10686.jpg', '/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_45_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_30_55_10724.jpg
/home/pi/Desktop/images/27112025/16/30/image_27112025_16_31_05_9760.jpg
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_15_9846.jpg
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_25_9722.jpg
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_36_10686.jpg
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_45_9783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449020","1396449037","1396449025","1396449033","1396449015","1396449018"],"photo_ids_order":["1396449015","1396449018","1396449020","1396449025","1396449033","1396449037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/851f97e2eddb05a6b8a515bffa52b6b5.jpg","text":"TemporaryFile(/tmp/multipartBody3201579968882028402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_31_15_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/671b48830ad2142c60f45bfd4fb9e563.jpg","text":"TemporaryFile(/tmp/multipartBody7948045549574788373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_31_45_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/640ad2ec46b1235169679fe1f8de700c.jpg","text":"TemporaryFile(/tmp/multipartBody7624908405035860929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_31_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91c40ec77322c660b0f695ec78b8b80b.jpg","text":"TemporaryFile(/tmp/multipartBody2526032445026606746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_31_36_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14f7f4f678686733d1f7f192fb83a9b0.jpg","text":"TemporaryFile(/tmp/multipartBody7687778596054556465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_30_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab840a797542d2ee5d37d162be3c3084.jpg","text":"TemporaryFile(/tmp/multipartBody6852898683128963048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764271983876,"filename":"image_27112025_16_31_05_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449020","file1":"1396449018","file0":"1396449015","file4":"1396449033","file5":"1396449037","file3":"1396449025"},"map_files_photo_id_array":[{"photo_id":"1396449037","filename":"file5"},{"photo_id":"1396449020","filename":"file2"},{"photo_id":"1396449033","filename":"file4"},{"photo_id":"1396449018","filename":"file1"},{"photo_id":"1396449015","filename":"file0"},{"photo_id":"1396449025","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449020":["hashtag1","hashtag2"]},{"1396449037":["hashtag1","hashtag2"]},{"1396449025":["hashtag1","hashtag2"]},{"1396449033":["hashtag1","hashtag2"]},{"1396449015":["hashtag1","hashtag2"]},{"1396449018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449020, 1396449037, 1396449025, 1396449033, 1396449015, 1396449018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69987678527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:33:03.357936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_55_9739.jpg', '/home/pi/Desktop/images/27112025/16/31/image_27112025_16_32_05_9628.jpg', '/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_15_10600.jpg', '/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_25_9595.jpg', '/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_36_10763.jpg', '/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_46_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_31_55_9739.jpg
/home/pi/Desktop/images/27112025/16/31/image_27112025_16_32_05_9628.jpg
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_15_10600.jpg
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_25_9595.jpg
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_36_10763.jpg
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_46_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449076","1396449057","1396449086","1396449080","1396449068","1396449083"],"photo_ids_order":["1396449057","1396449068","1396449076","1396449080","1396449083","1396449086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4d18f23b9096d81ae677b0baee9374b.jpg","text":"TemporaryFile(/tmp/multipartBody7155932504071362400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_32_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08dfdabff5fdbb35126b8e7af1199a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3931799147434923175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_31_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82f7671aa2bd65b9b6d37b8c0be1d2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7564519328922894076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_32_46_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88cf6aeffd03973c363eba0478a3eabd.jpg","text":"TemporaryFile(/tmp/multipartBody3736554096405435602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_32_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/320477082d67b51668c77fa922b011f5.jpg","text":"TemporaryFile(/tmp/multipartBody5945518123401029935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_32_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d48f5f8c701922676d0a9632e8d1a685.jpg","text":"TemporaryFile(/tmp/multipartBody3578896251583310644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272046936,"filename":"image_27112025_16_32_36_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449076","file1":"1396449068","file0":"1396449057","file4":"1396449083","file5":"1396449086","file3":"1396449080"},"map_files_photo_id_array":[{"photo_id":"1396449086","filename":"file5"},{"photo_id":"1396449076","filename":"file2"},{"photo_id":"1396449083","filename":"file4"},{"photo_id":"1396449068","filename":"file1"},{"photo_id":"1396449057","filename":"file0"},{"photo_id":"1396449080","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449076":["hashtag1","hashtag2"]},{"1396449057":["hashtag1","hashtag2"]},{"1396449086":["hashtag1","hashtag2"]},{"1396449080":["hashtag1","hashtag2"]},{"1396449068":["hashtag1","hashtag2"]},{"1396449083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449076, 1396449057, 1396449086, 1396449080, 1396449068, 1396449083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98250079154968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:34:02.560824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_55_9720.jpg', '/home/pi/Desktop/images/27112025/16/32/image_27112025_16_33_05_9694.jpg', '/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_16_10610.jpg', '/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_25_9728.jpg', '/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_35_9762.jpg', '/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_45_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_32_55_9720.jpg
/home/pi/Desktop/images/27112025/16/32/image_27112025_16_33_05_9694.jpg
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_16_10610.jpg
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_25_9728.jpg
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_35_9762.jpg
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_45_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449094","1396449111","1396449108","1396449098","1396449102","1396449105"],"photo_ids_order":["1396449094","1396449098","1396449102","1396449105","1396449108","1396449111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d922feb1da6b79687c09a6373355b08.jpg","text":"TemporaryFile(/tmp/multipartBody5554711525432213561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_32_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aba1bcbab6f0b94a768b53e26b9157c5.jpg","text":"TemporaryFile(/tmp/multipartBody272154089250946426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_33_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41e9595989612897066c6f42bc80f568.jpg","text":"TemporaryFile(/tmp/multipartBody1287973262328823317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_33_35_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e94aea16099e06bea7e29504e4f5af52.jpg","text":"TemporaryFile(/tmp/multipartBody1075658774301925584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_33_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/678f86b211f4f5c6f0af2e8431cf016a.jpg","text":"TemporaryFile(/tmp/multipartBody364300568306135759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_33_16_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66020b559a4fecf2dd3e5308572efdc6.jpg","text":"TemporaryFile(/tmp/multipartBody3329295305953826150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272105988,"filename":"image_27112025_16_33_25_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449102","file1":"1396449098","file0":"1396449094","file4":"1396449108","file5":"1396449111","file3":"1396449105"},"map_files_photo_id_array":[{"photo_id":"1396449111","filename":"file5"},{"photo_id":"1396449102","filename":"file2"},{"photo_id":"1396449108","filename":"file4"},{"photo_id":"1396449098","filename":"file1"},{"photo_id":"1396449094","filename":"file0"},{"photo_id":"1396449105","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449094":["hashtag1","hashtag2"]},{"1396449111":["hashtag1","hashtag2"]},{"1396449108":["hashtag1","hashtag2"]},{"1396449098":["hashtag1","hashtag2"]},{"1396449102":["hashtag1","hashtag2"]},{"1396449105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449094, 1396449111, 1396449108, 1396449098, 1396449102, 1396449105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70748043060303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:35:02.738703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_55_10561.jpg', '/home/pi/Desktop/images/27112025/16/33/image_27112025_16_34_05_9677.jpg', '/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_15_9672.jpg', '/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_25_10657.jpg', '/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_35_9616.jpg', '/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_46_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_33_55_10561.jpg
/home/pi/Desktop/images/27112025/16/33/image_27112025_16_34_05_9677.jpg
/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_15_9672.jpg
/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_25_10657.jpg
/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_35_9616.jpg
/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_46_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449133","1396449124","1396449138","1396449126","1396449129","1396449120"],"photo_ids_order":["1396449120","1396449124","1396449126","1396449129","1396449133","1396449138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b1ad3b116b8abd02d17022e5bacafa2.jpg","text":"TemporaryFile(/tmp/multipartBody1467438854835606409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_34_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a69563f3473ad4669f2654c30b3a7985.jpg","text":"TemporaryFile(/tmp/multipartBody1422551853101447570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_34_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44f1b58cfff04e901b0c58594f787be6.jpg","text":"TemporaryFile(/tmp/multipartBody5901428841782338718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_34_46_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac127d3f613bb4283efc35b1891d3b73.jpg","text":"TemporaryFile(/tmp/multipartBody201540992528921010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_34_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9789a598c1946ea613dde3fb1b73f6a3.jpg","text":"TemporaryFile(/tmp/multipartBody7860753582459521055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_34_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8edd6c2811591d247b254c2a150d7939.jpg","text":"TemporaryFile(/tmp/multipartBody1859264547340846349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272163734,"filename":"image_27112025_16_33_55_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449126","file1":"1396449124","file0":"1396449120","file4":"1396449133","file5":"1396449138","file3":"1396449129"},"map_files_photo_id_array":[{"photo_id":"1396449138","filename":"file5"},{"photo_id":"1396449126","filename":"file2"},{"photo_id":"1396449133","filename":"file4"},{"photo_id":"1396449124","filename":"file1"},{"photo_id":"1396449120","filename":"file0"},{"photo_id":"1396449129","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449133":["hashtag1","hashtag2"]},{"1396449124":["hashtag1","hashtag2"]},{"1396449138":["hashtag1","hashtag2"]},{"1396449126":["hashtag1","hashtag2"]},{"1396449129":["hashtag1","hashtag2"]},{"1396449120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449133, 1396449124, 1396449138, 1396449126, 1396449129, 1396449120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.233129262924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:36:02.966683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_55_9655.jpg', '/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_15_10055.jpg', '/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_25_10717.jpg', '/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_35_9665.jpg', '/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_45_9607.jpg', '/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/34/image_27112025_16_34_55_9655.jpg
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_15_10055.jpg
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_25_10717.jpg
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_35_9665.jpg
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_45_9607.jpg
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_35_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449196","1396449145","1396449154","1396449150","1396449185","1396449164"],"photo_ids_order":["1396449145","1396449150","1396449154","1396449164","1396449185","1396449196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c2da57f53c93861d3bc693fd1aeee6a.jpg","text":"TemporaryFile(/tmp/multipartBody6852381426174936773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_35_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/069e8a6bb493f429ef2b3f9df8214219.jpg","text":"TemporaryFile(/tmp/multipartBody6182136183130269215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_34_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/655a43061afb061c40b0d22cf35db7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5180353256804241516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_35_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d09a86808e21525c659122abc8292bef.jpg","text":"TemporaryFile(/tmp/multipartBody7124990873956831864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_35_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e316e38ca6ffdc1c989987a87bb32709.jpg","text":"TemporaryFile(/tmp/multipartBody1627145432204650323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_35_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c8210f3daa8162398d7405837b00d427.jpg","text":"TemporaryFile(/tmp/multipartBody1927199432884030119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272223845,"filename":"image_27112025_16_35_35_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449154","file1":"1396449150","file0":"1396449145","file4":"1396449185","file5":"1396449196","file3":"1396449164"},"map_files_photo_id_array":[{"photo_id":"1396449196","filename":"file5"},{"photo_id":"1396449154","filename":"file2"},{"photo_id":"1396449185","filename":"file4"},{"photo_id":"1396449150","filename":"file1"},{"photo_id":"1396449145","filename":"file0"},{"photo_id":"1396449164","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449196":["hashtag1","hashtag2"]},{"1396449145":["hashtag1","hashtag2"]},{"1396449154":["hashtag1","hashtag2"]},{"1396449150":["hashtag1","hashtag2"]},{"1396449185":["hashtag1","hashtag2"]},{"1396449164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449196, 1396449145, 1396449154, 1396449150, 1396449185, 1396449164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61610698699951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:37:03.266496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/35/image_27112025_16_36_05_9707.jpg', '/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_15_9675.jpg', '/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_25_10025.jpg', '/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_35_10741.jpg', '/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_45_9656.jpg', '/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_55_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/35/image_27112025_16_36_05_9707.jpg
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_15_9675.jpg
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_25_10025.jpg
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_35_10741.jpg
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_45_9656.jpg
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_36_55_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449230","1396449224","1396449227","1396449220","1396449216","1396449260"],"photo_ids_order":["1396449216","1396449220","1396449224","1396449227","1396449230","1396449260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0f7993426de01f687d7e15e33df0638.jpg","text":"TemporaryFile(/tmp/multipartBody3195618527697821090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94093975eec129ea5b7fb7cc0883737e.jpg","text":"TemporaryFile(/tmp/multipartBody584210747338080984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_25_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c34dcf5bec5f87ca32e136d23d54e4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1644087149941434654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9973e1884f3424bd0d84185df032ad83.jpg","text":"TemporaryFile(/tmp/multipartBody7518243775987007738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_15_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc338ce7cdbc3c7213582430cc5fc856.jpg","text":"TemporaryFile(/tmp/multipartBody7642799268427705495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c78cb64b235a476ad01b6768a44f6d8a.jpg","text":"TemporaryFile(/tmp/multipartBody751143706177139067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272284481,"filename":"image_27112025_16_36_55_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449224","file1":"1396449220","file0":"1396449216","file4":"1396449230","file5":"1396449260","file3":"1396449227"},"map_files_photo_id_array":[{"photo_id":"1396449260","filename":"file5"},{"photo_id":"1396449224","filename":"file2"},{"photo_id":"1396449230","filename":"file4"},{"photo_id":"1396449220","filename":"file1"},{"photo_id":"1396449216","filename":"file0"},{"photo_id":"1396449227","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449230":["hashtag1","hashtag2"]},{"1396449224":["hashtag1","hashtag2"]},{"1396449227":["hashtag1","hashtag2"]},{"1396449220":["hashtag1","hashtag2"]},{"1396449216":["hashtag1","hashtag2"]},{"1396449260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449230, 1396449224, 1396449227, 1396449220, 1396449216, 1396449260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.288575172424316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:38:03.277918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/36/image_27112025_16_37_05_9673.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_15_10639.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_25_9734.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_36_10829.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_45_8780.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_59_14905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_37_05_9673.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_15_10639.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_25_9734.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_36_10829.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_45_8780.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_59_14905.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6290464401245117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:38:12.873238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_31_2707.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_34_2659.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_40_2718.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_44_3339.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_46_2565.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_51_4404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_31_2707.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_34_2659.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_40_2718.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_44_3339.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_46_2565.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_51_4404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449661","1396449565","1396449538","1396449597","1396449626","1396449506"],"photo_ids_order":["1396449506","1396449538","1396449565","1396449597","1396449626","1396449661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/adef6ea4c1f7f463c5f79d4f0b60d1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4047324316589546787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_51_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/27/f1521848c1de40c82eb4dd840239d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody9051946232523891153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_40_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/27/469b5aa57dcb7e43fc0d47fd4426fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody2577141970838693495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_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/27/c8a81a4a21f63cb87ae2300653d3b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody9050719889143910082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_44_3339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e508bf08452620c84d74773dcb81807.jpg","text":"TemporaryFile(/tmp/multipartBody3807191498993263483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_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/27/f6d6eb3d4db30d38be46ee8b2ac240ad.jpg","text":"TemporaryFile(/tmp/multipartBody6169773096661016059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272354873,"filename":"image_21112025_21_35_31_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449565","file1":"1396449538","file0":"1396449506","file4":"1396449626","file5":"1396449661","file3":"1396449597"},"map_files_photo_id_array":[{"photo_id":"1396449661","filename":"file5"},{"photo_id":"1396449565","filename":"file2"},{"photo_id":"1396449626","filename":"file4"},{"photo_id":"1396449538","filename":"file1"},{"photo_id":"1396449506","filename":"file0"},{"photo_id":"1396449597","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396449661":["hashtag1","hashtag2"]},{"1396449565":["hashtag1","hashtag2"]},{"1396449538":["hashtag1","hashtag2"]},{"1396449597":["hashtag1","hashtag2"]},{"1396449626":["hashtag1","hashtag2"]},{"1396449506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396449661, 1396449565, 1396449538, 1396449597, 1396449626, 1396449506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47190499305725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:39:03.016043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/36/image_27112025_16_37_05_9673.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_15_10639.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_25_9734.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_36_10829.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_45_8780.jpg', '/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_59_14905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/36/image_27112025_16_37_05_9673.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_15_10639.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_25_9734.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_36_10829.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_45_8780.jpg
/home/pi/Desktop/images/27112025/16/37/image_27112025_16_37_59_14905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396449880","1396449844","1396449975","1396449942","1396449909","1396449803"],"photo_ids_order":["1396449803","1396449844","1396449880","1396449909","1396449942","1396449975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff3328f17e77a0ba67c3d69c59fb4c08.jpg","text":"TemporaryFile(/tmp/multipartBody1507532617026869540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/94b315da4c53dc52e44a6c8372c1b06f.jpg","text":"TemporaryFile(/tmp/multipartBody4826092788627217550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e144cadbe941cb1853b8114b9dae5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4104258071573305175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_59_14905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2664ff0ad79b88ca2875f7cf3878b84e.jpg","text":"TemporaryFile(/tmp/multipartBody8323913667499679663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_45_8780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08d0d89af7401b43aa3d3f2a19426348.jpg","text":"TemporaryFile(/tmp/multipartBody2182003963606408275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_36_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cecfef13f1be91d258652b54c6c7bf31.jpg","text":"TemporaryFile(/tmp/multipartBody6162932681882866173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272404133,"filename":"image_27112025_16_37_05_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396449880","file1":"1396449844","file0":"1396449803","file4":"1396449942","file5":"1396449975","file3":"1396449909"},"map_files_photo_id_array":[{"photo_id":"1396449975","filename":"file5"},{"photo_id":"1396449880","filename":"file2"},{"photo_id":"1396449942","filename":"file4"},{"photo_id":"1396449844","filename":"file1"},{"photo_id":"1396449803","filename":"file0"},{"photo_id":"1396449909","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396449880":["hashtag1","hashtag2"]},{"1396449844":["hashtag1","hashtag2"]},{"1396449975":["hashtag1","hashtag2"]},{"1396449942":["hashtag1","hashtag2"]},{"1396449909":["hashtag1","hashtag2"]},{"1396449803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396449880, 1396449844, 1396449975, 1396449942, 1396449909, 1396449803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20963144302368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:40:02.564767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_14_14866.jpg', '/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_16_1791.jpg', '/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_25_8656.jpg', '/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_41_16677.jpg', '/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_45_3712.jpg', '/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_14_14866.jpg
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_16_1791.jpg
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_25_8656.jpg
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_41_16677.jpg
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_45_3712.jpg
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_38_55_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450145","1396450205","1396450195","1396450174","1396450203","1396450190"],"photo_ids_order":["1396450145","1396450174","1396450190","1396450195","1396450203","1396450205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6dab3c4058fb958a6a0b0f796350b67.jpg","text":"TemporaryFile(/tmp/multipartBody1203278032360688314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_14_14866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10ddb547742d6192237e4de9a15e4d74.jpg","text":"TemporaryFile(/tmp/multipartBody3928849482619813242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/019dedeb2cb1ca31a68edcb5f34b2c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4921612694717551325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_41_16677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8aed0e52ef1c0691da8425ef836fa580.jpg","text":"TemporaryFile(/tmp/multipartBody6094612266328810396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_16_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/90574c0745712f6c06259aee6386f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody1005576295106082317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_45_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/27/53e64063ab37e33a21506db10d50ede3.jpg","text":"TemporaryFile(/tmp/multipartBody4086466138946287157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272463511,"filename":"image_27112025_16_38_25_8656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450190","file1":"1396450174","file0":"1396450145","file4":"1396450203","file5":"1396450205","file3":"1396450195"},"map_files_photo_id_array":[{"photo_id":"1396450205","filename":"file5"},{"photo_id":"1396450190","filename":"file2"},{"photo_id":"1396450203","filename":"file4"},{"photo_id":"1396450174","filename":"file1"},{"photo_id":"1396450145","filename":"file0"},{"photo_id":"1396450195","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450145":["hashtag1","hashtag2"]},{"1396450205":["hashtag1","hashtag2"]},{"1396450195":["hashtag1","hashtag2"]},{"1396450174":["hashtag1","hashtag2"]},{"1396450203":["hashtag1","hashtag2"]},{"1396450190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450145, 1396450205, 1396450195, 1396450174, 1396450203, 1396450190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87771224975586 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-27 20:41:02.953886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/38/image_27112025_16_39_05_9843.jpg', '/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_13_10054.jpg', '/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_24_10671.jpg', '/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_34_9660.jpg', '/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_43_9621.jpg', '/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_54_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/38/image_27112025_16_39_05_9843.jpg
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_13_10054.jpg
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_24_10671.jpg
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_34_9660.jpg
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_43_9621.jpg
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_41_54_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450349","1396450243","1396450272","1396450221","1396450302","1396450376"],"photo_ids_order":["1396450221","1396450243","1396450272","1396450302","1396450349","1396450376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e0afa5ac838cd9ac8f1d5873a11c512.jpg","text":"TemporaryFile(/tmp/multipartBody402394576566348231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_41_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae8685139e08c501d98f1ac85c3d67bf.jpg","text":"TemporaryFile(/tmp/multipartBody7170897728214336387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_41_13_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28e89081b7554c2f759fa1d0b6375994.jpg","text":"TemporaryFile(/tmp/multipartBody1266595775821701744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_41_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e650bdb569671db7e90782b4b8d0741.jpg","text":"TemporaryFile(/tmp/multipartBody2445304006088524105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_39_05_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/27/7d41f7a6e545b7188fd17b1cb3d30a17.jpg","text":"TemporaryFile(/tmp/multipartBody1319269865794802658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_41_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c1f020e26e70c23e3d11282ec18c5a9.jpg","text":"TemporaryFile(/tmp/multipartBody3613956141642234081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272523902,"filename":"image_27112025_16_41_54_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450272","file1":"1396450243","file0":"1396450221","file4":"1396450349","file5":"1396450376","file3":"1396450302"},"map_files_photo_id_array":[{"photo_id":"1396450376","filename":"file5"},{"photo_id":"1396450272","filename":"file2"},{"photo_id":"1396450349","filename":"file4"},{"photo_id":"1396450243","filename":"file1"},{"photo_id":"1396450221","filename":"file0"},{"photo_id":"1396450302","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450349":["hashtag1","hashtag2"]},{"1396450243":["hashtag1","hashtag2"]},{"1396450272":["hashtag1","hashtag2"]},{"1396450221":["hashtag1","hashtag2"]},{"1396450302":["hashtag1","hashtag2"]},{"1396450376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450349, 1396450243, 1396450272, 1396450221, 1396450302, 1396450376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8424859046936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:42:03.020385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/41/image_27112025_16_42_04_9645.jpg', '/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_14_10633.jpg', '/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_24_9578.jpg', '/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_34_9728.jpg', '/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_44_10647.jpg', '/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_54_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/41/image_27112025_16_42_04_9645.jpg
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_14_10633.jpg
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_24_9578.jpg
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_34_9728.jpg
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_44_10647.jpg
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_42_54_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450577","1396450559","1396450585","1396450576","1396450572","1396450574"],"photo_ids_order":["1396450559","1396450572","1396450574","1396450576","1396450577","1396450585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c21a40e8088cbf942f84a0c7c27446bd.jpg","text":"TemporaryFile(/tmp/multipartBody2988502562511728804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/556ecaa370650c3b08e408c6802b1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4941023290413775056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8f120bd30de41305db5978116fab622b.jpg","text":"TemporaryFile(/tmp/multipartBody6049608724077478192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5211f641bb8bd19debebdb3358f688a.jpg","text":"TemporaryFile(/tmp/multipartBody8721929072957185160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d3b7e2fb28e2b76caa58e0c3665aee1.jpg","text":"TemporaryFile(/tmp/multipartBody1182313238699813656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6db0f377341eb56f90076f31c40fe5ac.jpg","text":"TemporaryFile(/tmp/multipartBody5340243826221305855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272584064,"filename":"image_27112025_16_42_24_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450574","file1":"1396450572","file0":"1396450559","file4":"1396450577","file5":"1396450585","file3":"1396450576"},"map_files_photo_id_array":[{"photo_id":"1396450585","filename":"file5"},{"photo_id":"1396450574","filename":"file2"},{"photo_id":"1396450577","filename":"file4"},{"photo_id":"1396450572","filename":"file1"},{"photo_id":"1396450559","filename":"file0"},{"photo_id":"1396450576","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450577":["hashtag1","hashtag2"]},{"1396450559":["hashtag1","hashtag2"]},{"1396450585":["hashtag1","hashtag2"]},{"1396450576":["hashtag1","hashtag2"]},{"1396450572":["hashtag1","hashtag2"]},{"1396450574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450577, 1396450559, 1396450585, 1396450576, 1396450572, 1396450574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.160516023635864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:43:02.375930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/42/image_27112025_16_43_04_9784.jpg', '/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_13_9738.jpg', '/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_24_10537.jpg', '/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_34_9731.jpg', '/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_44_10685.jpg', '/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_54_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/42/image_27112025_16_43_04_9784.jpg
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_13_9738.jpg
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_24_10537.jpg
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_34_9731.jpg
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_44_10685.jpg
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_43_54_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450774","1396450723","1396450711","1396450797","1396450749","1396450790"],"photo_ids_order":["1396450711","1396450723","1396450749","1396450774","1396450790","1396450797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9831ac509b2fb941922978b07f09e8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8741408041348702500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0c6bb2eb1d038a1e528b9b5d666b453.jpg","text":"TemporaryFile(/tmp/multipartBody9016989342690657586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_13_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d83624a82508109e116fef3e2798f635.jpg","text":"TemporaryFile(/tmp/multipartBody2001228830717740792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8fae3089a0c9156d7ec44d0be519526.jpg","text":"TemporaryFile(/tmp/multipartBody4093685923182274621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01ad23f48e283f82519e72da47d9bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody5754298589236832196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_24_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30441984f4c398d216b618cbdb1c2f6c.jpg","text":"TemporaryFile(/tmp/multipartBody6399513881392883398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272643549,"filename":"image_27112025_16_43_44_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450749","file1":"1396450723","file0":"1396450711","file4":"1396450790","file5":"1396450797","file3":"1396450774"},"map_files_photo_id_array":[{"photo_id":"1396450797","filename":"file5"},{"photo_id":"1396450749","filename":"file2"},{"photo_id":"1396450790","filename":"file4"},{"photo_id":"1396450723","filename":"file1"},{"photo_id":"1396450711","filename":"file0"},{"photo_id":"1396450774","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450774":["hashtag1","hashtag2"]},{"1396450723":["hashtag1","hashtag2"]},{"1396450711":["hashtag1","hashtag2"]},{"1396450797":["hashtag1","hashtag2"]},{"1396450749":["hashtag1","hashtag2"]},{"1396450790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450774, 1396450723, 1396450711, 1396450797, 1396450749, 1396450790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71347117424011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:44:02.761832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/43/image_27112025_16_44_03_9540.jpg', '/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_14_10569.jpg', '/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_24_9670.jpg', '/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_33_9723.jpg', '/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_44_10561.jpg', '/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/43/image_27112025_16_44_03_9540.jpg
/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_14_10569.jpg
/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_24_9670.jpg
/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_33_9723.jpg
/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_44_10561.jpg
/home/pi/Desktop/images/27112025/16/44/image_27112025_16_44_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450817","1396450825","1396450822","1396450819","1396450810","1396450821"],"photo_ids_order":["1396450810","1396450817","1396450819","1396450821","1396450822","1396450825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32cd5b117220bb863c7eb460b7c9546f.jpg","text":"TemporaryFile(/tmp/multipartBody3293001112796023206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_14_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/691e8ba78566310fedae09f8e356b0e6.jpg","text":"TemporaryFile(/tmp/multipartBody9142003982850075596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/024198b9243e2e29b9313de3110d7f42.jpg","text":"TemporaryFile(/tmp/multipartBody8599200247335605769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_44_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/86dc7785652b58233adfe3bac1e8b6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2236933513406272476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/17ddc2585a0790c70d7b3ae7a771bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody1211444091595676895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_03_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de57544442405d9002bdc3b220568a63.jpg","text":"TemporaryFile(/tmp/multipartBody7264068246129792479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272703876,"filename":"image_27112025_16_44_33_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450819","file1":"1396450817","file0":"1396450810","file4":"1396450822","file5":"1396450825","file3":"1396450821"},"map_files_photo_id_array":[{"photo_id":"1396450825","filename":"file5"},{"photo_id":"1396450819","filename":"file2"},{"photo_id":"1396450822","filename":"file4"},{"photo_id":"1396450817","filename":"file1"},{"photo_id":"1396450810","filename":"file0"},{"photo_id":"1396450821","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450817":["hashtag1","hashtag2"]},{"1396450825":["hashtag1","hashtag2"]},{"1396450822":["hashtag1","hashtag2"]},{"1396450819":["hashtag1","hashtag2"]},{"1396450810":["hashtag1","hashtag2"]},{"1396450821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450817, 1396450825, 1396450822, 1396450819, 1396450810, 1396450821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8832643032074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:45:02.973230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_14_10053.jpg', '/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_24_10702.jpg', '/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_34_9642.jpg', '/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_44_9612.jpg', '/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_54_10643.jpg', '/home/pi/Desktop/images/27112025/16/45/image_27112025_16_46_04_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_14_10053.jpg
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_24_10702.jpg
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_34_9642.jpg
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_44_9612.jpg
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_45_54_10643.jpg
/home/pi/Desktop/images/27112025/16/45/image_27112025_16_46_04_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450867","1396450840","1396450828","1396450863","1396450865","1396450859"],"photo_ids_order":["1396450828","1396450840","1396450859","1396450863","1396450865","1396450867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/521bafc5b7b355ca64237e92b568ff2e.jpg","text":"TemporaryFile(/tmp/multipartBody8468177935340810048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_46_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6ed6ec5b03ecb330db5f0b5ee2cb11b.jpg","text":"TemporaryFile(/tmp/multipartBody5367131927537506575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_45_24_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/27/f677b0627f9f4523663c17830b4a05c8.jpg","text":"TemporaryFile(/tmp/multipartBody7164076591636039397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_45_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4674913dfcd5945a32a9f224c475f64e.jpg","text":"TemporaryFile(/tmp/multipartBody6089998480764318247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_45_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e87ba71f0c790ed54af812088c273b39.jpg","text":"TemporaryFile(/tmp/multipartBody5644692168132741091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_45_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/35a83c3d6e7aabd2e796dcdc1e9c31c0.jpg","text":"TemporaryFile(/tmp/multipartBody6487056331515731200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272764039,"filename":"image_27112025_16_45_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450859","file1":"1396450840","file0":"1396450828","file4":"1396450865","file5":"1396450867","file3":"1396450863"},"map_files_photo_id_array":[{"photo_id":"1396450867","filename":"file5"},{"photo_id":"1396450859","filename":"file2"},{"photo_id":"1396450865","filename":"file4"},{"photo_id":"1396450840","filename":"file1"},{"photo_id":"1396450828","filename":"file0"},{"photo_id":"1396450863","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450867":["hashtag1","hashtag2"]},{"1396450840":["hashtag1","hashtag2"]},{"1396450828":["hashtag1","hashtag2"]},{"1396450863":["hashtag1","hashtag2"]},{"1396450865":["hashtag1","hashtag2"]},{"1396450859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450867, 1396450840, 1396450828, 1396450863, 1396450865, 1396450859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.536303758621216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:46:03.067690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_15_10590.jpg', '/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_24_9619.jpg', '/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_34_9584.jpg', '/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_45_10747.jpg', '/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_54_9871.jpg', '/home/pi/Desktop/images/27112025/16/46/image_27112025_16_47_04_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_15_10590.jpg
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_24_9619.jpg
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_34_9584.jpg
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_45_10747.jpg
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_46_54_9871.jpg
/home/pi/Desktop/images/27112025/16/46/image_27112025_16_47_04_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450874","1396450879","1396450870","1396450872","1396450881","1396450877"],"photo_ids_order":["1396450870","1396450872","1396450874","1396450877","1396450879","1396450881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d767cefbd4b7228d514d31729e48fad2.jpg","text":"TemporaryFile(/tmp/multipartBody6479445041016450289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_46_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f1947b2658bca70f8b7ef1d44e740d9.jpg","text":"TemporaryFile(/tmp/multipartBody7771719332565295819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_46_54_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44b757e9d309c56f77462fb9af90280e.jpg","text":"TemporaryFile(/tmp/multipartBody2992485182107982511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_46_15_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bbd8f0eff03dd83eefded1113862e537.jpg","text":"TemporaryFile(/tmp/multipartBody5111261526673543754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_46_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5129e8d18a0eee2b70ffb96d676625eb.jpg","text":"TemporaryFile(/tmp/multipartBody6004955139956621316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_47_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80599dae2b98577ce1d76ae354af43ce.jpg","text":"TemporaryFile(/tmp/multipartBody2808072665834373411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272824085,"filename":"image_27112025_16_46_45_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450874","file1":"1396450872","file0":"1396450870","file4":"1396450879","file5":"1396450881","file3":"1396450877"},"map_files_photo_id_array":[{"photo_id":"1396450881","filename":"file5"},{"photo_id":"1396450874","filename":"file2"},{"photo_id":"1396450879","filename":"file4"},{"photo_id":"1396450872","filename":"file1"},{"photo_id":"1396450870","filename":"file0"},{"photo_id":"1396450877","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450874":["hashtag1","hashtag2"]},{"1396450879":["hashtag1","hashtag2"]},{"1396450870":["hashtag1","hashtag2"]},{"1396450872":["hashtag1","hashtag2"]},{"1396450881":["hashtag1","hashtag2"]},{"1396450877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450874, 1396450879, 1396450870, 1396450872, 1396450881, 1396450877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74452757835388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:47:02.602241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_14_9787.jpg', '/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_25_10608.jpg', '/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_34_9759.jpg', '/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_44_9537.jpg', '/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_55_10594.jpg', '/home/pi/Desktop/images/27112025/16/47/image_27112025_16_48_04_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_14_9787.jpg
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_25_10608.jpg
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_34_9759.jpg
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_44_9537.jpg
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_47_55_10594.jpg
/home/pi/Desktop/images/27112025/16/47/image_27112025_16_48_04_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450910","1396450900","1396450896","1396450917","1396450920","1396450898"],"photo_ids_order":["1396450896","1396450898","1396450900","1396450910","1396450917","1396450920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce37171a7aaf99341fedff976fff386b.jpg","text":"TemporaryFile(/tmp/multipartBody6650120418744001363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_47_44_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a63acb224b7fd271e77d79b926aff4b1.jpg","text":"TemporaryFile(/tmp/multipartBody910949339703176346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_47_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71b1f62d6b6747336104601769c91ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3071298772855276910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_47_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f3f5e86334aa550e6d749ccd0504e919.jpg","text":"TemporaryFile(/tmp/multipartBody3428133400456418618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_47_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fefbf9f89b4258eb6dfc35249827385.jpg","text":"TemporaryFile(/tmp/multipartBody6290172638108807071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_48_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09ee7685f9681b0ba88421108da9f599.jpg","text":"TemporaryFile(/tmp/multipartBody6384969564680255061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272883695,"filename":"image_27112025_16_47_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450900","file1":"1396450898","file0":"1396450896","file4":"1396450917","file5":"1396450920","file3":"1396450910"},"map_files_photo_id_array":[{"photo_id":"1396450920","filename":"file5"},{"photo_id":"1396450900","filename":"file2"},{"photo_id":"1396450917","filename":"file4"},{"photo_id":"1396450898","filename":"file1"},{"photo_id":"1396450896","filename":"file0"},{"photo_id":"1396450910","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450910":["hashtag1","hashtag2"]},{"1396450900":["hashtag1","hashtag2"]},{"1396450896":["hashtag1","hashtag2"]},{"1396450917":["hashtag1","hashtag2"]},{"1396450920":["hashtag1","hashtag2"]},{"1396450898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450910, 1396450900, 1396450896, 1396450917, 1396450920, 1396450898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.727001667022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 20:47:41.895535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_35_2818.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_44_2572.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_46_2911.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_50_3646.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_53_2727.jpg', '/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_55_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_35_2818.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_44_2572.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_46_2911.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_50_3646.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_53_2727.jpg
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_55_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450931","1396450928","1396450922","1396450925","1396450924","1396450926"],"photo_ids_order":["1396450922","1396450924","1396450925","1396450926","1396450928","1396450931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10cdc2354380cf4868855fad0ad43b23.jpg","text":"TemporaryFile(/tmp/multipartBody586766615344724984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_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/27/d7557dff122232992e52c9c20bd055b8.jpg","text":"TemporaryFile(/tmp/multipartBody266761702248576166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_53_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/27/e15be5136e7f04ed45e39886ba0dc1da.jpg","text":"TemporaryFile(/tmp/multipartBody2696504337121197325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_35_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/27/6457d8568b1f9a87b5c6a60e9b9a2db3.jpg","text":"TemporaryFile(/tmp/multipartBody9085983536062401620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_46_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/27/e4abbad5e4394f05491a634347b7f333.jpg","text":"TemporaryFile(/tmp/multipartBody2194807032909386124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_44_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/27/dd08b5fa968a869be5baef0b7bd2e06a.jpg","text":"TemporaryFile(/tmp/multipartBody6782310643400798804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272923773,"filename":"image_31102025_03_26_50_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450925","file1":"1396450924","file0":"1396450922","file4":"1396450928","file5":"1396450931","file3":"1396450926"},"map_files_photo_id_array":[{"photo_id":"1396450931","filename":"file5"},{"photo_id":"1396450925","filename":"file2"},{"photo_id":"1396450928","filename":"file4"},{"photo_id":"1396450924","filename":"file1"},{"photo_id":"1396450922","filename":"file0"},{"photo_id":"1396450926","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396450931":["hashtag1","hashtag2"]},{"1396450928":["hashtag1","hashtag2"]},{"1396450922":["hashtag1","hashtag2"]},{"1396450925":["hashtag1","hashtag2"]},{"1396450924":["hashtag1","hashtag2"]},{"1396450926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396450931, 1396450928, 1396450922, 1396450925, 1396450924, 1396450926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07068872451782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:48:32.087967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_54_2895.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_55_1506.jpg', '/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_58_2797.jpg', '/home/pi/Desktop/images/21112025/21/36/image_21112025_21_36_12_14057.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_07_3010.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_10_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_54_2895.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_55_1506.jpg
/home/pi/Desktop/images/21112025/21/35/image_21112025_21_35_58_2797.jpg
/home/pi/Desktop/images/21112025/21/36/image_21112025_21_36_12_14057.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_07_3010.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_10_3023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450943","1396450937","1396450939","1396450936","1396450947","1396450944"],"photo_ids_order":["1396450936","1396450937","1396450939","1396450943","1396450944","1396450947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abebe9cda2c5669003a4d9ab8d2307ad.jpg","text":"TemporaryFile(/tmp/multipartBody242640551769740214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_36_12_14057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6eada2eb0c7da22d2861fc911daa0be.jpg","text":"TemporaryFile(/tmp/multipartBody6206596932014760599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_35_55_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/27/ef3fcce3f784055e32cf121c6a4e2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2055331132645918930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_35_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/27/86b5fe42364d69ee07eaa26e097cc8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5303374180654188624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_35_54_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/27/7c7591361a704b968c23df4ca064d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody7385853870562016381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_37_10_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/27/9d5bdf92c531fee2c96215f98b8a3f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7472798374897744250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764272974181,"filename":"image_21112025_21_37_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450939","file1":"1396450937","file0":"1396450936","file4":"1396450944","file5":"1396450947","file3":"1396450943"},"map_files_photo_id_array":[{"photo_id":"1396450947","filename":"file5"},{"photo_id":"1396450939","filename":"file2"},{"photo_id":"1396450944","filename":"file4"},{"photo_id":"1396450937","filename":"file1"},{"photo_id":"1396450936","filename":"file0"},{"photo_id":"1396450943","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396450943":["hashtag1","hashtag2"]},{"1396450937":["hashtag1","hashtag2"]},{"1396450939":["hashtag1","hashtag2"]},{"1396450936":["hashtag1","hashtag2"]},{"1396450947":["hashtag1","hashtag2"]},{"1396450944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396450943, 1396450937, 1396450939, 1396450936, 1396450947, 1396450944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8289840221405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 20:49:22.250154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_14_9711.jpg', '/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_24_9684.jpg', '/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_34_10696.jpg', '/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_44_9759.jpg', '/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_54_9727.jpg', '/home/pi/Desktop/images/27112025/16/48/image_27112025_16_49_04_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_14_9711.jpg
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_24_9684.jpg
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_34_10696.jpg
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_44_9759.jpg
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_48_54_9727.jpg
/home/pi/Desktop/images/27112025/16/48/image_27112025_16_49_04_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396450967","1396450961","1396450963","1396450974","1396450962","1396450956"],"photo_ids_order":["1396450956","1396450961","1396450962","1396450963","1396450967","1396450974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66d0599580761617fbf7b2cac92042cf.jpg","text":"TemporaryFile(/tmp/multipartBody1043354118446962594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_48_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c95aee1255843467202c8aa69655e0fa.jpg","text":"TemporaryFile(/tmp/multipartBody8926739756145853034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_48_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7395aa2471c4db784b7583164499c63.jpg","text":"TemporaryFile(/tmp/multipartBody2006431767450611272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_48_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e6279a94b00c490eb5eaf276728b269.jpg","text":"TemporaryFile(/tmp/multipartBody8866434863006560341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_49_04_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5bfad43276c04c188cc8712d3d09e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8491998778486900185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_48_34_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57033eb0cb1e035b8825c4af0b402c68.jpg","text":"TemporaryFile(/tmp/multipartBody5336170551889838810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273023109,"filename":"image_27112025_16_48_14_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396450962","file1":"1396450961","file0":"1396450956","file4":"1396450967","file5":"1396450974","file3":"1396450963"},"map_files_photo_id_array":[{"photo_id":"1396450974","filename":"file5"},{"photo_id":"1396450962","filename":"file2"},{"photo_id":"1396450967","filename":"file4"},{"photo_id":"1396450961","filename":"file1"},{"photo_id":"1396450956","filename":"file0"},{"photo_id":"1396450963","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396450967":["hashtag1","hashtag2"]},{"1396450961":["hashtag1","hashtag2"]},{"1396450963":["hashtag1","hashtag2"]},{"1396450974":["hashtag1","hashtag2"]},{"1396450962":["hashtag1","hashtag2"]},{"1396450956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396450967, 1396450961, 1396450963, 1396450974, 1396450962, 1396450956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32653498649597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:50:02.988151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_14_9640.jpg', '/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_34_10666.jpg', '/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_54_9561.jpg', '/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_13_10036.jpg', '/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_24_10690.jpg', '/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_34_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_14_9640.jpg
/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_34_10666.jpg
/home/pi/Desktop/images/27112025/16/49/image_27112025_16_49_54_9561.jpg
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_13_10036.jpg
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_24_10690.jpg
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_34_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451108","1396451056","1396451082","1396451163","1396451133","1396451028"],"photo_ids_order":["1396451028","1396451056","1396451082","1396451108","1396451133","1396451163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/991a173263dfd8fc156fe7b5132f2b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1365753267078125520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_51_13_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/531bf5dbdf99e6e929c1cc38b461f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody5454497222478417931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_49_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78015f22b8e8fbe4dd83a439d89c9c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1668859232199027914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_49_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c3271cd4aa8217a130a2229acdeec4f.jpg","text":"TemporaryFile(/tmp/multipartBody7122546214945347057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_51_34_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d463f308279410b7458312051a9210c.jpg","text":"TemporaryFile(/tmp/multipartBody395393152974712467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_51_24_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72f895d29c1182bad4e6eaeca0c7bce6.jpg","text":"TemporaryFile(/tmp/multipartBody3298404444087942309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273063931,"filename":"image_27112025_16_49_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451082","file1":"1396451056","file0":"1396451028","file4":"1396451133","file5":"1396451163","file3":"1396451108"},"map_files_photo_id_array":[{"photo_id":"1396451163","filename":"file5"},{"photo_id":"1396451082","filename":"file2"},{"photo_id":"1396451133","filename":"file4"},{"photo_id":"1396451056","filename":"file1"},{"photo_id":"1396451028","filename":"file0"},{"photo_id":"1396451108","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451108":["hashtag1","hashtag2"]},{"1396451056":["hashtag1","hashtag2"]},{"1396451082":["hashtag1","hashtag2"]},{"1396451163":["hashtag1","hashtag2"]},{"1396451133":["hashtag1","hashtag2"]},{"1396451028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451108, 1396451056, 1396451082, 1396451163, 1396451133, 1396451028)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.85708165168762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:51:03.235047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_44_9542.jpg', '/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_54_10708.jpg', '/home/pi/Desktop/images/27112025/16/51/image_27112025_16_52_04_9820.jpg', '/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_34_10540.jpg', '/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_44_9597.jpg', '/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_54_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_44_9542.jpg
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_51_54_10708.jpg
/home/pi/Desktop/images/27112025/16/51/image_27112025_16_52_04_9820.jpg
/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_34_10540.jpg
/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_44_9597.jpg
/home/pi/Desktop/images/27112025/16/52/image_27112025_16_52_54_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451347","1396451277","1396451349","1396451340","1396451313","1396451285"],"photo_ids_order":["1396451277","1396451285","1396451313","1396451340","1396451347","1396451349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9886df4e7122d3fd67662a2a1e655476.jpg","text":"TemporaryFile(/tmp/multipartBody7397018117978808971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_52_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e53643f2934781f244ce5e6ed0c7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7417524653292455680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_51_44_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62e7d4cb7a985a238660104b3ba8aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody7809450504962912953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_52_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e1cdf87085324ca95bf00aab4c5bfbb.jpg","text":"TemporaryFile(/tmp/multipartBody6307953746491134726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_52_34_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/384f0d2d7bc9d19ef74dbbcc2f5f5276.jpg","text":"TemporaryFile(/tmp/multipartBody7938099654294325116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_52_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40e02e45c59c3e09b1058ccda3e2cc11.jpg","text":"TemporaryFile(/tmp/multipartBody1241997790775511718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273124330,"filename":"image_27112025_16_51_54_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451313","file1":"1396451285","file0":"1396451277","file4":"1396451347","file5":"1396451349","file3":"1396451340"},"map_files_photo_id_array":[{"photo_id":"1396451349","filename":"file5"},{"photo_id":"1396451313","filename":"file2"},{"photo_id":"1396451347","filename":"file4"},{"photo_id":"1396451285","filename":"file1"},{"photo_id":"1396451277","filename":"file0"},{"photo_id":"1396451340","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451347":["hashtag1","hashtag2"]},{"1396451277":["hashtag1","hashtag2"]},{"1396451349":["hashtag1","hashtag2"]},{"1396451340":["hashtag1","hashtag2"]},{"1396451313":["hashtag1","hashtag2"]},{"1396451285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451347, 1396451277, 1396451349, 1396451340, 1396451313, 1396451285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.791147232055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:52:03.330846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_14_9625.jpg', '/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_24_9694.jpg', '/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_34_10624.jpg', '/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_44_9624.jpg', '/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_53_9672.jpg', '/home/pi/Desktop/images/27112025/16/53/image_27112025_16_54_04_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_14_9625.jpg
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_24_9694.jpg
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_34_10624.jpg
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_44_9624.jpg
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_53_53_9672.jpg
/home/pi/Desktop/images/27112025/16/53/image_27112025_16_54_04_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451482","1396451533","1396451455","1396451511","1396451520","1396451495"],"photo_ids_order":["1396451455","1396451482","1396451495","1396451511","1396451520","1396451533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/125627eea295e61cd8b6852af81713e3.jpg","text":"TemporaryFile(/tmp/multipartBody8269743095940296935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_53_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c99b7739723ae6038d3c35c4478f6692.jpg","text":"TemporaryFile(/tmp/multipartBody1867666969777713297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_54_04_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57d46f79a9a552b6a0af16fed4e7a456.jpg","text":"TemporaryFile(/tmp/multipartBody6761037249017434885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_53_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec60ba5f885ee50cebbcccae10089cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7683279942351837849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_53_44_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/27/3e6c9feefe9630e8f80bda9770711533.jpg","text":"TemporaryFile(/tmp/multipartBody1778925725350074695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_53_53_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3cfa5a0d0a078f23a3ae18ef1b01896.jpg","text":"TemporaryFile(/tmp/multipartBody5343722667529422989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273184302,"filename":"image_27112025_16_53_34_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451495","file1":"1396451482","file0":"1396451455","file4":"1396451520","file5":"1396451533","file3":"1396451511"},"map_files_photo_id_array":[{"photo_id":"1396451533","filename":"file5"},{"photo_id":"1396451495","filename":"file2"},{"photo_id":"1396451520","filename":"file4"},{"photo_id":"1396451482","filename":"file1"},{"photo_id":"1396451455","filename":"file0"},{"photo_id":"1396451511","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451482":["hashtag1","hashtag2"]},{"1396451533":["hashtag1","hashtag2"]},{"1396451455":["hashtag1","hashtag2"]},{"1396451511":["hashtag1","hashtag2"]},{"1396451520":["hashtag1","hashtag2"]},{"1396451495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451482, 1396451533, 1396451455, 1396451511, 1396451520, 1396451495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.688363790512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 20:52:42.777294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_59_3716.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_02_2762.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_05_2667.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_08_3737.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_14_2775.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_17_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/26/image_31102025_03_26_59_3716.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_02_2762.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_05_2667.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_08_3737.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_14_2775.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_17_2813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451578","1396451587","1396451566","1396451577","1396451582","1396451576"],"photo_ids_order":["1396451566","1396451576","1396451577","1396451578","1396451582","1396451587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ae8920b08220a9d951cabf65ca6f054.jpg","text":"TemporaryFile(/tmp/multipartBody3453223903133986194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_27_08_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/27/95648714a10aef7c69c61a1905a48367.jpg","text":"TemporaryFile(/tmp/multipartBody8694502906336601838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_27_17_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/27/d217e8f880c2a6901eb33c09da3bda5c.jpg","text":"TemporaryFile(/tmp/multipartBody8422680869548553015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_26_59_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/27/60b85468c4e69ec09642abf2ba0922f4.jpg","text":"TemporaryFile(/tmp/multipartBody6934799495511765395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_27_05_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/27/01383deef7bd70d75040af3599c5ce52.jpg","text":"TemporaryFile(/tmp/multipartBody3555582470166611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_27_14_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/27/c20129ea5d38928cb4004f715245af09.jpg","text":"TemporaryFile(/tmp/multipartBody7537624696259988222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273224580,"filename":"image_31102025_03_27_02_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451577","file1":"1396451576","file0":"1396451566","file4":"1396451582","file5":"1396451587","file3":"1396451578"},"map_files_photo_id_array":[{"photo_id":"1396451587","filename":"file5"},{"photo_id":"1396451577","filename":"file2"},{"photo_id":"1396451582","filename":"file4"},{"photo_id":"1396451576","filename":"file1"},{"photo_id":"1396451566","filename":"file0"},{"photo_id":"1396451578","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396451578":["hashtag1","hashtag2"]},{"1396451587":["hashtag1","hashtag2"]},{"1396451566":["hashtag1","hashtag2"]},{"1396451577":["hashtag1","hashtag2"]},{"1396451582":["hashtag1","hashtag2"]},{"1396451576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396451578, 1396451587, 1396451566, 1396451577, 1396451582, 1396451576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29954552650452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:53:31.926708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_13_3563.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_16_2685.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_19_2774.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_23_4533.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_25_1717.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_28_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_13_3563.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_16_2685.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_19_2774.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_23_4533.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_25_1717.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_28_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451593","1396451596","1396451599","1396451598","1396451591","1396451600"],"photo_ids_order":["1396451591","1396451593","1396451596","1396451598","1396451599","1396451600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/863f128ed110efc0f6e3f9925f6ce381.jpg","text":"TemporaryFile(/tmp/multipartBody8471653763054994342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_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/27/7895a7b6cffa6dab9de7030ba7f7574b.jpg","text":"TemporaryFile(/tmp/multipartBody5425331400220144702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_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/27/f89d2406241217024aef0a5ff591dec8.jpg","text":"TemporaryFile(/tmp/multipartBody5520691392170064960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_25_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/27/f97fd94ff3163694776ae9ddc61409f7.jpg","text":"TemporaryFile(/tmp/multipartBody695821014481171900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_23_4533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0cc47ccf8b1155d68a0264ad0acef99.jpg","text":"TemporaryFile(/tmp/multipartBody4999018839029580380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_13_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/27/5935f703a700f1a88211ceeedfd24563.jpg","text":"TemporaryFile(/tmp/multipartBody1592282784717669790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273274024,"filename":"image_21112025_21_37_28_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451596","file1":"1396451593","file0":"1396451591","file4":"1396451599","file5":"1396451600","file3":"1396451598"},"map_files_photo_id_array":[{"photo_id":"1396451600","filename":"file5"},{"photo_id":"1396451596","filename":"file2"},{"photo_id":"1396451599","filename":"file4"},{"photo_id":"1396451593","filename":"file1"},{"photo_id":"1396451591","filename":"file0"},{"photo_id":"1396451598","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396451593":["hashtag1","hashtag2"]},{"1396451596":["hashtag1","hashtag2"]},{"1396451599":["hashtag1","hashtag2"]},{"1396451598":["hashtag1","hashtag2"]},{"1396451591":["hashtag1","hashtag2"]},{"1396451600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396451593, 1396451596, 1396451599, 1396451598, 1396451591, 1396451600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.220383405685425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 20:54:22.237020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_14_9619.jpg', '/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_23_9558.jpg', '/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_34_10843.jpg', '/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_53_9649.jpg', '/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_14_10037.jpg', '/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_25_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_14_9619.jpg
/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_23_9558.jpg
/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_34_10843.jpg
/home/pi/Desktop/images/27112025/16/54/image_27112025_16_54_53_9649.jpg
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_14_10037.jpg
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_25_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451618","1396451626","1396451629","1396451614","1396451623","1396451621"],"photo_ids_order":["1396451614","1396451618","1396451621","1396451623","1396451626","1396451629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7a41e5cc3ec3b40e75c59a2a8627f95.jpg","text":"TemporaryFile(/tmp/multipartBody3474688732479280586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_54_23_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13d95cec3cad29a706f6f966189399c2.jpg","text":"TemporaryFile(/tmp/multipartBody8873525278439668949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_56_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2d890a910a98bbee6c9898a79aa2662.jpg","text":"TemporaryFile(/tmp/multipartBody9017790088976804143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_56_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e047f67172dfb94f2b76282ae85423a.jpg","text":"TemporaryFile(/tmp/multipartBody7803270232704557531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_54_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3760726235057dee8d96396f03c76f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2948247981150625526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_54_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a9dbb230b90ae402f77217d55c59988.jpg","text":"TemporaryFile(/tmp/multipartBody4780283672978583356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273323256,"filename":"image_27112025_16_54_34_10843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451621","file1":"1396451618","file0":"1396451614","file4":"1396451626","file5":"1396451629","file3":"1396451623"},"map_files_photo_id_array":[{"photo_id":"1396451629","filename":"file5"},{"photo_id":"1396451621","filename":"file2"},{"photo_id":"1396451626","filename":"file4"},{"photo_id":"1396451618","filename":"file1"},{"photo_id":"1396451614","filename":"file0"},{"photo_id":"1396451623","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451618":["hashtag1","hashtag2"]},{"1396451626":["hashtag1","hashtag2"]},{"1396451629":["hashtag1","hashtag2"]},{"1396451614":["hashtag1","hashtag2"]},{"1396451623":["hashtag1","hashtag2"]},{"1396451621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451618, 1396451626, 1396451629, 1396451614, 1396451623, 1396451621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48499035835266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 20:55:12.225144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_32_3605.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_34_2620.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_37_2741.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_41_3677.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_43_2718.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_46_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_32_3605.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_34_2620.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_37_2741.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_41_3677.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_43_2718.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_46_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451749","1396451821","1396451812","1396451780","1396451663","1396451714"],"photo_ids_order":["1396451663","1396451714","1396451749","1396451780","1396451812","1396451821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/222f57669c00448ed865f35166ec3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7333900529656744458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_37_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/27/a71facdb343e1183dd8d7612894b71d3.jpg","text":"TemporaryFile(/tmp/multipartBody1018269560298746112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_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/27/923d8d867bc6a4e6d6c09dace3e7b509.jpg","text":"TemporaryFile(/tmp/multipartBody3516814809158143125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_43_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/27/e57c129413d8da6cfa7c02fcba6965e1.jpg","text":"TemporaryFile(/tmp/multipartBody5349427749476328111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_41_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/27/71467f1f651c14fe4577d049c93fdb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6730694121914798276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_32_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/27/731eeb4f4b12e36d670f97c155c453bf.jpg","text":"TemporaryFile(/tmp/multipartBody900712939772348849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273379043,"filename":"image_21112025_21_37_34_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451749","file1":"1396451714","file0":"1396451663","file4":"1396451812","file5":"1396451821","file3":"1396451780"},"map_files_photo_id_array":[{"photo_id":"1396451821","filename":"file5"},{"photo_id":"1396451749","filename":"file2"},{"photo_id":"1396451812","filename":"file4"},{"photo_id":"1396451714","filename":"file1"},{"photo_id":"1396451663","filename":"file0"},{"photo_id":"1396451780","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396451749":["hashtag1","hashtag2"]},{"1396451821":["hashtag1","hashtag2"]},{"1396451812":["hashtag1","hashtag2"]},{"1396451780":["hashtag1","hashtag2"]},{"1396451663":["hashtag1","hashtag2"]},{"1396451714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396451749, 1396451821, 1396451812, 1396451780, 1396451663, 1396451714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.553173780441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:56:02.877456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_34_9604.jpg', '/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_44_9918.jpg', '/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_55_10753.jpg', '/home/pi/Desktop/images/27112025/16/56/image_27112025_16_57_05_9847.jpg', '/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_15_9669.jpg', '/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_24_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_34_9604.jpg
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_44_9918.jpg
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_56_55_10753.jpg
/home/pi/Desktop/images/27112025/16/56/image_27112025_16_57_05_9847.jpg
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_15_9669.jpg
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_24_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451903","1396451926","1396451928","1396451936","1396451930","1396451927"],"photo_ids_order":["1396451903","1396451926","1396451927","1396451928","1396451930","1396451936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3845b5373ad9de6d6cf1b7fe5e21967.jpg","text":"TemporaryFile(/tmp/multipartBody2107462959036830913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_56_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb44659600438a564b0684b7467a7bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4403623629656720164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_56_44_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/27/9d49463f1b6d111df9b28d07b5c06d43.jpg","text":"TemporaryFile(/tmp/multipartBody1182275891101853495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_57_05_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/677a49b9251e73982309cbb5d4de042d.jpg","text":"TemporaryFile(/tmp/multipartBody6003206227724213473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_57_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05b82b28e81f1215a92ac174b05e2c64.jpg","text":"TemporaryFile(/tmp/multipartBody8453918534121476974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_57_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ac5e4c6640e79eaa1a6e8c4b2f8ac3b.jpg","text":"TemporaryFile(/tmp/multipartBody581615868707422645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273423832,"filename":"image_27112025_16_56_55_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451927","file1":"1396451926","file0":"1396451903","file4":"1396451930","file5":"1396451936","file3":"1396451928"},"map_files_photo_id_array":[{"photo_id":"1396451936","filename":"file5"},{"photo_id":"1396451927","filename":"file2"},{"photo_id":"1396451930","filename":"file4"},{"photo_id":"1396451926","filename":"file1"},{"photo_id":"1396451903","filename":"file0"},{"photo_id":"1396451928","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451903":["hashtag1","hashtag2"]},{"1396451926":["hashtag1","hashtag2"]},{"1396451928":["hashtag1","hashtag2"]},{"1396451936":["hashtag1","hashtag2"]},{"1396451930":["hashtag1","hashtag2"]},{"1396451927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451903, 1396451926, 1396451928, 1396451936, 1396451930, 1396451927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56221151351929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:57:03.185237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_35_10781.jpg', '/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_45_9557.jpg', '/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_54_9582.jpg', '/home/pi/Desktop/images/27112025/16/57/image_27112025_16_58_05_10660.jpg', '/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_14_9528.jpg', '/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_25_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_35_10781.jpg
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_45_9557.jpg
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_57_54_9582.jpg
/home/pi/Desktop/images/27112025/16/57/image_27112025_16_58_05_10660.jpg
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_14_9528.jpg
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_25_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451971","1396451965","1396451967","1396451969","1396451963","1396451966"],"photo_ids_order":["1396451963","1396451965","1396451966","1396451967","1396451969","1396451971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/adba7d949d1ea14ae61a789354aec3a3.jpg","text":"TemporaryFile(/tmp/multipartBody2164330366513921895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_58_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3dda0cc0fc3ea83f3ee7f2a673fceb3c.jpg","text":"TemporaryFile(/tmp/multipartBody416856242484495513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_57_45_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c2feffb65f129097c6aa401273c35ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2626899389004605302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_58_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b9350de12e3e45717efb199a8025a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4825632020960111218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_58_14_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d9175caed9236866cfe37dadaf3a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6023913204322989769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_57_35_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6224054e88aec341652ded0b494173f7.jpg","text":"TemporaryFile(/tmp/multipartBody2172630535618694125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273484255,"filename":"image_27112025_16_57_54_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396451966","file1":"1396451965","file0":"1396451963","file4":"1396451969","file5":"1396451971","file3":"1396451967"},"map_files_photo_id_array":[{"photo_id":"1396451971","filename":"file5"},{"photo_id":"1396451966","filename":"file2"},{"photo_id":"1396451969","filename":"file4"},{"photo_id":"1396451965","filename":"file1"},{"photo_id":"1396451963","filename":"file0"},{"photo_id":"1396451967","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451971":["hashtag1","hashtag2"]},{"1396451965":["hashtag1","hashtag2"]},{"1396451967":["hashtag1","hashtag2"]},{"1396451969":["hashtag1","hashtag2"]},{"1396451963":["hashtag1","hashtag2"]},{"1396451966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451971, 1396451965, 1396451967, 1396451969, 1396451963, 1396451966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04167032241821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 20:59:02.776006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_35_9691.jpg', '/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_44_9557.jpg', '/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_55_10626.jpg', '/home/pi/Desktop/images/27112025/16/58/image_27112025_16_59_04_9634.jpg', '/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_14_9666.jpg', '/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_25_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_35_9691.jpg
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_44_9557.jpg
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_58_55_10626.jpg
/home/pi/Desktop/images/27112025/16/58/image_27112025_16_59_04_9634.jpg
/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_14_9666.jpg
/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_25_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396451989","1396452031","1396452013","1396451993","1396452023","1396452029"],"photo_ids_order":["1396451989","1396451993","1396452013","1396452023","1396452029","1396452031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85a0c408d1db183c930e67965610f5e7.jpg","text":"TemporaryFile(/tmp/multipartBody6367669863875512625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_58_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95902133508aa13e51a58602254a3b64.jpg","text":"TemporaryFile(/tmp/multipartBody8554293395651190157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_59_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e877a5ab109070852da672e2ebedac6e.jpg","text":"TemporaryFile(/tmp/multipartBody9008941557766651846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_58_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5266223653c4300a833d5354b1e15735.jpg","text":"TemporaryFile(/tmp/multipartBody5355340103833474969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_58_44_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a9bc801a927d7af8fe11d051ac4f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody7644654031971168168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_59_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/747e5e7580e8a3c42c589e5492361780.jpg","text":"TemporaryFile(/tmp/multipartBody1012612696618887731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273603623,"filename":"image_27112025_16_59_14_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396452013","file1":"1396451993","file0":"1396451989","file4":"1396452029","file5":"1396452031","file3":"1396452023"},"map_files_photo_id_array":[{"photo_id":"1396452031","filename":"file5"},{"photo_id":"1396452013","filename":"file2"},{"photo_id":"1396452029","filename":"file4"},{"photo_id":"1396451993","filename":"file1"},{"photo_id":"1396451989","filename":"file0"},{"photo_id":"1396452023","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396451989":["hashtag1","hashtag2"]},{"1396452031":["hashtag1","hashtag2"]},{"1396452013":["hashtag1","hashtag2"]},{"1396451993":["hashtag1","hashtag2"]},{"1396452023":["hashtag1","hashtag2"]},{"1396452029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396451989, 1396452031, 1396452013, 1396451993, 1396452023, 1396452029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4556519985199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:00:02.827073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_34_9639.jpg', '/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_45_10587.jpg', '/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_55_9681.jpg', '/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_25_10710.jpg', '/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_35_9681.jpg', '/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_45_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_34_9639.jpg
/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_45_10587.jpg
/home/pi/Desktop/images/27112025/16/59/image_27112025_16_59_55_9681.jpg
/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_25_10710.jpg
/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_35_9681.jpg
/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_45_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396452253","1396452282","1396452341","1396452224","1396452373","1396452311"],"photo_ids_order":["1396452224","1396452253","1396452282","1396452311","1396452341","1396452373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/907a93232b6a4f6b5746a61364da72f7.jpg","text":"TemporaryFile(/tmp/multipartBody1129849852866609964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_16_59_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6868c4ecdc89d69f9f8b3354c7e2b68c.jpg","text":"TemporaryFile(/tmp/multipartBody2790485488760481363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_16_59_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00ce99573ded3ce59b6b5eb3fd60e104.jpg","text":"TemporaryFile(/tmp/multipartBody6819265920511451403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_17_00_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb5970ebc4f0994d0d8fa816a9a4a272.jpg","text":"TemporaryFile(/tmp/multipartBody8574938659778981553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_16_59_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c2c9b2d5d980651412dd19de8f4a9b3.jpg","text":"TemporaryFile(/tmp/multipartBody4167115443759427390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_17_00_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d50beb4e41236d30b123aa061213903e.jpg","text":"TemporaryFile(/tmp/multipartBody4413417724776394096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273663765,"filename":"image_27112025_17_00_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396452282","file1":"1396452253","file0":"1396452224","file4":"1396452341","file5":"1396452373","file3":"1396452311"},"map_files_photo_id_array":[{"photo_id":"1396452373","filename":"file5"},{"photo_id":"1396452282","filename":"file2"},{"photo_id":"1396452341","filename":"file4"},{"photo_id":"1396452253","filename":"file1"},{"photo_id":"1396452224","filename":"file0"},{"photo_id":"1396452311","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396452253":["hashtag1","hashtag2"]},{"1396452282":["hashtag1","hashtag2"]},{"1396452341":["hashtag1","hashtag2"]},{"1396452224":["hashtag1","hashtag2"]},{"1396452373":["hashtag1","hashtag2"]},{"1396452311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396452253, 1396452282, 1396452341, 1396452224, 1396452373, 1396452311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62179708480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:01:03.267059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_55_10593.jpg', '/home/pi/Desktop/images/27112025/17/00/image_27112025_17_01_05_9674.jpg', '/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_15_10600.jpg', '/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_25_9477.jpg', '/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_35_10143.jpg', '/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_45_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/00/image_27112025_17_00_55_10593.jpg
/home/pi/Desktop/images/27112025/17/00/image_27112025_17_01_05_9674.jpg
/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_15_10600.jpg
/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_25_9477.jpg
/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_35_10143.jpg
/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_45_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396452750","1396452633","1396452717","1396452686","1396452659","1396452602"],"photo_ids_order":["1396452602","1396452633","1396452659","1396452686","1396452717","1396452750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/881103a6564617fcc340334478c13f24.jpg","text":"TemporaryFile(/tmp/multipartBody2351574735529205451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_01_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4b1ed02469075154fb01629cb777c045.jpg","text":"TemporaryFile(/tmp/multipartBody7968021647882262365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_01_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/813fa2636e3bc3684de9a3c0694500b6.jpg","text":"TemporaryFile(/tmp/multipartBody5905846643626595383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_01_35_10143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07d2e09d0b429d0f432b7c28f6909785.jpg","text":"TemporaryFile(/tmp/multipartBody7927578051755052334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_01_25_9477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a060c4f924feb3d7b61215445148316c.jpg","text":"TemporaryFile(/tmp/multipartBody3537595306061969994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_01_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a431827b04f03914c2ceb54142ce0b2.jpg","text":"TemporaryFile(/tmp/multipartBody2237318113795592306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273724159,"filename":"image_27112025_17_00_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396452659","file1":"1396452633","file0":"1396452602","file4":"1396452717","file5":"1396452750","file3":"1396452686"},"map_files_photo_id_array":[{"photo_id":"1396452750","filename":"file5"},{"photo_id":"1396452659","filename":"file2"},{"photo_id":"1396452717","filename":"file4"},{"photo_id":"1396452633","filename":"file1"},{"photo_id":"1396452602","filename":"file0"},{"photo_id":"1396452686","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396452750":["hashtag1","hashtag2"]},{"1396452633":["hashtag1","hashtag2"]},{"1396452717":["hashtag1","hashtag2"]},{"1396452686":["hashtag1","hashtag2"]},{"1396452659":["hashtag1","hashtag2"]},{"1396452602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396452750, 1396452633, 1396452717, 1396452686, 1396452659, 1396452602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.451112031936646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:02:03.219774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_55_10678.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_09_13285.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_15_5793.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_25_9982.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_35_10670.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_45_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/01/image_27112025_17_01_55_10678.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_09_13285.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_15_5793.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_25_9982.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_35_10670.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_45_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396452913","1396452861","1396452942","1396452858","1396452867","1396452902"],"photo_ids_order":["1396452858","1396452861","1396452867","1396452902","1396452913","1396452942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52e6ff89fe0a9860aa2737eb5c9cf889.jpg","text":"TemporaryFile(/tmp/multipartBody2970528290294698142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_02_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3547f72c054230ea13b734233117d69.jpg","text":"TemporaryFile(/tmp/multipartBody6897849601666460000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_02_09_13285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f06339bf63054185e8033a7debf5504.jpg","text":"TemporaryFile(/tmp/multipartBody6515716604590246421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_02_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d24f0d35ab4a557ba7dbe3d9e22f2d4d.jpg","text":"TemporaryFile(/tmp/multipartBody3543493076011050653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_01_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffd18d53a76b9d8fdf774d7757162dd4.jpg","text":"TemporaryFile(/tmp/multipartBody1616889426302750964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_02_15_5793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10e0a23600f6994d08966adb268d2639.jpg","text":"TemporaryFile(/tmp/multipartBody8770415377856779977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273784022,"filename":"image_27112025_17_02_25_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396452867","file1":"1396452861","file0":"1396452858","file4":"1396452913","file5":"1396452942","file3":"1396452902"},"map_files_photo_id_array":[{"photo_id":"1396452942","filename":"file5"},{"photo_id":"1396452867","filename":"file2"},{"photo_id":"1396452913","filename":"file4"},{"photo_id":"1396452861","filename":"file1"},{"photo_id":"1396452858","filename":"file0"},{"photo_id":"1396452902","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396452913":["hashtag1","hashtag2"]},{"1396452861":["hashtag1","hashtag2"]},{"1396452942":["hashtag1","hashtag2"]},{"1396452858":["hashtag1","hashtag2"]},{"1396452867":["hashtag1","hashtag2"]},{"1396452902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396452913, 1396452861, 1396452942, 1396452858, 1396452867, 1396452902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.220120906829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:03:02.565846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_55_10188.jpg', '/home/pi/Desktop/images/27112025/17/02/image_27112025_17_03_05_9576.jpg', '/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_15_10686.jpg', '/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_25_9591.jpg', '/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_35_9809.jpg', '/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_45_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_02_55_10188.jpg
/home/pi/Desktop/images/27112025/17/02/image_27112025_17_03_05_9576.jpg
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_15_10686.jpg
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_25_9591.jpg
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_35_9809.jpg
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_45_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396453491","1396453431","1396453334","1396453546","1396453396","1396453459"],"photo_ids_order":["1396453334","1396453396","1396453431","1396453459","1396453491","1396453546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ccc7a2e325a95b88ec4bc40a6289fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1257826297403302845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_03_35_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77b5e8ce306bb6a1d4984b37737e0cd5.jpg","text":"TemporaryFile(/tmp/multipartBody9075067647591191866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_03_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9e5c72351ed2ea4ee5e892b2c0f5ffde.jpg","text":"TemporaryFile(/tmp/multipartBody1666858153430384016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_02_55_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef113f8f6399fee166fb7191e785db36.jpg","text":"TemporaryFile(/tmp/multipartBody8250180489417431526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_03_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/830f2010d8fdc3df680daf95ed0951e7.jpg","text":"TemporaryFile(/tmp/multipartBody3179183201977350630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_03_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0716ca1069752544d6d605b5b2828e4a.jpg","text":"TemporaryFile(/tmp/multipartBody143707929170214680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273843617,"filename":"image_27112025_17_03_25_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396453431","file1":"1396453396","file0":"1396453334","file4":"1396453491","file5":"1396453546","file3":"1396453459"},"map_files_photo_id_array":[{"photo_id":"1396453546","filename":"file5"},{"photo_id":"1396453431","filename":"file2"},{"photo_id":"1396453491","filename":"file4"},{"photo_id":"1396453396","filename":"file1"},{"photo_id":"1396453334","filename":"file0"},{"photo_id":"1396453459","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396453491":["hashtag1","hashtag2"]},{"1396453431":["hashtag1","hashtag2"]},{"1396453334":["hashtag1","hashtag2"]},{"1396453546":["hashtag1","hashtag2"]},{"1396453396":["hashtag1","hashtag2"]},{"1396453459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396453491, 1396453431, 1396453334, 1396453546, 1396453396, 1396453459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09349775314331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:04:02.914936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_55_9630.jpg', '/home/pi/Desktop/images/27112025/17/03/image_27112025_17_04_05_9593.jpg', '/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_15_10753.jpg', '/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_25_9708.jpg', '/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_35_9555.jpg', '/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_45_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_03_55_9630.jpg
/home/pi/Desktop/images/27112025/17/03/image_27112025_17_04_05_9593.jpg
/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_15_10753.jpg
/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_25_9708.jpg
/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_35_9555.jpg
/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_45_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396453880","1396453961","1396453934","1396453907","1396453823","1396453852"],"photo_ids_order":["1396453823","1396453852","1396453880","1396453907","1396453934","1396453961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f899ddd278097f2c09ae23bf0cfaf39.jpg","text":"TemporaryFile(/tmp/multipartBody2399996785656493754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_04_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4e17830948b764f971673fb1c95ba388.jpg","text":"TemporaryFile(/tmp/multipartBody7839394951647622750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_04_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38159c6e3af59fdd5cad99046c0d5e91.jpg","text":"TemporaryFile(/tmp/multipartBody2365027831565493377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_04_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/361adf5ce0894fc4cf3a0fc08ef3065c.jpg","text":"TemporaryFile(/tmp/multipartBody7243582982722682071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_04_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89ca3c6fe8075d4ec0a7365689ab4528.jpg","text":"TemporaryFile(/tmp/multipartBody9076818590880134457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_03_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/45cc29b8d94a011a6cc3b202ebc544d0.jpg","text":"TemporaryFile(/tmp/multipartBody3536395057069741536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273903950,"filename":"image_27112025_17_04_05_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396453880","file1":"1396453852","file0":"1396453823","file4":"1396453934","file5":"1396453961","file3":"1396453907"},"map_files_photo_id_array":[{"photo_id":"1396453961","filename":"file5"},{"photo_id":"1396453880","filename":"file2"},{"photo_id":"1396453934","filename":"file4"},{"photo_id":"1396453852","filename":"file1"},{"photo_id":"1396453823","filename":"file0"},{"photo_id":"1396453907","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396453880":["hashtag1","hashtag2"]},{"1396453961":["hashtag1","hashtag2"]},{"1396453934":["hashtag1","hashtag2"]},{"1396453907":["hashtag1","hashtag2"]},{"1396453823":["hashtag1","hashtag2"]},{"1396453852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396453880, 1396453961, 1396453934, 1396453907, 1396453823, 1396453852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1650767326355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:05:03.046138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_55_9688.jpg', '/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_14_10058.jpg', '/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_25_10843.jpg', '/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_34_9529.jpg', '/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_44_9792.jpg', '/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_55_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/04/image_27112025_17_04_55_9688.jpg
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_14_10058.jpg
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_25_10843.jpg
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_34_9529.jpg
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_44_9792.jpg
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_05_55_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396454556","1396454478","1396454400","1396454316","1396454642","1396454251"],"photo_ids_order":["1396454251","1396454316","1396454400","1396454478","1396454556","1396454642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ddf21425df279b29cf2919130b4c0ec.jpg","text":"TemporaryFile(/tmp/multipartBody6838053070173054857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_05_44_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28ccc766994ddc9d49e0f6934a30a78f.jpg","text":"TemporaryFile(/tmp/multipartBody2005155970242971156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_05_34_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78c98f905b6c2c600fc51c11031f63c2.jpg","text":"TemporaryFile(/tmp/multipartBody1014112495267844265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_05_25_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/096548cc852f90f8aab4ebe849d0d185.jpg","text":"TemporaryFile(/tmp/multipartBody2739136043755515426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_05_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b81810a498e6b9f81e258d723e92b3cd.jpg","text":"TemporaryFile(/tmp/multipartBody8060210322919713502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_05_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/675e328ec836a7c1ff0abdbbda522740.jpg","text":"TemporaryFile(/tmp/multipartBody5015118936481593355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764273964069,"filename":"image_27112025_17_04_55_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396454400","file1":"1396454316","file0":"1396454251","file4":"1396454556","file5":"1396454642","file3":"1396454478"},"map_files_photo_id_array":[{"photo_id":"1396454642","filename":"file5"},{"photo_id":"1396454400","filename":"file2"},{"photo_id":"1396454556","filename":"file4"},{"photo_id":"1396454316","filename":"file1"},{"photo_id":"1396454251","filename":"file0"},{"photo_id":"1396454478","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396454556":["hashtag1","hashtag2"]},{"1396454478":["hashtag1","hashtag2"]},{"1396454400":["hashtag1","hashtag2"]},{"1396454316":["hashtag1","hashtag2"]},{"1396454642":["hashtag1","hashtag2"]},{"1396454251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396454556, 1396454478, 1396454400, 1396454316, 1396454642, 1396454251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26604104042053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:06:03.182595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/05/image_27112025_17_06_04_9656.jpg', '/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_14_9699.jpg', '/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_25_10652.jpg', '/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_34_9800.jpg', '/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_44_9653.jpg', '/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_54_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/05/image_27112025_17_06_04_9656.jpg
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_14_9699.jpg
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_25_10652.jpg
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_34_9800.jpg
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_44_9653.jpg
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_06_54_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396455251","1396455221","1396455038","1396455175","1396455107","1396455070"],"photo_ids_order":["1396455038","1396455070","1396455107","1396455175","1396455221","1396455251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7fe6746b7071944155a6cefa744a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1178651478278974699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55ae1d5241dc99f54554800487b09fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6893760725181014340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ad1597c1c5e3ee3f42249ae54695c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4594871108750314879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/722c60f5788cfdbf97e11d9fc0503d44.jpg","text":"TemporaryFile(/tmp/multipartBody1622709682647417468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e77566dd80e3654df4b06798acd08fe.jpg","text":"TemporaryFile(/tmp/multipartBody4340650406317106626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0d2c2c557a35de644474fa61e6405e4.jpg","text":"TemporaryFile(/tmp/multipartBody214272670934134813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274024195,"filename":"image_27112025_17_06_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396455107","file1":"1396455070","file0":"1396455038","file4":"1396455221","file5":"1396455251","file3":"1396455175"},"map_files_photo_id_array":[{"photo_id":"1396455251","filename":"file5"},{"photo_id":"1396455107","filename":"file2"},{"photo_id":"1396455221","filename":"file4"},{"photo_id":"1396455070","filename":"file1"},{"photo_id":"1396455038","filename":"file0"},{"photo_id":"1396455175","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396455251":["hashtag1","hashtag2"]},{"1396455221":["hashtag1","hashtag2"]},{"1396455038":["hashtag1","hashtag2"]},{"1396455175":["hashtag1","hashtag2"]},{"1396455107":["hashtag1","hashtag2"]},{"1396455070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396455251, 1396455221, 1396455038, 1396455175, 1396455107, 1396455070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02049446105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:07:02.595089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/06/image_27112025_17_07_05_10775.jpg', '/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_14_9715.jpg', '/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_24_9606.jpg', '/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_34_9841.jpg', '/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_44_10628.jpg', '/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/06/image_27112025_17_07_05_10775.jpg
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_14_9715.jpg
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_24_9606.jpg
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_34_9841.jpg
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_44_10628.jpg
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_07_54_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396455782","1396455892","1396456095","1396455993","1396455564","1396455669"],"photo_ids_order":["1396455564","1396455669","1396455782","1396455892","1396455993","1396456095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8dc85855687b19b4554d6072dda152e.jpg","text":"TemporaryFile(/tmp/multipartBody5780297518636806725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48e1329e94eea99b8b1c19806d8dc5af.jpg","text":"TemporaryFile(/tmp/multipartBody4685893774434871931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_34_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9508559dca3de7946559003cd8d69ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7185909264210874701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c1ec34492bae8264ca8a928e8381a0b.jpg","text":"TemporaryFile(/tmp/multipartBody63181757823523481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92ad0330d54ee9248b3cc126da38d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2974177179597654092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_05_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cef0358bc3043411ea6cafb183e771ce.jpg","text":"TemporaryFile(/tmp/multipartBody7848685545722948733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274083590,"filename":"image_27112025_17_07_14_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396455782","file1":"1396455669","file0":"1396455564","file4":"1396455993","file5":"1396456095","file3":"1396455892"},"map_files_photo_id_array":[{"photo_id":"1396456095","filename":"file5"},{"photo_id":"1396455782","filename":"file2"},{"photo_id":"1396455993","filename":"file4"},{"photo_id":"1396455669","filename":"file1"},{"photo_id":"1396455564","filename":"file0"},{"photo_id":"1396455892","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396455782":["hashtag1","hashtag2"]},{"1396455892":["hashtag1","hashtag2"]},{"1396456095":["hashtag1","hashtag2"]},{"1396455993":["hashtag1","hashtag2"]},{"1396455564":["hashtag1","hashtag2"]},{"1396455669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396455782, 1396455892, 1396456095, 1396455993, 1396455564, 1396455669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.607208251953125 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-27 21:08:02.607494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/07/image_27112025_17_08_04_9828.jpg', '/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_14_10588.jpg', '/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_24_9579.jpg', '/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_34_9699.jpg', '/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_44_10594.jpg', '/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/07/image_27112025_17_08_04_9828.jpg
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_14_10588.jpg
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_24_9579.jpg
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_34_9699.jpg
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_44_10594.jpg
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_08_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396456762","1396456651","1396456732","1396456708","1396456686","1396456691"],"photo_ids_order":["1396456651","1396456686","1396456691","1396456708","1396456732","1396456762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/329e6dfefdfe56e40ae2490121b75822.jpg","text":"TemporaryFile(/tmp/multipartBody1352157667868955509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/366bf829afc8c5a670d6508d8cf2ff55.jpg","text":"TemporaryFile(/tmp/multipartBody4684145271758681830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67eff7cb01491c3f79f35fd6ae13a798.jpg","text":"TemporaryFile(/tmp/multipartBody8404781663262829025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_44_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3e909a9b4f247be29673d04f298d9e0.jpg","text":"TemporaryFile(/tmp/multipartBody5074408360061963288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f7373dc615283c9d32b73611c8511ee.jpg","text":"TemporaryFile(/tmp/multipartBody5089467422144903616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_14_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9c04e114e0ead1263e71a4a16a46a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7695197846973275544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274143560,"filename":"image_27112025_17_08_24_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396456691","file1":"1396456686","file0":"1396456651","file4":"1396456732","file5":"1396456762","file3":"1396456708"},"map_files_photo_id_array":[{"photo_id":"1396456762","filename":"file5"},{"photo_id":"1396456691","filename":"file2"},{"photo_id":"1396456732","filename":"file4"},{"photo_id":"1396456686","filename":"file1"},{"photo_id":"1396456651","filename":"file0"},{"photo_id":"1396456708","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396456762":["hashtag1","hashtag2"]},{"1396456651":["hashtag1","hashtag2"]},{"1396456732":["hashtag1","hashtag2"]},{"1396456708":["hashtag1","hashtag2"]},{"1396456686":["hashtag1","hashtag2"]},{"1396456691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396456762, 1396456651, 1396456732, 1396456708, 1396456686, 1396456691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60993981361389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:09:03.033220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/08/image_27112025_17_09_05_10626.jpg', '/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_14_9603.jpg', '/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_24_9658.jpg', '/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_34_10617.jpg', '/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_44_9715.jpg', '/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_55_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/08/image_27112025_17_09_05_10626.jpg
/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_14_9603.jpg
/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_24_9658.jpg
/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_34_10617.jpg
/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_44_9715.jpg
/home/pi/Desktop/images/27112025/17/09/image_27112025_17_09_55_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396457056","1396457093","1396457010","1396456944","1396456905","1396456976"],"photo_ids_order":["1396456905","1396456944","1396456976","1396457010","1396457056","1396457093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/477c97fdbca59d8bc101ed258591b446.jpg","text":"TemporaryFile(/tmp/multipartBody2268137569713702255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01a3a5fe9311b96afc012857b0b0a118.jpg","text":"TemporaryFile(/tmp/multipartBody6746948466183686857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_55_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a37885332a5a7804b5ce5eb782fc81db.jpg","text":"TemporaryFile(/tmp/multipartBody7672151835754013530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4c9f6444289491563d5721afa6e09824.jpg","text":"TemporaryFile(/tmp/multipartBody8607702756658254343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d46c4122b0a22347f56ed979a37808c.jpg","text":"TemporaryFile(/tmp/multipartBody920150914106829041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c647f0d637d3c8faf42991a39e515db3.jpg","text":"TemporaryFile(/tmp/multipartBody9042596691083650617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274204170,"filename":"image_27112025_17_09_24_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396456976","file1":"1396456944","file0":"1396456905","file4":"1396457056","file5":"1396457093","file3":"1396457010"},"map_files_photo_id_array":[{"photo_id":"1396457093","filename":"file5"},{"photo_id":"1396456976","filename":"file2"},{"photo_id":"1396457056","filename":"file4"},{"photo_id":"1396456944","filename":"file1"},{"photo_id":"1396456905","filename":"file0"},{"photo_id":"1396457010","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396457056":["hashtag1","hashtag2"]},{"1396457093":["hashtag1","hashtag2"]},{"1396457010":["hashtag1","hashtag2"]},{"1396456944":["hashtag1","hashtag2"]},{"1396456905":["hashtag1","hashtag2"]},{"1396456976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396457056, 1396457093, 1396457010, 1396456944, 1396456905, 1396456976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.914002418518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:10:02.996392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_14_10056.jpg', '/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_25_10717.jpg', '/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_34_9549.jpg', '/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_55_10659.jpg', '/home/pi/Desktop/images/27112025/17/11/image_27112025_17_11_24_9729.jpg', '/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_25_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_14_10056.jpg
/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_25_10717.jpg
/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_34_9549.jpg
/home/pi/Desktop/images/27112025/17/10/image_27112025_17_10_55_10659.jpg
/home/pi/Desktop/images/27112025/17/11/image_27112025_17_11_24_9729.jpg
/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_25_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396457329","1396457314","1396457280","1396457352","1396457334","1396457384"],"photo_ids_order":["1396457280","1396457314","1396457329","1396457334","1396457352","1396457384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53b4823c2ccd0538407b50278a325ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6974541394705741242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_10_34_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0bcc40172e0fd2659cac99f3c59503a6.jpg","text":"TemporaryFile(/tmp/multipartBody9202165878661892223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_10_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3175d69352b2dd2d3bab8f1c61556516.jpg","text":"TemporaryFile(/tmp/multipartBody7215313996828713510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_10_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e151cca66e0bde292abee54bfcf5ce61.jpg","text":"TemporaryFile(/tmp/multipartBody5846719903033512636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_11_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ceec9c40d4e762d612904fedc96cf349.jpg","text":"TemporaryFile(/tmp/multipartBody8141779963529257339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_10_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42c5e3edb64f6fe7f3752f47dd91aae8.jpg","text":"TemporaryFile(/tmp/multipartBody6699829042243670918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274263877,"filename":"image_27112025_17_12_25_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396457329","file1":"1396457314","file0":"1396457280","file4":"1396457352","file5":"1396457384","file3":"1396457334"},"map_files_photo_id_array":[{"photo_id":"1396457384","filename":"file5"},{"photo_id":"1396457329","filename":"file2"},{"photo_id":"1396457352","filename":"file4"},{"photo_id":"1396457314","filename":"file1"},{"photo_id":"1396457280","filename":"file0"},{"photo_id":"1396457334","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396457329":["hashtag1","hashtag2"]},{"1396457314":["hashtag1","hashtag2"]},{"1396457280":["hashtag1","hashtag2"]},{"1396457352":["hashtag1","hashtag2"]},{"1396457334":["hashtag1","hashtag2"]},{"1396457384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396457329, 1396457314, 1396457280, 1396457352, 1396457334, 1396457384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2991726398468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:11:03.135961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_34_9562.jpg', '/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_45_10694.jpg', '/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_55_9733.jpg', '/home/pi/Desktop/images/27112025/17/12/image_27112025_17_13_04_9890.jpg', '/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_14_9712.jpg', '/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_34_9562.jpg
/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_45_10694.jpg
/home/pi/Desktop/images/27112025/17/12/image_27112025_17_12_55_9733.jpg
/home/pi/Desktop/images/27112025/17/12/image_27112025_17_13_04_9890.jpg
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_14_9712.jpg
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_25_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396457452","1396457446","1396457428","1396457432","1396457456","1396457438"],"photo_ids_order":["1396457428","1396457432","1396457438","1396457446","1396457452","1396457456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d82b67fa06df6b2f0208345c1980a21e.jpg","text":"TemporaryFile(/tmp/multipartBody1322564575596386224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_13_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/19b25472672cf68badbeef910fd892a2.jpg","text":"TemporaryFile(/tmp/multipartBody1692878346684942973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_13_04_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bfcf25a9e7cc6a0d1da0ff98c35a8363.jpg","text":"TemporaryFile(/tmp/multipartBody5421475658394410161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_12_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8e9c5a8e2c8cf6e58bce3a98d1fa3230.jpg","text":"TemporaryFile(/tmp/multipartBody5622659575766004742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_12_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ef7622737cbd0f00dbafc3f3b87c1df.jpg","text":"TemporaryFile(/tmp/multipartBody516234946500835450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_13_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bbf2ac6203815d66befb1aaa8a5d0aa.jpg","text":"TemporaryFile(/tmp/multipartBody5637447386884757487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274324081,"filename":"image_27112025_17_12_55_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396457438","file1":"1396457432","file0":"1396457428","file4":"1396457452","file5":"1396457456","file3":"1396457446"},"map_files_photo_id_array":[{"photo_id":"1396457456","filename":"file5"},{"photo_id":"1396457438","filename":"file2"},{"photo_id":"1396457452","filename":"file4"},{"photo_id":"1396457432","filename":"file1"},{"photo_id":"1396457428","filename":"file0"},{"photo_id":"1396457446","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396457452":["hashtag1","hashtag2"]},{"1396457446":["hashtag1","hashtag2"]},{"1396457428":["hashtag1","hashtag2"]},{"1396457432":["hashtag1","hashtag2"]},{"1396457456":["hashtag1","hashtag2"]},{"1396457438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396457452, 1396457446, 1396457428, 1396457432, 1396457456, 1396457438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67680525779724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:12:03.134633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_34_9604.jpg', '/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_45_10601.jpg', '/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_55_9806.jpg', '/home/pi/Desktop/images/27112025/17/13/image_27112025_17_14_04_9691.jpg', '/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_14_9723.jpg', '/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_24_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_34_9604.jpg
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_45_10601.jpg
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_13_55_9806.jpg
/home/pi/Desktop/images/27112025/17/13/image_27112025_17_14_04_9691.jpg
/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_14_9723.jpg
/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_24_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396457782","1396457635","1396457665","1396457754","1396457724","1396457696"],"photo_ids_order":["1396457635","1396457665","1396457696","1396457724","1396457754","1396457782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a62fdafc4eac51670c9fe9b78ae2645.jpg","text":"TemporaryFile(/tmp/multipartBody3310502026099508106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_14_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a895c2b50a2682fd7bb1e15874a208e7.jpg","text":"TemporaryFile(/tmp/multipartBody5960380629320343414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_13_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c01fa662e94313e83ce3bf8e659c14a.jpg","text":"TemporaryFile(/tmp/multipartBody7755979573988189280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_13_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/880048e472e95e5ea45d8275ae63bf60.jpg","text":"TemporaryFile(/tmp/multipartBody5382086154118215232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_14_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b320d635fbb9d3646263e03aac2c100.jpg","text":"TemporaryFile(/tmp/multipartBody8904042200791153160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_14_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf0ee012a5a6bb6ba9bf9cc57836a369.jpg","text":"TemporaryFile(/tmp/multipartBody8216946323523756515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274384141,"filename":"image_27112025_17_13_55_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396457696","file1":"1396457665","file0":"1396457635","file4":"1396457754","file5":"1396457782","file3":"1396457724"},"map_files_photo_id_array":[{"photo_id":"1396457782","filename":"file5"},{"photo_id":"1396457696","filename":"file2"},{"photo_id":"1396457754","filename":"file4"},{"photo_id":"1396457665","filename":"file1"},{"photo_id":"1396457635","filename":"file0"},{"photo_id":"1396457724","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396457782":["hashtag1","hashtag2"]},{"1396457635":["hashtag1","hashtag2"]},{"1396457665":["hashtag1","hashtag2"]},{"1396457754":["hashtag1","hashtag2"]},{"1396457724":["hashtag1","hashtag2"]},{"1396457696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396457782, 1396457635, 1396457665, 1396457754, 1396457724, 1396457696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04622554779053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:13:02.653712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_35_10645.jpg', '/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_44_9601.jpg', '/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_54_9825.jpg', '/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_14_10037.jpg', '/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_25_10648.jpg', '/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_35_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_35_10645.jpg
/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_44_9601.jpg
/home/pi/Desktop/images/27112025/17/14/image_27112025_17_14_54_9825.jpg
/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_14_10037.jpg
/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_25_10648.jpg
/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_35_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396457890","1396457881","1396457944","1396457886","1396458056","1396457995"],"photo_ids_order":["1396457881","1396457886","1396457890","1396457944","1396457995","1396458056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee21ad68d6dc5a3e59d2ed17d63f3418.jpg","text":"TemporaryFile(/tmp/multipartBody3611956703184711107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_14_54_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bdc5891be137a7d0fe7a4dd5a2bc645b.jpg","text":"TemporaryFile(/tmp/multipartBody310838217289906406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_14_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ab9b0c1ea45559337114231bc91b12f.jpg","text":"TemporaryFile(/tmp/multipartBody4886106403458373846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_16_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69fda26aba07016810c4c47bcbc6381b.jpg","text":"TemporaryFile(/tmp/multipartBody3957641878957755046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_14_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f536e8bea1ac0a4f6a51fe62a8bf66a6.jpg","text":"TemporaryFile(/tmp/multipartBody1413361747439350968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_16_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b3d61359ded4a9e508e12f9ea7f2640.jpg","text":"TemporaryFile(/tmp/multipartBody1836998970606560034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274445260,"filename":"image_27112025_17_16_25_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396457890","file1":"1396457886","file0":"1396457881","file4":"1396457995","file5":"1396458056","file3":"1396457944"},"map_files_photo_id_array":[{"photo_id":"1396458056","filename":"file5"},{"photo_id":"1396457890","filename":"file2"},{"photo_id":"1396457995","filename":"file4"},{"photo_id":"1396457886","filename":"file1"},{"photo_id":"1396457881","filename":"file0"},{"photo_id":"1396457944","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396457890":["hashtag1","hashtag2"]},{"1396457881":["hashtag1","hashtag2"]},{"1396457944":["hashtag1","hashtag2"]},{"1396457886":["hashtag1","hashtag2"]},{"1396458056":["hashtag1","hashtag2"]},{"1396457995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396457890, 1396457881, 1396457944, 1396457886, 1396458056, 1396457995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.725829124450684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:14:02.856620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_44_9786.jpg', '/home/pi/Desktop/images/27112025/17/16/image_27112025_17_17_05_9779.jpg', '/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_14_9562.jpg', '/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_35_9701.jpg', '/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_45_10524.jpg', '/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/16/image_27112025_17_16_44_9786.jpg
/home/pi/Desktop/images/27112025/17/16/image_27112025_17_17_05_9779.jpg
/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_14_9562.jpg
/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_35_9701.jpg
/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_45_10524.jpg
/home/pi/Desktop/images/27112025/17/17/image_27112025_17_17_55_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396458445","1396458492","1396458480","1396458380","1396458408","1396458349"],"photo_ids_order":["1396458349","1396458380","1396458408","1396458445","1396458480","1396458492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f56b2c6fb51ce49190c936cf9e4de13d.jpg","text":"TemporaryFile(/tmp/multipartBody7789593979083738384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_17_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/52b365190ba6574c80fa897258d531d4.jpg","text":"TemporaryFile(/tmp/multipartBody876518912798843420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_17_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/22ef74c522f6f6526e1900854e4a1933.jpg","text":"TemporaryFile(/tmp/multipartBody5332682230999619539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_17_45_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25f24d7bb95d9d151ba95d328f5a8ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3080358775804529746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_17_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2d14b2504b61a14f65852a58dba6e51.jpg","text":"TemporaryFile(/tmp/multipartBody32654277787572320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_17_14_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a6840347710562748feb68883f429ff.jpg","text":"TemporaryFile(/tmp/multipartBody2609026321809441393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274503983,"filename":"image_27112025_17_16_44_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396458408","file1":"1396458380","file0":"1396458349","file4":"1396458480","file5":"1396458492","file3":"1396458445"},"map_files_photo_id_array":[{"photo_id":"1396458492","filename":"file5"},{"photo_id":"1396458408","filename":"file2"},{"photo_id":"1396458480","filename":"file4"},{"photo_id":"1396458380","filename":"file1"},{"photo_id":"1396458349","filename":"file0"},{"photo_id":"1396458445","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396458445":["hashtag1","hashtag2"]},{"1396458492":["hashtag1","hashtag2"]},{"1396458480":["hashtag1","hashtag2"]},{"1396458380":["hashtag1","hashtag2"]},{"1396458408":["hashtag1","hashtag2"]},{"1396458349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396458445, 1396458492, 1396458480, 1396458380, 1396458408, 1396458349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80106258392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:15:02.805537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/17/image_27112025_17_18_04_9630.jpg', '/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_15_10727.jpg', '/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_25_9790.jpg', '/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_35_9667.jpg', '/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_44_9731.jpg', '/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_54_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/17/image_27112025_17_18_04_9630.jpg
/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_15_10727.jpg
/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_25_9790.jpg
/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_35_9667.jpg
/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_44_9731.jpg
/home/pi/Desktop/images/27112025/17/18/image_27112025_17_18_54_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396458649","1396458613","1396458663","1396458581","1396458670","1396458667"],"photo_ids_order":["1396458581","1396458613","1396458649","1396458663","1396458667","1396458670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/093c7d11be3ccb51190e3e26d76297bb.jpg","text":"TemporaryFile(/tmp/multipartBody4381164159494405581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dca9e3e13300fe7a1b4afc258cbb0fc1.jpg","text":"TemporaryFile(/tmp/multipartBody963378285382262978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ca07a30b16f0e77246a1f0fd0ce6361.jpg","text":"TemporaryFile(/tmp/multipartBody2797884212575894547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c6d0c10c296825653470265d1af227b4.jpg","text":"TemporaryFile(/tmp/multipartBody3477540338881281558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99167b5f51d75d14405d7b0293e30437.jpg","text":"TemporaryFile(/tmp/multipartBody8748253289244567990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_54_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fb3970eb1b3c34fb222f1b12e4e185c.jpg","text":"TemporaryFile(/tmp/multipartBody1269308733725258930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274564200,"filename":"image_27112025_17_18_44_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396458649","file1":"1396458613","file0":"1396458581","file4":"1396458667","file5":"1396458670","file3":"1396458663"},"map_files_photo_id_array":[{"photo_id":"1396458670","filename":"file5"},{"photo_id":"1396458649","filename":"file2"},{"photo_id":"1396458667","filename":"file4"},{"photo_id":"1396458613","filename":"file1"},{"photo_id":"1396458581","filename":"file0"},{"photo_id":"1396458663","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396458649":["hashtag1","hashtag2"]},{"1396458613":["hashtag1","hashtag2"]},{"1396458663":["hashtag1","hashtag2"]},{"1396458581":["hashtag1","hashtag2"]},{"1396458670":["hashtag1","hashtag2"]},{"1396458667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396458649, 1396458613, 1396458663, 1396458581, 1396458670, 1396458667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73525619506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:16:03.014838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_04_10095.jpg', '/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_15_10654.jpg', '/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_25_9703.jpg', '/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_34_9659.jpg', '/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_45_10691.jpg', '/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_15_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_04_10095.jpg
/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_15_10654.jpg
/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_25_9703.jpg
/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_34_9659.jpg
/home/pi/Desktop/images/27112025/17/19/image_27112025_17_19_45_10691.jpg
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_15_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396458797","1396458816","1396458785","1396458737","1396458800","1396458766"],"photo_ids_order":["1396458737","1396458766","1396458785","1396458797","1396458800","1396458816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2f3a0897b27ae5698a17d514e89d3cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6582235501751356898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_19_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/560a094a0f8cd9b267cd0d18f9dbbd44.jpg","text":"TemporaryFile(/tmp/multipartBody4690664274547307646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_20_15_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cad3d18b78c0775e925700eb918e149.jpg","text":"TemporaryFile(/tmp/multipartBody851629934876260033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_19_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/028a65b33577a5dbe7fa96ddf67e470b.jpg","text":"TemporaryFile(/tmp/multipartBody1260080625443446344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_19_04_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/27/c27b10e7b72886f4535967affe2c610c.jpg","text":"TemporaryFile(/tmp/multipartBody118001623666916153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_19_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a23315d9cb285bbecfc80a5b0bed6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1347764141326921886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274624011,"filename":"image_27112025_17_19_15_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396458785","file1":"1396458766","file0":"1396458737","file4":"1396458800","file5":"1396458816","file3":"1396458797"},"map_files_photo_id_array":[{"photo_id":"1396458816","filename":"file5"},{"photo_id":"1396458785","filename":"file2"},{"photo_id":"1396458800","filename":"file4"},{"photo_id":"1396458766","filename":"file1"},{"photo_id":"1396458737","filename":"file0"},{"photo_id":"1396458797","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396458797":["hashtag1","hashtag2"]},{"1396458816":["hashtag1","hashtag2"]},{"1396458785":["hashtag1","hashtag2"]},{"1396458737":["hashtag1","hashtag2"]},{"1396458800":["hashtag1","hashtag2"]},{"1396458766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396458797, 1396458816, 1396458785, 1396458737, 1396458800, 1396458766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.598010778427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:17:02.500439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_25_10734.jpg', '/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_35_9685.jpg', '/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_45_9801.jpg', '/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_55_10702.jpg', '/home/pi/Desktop/images/27112025/17/20/image_27112025_17_21_05_9697.jpg', '/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_15_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_25_10734.jpg
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_35_9685.jpg
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_45_9801.jpg
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_20_55_10702.jpg
/home/pi/Desktop/images/27112025/17/20/image_27112025_17_21_05_9697.jpg
/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_15_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396458868","1396458847","1396458913","1396458870","1396458900","1396458851"],"photo_ids_order":["1396458847","1396458851","1396458868","1396458870","1396458900","1396458913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d77b81abb1498c7934ed8d0e9f7d62f.jpg","text":"TemporaryFile(/tmp/multipartBody7860697777745762786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_20_45_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebd513c81694ba662b22c316643a8870.jpg","text":"TemporaryFile(/tmp/multipartBody3947032163700746025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_20_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/067308d8ca3e5193255ee9614ece15dc.jpg","text":"TemporaryFile(/tmp/multipartBody3079458736000000009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_21_15_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/519697a2b5ff7e2c054c275e2484bfcf.jpg","text":"TemporaryFile(/tmp/multipartBody3669351020828404630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_20_55_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/27/5374772ae4035f50d855f7067a7183ac.jpg","text":"TemporaryFile(/tmp/multipartBody1023495984403179925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_21_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/687a943b5e09a9ba0a7d9c41ea6090d5.jpg","text":"TemporaryFile(/tmp/multipartBody4976826537881253981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274683580,"filename":"image_27112025_17_20_35_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396458868","file1":"1396458851","file0":"1396458847","file4":"1396458900","file5":"1396458913","file3":"1396458870"},"map_files_photo_id_array":[{"photo_id":"1396458913","filename":"file5"},{"photo_id":"1396458868","filename":"file2"},{"photo_id":"1396458900","filename":"file4"},{"photo_id":"1396458851","filename":"file1"},{"photo_id":"1396458847","filename":"file0"},{"photo_id":"1396458870","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396458868":["hashtag1","hashtag2"]},{"1396458847":["hashtag1","hashtag2"]},{"1396458913":["hashtag1","hashtag2"]},{"1396458870":["hashtag1","hashtag2"]},{"1396458900":["hashtag1","hashtag2"]},{"1396458851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396458868, 1396458847, 1396458913, 1396458870, 1396458900, 1396458851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.865283489227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:18:02.400485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_25_9671.jpg', '/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_35_10616.jpg', '/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_55_9716.jpg', '/home/pi/Desktop/images/27112025/17/21/image_27112025_17_22_05_10728.jpg', '/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_15_9695.jpg', '/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_25_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_25_9671.jpg
/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_35_10616.jpg
/home/pi/Desktop/images/27112025/17/21/image_27112025_17_21_55_9716.jpg
/home/pi/Desktop/images/27112025/17/21/image_27112025_17_22_05_10728.jpg
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_15_9695.jpg
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_25_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396458925","1396458934","1396458921","1396458930","1396458962","1396458994"],"photo_ids_order":["1396458921","1396458925","1396458930","1396458934","1396458962","1396458994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9189cd35b91094f32c17430c9db02e53.jpg","text":"TemporaryFile(/tmp/multipartBody9102863697472753530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_21_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bb1772381e164a5b9faa26df5f2d16e.jpg","text":"TemporaryFile(/tmp/multipartBody7477839779232733410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_22_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e400dd8e3e121d3e8ad4a65ba4a4fcc5.jpg","text":"TemporaryFile(/tmp/multipartBody627545549136054548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_21_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e31f9e80dd69c7ec9e1669fe11d8769.jpg","text":"TemporaryFile(/tmp/multipartBody3168298730296521629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_21_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ca48eb88e3b5c5fa0392b49918398d2.jpg","text":"TemporaryFile(/tmp/multipartBody531768661454387381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_22_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/840035e7633f873dc36ec84cced921b3.jpg","text":"TemporaryFile(/tmp/multipartBody8659820315046839019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274743448,"filename":"image_27112025_17_22_25_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396458930","file1":"1396458925","file0":"1396458921","file4":"1396458962","file5":"1396458994","file3":"1396458934"},"map_files_photo_id_array":[{"photo_id":"1396458994","filename":"file5"},{"photo_id":"1396458930","filename":"file2"},{"photo_id":"1396458962","filename":"file4"},{"photo_id":"1396458925","filename":"file1"},{"photo_id":"1396458921","filename":"file0"},{"photo_id":"1396458934","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396458925":["hashtag1","hashtag2"]},{"1396458934":["hashtag1","hashtag2"]},{"1396458921":["hashtag1","hashtag2"]},{"1396458930":["hashtag1","hashtag2"]},{"1396458962":["hashtag1","hashtag2"]},{"1396458994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396458925, 1396458934, 1396458921, 1396458930, 1396458962, 1396458994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.95068311691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:19:03.313017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_35_10653.jpg', '/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_45_9570.jpg', '/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_55_10646.jpg', '/home/pi/Desktop/images/27112025/17/22/image_27112025_17_23_05_9685.jpg', '/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_15_9721.jpg', '/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_25_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_35_10653.jpg
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_45_9570.jpg
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_22_55_10646.jpg
/home/pi/Desktop/images/27112025/17/22/image_27112025_17_23_05_9685.jpg
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_15_9721.jpg
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_25_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396459201","1396459287","1396459412","1396459235","1396459465","1396459345"],"photo_ids_order":["1396459201","1396459235","1396459287","1396459345","1396459412","1396459465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4588fac7859a9dd1b6db574bb1008d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3224138178001503529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_22_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/860c2d6c45aa4a28407ad6134fb83dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3723471225206974645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_22_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72c55dcb2d7a85f6f47e73323cd4cde0.jpg","text":"TemporaryFile(/tmp/multipartBody1402864946357266552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_23_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93faf4df5447be456cedb01a568b5975.jpg","text":"TemporaryFile(/tmp/multipartBody8426758202876974346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_22_45_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b3a5da642c5ca46b2e4e618c6af15b6.jpg","text":"TemporaryFile(/tmp/multipartBody3640776475012106075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_23_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8bd60afe2b76ade2fb59539c2d042189.jpg","text":"TemporaryFile(/tmp/multipartBody3170694148911445980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274804405,"filename":"image_27112025_17_23_05_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396459287","file1":"1396459235","file0":"1396459201","file4":"1396459412","file5":"1396459465","file3":"1396459345"},"map_files_photo_id_array":[{"photo_id":"1396459465","filename":"file5"},{"photo_id":"1396459287","filename":"file2"},{"photo_id":"1396459412","filename":"file4"},{"photo_id":"1396459235","filename":"file1"},{"photo_id":"1396459201","filename":"file0"},{"photo_id":"1396459345","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396459201":["hashtag1","hashtag2"]},{"1396459287":["hashtag1","hashtag2"]},{"1396459412":["hashtag1","hashtag2"]},{"1396459235":["hashtag1","hashtag2"]},{"1396459465":["hashtag1","hashtag2"]},{"1396459345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396459201, 1396459287, 1396459412, 1396459235, 1396459465, 1396459345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30003237724304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:20:02.942765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 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 10 --only_old 1
2025-11-27 21:20:12.404414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_50_3712.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_52_2680.jpg', '/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_55_2670.jpg', '/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_10_3549.jpg', '/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_13_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_50_3712.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_52_2680.jpg
/home/pi/Desktop/images/21112025/21/37/image_21112025_21_37_55_2670.jpg
/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_07_3011.jpg
/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_10_3549.jpg
/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_13_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396459794","1396459790","1396459784","1396459751","1396459769","1396459798"],"photo_ids_order":["1396459751","1396459769","1396459784","1396459790","1396459794","1396459798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/515d9ec9b4ba5b285024a832fa4bb354.jpg","text":"TemporaryFile(/tmp/multipartBody1049107076084939698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_39_10_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/27/f4aecfeed5c9fb878dd9e14afdcbfe90.jpg","text":"TemporaryFile(/tmp/multipartBody1403512215842638072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_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/27/8ec0ca04450271b90b012673756f4257.jpg","text":"TemporaryFile(/tmp/multipartBody3524699060078158320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_37_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/27/c01c173bf1802938a83bb454b8fc8156.jpg","text":"TemporaryFile(/tmp/multipartBody3728603248325975702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_37_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/27/4da343cdaff6796e441aaf5d20cf808f.jpg","text":"TemporaryFile(/tmp/multipartBody8881152878609064168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_37_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/27/ca97f087a2a7d835a7b6ff762f7378cd.jpg","text":"TemporaryFile(/tmp/multipartBody7089455502089754715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274874368,"filename":"image_21112025_21_39_13_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396459784","file1":"1396459769","file0":"1396459751","file4":"1396459794","file5":"1396459798","file3":"1396459790"},"map_files_photo_id_array":[{"photo_id":"1396459798","filename":"file5"},{"photo_id":"1396459784","filename":"file2"},{"photo_id":"1396459794","filename":"file4"},{"photo_id":"1396459769","filename":"file1"},{"photo_id":"1396459751","filename":"file0"},{"photo_id":"1396459790","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396459794":["hashtag1","hashtag2"]},{"1396459790":["hashtag1","hashtag2"]},{"1396459784":["hashtag1","hashtag2"]},{"1396459751":["hashtag1","hashtag2"]},{"1396459769":["hashtag1","hashtag2"]},{"1396459798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396459794, 1396459790, 1396459784, 1396459751, 1396459769, 1396459798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17991757392883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:21:03.367985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_35_10755.jpg', '/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_45_9317.jpg', '/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_55_9881.jpg', '/home/pi/Desktop/images/27112025/17/23/image_27112025_17_24_05_10674.jpg', '/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_15_9757.jpg', '/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_25_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_35_10755.jpg
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_45_9317.jpg
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_23_55_9881.jpg
/home/pi/Desktop/images/27112025/17/23/image_27112025_17_24_05_10674.jpg
/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_15_9757.jpg
/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_25_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396459953","1396459949","1396459921","1396459945","1396459930","1396459989"],"photo_ids_order":["1396459921","1396459930","1396459945","1396459949","1396459953","1396459989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ba36ed19d87005145b3a8e2fab4c07d.jpg","text":"TemporaryFile(/tmp/multipartBody7443098772265606777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_24_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7baca8308215540c3a1abde6af3bda4a.jpg","text":"TemporaryFile(/tmp/multipartBody6099827007827002997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_24_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2194d8d27a2c43a508870eab6c38b17.jpg","text":"TemporaryFile(/tmp/multipartBody4477180239204981365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_23_35_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/746ef443d8318103ce233731898ebd67.jpg","text":"TemporaryFile(/tmp/multipartBody1058573208908404728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_23_55_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2936e857732ed0ce0ea0a909df04b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2692901294650529208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_23_45_9317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b57fe67ff4b8e07e7172e8203d1f4a3a.jpg","text":"TemporaryFile(/tmp/multipartBody5181360898025573826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274924370,"filename":"image_27112025_17_24_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396459945","file1":"1396459930","file0":"1396459921","file4":"1396459953","file5":"1396459989","file3":"1396459949"},"map_files_photo_id_array":[{"photo_id":"1396459989","filename":"file5"},{"photo_id":"1396459945","filename":"file2"},{"photo_id":"1396459953","filename":"file4"},{"photo_id":"1396459930","filename":"file1"},{"photo_id":"1396459921","filename":"file0"},{"photo_id":"1396459949","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396459953":["hashtag1","hashtag2"]},{"1396459949":["hashtag1","hashtag2"]},{"1396459921":["hashtag1","hashtag2"]},{"1396459945":["hashtag1","hashtag2"]},{"1396459930":["hashtag1","hashtag2"]},{"1396459989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396459953, 1396459949, 1396459921, 1396459945, 1396459930, 1396459989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2545702457428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:22:04.838779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_35_10728.jpg', '/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_45_9640.jpg', '/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_55_9822.jpg', '/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_14_10058.jpg', '/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_24_10653.jpg', '/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_35_10728.jpg
/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_45_9640.jpg
/home/pi/Desktop/images/27112025/17/24/image_27112025_17_24_55_9822.jpg
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_14_10058.jpg
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_24_10653.jpg
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_34_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460107","1396460130","1396460169","1396460100","1396460103","1396460090"],"photo_ids_order":["1396460090","1396460100","1396460103","1396460107","1396460130","1396460169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/75b0c8064546b08b692f93b2f4d0a8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4690206413313994799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_25_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/360aa230671a7fbcbe3284e8efd73fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6733848875142774034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_25_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df7983414882aeb0431b5abdb4e569b5.jpg","text":"TemporaryFile(/tmp/multipartBody6403543299440271250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_25_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6412fb8e23e5ca2af70e94a969c78813.jpg","text":"TemporaryFile(/tmp/multipartBody282683272278642067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_24_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2481ed9d2ba4235b67f6b8ddafb4e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody1563588361171822512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_24_55_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b85e6d2e790477c63957848b17057e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6622543407551153630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764274985844,"filename":"image_27112025_17_24_35_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460103","file1":"1396460100","file0":"1396460090","file4":"1396460130","file5":"1396460169","file3":"1396460107"},"map_files_photo_id_array":[{"photo_id":"1396460169","filename":"file5"},{"photo_id":"1396460103","filename":"file2"},{"photo_id":"1396460130","filename":"file4"},{"photo_id":"1396460100","filename":"file1"},{"photo_id":"1396460090","filename":"file0"},{"photo_id":"1396460107","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460107":["hashtag1","hashtag2"]},{"1396460130":["hashtag1","hashtag2"]},{"1396460169":["hashtag1","hashtag2"]},{"1396460100":["hashtag1","hashtag2"]},{"1396460103":["hashtag1","hashtag2"]},{"1396460090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460107, 1396460130, 1396460169, 1396460100, 1396460103, 1396460090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24981141090393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:23:02.865183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_44_9639.jpg', '/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_54_10625.jpg', '/home/pi/Desktop/images/27112025/17/25/image_27112025_17_26_04_9722.jpg', '/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_14_9813.jpg', '/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_25_10707.jpg', '/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_44_9639.jpg
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_25_54_10625.jpg
/home/pi/Desktop/images/27112025/17/25/image_27112025_17_26_04_9722.jpg
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_14_9813.jpg
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_25_10707.jpg
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_34_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460422","1396460538","1396460418","1396460526","1396460508","1396460465"],"photo_ids_order":["1396460418","1396460422","1396460465","1396460508","1396460526","1396460538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7bd3eb685c95d0b42a18aa0f0c07861.jpg","text":"TemporaryFile(/tmp/multipartBody817816021948077346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_25_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c089281427cf60244fd6ef4c47a1882e.jpg","text":"TemporaryFile(/tmp/multipartBody1954227124108047252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_26_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37d680f8f8ba81862859028133762a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4323261971753776877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_25_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac842e0fc170cc8913e315eccd63d717.jpg","text":"TemporaryFile(/tmp/multipartBody7169129204160343808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_26_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c08b7f028aa19d260b0d2c74b6d5eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6984123148254426374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_26_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/89daa3d339329488704045798e6a0267.jpg","text":"TemporaryFile(/tmp/multipartBody7751508068858553936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275043880,"filename":"image_27112025_17_26_04_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460465","file1":"1396460422","file0":"1396460418","file4":"1396460526","file5":"1396460538","file3":"1396460508"},"map_files_photo_id_array":[{"photo_id":"1396460538","filename":"file5"},{"photo_id":"1396460465","filename":"file2"},{"photo_id":"1396460526","filename":"file4"},{"photo_id":"1396460422","filename":"file1"},{"photo_id":"1396460418","filename":"file0"},{"photo_id":"1396460508","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460422":["hashtag1","hashtag2"]},{"1396460538":["hashtag1","hashtag2"]},{"1396460418":["hashtag1","hashtag2"]},{"1396460526":["hashtag1","hashtag2"]},{"1396460508":["hashtag1","hashtag2"]},{"1396460465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460422, 1396460538, 1396460418, 1396460526, 1396460508, 1396460465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04103684425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:24:03.213763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_44_9600.jpg', '/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_55_10647.jpg', '/home/pi/Desktop/images/27112025/17/26/image_27112025_17_27_04_9715.jpg', '/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_14_9717.jpg', '/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_24_9730.jpg', '/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_34_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_44_9600.jpg
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_26_55_10647.jpg
/home/pi/Desktop/images/27112025/17/26/image_27112025_17_27_04_9715.jpg
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_14_9717.jpg
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_24_9730.jpg
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_34_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460586","1396460576","1396460590","1396460593","1396460572","1396460581"],"photo_ids_order":["1396460572","1396460576","1396460581","1396460586","1396460590","1396460593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a7803c541147f8734416c52f3267868.jpg","text":"TemporaryFile(/tmp/multipartBody8268965409155684915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_27_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/831956c0447156ac1eec54af1a87d208.jpg","text":"TemporaryFile(/tmp/multipartBody8340075907435023100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_26_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e166e1677fddad0a91b5386de351e943.jpg","text":"TemporaryFile(/tmp/multipartBody681688936079217902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_27_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d02f231b507a32cbcc3542828d78f28b.jpg","text":"TemporaryFile(/tmp/multipartBody5896372824406909514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_27_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abc3e39b64122d71a10fb96c885a70ac.jpg","text":"TemporaryFile(/tmp/multipartBody509829978525903666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_26_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/039c2b22be64c5374f3537720fbb7390.jpg","text":"TemporaryFile(/tmp/multipartBody1601977050310088585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275107898,"filename":"image_27112025_17_27_04_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460581","file1":"1396460576","file0":"1396460572","file4":"1396460590","file5":"1396460593","file3":"1396460586"},"map_files_photo_id_array":[{"photo_id":"1396460593","filename":"file5"},{"photo_id":"1396460581","filename":"file2"},{"photo_id":"1396460590","filename":"file4"},{"photo_id":"1396460576","filename":"file1"},{"photo_id":"1396460572","filename":"file0"},{"photo_id":"1396460586","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460586":["hashtag1","hashtag2"]},{"1396460576":["hashtag1","hashtag2"]},{"1396460590":["hashtag1","hashtag2"]},{"1396460593":["hashtag1","hashtag2"]},{"1396460572":["hashtag1","hashtag2"]},{"1396460581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460586, 1396460576, 1396460590, 1396460593, 1396460572, 1396460581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7826669216156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:25:03.463445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_44_9994.jpg', '/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_54_9834.jpg', '/home/pi/Desktop/images/27112025/17/27/image_27112025_17_28_04_9765.jpg', '/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_15_10622.jpg', '/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_24_9612.jpg', '/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_34_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_44_9994.jpg
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_27_54_9834.jpg
/home/pi/Desktop/images/27112025/17/27/image_27112025_17_28_04_9765.jpg
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_15_10622.jpg
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_24_9612.jpg
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_34_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460713","1396460646","1396460739","1396460724","1396460698","1396460680"],"photo_ids_order":["1396460646","1396460680","1396460698","1396460713","1396460724","1396460739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d3fe287b8b03e49a3bc925b6be95d3af.jpg","text":"TemporaryFile(/tmp/multipartBody2338320079922768609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_28_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1b378d5ce4b89ff8cbde8c23813f4ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2737477162858374041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_27_44_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c0e3bfa919a6e174c0da91fae714e62.jpg","text":"TemporaryFile(/tmp/multipartBody9127651788492047310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_28_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61f40aa76a0402211845a7f02bb57f43.jpg","text":"TemporaryFile(/tmp/multipartBody4488631456339083523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_28_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f429010cd7965acd53f38fbecefb588e.jpg","text":"TemporaryFile(/tmp/multipartBody9208569398613955443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_28_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/878c053a6fa03a887438fd59d31d4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8431790948091424678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275164528,"filename":"image_27112025_17_27_54_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460698","file1":"1396460680","file0":"1396460646","file4":"1396460724","file5":"1396460739","file3":"1396460713"},"map_files_photo_id_array":[{"photo_id":"1396460739","filename":"file5"},{"photo_id":"1396460698","filename":"file2"},{"photo_id":"1396460724","filename":"file4"},{"photo_id":"1396460680","filename":"file1"},{"photo_id":"1396460646","filename":"file0"},{"photo_id":"1396460713","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460713":["hashtag1","hashtag2"]},{"1396460646":["hashtag1","hashtag2"]},{"1396460739":["hashtag1","hashtag2"]},{"1396460724":["hashtag1","hashtag2"]},{"1396460698":["hashtag1","hashtag2"]},{"1396460680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460713, 1396460646, 1396460739, 1396460724, 1396460698, 1396460680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95549488067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:26:05.294316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_44_10640.jpg', '/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_54_9862.jpg', '/home/pi/Desktop/images/27112025/17/28/image_27112025_17_29_04_9753.jpg', '/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_14_9749.jpg', '/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_24_9801.jpg', '/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_34_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_44_10640.jpg
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_28_54_9862.jpg
/home/pi/Desktop/images/27112025/17/28/image_27112025_17_29_04_9753.jpg
/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_14_9749.jpg
/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_24_9801.jpg
/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_34_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460781","1396460799","1396460787","1396460795","1396460783","1396460791"],"photo_ids_order":["1396460781","1396460783","1396460787","1396460791","1396460795","1396460799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f9aa31053b96e393e8e082e53d3da42.jpg","text":"TemporaryFile(/tmp/multipartBody3679530072272611565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_28_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ff8c4f464df95dbcd9ee6d8f76d4d38.jpg","text":"TemporaryFile(/tmp/multipartBody8873326545474967978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_29_34_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/938506650097d99a22875af584ac79e5.jpg","text":"TemporaryFile(/tmp/multipartBody7473065793549528642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_29_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/460264228c1c2eba598fef8dcbf77c74.jpg","text":"TemporaryFile(/tmp/multipartBody6400962353175371841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_29_24_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e56adec5e6fc111c943ad2e7e241ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody2626573361876376135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_28_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ffd1fec96a99a876e6a3cf78dbe4ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody1702365640454807385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275229388,"filename":"image_27112025_17_29_14_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460787","file1":"1396460783","file0":"1396460781","file4":"1396460795","file5":"1396460799","file3":"1396460791"},"map_files_photo_id_array":[{"photo_id":"1396460799","filename":"file5"},{"photo_id":"1396460787","filename":"file2"},{"photo_id":"1396460795","filename":"file4"},{"photo_id":"1396460783","filename":"file1"},{"photo_id":"1396460781","filename":"file0"},{"photo_id":"1396460791","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460781":["hashtag1","hashtag2"]},{"1396460799":["hashtag1","hashtag2"]},{"1396460787":["hashtag1","hashtag2"]},{"1396460795":["hashtag1","hashtag2"]},{"1396460783":["hashtag1","hashtag2"]},{"1396460791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460781, 1396460799, 1396460787, 1396460795, 1396460783, 1396460791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68417024612427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:27:02.675104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_44_9813.jpg', '/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_54_9847.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_14_10052.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_25_10625.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_34_9689.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_44_9813.jpg
/home/pi/Desktop/images/27112025/17/29/image_27112025_17_29_54_9847.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_14_10052.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_25_10625.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_34_9689.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_44_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396460889","1396460886","1396460882","1396460861","1396460870","1396460878"],"photo_ids_order":["1396460861","1396460870","1396460878","1396460882","1396460886","1396460889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/adb5b6dd738f3d8c9ecb853ed457b14d.jpg","text":"TemporaryFile(/tmp/multipartBody7036589559058980130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_30_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a49c578de28da4b10de7c79c970dd5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8052660190421924859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_30_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a2f8dc81ed284bcaa8b9b3c1fc03052.jpg","text":"TemporaryFile(/tmp/multipartBody4214938228191793335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_30_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce4a2bed812c8a545001809a01734b35.jpg","text":"TemporaryFile(/tmp/multipartBody4754607667393465760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_29_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/544c7dfb9eb1e751916c296eb3a39552.jpg","text":"TemporaryFile(/tmp/multipartBody6083380340104428437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_29_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58fa117c9014c23b11f75c5e2c69e657.jpg","text":"TemporaryFile(/tmp/multipartBody1403444734267403301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275283860,"filename":"image_27112025_17_30_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396460878","file1":"1396460870","file0":"1396460861","file4":"1396460886","file5":"1396460889","file3":"1396460882"},"map_files_photo_id_array":[{"photo_id":"1396460889","filename":"file5"},{"photo_id":"1396460878","filename":"file2"},{"photo_id":"1396460886","filename":"file4"},{"photo_id":"1396460870","filename":"file1"},{"photo_id":"1396460861","filename":"file0"},{"photo_id":"1396460882","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396460889":["hashtag1","hashtag2"]},{"1396460886":["hashtag1","hashtag2"]},{"1396460882":["hashtag1","hashtag2"]},{"1396460861":["hashtag1","hashtag2"]},{"1396460870":["hashtag1","hashtag2"]},{"1396460878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396460889, 1396460886, 1396460882, 1396460861, 1396460870, 1396460878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10863471031189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:28:02.719580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_55_10801.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_31_05_9759.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_14_9644.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_25_10632.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_35_9656.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_55_10801.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_31_05_9759.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_14_9644.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_25_10632.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_35_9656.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_44_9713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7132656574249268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 21:28:12.650728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_16_2800.jpg', '/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_19_3549.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_10_3975.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_13_2678.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_16_2602.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_22_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_16_2800.jpg
/home/pi/Desktop/images/21112025/21/39/image_21112025_21_39_19_3549.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_10_3975.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_13_2678.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_16_2602.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_22_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461063","1396461027","1396460943","1396461009","1396461041","1396460978"],"photo_ids_order":["1396460943","1396460978","1396461009","1396461027","1396461041","1396461063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0869ccec3755926e769a574f9837b2c9.jpg","text":"TemporaryFile(/tmp/multipartBody374674172507702098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_41_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/27/7c5c93aa92e92e90b65f8a3f9bbb72c6.jpg","text":"TemporaryFile(/tmp/multipartBody6452653020609453018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_41_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/27/929b1f639df2786116b28a46a478012d.jpg","text":"TemporaryFile(/tmp/multipartBody6577010299888684175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_39_16_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/27/4837d70f589346fad325e850098258df.jpg","text":"TemporaryFile(/tmp/multipartBody7575013346950664205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_41_10_3975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa336b14e61801aa1795d8e6ff5b5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1631243973409770855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_41_16_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/27/3934e0b620c47d69c7f47d0b91322f10.jpg","text":"TemporaryFile(/tmp/multipartBody7825665632113691081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275354490,"filename":"image_21112025_21_39_19_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461009","file1":"1396460978","file0":"1396460943","file4":"1396461041","file5":"1396461063","file3":"1396461027"},"map_files_photo_id_array":[{"photo_id":"1396461063","filename":"file5"},{"photo_id":"1396461009","filename":"file2"},{"photo_id":"1396461041","filename":"file4"},{"photo_id":"1396460978","filename":"file1"},{"photo_id":"1396460943","filename":"file0"},{"photo_id":"1396461027","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396461063":["hashtag1","hashtag2"]},{"1396461027":["hashtag1","hashtag2"]},{"1396460943":["hashtag1","hashtag2"]},{"1396461009":["hashtag1","hashtag2"]},{"1396461041":["hashtag1","hashtag2"]},{"1396460978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396461063, 1396461027, 1396460943, 1396461009, 1396461041, 1396460978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.376288652420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:29:03.459062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_55_10801.jpg', '/home/pi/Desktop/images/27112025/17/30/image_27112025_17_31_05_9759.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_14_9644.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_25_10632.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_35_9656.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_30_55_10801.jpg
/home/pi/Desktop/images/27112025/17/30/image_27112025_17_31_05_9759.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_14_9644.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_25_10632.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_35_9656.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_44_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461159","1396461150","1396461146","1396461154","1396461133","1396461136"],"photo_ids_order":["1396461133","1396461136","1396461146","1396461150","1396461154","1396461159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/390ce99f7598e45cf9797e293a712515.jpg","text":"TemporaryFile(/tmp/multipartBody2645076954082902473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_31_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e9d7c7c6adcebeac53d457368d547c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2408548665596381489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_31_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aaa45088077174a4e584b2f011c5b131.jpg","text":"TemporaryFile(/tmp/multipartBody45221053969756459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_31_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2387d092965b0e0f5822b44f80c85fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4868988380332132404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_31_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1293c9dc9e79f784d607be67174b283b.jpg","text":"TemporaryFile(/tmp/multipartBody4493353302977019222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_30_55_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9f5314200b6fa0ce882bd19507be11b.jpg","text":"TemporaryFile(/tmp/multipartBody8803075054834867276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275404566,"filename":"image_27112025_17_31_05_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461146","file1":"1396461136","file0":"1396461133","file4":"1396461154","file5":"1396461159","file3":"1396461150"},"map_files_photo_id_array":[{"photo_id":"1396461159","filename":"file5"},{"photo_id":"1396461146","filename":"file2"},{"photo_id":"1396461154","filename":"file4"},{"photo_id":"1396461136","filename":"file1"},{"photo_id":"1396461133","filename":"file0"},{"photo_id":"1396461150","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461159":["hashtag1","hashtag2"]},{"1396461150":["hashtag1","hashtag2"]},{"1396461146":["hashtag1","hashtag2"]},{"1396461154":["hashtag1","hashtag2"]},{"1396461133":["hashtag1","hashtag2"]},{"1396461136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461159, 1396461150, 1396461146, 1396461154, 1396461133, 1396461136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5499222278595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:30:03.118258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_55_10616.jpg', '/home/pi/Desktop/images/27112025/17/31/image_27112025_17_32_05_9984.jpg', '/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_15_9744.jpg', '/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_25_9836.jpg', '/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_34_9666.jpg', '/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_45_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_31_55_10616.jpg
/home/pi/Desktop/images/27112025/17/31/image_27112025_17_32_05_9984.jpg
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_15_9744.jpg
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_25_9836.jpg
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_34_9666.jpg
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_45_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461210","1396461191","1396461181","1396461175","1396461178","1396461172"],"photo_ids_order":["1396461172","1396461175","1396461178","1396461181","1396461191","1396461210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e359e963fb062622035ef7ae6daf97c.jpg","text":"TemporaryFile(/tmp/multipartBody5777825562130361078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_32_45_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1ebdc42de7f9799f6eceac19851e1df.jpg","text":"TemporaryFile(/tmp/multipartBody1706335302773161121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_32_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/237e6e231c58978ca5acbee190510c10.jpg","text":"TemporaryFile(/tmp/multipartBody4940863950283259937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_32_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40ebb106ec244a8554203143d080dacb.jpg","text":"TemporaryFile(/tmp/multipartBody7231131994573127431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_32_05_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbf060284c92d10aa7d04e62a9e9bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody9220055083726885249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_32_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/932d1d4356924fc0b9cebb0aa13cda2a.jpg","text":"TemporaryFile(/tmp/multipartBody396697309069159311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275466701,"filename":"image_27112025_17_31_55_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461178","file1":"1396461175","file0":"1396461172","file4":"1396461191","file5":"1396461210","file3":"1396461181"},"map_files_photo_id_array":[{"photo_id":"1396461210","filename":"file5"},{"photo_id":"1396461178","filename":"file2"},{"photo_id":"1396461191","filename":"file4"},{"photo_id":"1396461175","filename":"file1"},{"photo_id":"1396461172","filename":"file0"},{"photo_id":"1396461181","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461210":["hashtag1","hashtag2"]},{"1396461191":["hashtag1","hashtag2"]},{"1396461181":["hashtag1","hashtag2"]},{"1396461175":["hashtag1","hashtag2"]},{"1396461178":["hashtag1","hashtag2"]},{"1396461172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461210, 1396461191, 1396461181, 1396461175, 1396461178, 1396461172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3092200756073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:31:03.446875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_55_9634.jpg', '/home/pi/Desktop/images/27112025/17/32/image_27112025_17_33_04_9713.jpg', '/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_14_9916.jpg', '/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_25_10790.jpg', '/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_35_9659.jpg', '/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_32_55_9634.jpg
/home/pi/Desktop/images/27112025/17/32/image_27112025_17_33_04_9713.jpg
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_14_9916.jpg
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_25_10790.jpg
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_35_9659.jpg
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_44_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461258","1396461306","1396461362","1396461365","1396461332","1396461280"],"photo_ids_order":["1396461258","1396461280","1396461306","1396461332","1396461362","1396461365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dad8376ad41241df1af165b64f1cb4a4.jpg","text":"TemporaryFile(/tmp/multipartBody3833242032947958478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_32_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ea38617c217a6000e588c0ee0ddbf0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7345622532065424507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_33_14_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a650aa791a10df62278d4696e44da5a.jpg","text":"TemporaryFile(/tmp/multipartBody7630794484996789377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_33_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/27c09a3d92d662522ea8075c0a0f9238.jpg","text":"TemporaryFile(/tmp/multipartBody2094760637190410349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_33_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfec5997a5a4ca44c16426caf0dac84f.jpg","text":"TemporaryFile(/tmp/multipartBody7673008628143983704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_33_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c70c3c68630fc98c443bc1dee62a5836.jpg","text":"TemporaryFile(/tmp/multipartBody2745499000116852037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275524551,"filename":"image_27112025_17_33_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461306","file1":"1396461280","file0":"1396461258","file4":"1396461362","file5":"1396461365","file3":"1396461332"},"map_files_photo_id_array":[{"photo_id":"1396461365","filename":"file5"},{"photo_id":"1396461306","filename":"file2"},{"photo_id":"1396461362","filename":"file4"},{"photo_id":"1396461280","filename":"file1"},{"photo_id":"1396461258","filename":"file0"},{"photo_id":"1396461332","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461258":["hashtag1","hashtag2"]},{"1396461306":["hashtag1","hashtag2"]},{"1396461362":["hashtag1","hashtag2"]},{"1396461365":["hashtag1","hashtag2"]},{"1396461332":["hashtag1","hashtag2"]},{"1396461280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461258, 1396461306, 1396461362, 1396461365, 1396461332, 1396461280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.195523262023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:32:02.666875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_55_10775.jpg', '/home/pi/Desktop/images/27112025/17/33/image_27112025_17_34_05_9835.jpg', '/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_15_9896.jpg', '/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_25_9758.jpg', '/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_34_9630.jpg', '/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_45_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_33_55_10775.jpg
/home/pi/Desktop/images/27112025/17/33/image_27112025_17_34_05_9835.jpg
/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_15_9896.jpg
/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_25_9758.jpg
/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_34_9630.jpg
/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_45_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461459","1396461488","1396461499","1396461496","1396461502","1396461505"],"photo_ids_order":["1396461459","1396461488","1396461496","1396461499","1396461502","1396461505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1c4036b43860978751d465fd1e79560e.jpg","text":"TemporaryFile(/tmp/multipartBody5473668164560388735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_33_55_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af3201d95341062b5c2c3cd2dcf5dc09.jpg","text":"TemporaryFile(/tmp/multipartBody6520581849982738969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_34_05_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a5c6d7cf33e161e5c22b53f85850413d.jpg","text":"TemporaryFile(/tmp/multipartBody5231777974434490684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_34_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e1bdf12e3c267d00085902749d22cf09.jpg","text":"TemporaryFile(/tmp/multipartBody1166782380244743236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_34_15_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a75f6ef9af3f40d54703f9353f1c5773.jpg","text":"TemporaryFile(/tmp/multipartBody6482241457268855224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_34_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e8f1cecf6da7b252c42e7b6dc16a17a1.jpg","text":"TemporaryFile(/tmp/multipartBody3241964010143904758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275583849,"filename":"image_27112025_17_34_45_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461496","file1":"1396461488","file0":"1396461459","file4":"1396461502","file5":"1396461505","file3":"1396461499"},"map_files_photo_id_array":[{"photo_id":"1396461505","filename":"file5"},{"photo_id":"1396461496","filename":"file2"},{"photo_id":"1396461502","filename":"file4"},{"photo_id":"1396461488","filename":"file1"},{"photo_id":"1396461459","filename":"file0"},{"photo_id":"1396461499","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461459":["hashtag1","hashtag2"]},{"1396461488":["hashtag1","hashtag2"]},{"1396461499":["hashtag1","hashtag2"]},{"1396461496":["hashtag1","hashtag2"]},{"1396461502":["hashtag1","hashtag2"]},{"1396461505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461459, 1396461488, 1396461499, 1396461496, 1396461502, 1396461505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91717791557312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:33:02.933614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_55_9724.jpg', '/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_13_10061.jpg', '/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_24_10601.jpg', '/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_34_9760.jpg', '/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_43_9607.jpg', '/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/34/image_27112025_17_34_55_9724.jpg
/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_13_10061.jpg
/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_24_10601.jpg
/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_34_9760.jpg
/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_43_9607.jpg
/home/pi/Desktop/images/27112025/17/35/image_27112025_17_35_54_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461513","1396461537","1396461539","1396461530","1396461541","1396461517"],"photo_ids_order":["1396461513","1396461517","1396461530","1396461537","1396461539","1396461541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f06c4367eafbc8c6f176c176395ee45.jpg","text":"TemporaryFile(/tmp/multipartBody4982114656681078295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_34_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a514ab88f46cff8fb33b2abaf467745f.jpg","text":"TemporaryFile(/tmp/multipartBody6771347473067238508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_35_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e13f7c65021959650f33d63726782e26.jpg","text":"TemporaryFile(/tmp/multipartBody5422699581060375542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_35_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/73d639593ce969338154d6d9a1f5e6e1.jpg","text":"TemporaryFile(/tmp/multipartBody6947436627151897867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_35_24_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed9f1129c16000d25b13637436acffcf.jpg","text":"TemporaryFile(/tmp/multipartBody532875149260019461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_35_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd499324487987b023d3d4e6fed81ef5.jpg","text":"TemporaryFile(/tmp/multipartBody8939228946226363246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275643999,"filename":"image_27112025_17_35_13_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461530","file1":"1396461517","file0":"1396461513","file4":"1396461539","file5":"1396461541","file3":"1396461537"},"map_files_photo_id_array":[{"photo_id":"1396461541","filename":"file5"},{"photo_id":"1396461530","filename":"file2"},{"photo_id":"1396461539","filename":"file4"},{"photo_id":"1396461517","filename":"file1"},{"photo_id":"1396461513","filename":"file0"},{"photo_id":"1396461537","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461513":["hashtag1","hashtag2"]},{"1396461537":["hashtag1","hashtag2"]},{"1396461539":["hashtag1","hashtag2"]},{"1396461530":["hashtag1","hashtag2"]},{"1396461541":["hashtag1","hashtag2"]},{"1396461517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461513, 1396461537, 1396461539, 1396461530, 1396461541, 1396461517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13243865966797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:34:03.331359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_24_9601.jpg', '/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_34_9647.jpg', '/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_43_9826.jpg', '/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_54_10702.jpg', '/home/pi/Desktop/images/27112025/17/36/image_27112025_17_37_04_9749.jpg', '/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_24_9601.jpg
/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_34_9647.jpg
/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_43_9826.jpg
/home/pi/Desktop/images/27112025/17/36/image_27112025_17_36_54_10702.jpg
/home/pi/Desktop/images/27112025/17/36/image_27112025_17_37_04_9749.jpg
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_14_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461582","1396461639","1396461554","1396461551","1396461556","1396461610"],"photo_ids_order":["1396461551","1396461554","1396461556","1396461582","1396461610","1396461639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/801ac33a719bb7af7106e2cfb38cd925.jpg","text":"TemporaryFile(/tmp/multipartBody7100584925100718907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_36_54_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/27/7b3b77425b7377ca993c22613e0691aa.jpg","text":"TemporaryFile(/tmp/multipartBody1546576429275879057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_37_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb040f05a33af31d5ee03516e51c84a8.jpg","text":"TemporaryFile(/tmp/multipartBody3033509287744023468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_36_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/592e4158e9d7a13ef0b44dc083fe1499.jpg","text":"TemporaryFile(/tmp/multipartBody2480284006460591953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_36_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77d5b1111fbd4a570a5cc283b214c56f.jpg","text":"TemporaryFile(/tmp/multipartBody4361718613685551391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_36_43_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/245352d5683c8deb9bc6cfebc8d1c9a1.jpg","text":"TemporaryFile(/tmp/multipartBody4913416042227084261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275704514,"filename":"image_27112025_17_37_04_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461556","file1":"1396461554","file0":"1396461551","file4":"1396461610","file5":"1396461639","file3":"1396461582"},"map_files_photo_id_array":[{"photo_id":"1396461639","filename":"file5"},{"photo_id":"1396461556","filename":"file2"},{"photo_id":"1396461610","filename":"file4"},{"photo_id":"1396461554","filename":"file1"},{"photo_id":"1396461551","filename":"file0"},{"photo_id":"1396461582","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461582":["hashtag1","hashtag2"]},{"1396461639":["hashtag1","hashtag2"]},{"1396461554":["hashtag1","hashtag2"]},{"1396461551":["hashtag1","hashtag2"]},{"1396461556":["hashtag1","hashtag2"]},{"1396461610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461582, 1396461639, 1396461554, 1396461551, 1396461556, 1396461610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17665457725525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:35:02.629009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_24_10727.jpg', '/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_34_9891.jpg', '/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_44_9718.jpg', '/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_54_9562.jpg', '/home/pi/Desktop/images/27112025/17/37/image_27112025_17_38_04_10697.jpg', '/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_14_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_24_10727.jpg
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_34_9891.jpg
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_44_9718.jpg
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_37_54_9562.jpg
/home/pi/Desktop/images/27112025/17/37/image_27112025_17_38_04_10697.jpg
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_14_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461723","1396461732","1396461729","1396461717","1396461725","1396461721"],"photo_ids_order":["1396461717","1396461721","1396461723","1396461725","1396461729","1396461732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a1a5e25ccbcb63118948712a4f75a05.jpg","text":"TemporaryFile(/tmp/multipartBody1790428409972702681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_37_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24ad4abc020dc2210e184be5881324ad.jpg","text":"TemporaryFile(/tmp/multipartBody5092075736286209476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_38_14_9316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84108705760fe129bc3f46d6ae33ad42.jpg","text":"TemporaryFile(/tmp/multipartBody1418365433838590805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_38_04_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/32282624e745b484f5a353aee8355359.jpg","text":"TemporaryFile(/tmp/multipartBody7190327370068154513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_37_24_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/426ddce1cc47c73ee669468be309760c.jpg","text":"TemporaryFile(/tmp/multipartBody807071164807497107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_37_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09d92d98c76ee368ebe8dc3296b8994a.jpg","text":"TemporaryFile(/tmp/multipartBody4978117690820242941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275763703,"filename":"image_27112025_17_37_34_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461723","file1":"1396461721","file0":"1396461717","file4":"1396461729","file5":"1396461732","file3":"1396461725"},"map_files_photo_id_array":[{"photo_id":"1396461732","filename":"file5"},{"photo_id":"1396461723","filename":"file2"},{"photo_id":"1396461729","filename":"file4"},{"photo_id":"1396461721","filename":"file1"},{"photo_id":"1396461717","filename":"file0"},{"photo_id":"1396461725","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461723":["hashtag1","hashtag2"]},{"1396461732":["hashtag1","hashtag2"]},{"1396461729":["hashtag1","hashtag2"]},{"1396461717":["hashtag1","hashtag2"]},{"1396461725":["hashtag1","hashtag2"]},{"1396461721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461723, 1396461732, 1396461729, 1396461717, 1396461725, 1396461721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13896870613098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:36:02.602145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_24_10631.jpg', '/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_34_9679.jpg', '/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_44_9839.jpg', '/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_54_10340.jpg', '/home/pi/Desktop/images/27112025/17/38/image_27112025_17_39_04_9776.jpg', '/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_13_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_24_10631.jpg
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_34_9679.jpg
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_44_9839.jpg
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_38_54_10340.jpg
/home/pi/Desktop/images/27112025/17/38/image_27112025_17_39_04_9776.jpg
/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_13_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461768","1396461783","1396461741","1396461738","1396461778","1396461754"],"photo_ids_order":["1396461738","1396461741","1396461754","1396461768","1396461778","1396461783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d63a4473a8fd2b08c0e8733f88e2af8.jpg","text":"TemporaryFile(/tmp/multipartBody5988406289325273292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_38_54_10340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/642fb6e45163d963d9a28f036f208b07.jpg","text":"TemporaryFile(/tmp/multipartBody4490482194164225616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_39_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9677b1447c890823e8f174a8bcb779b7.jpg","text":"TemporaryFile(/tmp/multipartBody7701010038142652287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_38_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f3b72b9acf8537f0849d2fc41cec938.jpg","text":"TemporaryFile(/tmp/multipartBody2373589215938703185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_38_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b3dde3a002a07cde5b87a5ecb4e1d28.jpg","text":"TemporaryFile(/tmp/multipartBody2481901289104489815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_39_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66fd1d4a8fb594628b32e1b474255302.jpg","text":"TemporaryFile(/tmp/multipartBody183270572449409842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275823675,"filename":"image_27112025_17_38_44_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461754","file1":"1396461741","file0":"1396461738","file4":"1396461778","file5":"1396461783","file3":"1396461768"},"map_files_photo_id_array":[{"photo_id":"1396461783","filename":"file5"},{"photo_id":"1396461754","filename":"file2"},{"photo_id":"1396461778","filename":"file4"},{"photo_id":"1396461741","filename":"file1"},{"photo_id":"1396461738","filename":"file0"},{"photo_id":"1396461768","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461768":["hashtag1","hashtag2"]},{"1396461783":["hashtag1","hashtag2"]},{"1396461741":["hashtag1","hashtag2"]},{"1396461738":["hashtag1","hashtag2"]},{"1396461778":["hashtag1","hashtag2"]},{"1396461754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461768, 1396461783, 1396461741, 1396461738, 1396461778, 1396461754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41335320472717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:37:02.981831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_24_10776.jpg', '/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_34_9742.jpg', '/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_44_9790.jpg', '/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_53_9667.jpg', '/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_14_10058.jpg', '/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_34_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_24_10776.jpg
/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_34_9742.jpg
/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_44_9790.jpg
/home/pi/Desktop/images/27112025/17/39/image_27112025_17_39_53_9667.jpg
/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_14_10058.jpg
/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_34_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396461858","1396461834","1396461950","1396461830","1396461916","1396461885"],"photo_ids_order":["1396461830","1396461834","1396461858","1396461885","1396461916","1396461950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a98625b6f5cf30f4cfcc612e18cb441.jpg","text":"TemporaryFile(/tmp/multipartBody2485804636867761634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_39_44_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b1e1fe1c9a583f5a07297da521e6e061.jpg","text":"TemporaryFile(/tmp/multipartBody3697049448960428164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_39_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5de6cf21ca11522d8ff22e5794ff0355.jpg","text":"TemporaryFile(/tmp/multipartBody3910134858994091172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_41_34_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03272a05e661f2b76083c9353655d22f.jpg","text":"TemporaryFile(/tmp/multipartBody2618286515189091881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_39_24_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/356d58df392d2535e322efc8abcca7b5.jpg","text":"TemporaryFile(/tmp/multipartBody1611533529945635492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_41_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61951f9a50fc756aea6bfacd0d947e24.jpg","text":"TemporaryFile(/tmp/multipartBody4791729921034881366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275884141,"filename":"image_27112025_17_39_53_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396461858","file1":"1396461834","file0":"1396461830","file4":"1396461916","file5":"1396461950","file3":"1396461885"},"map_files_photo_id_array":[{"photo_id":"1396461950","filename":"file5"},{"photo_id":"1396461858","filename":"file2"},{"photo_id":"1396461916","filename":"file4"},{"photo_id":"1396461834","filename":"file1"},{"photo_id":"1396461830","filename":"file0"},{"photo_id":"1396461885","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396461858":["hashtag1","hashtag2"]},{"1396461834":["hashtag1","hashtag2"]},{"1396461950":["hashtag1","hashtag2"]},{"1396461830":["hashtag1","hashtag2"]},{"1396461916":["hashtag1","hashtag2"]},{"1396461885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396461858, 1396461834, 1396461950, 1396461830, 1396461916, 1396461885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57408785820007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:38:03.057522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_44_9797.jpg', '/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_54_9991.jpg', '/home/pi/Desktop/images/27112025/17/41/image_27112025_17_42_04_9699.jpg', '/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_14_10728.jpg', '/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_34_9690.jpg', '/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_54_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_44_9797.jpg
/home/pi/Desktop/images/27112025/17/41/image_27112025_17_41_54_9991.jpg
/home/pi/Desktop/images/27112025/17/41/image_27112025_17_42_04_9699.jpg
/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_14_10728.jpg
/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_34_9690.jpg
/home/pi/Desktop/images/27112025/17/42/image_27112025_17_42_54_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462056","1396462090","1396462037","1396462081","1396462083","1396462086"],"photo_ids_order":["1396462037","1396462056","1396462081","1396462083","1396462086","1396462090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83e5fc46c417bc6486e47661af53a707.jpg","text":"TemporaryFile(/tmp/multipartBody3721738114980479434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_41_54_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/845c980d0e9ae051dd6d0724ae266b65.jpg","text":"TemporaryFile(/tmp/multipartBody6496710689827299028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_42_54_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/840a8baff0d4c3fd6010bba5508c628a.jpg","text":"TemporaryFile(/tmp/multipartBody7476754172567706453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_41_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d04512d59595ca193a256946f27ff56.jpg","text":"TemporaryFile(/tmp/multipartBody4673344715379642388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_42_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7d504a227b3eb29834f71f97d048426.jpg","text":"TemporaryFile(/tmp/multipartBody2270747303227472292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_42_14_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a689e4ea08f7c939ebd8a32cf88350b6.jpg","text":"TemporaryFile(/tmp/multipartBody6167649330626379282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764275943989,"filename":"image_27112025_17_42_34_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462081","file1":"1396462056","file0":"1396462037","file4":"1396462086","file5":"1396462090","file3":"1396462083"},"map_files_photo_id_array":[{"photo_id":"1396462090","filename":"file5"},{"photo_id":"1396462081","filename":"file2"},{"photo_id":"1396462086","filename":"file4"},{"photo_id":"1396462056","filename":"file1"},{"photo_id":"1396462037","filename":"file0"},{"photo_id":"1396462083","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462056":["hashtag1","hashtag2"]},{"1396462090":["hashtag1","hashtag2"]},{"1396462037":["hashtag1","hashtag2"]},{"1396462081":["hashtag1","hashtag2"]},{"1396462083":["hashtag1","hashtag2"]},{"1396462086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462056, 1396462090, 1396462037, 1396462081, 1396462083, 1396462086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.713523626327515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:39:03.607140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/43/image_27112025_17_43_24_10623.jpg', '/home/pi/Desktop/images/27112025/17/43/image_27112025_17_43_44_9636.jpg', '/home/pi/Desktop/images/27112025/17/43/image_27112025_17_44_04_9632.jpg', '/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_14_10512.jpg', '/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_24_9696.jpg', '/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/43/image_27112025_17_43_24_10623.jpg
/home/pi/Desktop/images/27112025/17/43/image_27112025_17_43_44_9636.jpg
/home/pi/Desktop/images/27112025/17/43/image_27112025_17_44_04_9632.jpg
/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_14_10512.jpg
/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_24_9696.jpg
/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_34_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462109","1396462103","1396462117","1396462111","1396462105","1396462114"],"photo_ids_order":["1396462103","1396462105","1396462109","1396462111","1396462114","1396462117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7006d2ee19bd12d3ce1c8b4722759ce.jpg","text":"TemporaryFile(/tmp/multipartBody1163248804080994051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_44_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b024b429c8d14b01c5bc0222f112102d.jpg","text":"TemporaryFile(/tmp/multipartBody9066208812053336716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_43_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f21a41111a6fa34ea07ac376b9c55496.jpg","text":"TemporaryFile(/tmp/multipartBody3190952215316854059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_44_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed4baedb80e46c209704d3c9f11ffaf1.jpg","text":"TemporaryFile(/tmp/multipartBody1563020011777234494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_44_14_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c1cdd9f6eff6de2db2ec7463d1b8297.jpg","text":"TemporaryFile(/tmp/multipartBody4504350567451441886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_43_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e22c61f81135a65e75b38c16e5f70f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5697117388264291517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276004925,"filename":"image_27112025_17_44_24_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462109","file1":"1396462105","file0":"1396462103","file4":"1396462114","file5":"1396462117","file3":"1396462111"},"map_files_photo_id_array":[{"photo_id":"1396462117","filename":"file5"},{"photo_id":"1396462109","filename":"file2"},{"photo_id":"1396462114","filename":"file4"},{"photo_id":"1396462105","filename":"file1"},{"photo_id":"1396462103","filename":"file0"},{"photo_id":"1396462111","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462109":["hashtag1","hashtag2"]},{"1396462103":["hashtag1","hashtag2"]},{"1396462117":["hashtag1","hashtag2"]},{"1396462111":["hashtag1","hashtag2"]},{"1396462105":["hashtag1","hashtag2"]},{"1396462114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462109, 1396462103, 1396462117, 1396462111, 1396462105, 1396462114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00041651725769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:40:02.443556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_44_10687.jpg', '/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_16_10380.jpg', '/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_26_9889.jpg', '/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_37_10719.jpg', '/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_46_9770.jpg', '/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_56_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/44/image_27112025_17_44_44_10687.jpg
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_16_10380.jpg
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_26_9889.jpg
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_37_10719.jpg
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_46_9770.jpg
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_45_56_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462128","1396462131","1396462154","1396462147","1396462132","1396462126"],"photo_ids_order":["1396462126","1396462128","1396462131","1396462132","1396462147","1396462154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7fe94ba38f3a21f2d7d2583e7304a21.jpg","text":"TemporaryFile(/tmp/multipartBody2590367214098777880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_45_16_10380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9a6acf86b0089d70c4a80a055abb865.jpg","text":"TemporaryFile(/tmp/multipartBody7022796653854450691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_45_26_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84ebf2f367841828b5f90760baeaed50.jpg","text":"TemporaryFile(/tmp/multipartBody862101871983978945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_45_56_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/15f585b563ba47f2b66fc17c6c461ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7042297293108767939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_45_46_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2eb72e2ea4bd72e0dab0308703cb2a43.jpg","text":"TemporaryFile(/tmp/multipartBody1626758093846443291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_45_37_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3278b5bd7e9dfeff94944daab775571.jpg","text":"TemporaryFile(/tmp/multipartBody8993579027247594095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276063484,"filename":"image_27112025_17_44_44_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462131","file1":"1396462128","file0":"1396462126","file4":"1396462147","file5":"1396462154","file3":"1396462132"},"map_files_photo_id_array":[{"photo_id":"1396462154","filename":"file5"},{"photo_id":"1396462131","filename":"file2"},{"photo_id":"1396462147","filename":"file4"},{"photo_id":"1396462128","filename":"file1"},{"photo_id":"1396462126","filename":"file0"},{"photo_id":"1396462132","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462128":["hashtag1","hashtag2"]},{"1396462131":["hashtag1","hashtag2"]},{"1396462154":["hashtag1","hashtag2"]},{"1396462147":["hashtag1","hashtag2"]},{"1396462132":["hashtag1","hashtag2"]},{"1396462126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462128, 1396462131, 1396462154, 1396462147, 1396462132, 1396462126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48072600364685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:41:02.899471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/45/image_27112025_17_46_06_9718.jpg', '/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_16_9870.jpg', '/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_26_9613.jpg', '/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_36_10621.jpg', '/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_46_9617.jpg', '/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_57_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/45/image_27112025_17_46_06_9718.jpg
/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_16_9870.jpg
/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_26_9613.jpg
/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_36_10621.jpg
/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_46_9617.jpg
/home/pi/Desktop/images/27112025/17/46/image_27112025_17_46_57_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462209","1396462218","1396462212","1396462206","1396462214","1396462216"],"photo_ids_order":["1396462206","1396462209","1396462212","1396462214","1396462216","1396462218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0ee4c64ccc7016f8be2ea77cd3c9feb.jpg","text":"TemporaryFile(/tmp/multipartBody1779187841647616412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_16_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42a89fd8eb7ebc56e4b59c22238f4f72.jpg","text":"TemporaryFile(/tmp/multipartBody5005426972632206941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_57_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd9d886302fa3e49ea7bf3edfb08d79f.jpg","text":"TemporaryFile(/tmp/multipartBody880176964668355398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_26_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbc55055527636a76b118edb6a09c32e.jpg","text":"TemporaryFile(/tmp/multipartBody7171519544805668554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_06_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b8c01cc5b016f134faf49639f051799.jpg","text":"TemporaryFile(/tmp/multipartBody7856251540764662656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_36_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f78719b8d39ecf3c86f89a76830691f5.jpg","text":"TemporaryFile(/tmp/multipartBody9173295799003343743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276123863,"filename":"image_27112025_17_46_46_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462212","file1":"1396462209","file0":"1396462206","file4":"1396462216","file5":"1396462218","file3":"1396462214"},"map_files_photo_id_array":[{"photo_id":"1396462218","filename":"file5"},{"photo_id":"1396462212","filename":"file2"},{"photo_id":"1396462216","filename":"file4"},{"photo_id":"1396462209","filename":"file1"},{"photo_id":"1396462206","filename":"file0"},{"photo_id":"1396462214","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462209":["hashtag1","hashtag2"]},{"1396462218":["hashtag1","hashtag2"]},{"1396462212":["hashtag1","hashtag2"]},{"1396462206":["hashtag1","hashtag2"]},{"1396462214":["hashtag1","hashtag2"]},{"1396462216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462209, 1396462218, 1396462212, 1396462206, 1396462214, 1396462216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45706820487976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:42:02.778573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_16_9683.jpg', '/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_27_10669.jpg', '/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_36_9793.jpg', '/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_46_9719.jpg', '/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_56_9583.jpg', '/home/pi/Desktop/images/27112025/17/47/image_27112025_17_48_06_10012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_16_9683.jpg
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_27_10669.jpg
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_36_9793.jpg
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_46_9719.jpg
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_47_56_9583.jpg
/home/pi/Desktop/images/27112025/17/47/image_27112025_17_48_06_10012.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462232","1396462229","1396462252","1396462234","1396462237","1396462231"],"photo_ids_order":["1396462229","1396462231","1396462232","1396462234","1396462237","1396462252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f22e6e973ae3fd25cc9f1891adbd8dad.jpg","text":"TemporaryFile(/tmp/multipartBody8980674406750143615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_47_36_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78bbcb66b1f4ad7822ea196ae019ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody6179263703166923269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_47_16_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80875163bb686a7add2004a1bed0b7a7.jpg","text":"TemporaryFile(/tmp/multipartBody4976474899528097342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_48_06_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae3850671b2a9177c3992ff63aa4ce0e.jpg","text":"TemporaryFile(/tmp/multipartBody4790828983169909440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_47_46_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4bcbf69826d90d09fcff58405a838358.jpg","text":"TemporaryFile(/tmp/multipartBody3033324408842340137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_47_56_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0cd1444101f52211ed1bc6ff30aa30c.jpg","text":"TemporaryFile(/tmp/multipartBody6451599346560648035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276183929,"filename":"image_27112025_17_47_27_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462232","file1":"1396462231","file0":"1396462229","file4":"1396462237","file5":"1396462252","file3":"1396462234"},"map_files_photo_id_array":[{"photo_id":"1396462252","filename":"file5"},{"photo_id":"1396462232","filename":"file2"},{"photo_id":"1396462237","filename":"file4"},{"photo_id":"1396462231","filename":"file1"},{"photo_id":"1396462229","filename":"file0"},{"photo_id":"1396462234","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462232":["hashtag1","hashtag2"]},{"1396462229":["hashtag1","hashtag2"]},{"1396462252":["hashtag1","hashtag2"]},{"1396462234":["hashtag1","hashtag2"]},{"1396462237":["hashtag1","hashtag2"]},{"1396462231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462232, 1396462229, 1396462252, 1396462234, 1396462237, 1396462231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85309338569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:43:03.239509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_16_10768.jpg', '/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_26_9747.jpg', '/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_36_9732.jpg', '/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_46_9868.jpg', '/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_56_10569.jpg', '/home/pi/Desktop/images/27112025/17/48/image_27112025_17_49_06_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_16_10768.jpg
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_26_9747.jpg
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_36_9732.jpg
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_46_9868.jpg
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_48_56_10569.jpg
/home/pi/Desktop/images/27112025/17/48/image_27112025_17_49_06_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462413","1396462376","1396462409","1396462387","1396462405","1396462356"],"photo_ids_order":["1396462356","1396462376","1396462387","1396462405","1396462409","1396462413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61dbd8fa97e6ae2e59478d38f8fe7ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7016568038590821279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_49_06_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c0a14afd1ce01381a33464ca11124533.jpg","text":"TemporaryFile(/tmp/multipartBody7195567004797752809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_48_26_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7335cebc622536bc0ffd6bee0590b57f.jpg","text":"TemporaryFile(/tmp/multipartBody1308878931148921639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_48_56_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/307e3fa76d0109dde8bc83c9255860ca.jpg","text":"TemporaryFile(/tmp/multipartBody5584793376640714864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_48_36_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40c3f70ef3d413c1b2325aa0083a9b55.jpg","text":"TemporaryFile(/tmp/multipartBody997649550084740132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_48_46_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b98fcf134f0d44474f54a49b49226533.jpg","text":"TemporaryFile(/tmp/multipartBody6648526777301645601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276244351,"filename":"image_27112025_17_48_16_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462387","file1":"1396462376","file0":"1396462356","file4":"1396462409","file5":"1396462413","file3":"1396462405"},"map_files_photo_id_array":[{"photo_id":"1396462413","filename":"file5"},{"photo_id":"1396462387","filename":"file2"},{"photo_id":"1396462409","filename":"file4"},{"photo_id":"1396462376","filename":"file1"},{"photo_id":"1396462356","filename":"file0"},{"photo_id":"1396462405","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462413":["hashtag1","hashtag2"]},{"1396462376":["hashtag1","hashtag2"]},{"1396462409":["hashtag1","hashtag2"]},{"1396462387":["hashtag1","hashtag2"]},{"1396462405":["hashtag1","hashtag2"]},{"1396462356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462413, 1396462376, 1396462409, 1396462387, 1396462405, 1396462356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0475971698761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:44:03.297828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_16_9805.jpg', '/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_27_10575.jpg', '/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_36_9740.jpg', '/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_46_9651.jpg', '/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_56_9773.jpg', '/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_16_9805.jpg
/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_27_10575.jpg
/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_36_9740.jpg
/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_46_9651.jpg
/home/pi/Desktop/images/27112025/17/49/image_27112025_17_49_56_9773.jpg
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462452","1396462449","1396462454","1396462447","1396462432","1396462437"],"photo_ids_order":["1396462432","1396462437","1396462447","1396462449","1396462452","1396462454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fef5f2308d4955df3823fb5d76157e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7997404217952953824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_49_56_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/760b9d65239334c2136302a8b02d87c0.jpg","text":"TemporaryFile(/tmp/multipartBody2490915856032105558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_49_46_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b1512f8bfe33826e4a8c9765e91d8881.jpg","text":"TemporaryFile(/tmp/multipartBody4736022082984834399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_51_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e938b43cb31c949c1915898bc02816e0.jpg","text":"TemporaryFile(/tmp/multipartBody1915881583134006631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_49_36_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f19aa68fd72f3562e3b12cd941a5b066.jpg","text":"TemporaryFile(/tmp/multipartBody2680152966116335352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_49_16_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec76ac2ac69300bf583fc949a3417e9a.jpg","text":"TemporaryFile(/tmp/multipartBody6823892073196728165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276304357,"filename":"image_27112025_17_49_27_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462447","file1":"1396462437","file0":"1396462432","file4":"1396462452","file5":"1396462454","file3":"1396462449"},"map_files_photo_id_array":[{"photo_id":"1396462454","filename":"file5"},{"photo_id":"1396462447","filename":"file2"},{"photo_id":"1396462452","filename":"file4"},{"photo_id":"1396462437","filename":"file1"},{"photo_id":"1396462432","filename":"file0"},{"photo_id":"1396462449","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462452":["hashtag1","hashtag2"]},{"1396462449":["hashtag1","hashtag2"]},{"1396462454":["hashtag1","hashtag2"]},{"1396462447":["hashtag1","hashtag2"]},{"1396462432":["hashtag1","hashtag2"]},{"1396462437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462452, 1396462449, 1396462454, 1396462447, 1396462432, 1396462437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.295461654663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:45:02.648255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_25_10916.jpg', '/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_35_9574.jpg', '/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_44_9687.jpg', '/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_54_9820.jpg', '/home/pi/Desktop/images/27112025/17/51/image_27112025_17_52_05_10916.jpg', '/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_15_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_25_10916.jpg
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_35_9574.jpg
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_44_9687.jpg
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_51_54_9820.jpg
/home/pi/Desktop/images/27112025/17/51/image_27112025_17_52_05_10916.jpg
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_15_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462493","1396462481","1396462489","1396462483","1396462485","1396462479"],"photo_ids_order":["1396462479","1396462481","1396462483","1396462485","1396462489","1396462493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ff2670e45c197d2760964ef60453415.jpg","text":"TemporaryFile(/tmp/multipartBody2376015264185722699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_52_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07c0c8138f3900d17c016f7451732d42.jpg","text":"TemporaryFile(/tmp/multipartBody1838318965533305105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_51_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/70a2b6b80ec4b52ce9019ffc91f13c89.jpg","text":"TemporaryFile(/tmp/multipartBody8460118698402769383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_52_05_10916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6023f0ac7fbe5ced4f6d2a479a90c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8841436447756263908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_51_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3887397f419d9d1365c30cbf42ad89fc.jpg","text":"TemporaryFile(/tmp/multipartBody568331695628485982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_51_54_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/579835f421d45e10384235e7252cbb9f.jpg","text":"TemporaryFile(/tmp/multipartBody7392514438356654804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276363683,"filename":"image_27112025_17_51_25_10916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462483","file1":"1396462481","file0":"1396462479","file4":"1396462489","file5":"1396462493","file3":"1396462485"},"map_files_photo_id_array":[{"photo_id":"1396462493","filename":"file5"},{"photo_id":"1396462483","filename":"file2"},{"photo_id":"1396462489","filename":"file4"},{"photo_id":"1396462481","filename":"file1"},{"photo_id":"1396462479","filename":"file0"},{"photo_id":"1396462485","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462493":["hashtag1","hashtag2"]},{"1396462481":["hashtag1","hashtag2"]},{"1396462489":["hashtag1","hashtag2"]},{"1396462483":["hashtag1","hashtag2"]},{"1396462485":["hashtag1","hashtag2"]},{"1396462479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462493, 1396462481, 1396462489, 1396462483, 1396462485, 1396462479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15704321861267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:46:02.622691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_24_9670.jpg', '/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_35_10779.jpg', '/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_45_9829.jpg', '/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_55_9750.jpg', '/home/pi/Desktop/images/27112025/17/52/image_27112025_17_53_04_9729.jpg', '/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_14_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_24_9670.jpg
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_35_10779.jpg
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_45_9829.jpg
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_52_55_9750.jpg
/home/pi/Desktop/images/27112025/17/52/image_27112025_17_53_04_9729.jpg
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_14_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462541","1396462531","1396462534","1396462528","1396462537","1396462504"],"photo_ids_order":["1396462504","1396462528","1396462531","1396462534","1396462537","1396462541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/26b9c98102a1209089496fac6b839a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6952655064602877092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_53_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e9f8c7616dedbb7289b59e17bb1cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody1674666019497764352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_52_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2acc4fa62c487644fd27dbc3b62bc693.jpg","text":"TemporaryFile(/tmp/multipartBody6522874565747013150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_52_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7c006ac2e50bdcd976e05239dc545bb.jpg","text":"TemporaryFile(/tmp/multipartBody5504540883272545259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_52_35_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3316600a3b6e718711bdd8339709fcb3.jpg","text":"TemporaryFile(/tmp/multipartBody7539895964544187215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_53_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/661b532ba04ef9719fe15dee4b37b15d.jpg","text":"TemporaryFile(/tmp/multipartBody8309136796653744805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276423646,"filename":"image_27112025_17_52_24_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462531","file1":"1396462528","file0":"1396462504","file4":"1396462537","file5":"1396462541","file3":"1396462534"},"map_files_photo_id_array":[{"photo_id":"1396462541","filename":"file5"},{"photo_id":"1396462531","filename":"file2"},{"photo_id":"1396462537","filename":"file4"},{"photo_id":"1396462528","filename":"file1"},{"photo_id":"1396462504","filename":"file0"},{"photo_id":"1396462534","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462541":["hashtag1","hashtag2"]},{"1396462531":["hashtag1","hashtag2"]},{"1396462534":["hashtag1","hashtag2"]},{"1396462528":["hashtag1","hashtag2"]},{"1396462537":["hashtag1","hashtag2"]},{"1396462504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462541, 1396462531, 1396462534, 1396462528, 1396462537, 1396462504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2945442199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:47:03.003622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_25_10656.jpg', '/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_34_9724.jpg', '/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_44_9767.jpg', '/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_55_10683.jpg', '/home/pi/Desktop/images/27112025/17/53/image_27112025_17_54_05_9728.jpg', '/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_14_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_25_10656.jpg
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_34_9724.jpg
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_44_9767.jpg
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_53_55_10683.jpg
/home/pi/Desktop/images/27112025/17/53/image_27112025_17_54_05_9728.jpg
/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_14_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462713","1396462586","1396462616","1396462672","1396462645","1396462557"],"photo_ids_order":["1396462557","1396462586","1396462616","1396462645","1396462672","1396462713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/646b55681810587756b17a5dfd88eb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2498140883331498181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_54_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e11055c4d5ad600558b43d366b20ecc4.jpg","text":"TemporaryFile(/tmp/multipartBody1371891723196719065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_53_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/506704cc4c44d1a059fcb24ace006a23.jpg","text":"TemporaryFile(/tmp/multipartBody8827676352275667431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_53_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3412bd97b5a8db40750844d2bb1fb114.jpg","text":"TemporaryFile(/tmp/multipartBody3216579998317111986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_54_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/637c443aa5665ab22ed860d11a4a24c0.jpg","text":"TemporaryFile(/tmp/multipartBody1378498901812367172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_53_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f1f537e69c057ae3ed743212380b217.jpg","text":"TemporaryFile(/tmp/multipartBody200394389431723250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276484092,"filename":"image_27112025_17_53_25_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462616","file1":"1396462586","file0":"1396462557","file4":"1396462672","file5":"1396462713","file3":"1396462645"},"map_files_photo_id_array":[{"photo_id":"1396462713","filename":"file5"},{"photo_id":"1396462616","filename":"file2"},{"photo_id":"1396462672","filename":"file4"},{"photo_id":"1396462586","filename":"file1"},{"photo_id":"1396462557","filename":"file0"},{"photo_id":"1396462645","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462713":["hashtag1","hashtag2"]},{"1396462586":["hashtag1","hashtag2"]},{"1396462616":["hashtag1","hashtag2"]},{"1396462672":["hashtag1","hashtag2"]},{"1396462645":["hashtag1","hashtag2"]},{"1396462557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462713, 1396462586, 1396462616, 1396462672, 1396462645, 1396462557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33363175392151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:48:02.875724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_24_9620.jpg', '/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_45_9815.jpg', '/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_55_9791.jpg', '/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_14_10051.jpg', '/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_25_10779.jpg', '/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_35_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_24_9620.jpg
/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_45_9815.jpg
/home/pi/Desktop/images/27112025/17/54/image_27112025_17_54_55_9791.jpg
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_14_10051.jpg
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_25_10779.jpg
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_35_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462772","1396462760","1396462777","1396462762","1396462804","1396462785"],"photo_ids_order":["1396462760","1396462762","1396462772","1396462777","1396462785","1396462804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e7e0ab147e6ea4d39392a28348e73a85.jpg","text":"TemporaryFile(/tmp/multipartBody3487579067042405902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_54_55_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9e031e747fb124d357f2bc9b884a95a.jpg","text":"TemporaryFile(/tmp/multipartBody4891374712419829437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_54_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72ba0464af1e7a88f6ee17fc1f0bf76e.jpg","text":"TemporaryFile(/tmp/multipartBody3943478729923836183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_55_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f80a95c85a4957f880c2cf1bbd41e151.jpg","text":"TemporaryFile(/tmp/multipartBody6460429900416111994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_54_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8825976963fbec2b15a59066775788ad.jpg","text":"TemporaryFile(/tmp/multipartBody3630665821014426575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_55_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bd1bc2e2575f686c0157406dabc0303.jpg","text":"TemporaryFile(/tmp/multipartBody1611094239901741830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276543828,"filename":"image_27112025_17_55_25_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462772","file1":"1396462762","file0":"1396462760","file4":"1396462785","file5":"1396462804","file3":"1396462777"},"map_files_photo_id_array":[{"photo_id":"1396462804","filename":"file5"},{"photo_id":"1396462772","filename":"file2"},{"photo_id":"1396462785","filename":"file4"},{"photo_id":"1396462762","filename":"file1"},{"photo_id":"1396462760","filename":"file0"},{"photo_id":"1396462777","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462772":["hashtag1","hashtag2"]},{"1396462760":["hashtag1","hashtag2"]},{"1396462777":["hashtag1","hashtag2"]},{"1396462762":["hashtag1","hashtag2"]},{"1396462804":["hashtag1","hashtag2"]},{"1396462785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462772, 1396462760, 1396462777, 1396462762, 1396462804, 1396462785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67911195755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 21:48:42.480086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_20_3788.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_28_2804.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_32_3657.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_38_2615.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_41_3603.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_44_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_20_3788.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_28_2804.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_32_3657.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_38_2615.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_41_3603.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_44_2790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4487261772155762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:49:03.486804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_44_9761.jpg', '/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_55_10754.jpg', '/home/pi/Desktop/images/27112025/17/55/image_27112025_17_56_05_9713.jpg', '/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_15_9726.jpg', '/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_24_9668.jpg', '/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_35_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_44_9761.jpg
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_55_55_10754.jpg
/home/pi/Desktop/images/27112025/17/55/image_27112025_17_56_05_9713.jpg
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_15_9726.jpg
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_24_9668.jpg
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_35_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396462857","1396462830","1396462889","1396462826","1396462835","1396462833"],"photo_ids_order":["1396462826","1396462830","1396462833","1396462835","1396462857","1396462889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b5935d24aa905173df7b4bee67bccbb.jpg","text":"TemporaryFile(/tmp/multipartBody4727326274061557100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_56_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/174756da00441d86a7275aa478faf967.jpg","text":"TemporaryFile(/tmp/multipartBody3525713026646664950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_55_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebfa09ac7dc092e58b634c50fdfd5b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5758166051208472988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_56_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d943e1fecbaeb2d2c32b25d265acd58d.jpg","text":"TemporaryFile(/tmp/multipartBody4972803110567440041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_55_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4869b0eef7a1d7fd007f1098d60ff7b1.jpg","text":"TemporaryFile(/tmp/multipartBody8189279071120590337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_56_15_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/27/a93a97356931f279c592fb6994fd5082.jpg","text":"TemporaryFile(/tmp/multipartBody4038005683935974594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276604673,"filename":"image_27112025_17_56_05_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396462833","file1":"1396462830","file0":"1396462826","file4":"1396462857","file5":"1396462889","file3":"1396462835"},"map_files_photo_id_array":[{"photo_id":"1396462889","filename":"file5"},{"photo_id":"1396462833","filename":"file2"},{"photo_id":"1396462857","filename":"file4"},{"photo_id":"1396462830","filename":"file1"},{"photo_id":"1396462826","filename":"file0"},{"photo_id":"1396462835","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396462857":["hashtag1","hashtag2"]},{"1396462830":["hashtag1","hashtag2"]},{"1396462889":["hashtag1","hashtag2"]},{"1396462826":["hashtag1","hashtag2"]},{"1396462835":["hashtag1","hashtag2"]},{"1396462833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396462857, 1396462830, 1396462889, 1396462826, 1396462835, 1396462833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.908846378326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:50:03.217321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_45_9654.jpg', '/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_54_9708.jpg', '/home/pi/Desktop/images/27112025/17/56/image_27112025_17_57_05_10605.jpg', '/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_15_9726.jpg', '/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_24_9604.jpg', '/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_45_9654.jpg
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_56_54_9708.jpg
/home/pi/Desktop/images/27112025/17/56/image_27112025_17_57_05_10605.jpg
/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_15_9726.jpg
/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_24_9604.jpg
/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_35_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396463072","1396463120","1396463059","1396463074","1396463094","1396463028"],"photo_ids_order":["1396463028","1396463059","1396463072","1396463074","1396463094","1396463120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f1c13b74a870ef2d47a8d8ded296680.jpg","text":"TemporaryFile(/tmp/multipartBody6835188779534473924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_57_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cb69da69449f423377c832401de28f23.jpg","text":"TemporaryFile(/tmp/multipartBody6854834844001486369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_57_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0cca19a154aa8bdba6057eb879cc929.jpg","text":"TemporaryFile(/tmp/multipartBody8028723764224237021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_56_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f28bc91b569a907e0b48fd8508bce94f.jpg","text":"TemporaryFile(/tmp/multipartBody6122118297334173764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_57_15_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/27/b7260c7ee6e9c7fafc1f2fdebb8f6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody9135858424729352476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_57_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e348427ba1e54bf12b2de458d0f25fc9.jpg","text":"TemporaryFile(/tmp/multipartBody4003869272432431459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276664233,"filename":"image_27112025_17_56_45_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396463072","file1":"1396463059","file0":"1396463028","file4":"1396463094","file5":"1396463120","file3":"1396463074"},"map_files_photo_id_array":[{"photo_id":"1396463120","filename":"file5"},{"photo_id":"1396463072","filename":"file2"},{"photo_id":"1396463094","filename":"file4"},{"photo_id":"1396463059","filename":"file1"},{"photo_id":"1396463028","filename":"file0"},{"photo_id":"1396463074","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396463072":["hashtag1","hashtag2"]},{"1396463120":["hashtag1","hashtag2"]},{"1396463059":["hashtag1","hashtag2"]},{"1396463074":["hashtag1","hashtag2"]},{"1396463094":["hashtag1","hashtag2"]},{"1396463028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396463072, 1396463120, 1396463059, 1396463074, 1396463094, 1396463028)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.258624792099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:51:02.846310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_45_9796.jpg', '/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_54_9516.jpg', '/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_15_9643.jpg', '/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_24_9629.jpg', '/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_34_9836.jpg', '/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_45_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_45_9796.jpg
/home/pi/Desktop/images/27112025/17/57/image_27112025_17_57_54_9516.jpg
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_15_9643.jpg
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_24_9629.jpg
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_34_9836.jpg
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_45_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396463186","1396463183","1396463204","1396463196","1396463190","1396463208"],"photo_ids_order":["1396463183","1396463186","1396463190","1396463196","1396463204","1396463208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd5439b0470b0209b0449529f07003f8.jpg","text":"TemporaryFile(/tmp/multipartBody827153575453718186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_57_54_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08217ee0899f80b9dd43c5abbc62f02e.jpg","text":"TemporaryFile(/tmp/multipartBody2857864779742771023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_57_45_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f8210d0fb718f14774790f06b9e63e6.jpg","text":"TemporaryFile(/tmp/multipartBody3606626675293815363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_58_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57134985941b52914057db8c1058fa11.jpg","text":"TemporaryFile(/tmp/multipartBody2424241332282672435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_58_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56917caa47af484af4585af208496cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7815418372760870968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_58_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a92b7f818c6b41055fdbea1de80b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3240035994643128004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276723923,"filename":"image_27112025_17_58_45_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396463190","file1":"1396463186","file0":"1396463183","file4":"1396463204","file5":"1396463208","file3":"1396463196"},"map_files_photo_id_array":[{"photo_id":"1396463208","filename":"file5"},{"photo_id":"1396463190","filename":"file2"},{"photo_id":"1396463204","filename":"file4"},{"photo_id":"1396463186","filename":"file1"},{"photo_id":"1396463183","filename":"file0"},{"photo_id":"1396463196","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396463186":["hashtag1","hashtag2"]},{"1396463183":["hashtag1","hashtag2"]},{"1396463204":["hashtag1","hashtag2"]},{"1396463196":["hashtag1","hashtag2"]},{"1396463190":["hashtag1","hashtag2"]},{"1396463208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396463186, 1396463183, 1396463204, 1396463196, 1396463190, 1396463208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97242093086243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:52:02.789571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_54_9701.jpg', '/home/pi/Desktop/images/27112025/17/58/image_27112025_17_59_05_10667.jpg', '/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_15_9753.jpg', '/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_34_9760.jpg', '/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_45_10666.jpg', '/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_55_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_58_54_9701.jpg
/home/pi/Desktop/images/27112025/17/58/image_27112025_17_59_05_10667.jpg
/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_15_9753.jpg
/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_34_9760.jpg
/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_45_10666.jpg
/home/pi/Desktop/images/27112025/17/59/image_27112025_17_59_55_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396463234","1396463219","1396463224","1396463238","1396463229","1396463214"],"photo_ids_order":["1396463214","1396463219","1396463224","1396463229","1396463234","1396463238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd2673ffd4d0377d341414fe437067c8.jpg","text":"TemporaryFile(/tmp/multipartBody2132086939941044330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_59_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c669c01b40edff673a9f07edfa6e7252.jpg","text":"TemporaryFile(/tmp/multipartBody1249679984034473545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_59_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d7b48718c8ae5cfea2e899ff71e63be7.jpg","text":"TemporaryFile(/tmp/multipartBody7191065641968215643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_59_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82c60e88311de147cf94779d0061b75f.jpg","text":"TemporaryFile(/tmp/multipartBody7311328111538761822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_59_55_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfca7947b0d1321bf0e47b4b8592d26c.jpg","text":"TemporaryFile(/tmp/multipartBody6112766436745403312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_59_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/228de96d3351821201e2d843daafd015.jpg","text":"TemporaryFile(/tmp/multipartBody3892406080978790333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276783832,"filename":"image_27112025_17_58_54_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396463224","file1":"1396463219","file0":"1396463214","file4":"1396463234","file5":"1396463238","file3":"1396463229"},"map_files_photo_id_array":[{"photo_id":"1396463238","filename":"file5"},{"photo_id":"1396463224","filename":"file2"},{"photo_id":"1396463234","filename":"file4"},{"photo_id":"1396463219","filename":"file1"},{"photo_id":"1396463214","filename":"file0"},{"photo_id":"1396463229","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396463234":["hashtag1","hashtag2"]},{"1396463219":["hashtag1","hashtag2"]},{"1396463224":["hashtag1","hashtag2"]},{"1396463238":["hashtag1","hashtag2"]},{"1396463229":["hashtag1","hashtag2"]},{"1396463214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396463234, 1396463219, 1396463224, 1396463238, 1396463229, 1396463214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44986319541931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:53:03.304877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/01/image_27112025_18_01_14_10037.jpg', '/home/pi/Desktop/images/27112025/18/02/image_27112025_18_02_34_9747.jpg', '/home/pi/Desktop/images/27112025/18/02/image_27112025_18_02_44_9699.jpg', '/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_25_10663.jpg', '/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_34_9598.jpg', '/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/01/image_27112025_18_01_14_10037.jpg
/home/pi/Desktop/images/27112025/18/02/image_27112025_18_02_34_9747.jpg
/home/pi/Desktop/images/27112025/18/02/image_27112025_18_02_44_9699.jpg
/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_25_10663.jpg
/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_34_9598.jpg
/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_44_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396463294","1396463327","1396463306","1396463290","1396463302","1396463298"],"photo_ids_order":["1396463290","1396463294","1396463298","1396463302","1396463306","1396463327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/221c558a5d8960cbdc14e7e786858510.jpg","text":"TemporaryFile(/tmp/multipartBody3164709115475595419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_02_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/00a4ca423a0615ae5366ad2e4d1535b5.jpg","text":"TemporaryFile(/tmp/multipartBody6802332906427205801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_03_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/881d2cd3265543e734bc0b3a45d11fac.jpg","text":"TemporaryFile(/tmp/multipartBody6375136999851877292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_03_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd61f72f6cadb63a80adfe6374e544d9.jpg","text":"TemporaryFile(/tmp/multipartBody2536904210537809458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_01_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca3d2e9315b8ed12976d7b1c6d9f4a84.jpg","text":"TemporaryFile(/tmp/multipartBody5330105172171194383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_03_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f59cf2a8c5852f15f3d452b7d0e4c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6777412558101660731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276844479,"filename":"image_27112025_18_02_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396463298","file1":"1396463294","file0":"1396463290","file4":"1396463306","file5":"1396463327","file3":"1396463302"},"map_files_photo_id_array":[{"photo_id":"1396463327","filename":"file5"},{"photo_id":"1396463298","filename":"file2"},{"photo_id":"1396463306","filename":"file4"},{"photo_id":"1396463294","filename":"file1"},{"photo_id":"1396463290","filename":"file0"},{"photo_id":"1396463302","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396463294":["hashtag1","hashtag2"]},{"1396463327":["hashtag1","hashtag2"]},{"1396463306":["hashtag1","hashtag2"]},{"1396463290":["hashtag1","hashtag2"]},{"1396463302":["hashtag1","hashtag2"]},{"1396463298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396463294, 1396463327, 1396463306, 1396463290, 1396463302, 1396463298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.089404821395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:54:03.439794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_55_10737.jpg', '/home/pi/Desktop/images/27112025/18/04/image_27112025_18_04_54_9708.jpg', '/home/pi/Desktop/images/27112025/18/04/image_27112025_18_05_04_9703.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_14_9913.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_25_10723.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_55_10737.jpg
/home/pi/Desktop/images/27112025/18/04/image_27112025_18_04_54_9708.jpg
/home/pi/Desktop/images/27112025/18/04/image_27112025_18_05_04_9703.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_14_9913.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_25_10723.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_34_9675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7843437194824219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 21:54:12.726646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_25_3558.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_28_2534.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_31_2657.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_34_3753.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_37_2652.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_40_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_25_3558.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_28_2534.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_31_2657.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_34_3753.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_37_2652.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_40_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396463896","1396463797","1396463950","1396463860","1396463827","1396463757"],"photo_ids_order":["1396463757","1396463797","1396463827","1396463860","1396463896","1396463950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a3ca7145e68a1344fc31d88527b7d8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5182845735146561924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_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/27/d24dcf75c82ca7f82f379761d53f5c70.jpg","text":"TemporaryFile(/tmp/multipartBody1056078492844249327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_28_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/27/a8a37786a2f63d0cf2e977f0b94071b5.jpg","text":"TemporaryFile(/tmp/multipartBody741434158341537283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_40_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/27/c11fde731a8738a9030177f40740923a.jpg","text":"TemporaryFile(/tmp/multipartBody5553634238770000132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_34_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/27/37931808145c0a2d1acbe04b3199d102.jpg","text":"TemporaryFile(/tmp/multipartBody6160825250040859514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_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/27/d280ada416eb2ba8b6162e9f1be5ced9.jpg","text":"TemporaryFile(/tmp/multipartBody7039622510926513613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276914840,"filename":"image_21112025_21_41_25_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396463827","file1":"1396463797","file0":"1396463757","file4":"1396463896","file5":"1396463950","file3":"1396463860"},"map_files_photo_id_array":[{"photo_id":"1396463950","filename":"file5"},{"photo_id":"1396463827","filename":"file2"},{"photo_id":"1396463896","filename":"file4"},{"photo_id":"1396463797","filename":"file1"},{"photo_id":"1396463757","filename":"file0"},{"photo_id":"1396463860","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396463896":["hashtag1","hashtag2"]},{"1396463797":["hashtag1","hashtag2"]},{"1396463950":["hashtag1","hashtag2"]},{"1396463860":["hashtag1","hashtag2"]},{"1396463827":["hashtag1","hashtag2"]},{"1396463757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396463896, 1396463797, 1396463950, 1396463860, 1396463827, 1396463757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93623113632202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:55:02.346255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_55_10737.jpg', '/home/pi/Desktop/images/27112025/18/04/image_27112025_18_04_54_9708.jpg', '/home/pi/Desktop/images/27112025/18/04/image_27112025_18_05_04_9703.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_14_9913.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_25_10723.jpg', '/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/03/image_27112025_18_03_55_10737.jpg
/home/pi/Desktop/images/27112025/18/04/image_27112025_18_04_54_9708.jpg
/home/pi/Desktop/images/27112025/18/04/image_27112025_18_05_04_9703.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_14_9913.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_25_10723.jpg
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_34_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396464035","1396464184","1396464040","1396464037","1396464060","1396464114"],"photo_ids_order":["1396464035","1396464037","1396464040","1396464060","1396464114","1396464184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68784f485a242ca21104ab0a0e365880.jpg","text":"TemporaryFile(/tmp/multipartBody1712891262460425359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_03_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0ff8c9aaa00bb1cc67d61b251ef7fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6741407339450509112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_05_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5a941481a18b1f1770b4583126bb7d5.jpg","text":"TemporaryFile(/tmp/multipartBody293366218066293784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_05_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72f6a16e5f1782deacb5c33cbbe41808.jpg","text":"TemporaryFile(/tmp/multipartBody3559776902517978045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_04_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/faf776331d43ecc7269c7d28198032b3.jpg","text":"TemporaryFile(/tmp/multipartBody836172476306552555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_05_14_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5dffc00fa289b0915df3e725f342877f.jpg","text":"TemporaryFile(/tmp/multipartBody3980813145341796691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764276963375,"filename":"image_27112025_18_05_25_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396464040","file1":"1396464037","file0":"1396464035","file4":"1396464114","file5":"1396464184","file3":"1396464060"},"map_files_photo_id_array":[{"photo_id":"1396464184","filename":"file5"},{"photo_id":"1396464040","filename":"file2"},{"photo_id":"1396464114","filename":"file4"},{"photo_id":"1396464037","filename":"file1"},{"photo_id":"1396464035","filename":"file0"},{"photo_id":"1396464060","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396464035":["hashtag1","hashtag2"]},{"1396464184":["hashtag1","hashtag2"]},{"1396464040":["hashtag1","hashtag2"]},{"1396464037":["hashtag1","hashtag2"]},{"1396464060":["hashtag1","hashtag2"]},{"1396464114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396464035, 1396464184, 1396464040, 1396464037, 1396464060, 1396464114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5370397567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:56:02.481219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_54_9686.jpg', '/home/pi/Desktop/images/27112025/18/06/image_27112025_18_06_24_9864.jpg', '/home/pi/Desktop/images/27112025/18/06/image_27112025_18_07_04_9706.jpg', '/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_14_9861.jpg', '/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_44_9677.jpg', '/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_54_9963.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/05/image_27112025_18_05_54_9686.jpg
/home/pi/Desktop/images/27112025/18/06/image_27112025_18_06_24_9864.jpg
/home/pi/Desktop/images/27112025/18/06/image_27112025_18_07_04_9706.jpg
/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_14_9861.jpg
/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_44_9677.jpg
/home/pi/Desktop/images/27112025/18/07/image_27112025_18_07_54_9963.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396464347","1396464436","1396464343","1396464403","1396464378","1396464336"],"photo_ids_order":["1396464336","1396464343","1396464347","1396464378","1396464403","1396464436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b18ea1e4fc0d396852505e406240f362.jpg","text":"TemporaryFile(/tmp/multipartBody2518494686554837554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_07_04_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bb6aa6c9a1987abc8414286f552b8509.jpg","text":"TemporaryFile(/tmp/multipartBody6577944827161814944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_07_54_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8354b29d343c56cf3d8fb506a17b7215.jpg","text":"TemporaryFile(/tmp/multipartBody7425453548729055408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_06_24_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b040a4fd7a53e9c4003f93d5bc28442.jpg","text":"TemporaryFile(/tmp/multipartBody1266880297330198301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_07_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3df1cd8d13eb4e98e8c76ce40a1e3a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8596364907935695550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_07_14_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31de1393eaad3e241efc353022c3bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody3211306907631031526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277023529,"filename":"image_27112025_18_05_54_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396464347","file1":"1396464343","file0":"1396464336","file4":"1396464403","file5":"1396464436","file3":"1396464378"},"map_files_photo_id_array":[{"photo_id":"1396464436","filename":"file5"},{"photo_id":"1396464347","filename":"file2"},{"photo_id":"1396464403","filename":"file4"},{"photo_id":"1396464343","filename":"file1"},{"photo_id":"1396464336","filename":"file0"},{"photo_id":"1396464378","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396464347":["hashtag1","hashtag2"]},{"1396464436":["hashtag1","hashtag2"]},{"1396464343":["hashtag1","hashtag2"]},{"1396464403":["hashtag1","hashtag2"]},{"1396464378":["hashtag1","hashtag2"]},{"1396464336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396464347, 1396464436, 1396464343, 1396464403, 1396464378, 1396464336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39141249656677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:57:03.135134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/08/image_27112025_18_08_35_10614.jpg', '/home/pi/Desktop/images/27112025/18/08/image_27112025_18_08_45_9764.jpg', '/home/pi/Desktop/images/27112025/18/09/image_27112025_18_09_14_9759.jpg', '/home/pi/Desktop/images/27112025/18/09/image_27112025_18_09_44_9656.jpg', '/home/pi/Desktop/images/27112025/18/09/image_27112025_18_10_05_9768.jpg', '/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_14_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/08/image_27112025_18_08_35_10614.jpg
/home/pi/Desktop/images/27112025/18/08/image_27112025_18_08_45_9764.jpg
/home/pi/Desktop/images/27112025/18/09/image_27112025_18_09_14_9759.jpg
/home/pi/Desktop/images/27112025/18/09/image_27112025_18_09_44_9656.jpg
/home/pi/Desktop/images/27112025/18/09/image_27112025_18_10_05_9768.jpg
/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_14_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396464688","1396464655","1396464817","1396464786","1396464724","1396464755"],"photo_ids_order":["1396464655","1396464688","1396464724","1396464755","1396464786","1396464817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80fb9cf301fd03f6f5e59ba75079dc50.jpg","text":"TemporaryFile(/tmp/multipartBody3087559215447894410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_08_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbda29c32af9b599680435fdc3072d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1773453208569917502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_08_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2523e812f44843bbe904da8fa622eb69.jpg","text":"TemporaryFile(/tmp/multipartBody5964408855141228833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_10_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aad30370fb1d7ba7cd0c5d48d4d72229.jpg","text":"TemporaryFile(/tmp/multipartBody1595332509224394881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_10_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/16601ba5026a24f14f2e2444dc684f10.jpg","text":"TemporaryFile(/tmp/multipartBody1553659206612028907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_09_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/499159526446ee7f0031923ee16b2417.jpg","text":"TemporaryFile(/tmp/multipartBody7072431108680211065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277084132,"filename":"image_27112025_18_09_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396464724","file1":"1396464688","file0":"1396464655","file4":"1396464786","file5":"1396464817","file3":"1396464755"},"map_files_photo_id_array":[{"photo_id":"1396464817","filename":"file5"},{"photo_id":"1396464724","filename":"file2"},{"photo_id":"1396464786","filename":"file4"},{"photo_id":"1396464688","filename":"file1"},{"photo_id":"1396464655","filename":"file0"},{"photo_id":"1396464755","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396464688":["hashtag1","hashtag2"]},{"1396464655":["hashtag1","hashtag2"]},{"1396464817":["hashtag1","hashtag2"]},{"1396464786":["hashtag1","hashtag2"]},{"1396464724":["hashtag1","hashtag2"]},{"1396464755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396464688, 1396464655, 1396464817, 1396464786, 1396464724, 1396464755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.185595989227295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 21:59:03.581841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_34_9767.jpg', '/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_45_10658.jpg', '/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_55_9846.jpg', '/home/pi/Desktop/images/27112025/18/10/image_27112025_18_11_04_9738.jpg', '/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_14_9900.jpg', '/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_25_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_34_9767.jpg
/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_45_10658.jpg
/home/pi/Desktop/images/27112025/18/10/image_27112025_18_10_55_9846.jpg
/home/pi/Desktop/images/27112025/18/10/image_27112025_18_11_04_9738.jpg
/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_14_9900.jpg
/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_25_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396465258","1396465266","1396465248","1396465224","1396465262","1396465178"],"photo_ids_order":["1396465178","1396465224","1396465248","1396465258","1396465262","1396465266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/941c70cc3ef841c62071b874c54eb16f.jpg","text":"TemporaryFile(/tmp/multipartBody6419368821116063528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_11_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/12a84e6180ea27085f545d7205632b8c.jpg","text":"TemporaryFile(/tmp/multipartBody913897574356513861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_11_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1d9cd0dc83ab64d78b539cd44d2d532.jpg","text":"TemporaryFile(/tmp/multipartBody3427894025063968973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_10_55_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa06dc64c2772ec7aa34fe914126fb73.jpg","text":"TemporaryFile(/tmp/multipartBody6570434715823023450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_10_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fe0c9fc767cbd03f97b6a85f9f66e08.jpg","text":"TemporaryFile(/tmp/multipartBody3953620984689856703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_11_14_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/939f781c50107511cf78ee3b76157c28.jpg","text":"TemporaryFile(/tmp/multipartBody6793133500979705768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277204771,"filename":"image_27112025_18_10_34_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396465248","file1":"1396465224","file0":"1396465178","file4":"1396465262","file5":"1396465266","file3":"1396465258"},"map_files_photo_id_array":[{"photo_id":"1396465266","filename":"file5"},{"photo_id":"1396465248","filename":"file2"},{"photo_id":"1396465262","filename":"file4"},{"photo_id":"1396465224","filename":"file1"},{"photo_id":"1396465178","filename":"file0"},{"photo_id":"1396465258","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396465258":["hashtag1","hashtag2"]},{"1396465266":["hashtag1","hashtag2"]},{"1396465248":["hashtag1","hashtag2"]},{"1396465224":["hashtag1","hashtag2"]},{"1396465262":["hashtag1","hashtag2"]},{"1396465178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396465258, 1396465266, 1396465248, 1396465224, 1396465262, 1396465178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.868995666503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:00:02.406814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_44_9742.jpg', '/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_54_9738.jpg', '/home/pi/Desktop/images/27112025/18/11/image_27112025_18_12_05_10679.jpg', '/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_15_9944.jpg', '/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_24_9737.jpg', '/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_45_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_44_9742.jpg
/home/pi/Desktop/images/27112025/18/11/image_27112025_18_11_54_9738.jpg
/home/pi/Desktop/images/27112025/18/11/image_27112025_18_12_05_10679.jpg
/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_15_9944.jpg
/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_24_9737.jpg
/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_45_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396465291","1396465294","1396465300","1396465296","1396465287","1396465298"],"photo_ids_order":["1396465287","1396465291","1396465294","1396465296","1396465298","1396465300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7796266aebee3c8ce67118d715e57e79.jpg","text":"TemporaryFile(/tmp/multipartBody5208418869933243538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_11_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9324e5ee36de4e9ecc9bd0181df3a297.jpg","text":"TemporaryFile(/tmp/multipartBody5911159876220970098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_12_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b07809f512e819c4de0fdb367402fc10.jpg","text":"TemporaryFile(/tmp/multipartBody4163499028713148877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_12_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5525428641e460b12a5ccaebe7777816.jpg","text":"TemporaryFile(/tmp/multipartBody7142002558463206091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_12_15_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/54e471cd3d8ad9cde3441022cc99b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3539071922227810039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_11_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e12c6d4257d1d844b7e490694230559.jpg","text":"TemporaryFile(/tmp/multipartBody3806328394247694567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277263451,"filename":"image_27112025_18_12_24_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396465294","file1":"1396465291","file0":"1396465287","file4":"1396465298","file5":"1396465300","file3":"1396465296"},"map_files_photo_id_array":[{"photo_id":"1396465300","filename":"file5"},{"photo_id":"1396465294","filename":"file2"},{"photo_id":"1396465298","filename":"file4"},{"photo_id":"1396465291","filename":"file1"},{"photo_id":"1396465287","filename":"file0"},{"photo_id":"1396465296","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396465291":["hashtag1","hashtag2"]},{"1396465294":["hashtag1","hashtag2"]},{"1396465300":["hashtag1","hashtag2"]},{"1396465296":["hashtag1","hashtag2"]},{"1396465287":["hashtag1","hashtag2"]},{"1396465298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396465291, 1396465294, 1396465300, 1396465296, 1396465287, 1396465298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.617966651916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 22:00:41.818489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_20_3788.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_28_2804.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_32_3657.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_38_2615.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_41_3603.jpg', '/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_44_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_20_3788.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_28_2804.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_32_3657.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_38_2615.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_41_3603.jpg
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_44_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396465318","1396465314","1396465385","1396465355","1396465418","1396465325"],"photo_ids_order":["1396465314","1396465318","1396465325","1396465355","1396465385","1396465418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afe87e0c07df61e7641035aa98a23607.jpg","text":"TemporaryFile(/tmp/multipartBody8052256968659694772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_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/27/28c221588cb7bbfa2d1cb4706ab27e92.jpg","text":"TemporaryFile(/tmp/multipartBody7526959090920094302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_20_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/27/42f9053ca23cc40f5aff9815c18fb59e.jpg","text":"TemporaryFile(/tmp/multipartBody4835410849500953664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_41_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/27/2f4b013dfcfb377440e71eca776877fb.jpg","text":"TemporaryFile(/tmp/multipartBody254587975320170172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_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/27/8ea1fe758502b49c5ccc63f15e4f28e9.jpg","text":"TemporaryFile(/tmp/multipartBody7606708240529467124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_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/27/e3edbd2f56f3f9ed2703e1c403021587.jpg","text":"TemporaryFile(/tmp/multipartBody4618700782603556173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277303688,"filename":"image_31102025_03_27_32_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396465325","file1":"1396465318","file0":"1396465314","file4":"1396465385","file5":"1396465418","file3":"1396465355"},"map_files_photo_id_array":[{"photo_id":"1396465418","filename":"file5"},{"photo_id":"1396465325","filename":"file2"},{"photo_id":"1396465385","filename":"file4"},{"photo_id":"1396465318","filename":"file1"},{"photo_id":"1396465314","filename":"file0"},{"photo_id":"1396465355","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396465318":["hashtag1","hashtag2"]},{"1396465314":["hashtag1","hashtag2"]},{"1396465385":["hashtag1","hashtag2"]},{"1396465355":["hashtag1","hashtag2"]},{"1396465418":["hashtag1","hashtag2"]},{"1396465325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396465318, 1396465314, 1396465385, 1396465355, 1396465418, 1396465325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46887922286987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:01:32.097932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_42_2507.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_46_3626.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_49_2544.jpg', '/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_51_2869.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_16_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_42_2507.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_46_3626.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_49_2544.jpg
/home/pi/Desktop/images/21112025/21/41/image_21112025_21_41_51_2869.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_07_3012.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_16_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396465681","1396465624","1396465737","1396465650","1396465710","1396465769"],"photo_ids_order":["1396465624","1396465650","1396465681","1396465710","1396465737","1396465769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be88e53fb304544b5e94acbce0688d43.jpg","text":"TemporaryFile(/tmp/multipartBody8896552631250669634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_41_49_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/27/808681420f7c1aed961a686c8705dd75.jpg","text":"TemporaryFile(/tmp/multipartBody8306899485217138256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_41_42_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/27/970568d098a9eac9c6afd5b5e5bd149c.jpg","text":"TemporaryFile(/tmp/multipartBody505418690536436450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_43_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/27/96c06503d8d0f1806054f034a0d5dbc1.jpg","text":"TemporaryFile(/tmp/multipartBody1450521947186070828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_41_46_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/27/b5428ecacf0eace1510d1e7bc459ebbf.jpg","text":"TemporaryFile(/tmp/multipartBody4379175355675053991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_41_51_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/27/163ff07fad0604810898d1bf1dbf8d15.jpg","text":"TemporaryFile(/tmp/multipartBody814447625172116570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277354160,"filename":"image_21112025_21_43_16_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396465681","file1":"1396465650","file0":"1396465624","file4":"1396465737","file5":"1396465769","file3":"1396465710"},"map_files_photo_id_array":[{"photo_id":"1396465769","filename":"file5"},{"photo_id":"1396465681","filename":"file2"},{"photo_id":"1396465737","filename":"file4"},{"photo_id":"1396465650","filename":"file1"},{"photo_id":"1396465624","filename":"file0"},{"photo_id":"1396465710","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396465681":["hashtag1","hashtag2"]},{"1396465624":["hashtag1","hashtag2"]},{"1396465737":["hashtag1","hashtag2"]},{"1396465650":["hashtag1","hashtag2"]},{"1396465710":["hashtag1","hashtag2"]},{"1396465769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396465681, 1396465624, 1396465737, 1396465650, 1396465710, 1396465769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51625370979309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 22:02:22.243353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_54_9771.jpg', '/home/pi/Desktop/images/27112025/18/12/image_27112025_18_13_04_9686.jpg', '/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_15_10678.jpg', '/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_25_9673.jpg', '/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_45_10740.jpg', '/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/12/image_27112025_18_12_54_9771.jpg
/home/pi/Desktop/images/27112025/18/12/image_27112025_18_13_04_9686.jpg
/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_15_10678.jpg
/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_25_9673.jpg
/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_45_10740.jpg
/home/pi/Desktop/images/27112025/18/13/image_27112025_18_13_55_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396465987","1396466044","1396465960","1396465906","1396466015","1396465934"],"photo_ids_order":["1396465906","1396465934","1396465960","1396465987","1396466015","1396466044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63d2a46efb7f78a2746326203f2309b2.jpg","text":"TemporaryFile(/tmp/multipartBody7714623848329716301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_13_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef4f4ca206281f613cfe81818b0397cd.jpg","text":"TemporaryFile(/tmp/multipartBody4969948265125790926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_13_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e2ed647eb52122dc7e69c6d9503207f.jpg","text":"TemporaryFile(/tmp/multipartBody658943357303005081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_13_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9ad3ea787bbbcba024258dd593f6b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2664617805109699847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_12_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/815d8e69f667595c839eb972df7a4fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3721037649645081479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_13_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92978bc2068c659dc2d99f0af3f66bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7356714499512401675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277403269,"filename":"image_27112025_18_13_04_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396465960","file1":"1396465934","file0":"1396465906","file4":"1396466015","file5":"1396466044","file3":"1396465987"},"map_files_photo_id_array":[{"photo_id":"1396466044","filename":"file5"},{"photo_id":"1396465960","filename":"file2"},{"photo_id":"1396466015","filename":"file4"},{"photo_id":"1396465934","filename":"file1"},{"photo_id":"1396465906","filename":"file0"},{"photo_id":"1396465987","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396465987":["hashtag1","hashtag2"]},{"1396466044":["hashtag1","hashtag2"]},{"1396465960":["hashtag1","hashtag2"]},{"1396465906":["hashtag1","hashtag2"]},{"1396466015":["hashtag1","hashtag2"]},{"1396465934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396465987, 1396466044, 1396465960, 1396465906, 1396466015, 1396465934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44665050506592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:03:03.246381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/13/image_27112025_18_14_04_9657.jpg', '/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_15_10649.jpg', '/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_25_9721.jpg', '/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_34_9609.jpg', '/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_45_10670.jpg', '/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_55_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/13/image_27112025_18_14_04_9657.jpg
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_15_10649.jpg
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_25_9721.jpg
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_34_9609.jpg
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_45_10670.jpg
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_14_55_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396466149","1396466199","1396466190","1396466193","1396466196","1396466179"],"photo_ids_order":["1396466149","1396466179","1396466190","1396466193","1396466196","1396466199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2348c3f2bb528f2aeb46743028ad7ee.jpg","text":"TemporaryFile(/tmp/multipartBody6571318541781615160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/155468d74d6d14e37b40e51367e28337.jpg","text":"TemporaryFile(/tmp/multipartBody7517312656686909303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_55_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41c4878b6618030b14132f089946bdcf.jpg","text":"TemporaryFile(/tmp/multipartBody8346608327026702395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/311036931f6153ac9050edbe46d54272.jpg","text":"TemporaryFile(/tmp/multipartBody3270805835147674193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cfab09d46e3d34b40d0ab9feda8af55b.jpg","text":"TemporaryFile(/tmp/multipartBody6601112837770242727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/654d1b8003f5f9bf83f0dbf61da0c9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4903245707692171708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277444499,"filename":"image_27112025_18_14_15_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396466190","file1":"1396466179","file0":"1396466149","file4":"1396466196","file5":"1396466199","file3":"1396466193"},"map_files_photo_id_array":[{"photo_id":"1396466199","filename":"file5"},{"photo_id":"1396466190","filename":"file2"},{"photo_id":"1396466196","filename":"file4"},{"photo_id":"1396466179","filename":"file1"},{"photo_id":"1396466149","filename":"file0"},{"photo_id":"1396466193","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396466149":["hashtag1","hashtag2"]},{"1396466199":["hashtag1","hashtag2"]},{"1396466190":["hashtag1","hashtag2"]},{"1396466193":["hashtag1","hashtag2"]},{"1396466196":["hashtag1","hashtag2"]},{"1396466179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396466149, 1396466199, 1396466190, 1396466193, 1396466196, 1396466179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.654226303100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:04:03.509089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/14/image_27112025_18_15_05_9722.jpg', '/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_14_9714.jpg', '/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_24_9816.jpg', '/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_35_10722.jpg', '/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_45_9855.jpg', '/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_55_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/14/image_27112025_18_15_05_9722.jpg
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_14_9714.jpg
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_24_9816.jpg
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_35_10722.jpg
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_45_9855.jpg
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_15_55_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396466527","1396466577","1396466472","1396466628","1396466692","1396466752"],"photo_ids_order":["1396466472","1396466527","1396466577","1396466628","1396466692","1396466752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/65e7739ba732213e2b2a9ef85b83a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody1854206107325107906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e77df68c87bfab20d34dbc2483d17eb.jpg","text":"TemporaryFile(/tmp/multipartBody6412066772865099877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/74577b5a24405d44aa4f4b6cff707b01.jpg","text":"TemporaryFile(/tmp/multipartBody2860000151291067814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/239843adcc3d357ecf03c0aeec8105fd.jpg","text":"TemporaryFile(/tmp/multipartBody5811660621739843125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_35_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e545dd078f14d0fcbb6ffd2752c78862.jpg","text":"TemporaryFile(/tmp/multipartBody2317565227047500961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1edf1a2b6a0ac73c7594fab670798ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5187031255680480953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277504620,"filename":"image_27112025_18_15_55_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396466577","file1":"1396466527","file0":"1396466472","file4":"1396466692","file5":"1396466752","file3":"1396466628"},"map_files_photo_id_array":[{"photo_id":"1396466752","filename":"file5"},{"photo_id":"1396466577","filename":"file2"},{"photo_id":"1396466692","filename":"file4"},{"photo_id":"1396466527","filename":"file1"},{"photo_id":"1396466472","filename":"file0"},{"photo_id":"1396466628","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396466527":["hashtag1","hashtag2"]},{"1396466577":["hashtag1","hashtag2"]},{"1396466472":["hashtag1","hashtag2"]},{"1396466628":["hashtag1","hashtag2"]},{"1396466692":["hashtag1","hashtag2"]},{"1396466752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396466527, 1396466577, 1396466472, 1396466628, 1396466692, 1396466752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26080369949341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:05:02.792488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/15/image_27112025_18_16_04_9695.jpg', '/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_15_10654.jpg', '/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_25_9642.jpg', '/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_34_9623.jpg', '/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_44_10065.jpg', '/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_55_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/15/image_27112025_18_16_04_9695.jpg
/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_15_10654.jpg
/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_25_9642.jpg
/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_34_9623.jpg
/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_44_10065.jpg
/home/pi/Desktop/images/27112025/18/16/image_27112025_18_16_55_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396467135","1396467210","1396467077","1396467179","1396467241","1396467034"],"photo_ids_order":["1396467034","1396467077","1396467135","1396467179","1396467210","1396467241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8a76d61b7a6112202a2da5e07834d93.jpg","text":"TemporaryFile(/tmp/multipartBody5498602376889366234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/afd2f3fbabfe923708e047964910fa50.jpg","text":"TemporaryFile(/tmp/multipartBody3628600119355022746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_44_10065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9f99f524e85028d2b123e7f6d2b95520.jpg","text":"TemporaryFile(/tmp/multipartBody889008899759224719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/69078aa5e6f7da03eb9654ef274c7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody919831398644676242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2c5f76a91123a8a189157472758b895.jpg","text":"TemporaryFile(/tmp/multipartBody4411755813781667166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/241ecf0d86f49787e243ad030efe9d62.jpg","text":"TemporaryFile(/tmp/multipartBody20070752652515647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277563891,"filename":"image_27112025_18_16_04_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396467135","file1":"1396467077","file0":"1396467034","file4":"1396467210","file5":"1396467241","file3":"1396467179"},"map_files_photo_id_array":[{"photo_id":"1396467241","filename":"file5"},{"photo_id":"1396467135","filename":"file2"},{"photo_id":"1396467210","filename":"file4"},{"photo_id":"1396467077","filename":"file1"},{"photo_id":"1396467034","filename":"file0"},{"photo_id":"1396467179","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396467135":["hashtag1","hashtag2"]},{"1396467210":["hashtag1","hashtag2"]},{"1396467077":["hashtag1","hashtag2"]},{"1396467179":["hashtag1","hashtag2"]},{"1396467241":["hashtag1","hashtag2"]},{"1396467034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396467135, 1396467210, 1396467077, 1396467179, 1396467241, 1396467034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.659213066101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:06:02.717937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_05_9931.jpg', '/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_14_9564.jpg', '/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_24_9702.jpg', '/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_34_10324.jpg', '/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_44_9655.jpg', '/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_55_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_05_9931.jpg
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_14_9564.jpg
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_24_9702.jpg
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_34_10324.jpg
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_44_9655.jpg
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_17_55_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396467291","1396467383","1396467299","1396467353","1396467322","1396467294"],"photo_ids_order":["1396467291","1396467294","1396467299","1396467322","1396467353","1396467383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9e88f6b89b50409720ad828243e87fc.jpg","text":"TemporaryFile(/tmp/multipartBody4316931490988039964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_05_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cad74364aaf9e85239542c8211eddcff.jpg","text":"TemporaryFile(/tmp/multipartBody2177133550192546540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ae92c4bdf980cd6fb25a9dd402b57c3.jpg","text":"TemporaryFile(/tmp/multipartBody2743857661657278348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14b057afa3aa3940f55868f31582257a.jpg","text":"TemporaryFile(/tmp/multipartBody1829749544232473795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8ff2e85c999468dbd945701bace687c.jpg","text":"TemporaryFile(/tmp/multipartBody1180019445105823527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_34_10324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f42feca3a1346714b4453b820a6215cf.jpg","text":"TemporaryFile(/tmp/multipartBody8265952947369941701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277623753,"filename":"image_27112025_18_17_14_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396467299","file1":"1396467294","file0":"1396467291","file4":"1396467353","file5":"1396467383","file3":"1396467322"},"map_files_photo_id_array":[{"photo_id":"1396467383","filename":"file5"},{"photo_id":"1396467299","filename":"file2"},{"photo_id":"1396467353","filename":"file4"},{"photo_id":"1396467294","filename":"file1"},{"photo_id":"1396467291","filename":"file0"},{"photo_id":"1396467322","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396467291":["hashtag1","hashtag2"]},{"1396467383":["hashtag1","hashtag2"]},{"1396467299":["hashtag1","hashtag2"]},{"1396467353":["hashtag1","hashtag2"]},{"1396467322":["hashtag1","hashtag2"]},{"1396467294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396467291, 1396467383, 1396467299, 1396467353, 1396467322, 1396467294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34434413909912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:07:03.448103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/17/image_27112025_18_18_04_9607.jpg', '/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_14_9809.jpg', '/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_25_10667.jpg', '/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_34_9599.jpg', '/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_44_9729.jpg', '/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_55_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/17/image_27112025_18_18_04_9607.jpg
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_14_9809.jpg
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_25_10667.jpg
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_34_9599.jpg
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_44_9729.jpg
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_18_55_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396467789","1396467762","1396467830","1396467926","1396467710","1396467885"],"photo_ids_order":["1396467710","1396467762","1396467789","1396467830","1396467885","1396467926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85ff06d6f99c6dd11ff6671cc5ab2c78.jpg","text":"TemporaryFile(/tmp/multipartBody999488834502414528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d63f3ff3a5a6fbc6a8c5238d9c7b417b.jpg","text":"TemporaryFile(/tmp/multipartBody1357216861201798175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/708aca08b174c2acb0b314453f96d455.jpg","text":"TemporaryFile(/tmp/multipartBody6165445608598245929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40ee22d21b37ac394b2495622c5ee3d2.jpg","text":"TemporaryFile(/tmp/multipartBody5101933382983822046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f09ce15b7dc2e845ac024f5cc846beff.jpg","text":"TemporaryFile(/tmp/multipartBody9217143956580665948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1ed4e7c4b0d148d97d494c5256270888.jpg","text":"TemporaryFile(/tmp/multipartBody1478586393213390403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277684528,"filename":"image_27112025_18_18_44_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396467789","file1":"1396467762","file0":"1396467710","file4":"1396467885","file5":"1396467926","file3":"1396467830"},"map_files_photo_id_array":[{"photo_id":"1396467926","filename":"file5"},{"photo_id":"1396467789","filename":"file2"},{"photo_id":"1396467885","filename":"file4"},{"photo_id":"1396467762","filename":"file1"},{"photo_id":"1396467710","filename":"file0"},{"photo_id":"1396467830","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396467789":["hashtag1","hashtag2"]},{"1396467762":["hashtag1","hashtag2"]},{"1396467830":["hashtag1","hashtag2"]},{"1396467926":["hashtag1","hashtag2"]},{"1396467710":["hashtag1","hashtag2"]},{"1396467885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396467789, 1396467762, 1396467830, 1396467926, 1396467710, 1396467885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1894052028656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:08:02.594147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/18/image_27112025_18_19_05_9691.jpg', '/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_14_9607.jpg', '/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_25_10602.jpg', '/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_44_9746.jpg', '/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_54_9847.jpg', '/home/pi/Desktop/images/27112025/18/19/image_27112025_18_20_05_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/18/image_27112025_18_19_05_9691.jpg
/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_14_9607.jpg
/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_25_10602.jpg
/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_44_9746.jpg
/home/pi/Desktop/images/27112025/18/19/image_27112025_18_19_54_9847.jpg
/home/pi/Desktop/images/27112025/18/19/image_27112025_18_20_05_10792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396468221","1396468253","1396468283","1396468136","1396468192","1396468165"],"photo_ids_order":["1396468136","1396468165","1396468192","1396468221","1396468253","1396468283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f70226a7f3de4f969347c2ca6bce4c1.jpg","text":"TemporaryFile(/tmp/multipartBody2009407933904160902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_19_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63054848cd800b31ea6365d0ea5b1a02.jpg","text":"TemporaryFile(/tmp/multipartBody1683608658430451513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_19_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b40105ad00f5f357c48e4545ac731250.jpg","text":"TemporaryFile(/tmp/multipartBody174336793651229033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_20_05_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8afcb16f3ae142aa02bc7c2b44df6ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7130893610241533999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_19_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1312f6972f093f3e9e7a6daad47a03c9.jpg","text":"TemporaryFile(/tmp/multipartBody1980853556653286795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_19_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/280687c51f56e452aa9c00a644020821.jpg","text":"TemporaryFile(/tmp/multipartBody3922295103344097647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277743689,"filename":"image_27112025_18_19_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396468192","file1":"1396468165","file0":"1396468136","file4":"1396468253","file5":"1396468283","file3":"1396468221"},"map_files_photo_id_array":[{"photo_id":"1396468283","filename":"file5"},{"photo_id":"1396468192","filename":"file2"},{"photo_id":"1396468253","filename":"file4"},{"photo_id":"1396468165","filename":"file1"},{"photo_id":"1396468136","filename":"file0"},{"photo_id":"1396468221","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396468221":["hashtag1","hashtag2"]},{"1396468253":["hashtag1","hashtag2"]},{"1396468283":["hashtag1","hashtag2"]},{"1396468136":["hashtag1","hashtag2"]},{"1396468192":["hashtag1","hashtag2"]},{"1396468165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396468221, 1396468253, 1396468283, 1396468136, 1396468192, 1396468165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38420128822327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:09:03.179752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_15_9841.jpg', '/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_24_9659.jpg', '/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_44_10119.jpg', '/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_55_10654.jpg', '/home/pi/Desktop/images/27112025/18/20/image_27112025_18_21_04_9652.jpg', '/home/pi/Desktop/images/27112025/18/21/image_27112025_18_21_14_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_15_9841.jpg
/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_24_9659.jpg
/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_44_10119.jpg
/home/pi/Desktop/images/27112025/18/20/image_27112025_18_20_55_10654.jpg
/home/pi/Desktop/images/27112025/18/20/image_27112025_18_21_04_9652.jpg
/home/pi/Desktop/images/27112025/18/21/image_27112025_18_21_14_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396468416","1396468442","1396468386","1396468473","1396468395","1396468371"],"photo_ids_order":["1396468371","1396468386","1396468395","1396468416","1396468442","1396468473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/141d80486a756bf33085286a1f6cf039.jpg","text":"TemporaryFile(/tmp/multipartBody7256814514095305800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_20_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8292fadb1516c9b9978e04b1da0b211.jpg","text":"TemporaryFile(/tmp/multipartBody1143454432339256212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_21_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72d481e83c3d78a2e58b9b1603aa4b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2282942126069616165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_20_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bd0a40061fb14ba65ecf078e996c235e.jpg","text":"TemporaryFile(/tmp/multipartBody4493345702239845047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_21_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/830c9eb407b230c9e48ec9650f1c6b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5070334185916920969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_20_44_10119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0b1b138bff5951eb4a9e54d2e9d9a91e.jpg","text":"TemporaryFile(/tmp/multipartBody970503945680389175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277804304,"filename":"image_27112025_18_20_15_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396468395","file1":"1396468386","file0":"1396468371","file4":"1396468442","file5":"1396468473","file3":"1396468416"},"map_files_photo_id_array":[{"photo_id":"1396468473","filename":"file5"},{"photo_id":"1396468395","filename":"file2"},{"photo_id":"1396468442","filename":"file4"},{"photo_id":"1396468386","filename":"file1"},{"photo_id":"1396468371","filename":"file0"},{"photo_id":"1396468416","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396468416":["hashtag1","hashtag2"]},{"1396468442":["hashtag1","hashtag2"]},{"1396468386":["hashtag1","hashtag2"]},{"1396468473":["hashtag1","hashtag2"]},{"1396468395":["hashtag1","hashtag2"]},{"1396468371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396468416, 1396468442, 1396468386, 1396468473, 1396468395, 1396468371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.758838176727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:10:02.873838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/21/image_27112025_18_21_55_10648.jpg', '/home/pi/Desktop/images/27112025/18/21/image_27112025_18_22_05_9796.jpg', '/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_14_9624.jpg', '/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_24_9840.jpg', '/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_35_10828.jpg', '/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/21/image_27112025_18_21_55_10648.jpg
/home/pi/Desktop/images/27112025/18/21/image_27112025_18_22_05_9796.jpg
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_14_9624.jpg
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_24_9840.jpg
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_35_10828.jpg
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_44_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396468823","1396468928","1396468873","1396468980","1396468797","1396469034"],"photo_ids_order":["1396468797","1396468823","1396468873","1396468928","1396468980","1396469034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de1ede4491d51fd6baad0a25f51c0b66.jpg","text":"TemporaryFile(/tmp/multipartBody1755841480711182473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_22_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31f1a246e73460a2b008cd04df7cdba3.jpg","text":"TemporaryFile(/tmp/multipartBody2307811023516196574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_22_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0740d85f3396dcfcee852befb0e8c513.jpg","text":"TemporaryFile(/tmp/multipartBody551384792646789950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_22_14_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/27/91bcd8f642f5371079e6e76ed30eb827.jpg","text":"TemporaryFile(/tmp/multipartBody600026440972057773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_22_35_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66b4e33f0dcea4e87d9f76702ee2a015.jpg","text":"TemporaryFile(/tmp/multipartBody8373806596491364290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_21_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e3ea9266c74669deb3d34813f5cb73c.jpg","text":"TemporaryFile(/tmp/multipartBody7559884069941888036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277863909,"filename":"image_27112025_18_22_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396468873","file1":"1396468823","file0":"1396468797","file4":"1396468980","file5":"1396469034","file3":"1396468928"},"map_files_photo_id_array":[{"photo_id":"1396469034","filename":"file5"},{"photo_id":"1396468873","filename":"file2"},{"photo_id":"1396468980","filename":"file4"},{"photo_id":"1396468823","filename":"file1"},{"photo_id":"1396468797","filename":"file0"},{"photo_id":"1396468928","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396468823":["hashtag1","hashtag2"]},{"1396468928":["hashtag1","hashtag2"]},{"1396468873":["hashtag1","hashtag2"]},{"1396468980":["hashtag1","hashtag2"]},{"1396468797":["hashtag1","hashtag2"]},{"1396469034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396468823, 1396468928, 1396468873, 1396468980, 1396468797, 1396469034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54138517379761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:11:03.286062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_54_9665.jpg', '/home/pi/Desktop/images/27112025/18/22/image_27112025_18_23_05_10672.jpg', '/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_15_9849.jpg', '/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_24_9650.jpg', '/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_34_9650.jpg', '/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_22_54_9665.jpg
/home/pi/Desktop/images/27112025/18/22/image_27112025_18_23_05_10672.jpg
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_15_9849.jpg
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_24_9650.jpg
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_34_9650.jpg
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_23_45_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396469426","1396469368","1396469257","1396469542","1396469311","1396469480"],"photo_ids_order":["1396469257","1396469311","1396469368","1396469426","1396469480","1396469542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9bd594d730a93672b940177a237cbfd3.jpg","text":"TemporaryFile(/tmp/multipartBody7929107577742158474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_23_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/028af3c588387e2ad662aeb0408a28b6.jpg","text":"TemporaryFile(/tmp/multipartBody4506183640827188167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_23_15_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d178d6cab2522b2ea45a93525dae3de.jpg","text":"TemporaryFile(/tmp/multipartBody1479449046309580582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_22_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e60ef87c886619426bed582d90fd0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3686471311764260697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_23_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21ae4ad5be50d47fdffd309e20275fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2009690722857869217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_23_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbfd2fc46cd2815d9784274f80a5b90b.jpg","text":"TemporaryFile(/tmp/multipartBody1091559748508439445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277924380,"filename":"image_27112025_18_23_34_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396469368","file1":"1396469311","file0":"1396469257","file4":"1396469480","file5":"1396469542","file3":"1396469426"},"map_files_photo_id_array":[{"photo_id":"1396469542","filename":"file5"},{"photo_id":"1396469368","filename":"file2"},{"photo_id":"1396469480","filename":"file4"},{"photo_id":"1396469311","filename":"file1"},{"photo_id":"1396469257","filename":"file0"},{"photo_id":"1396469426","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396469426":["hashtag1","hashtag2"]},{"1396469368":["hashtag1","hashtag2"]},{"1396469257":["hashtag1","hashtag2"]},{"1396469542":["hashtag1","hashtag2"]},{"1396469311":["hashtag1","hashtag2"]},{"1396469480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396469426, 1396469368, 1396469257, 1396469542, 1396469311, 1396469480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22614622116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:12:03.246905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/23/image_27112025_18_24_04_9545.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_25_10091.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_34_9373.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_54_9661.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_25_05_10706.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_14_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_24_04_9545.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_25_10091.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_34_9373.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_54_9661.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_25_05_10706.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_14_9374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6946041584014893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:12:12.754461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_21_5218.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_26_2770.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_28_2611.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_31_2675.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_34_2777.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_38_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_21_5218.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_26_2770.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_28_2611.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_31_2675.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_34_2777.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_38_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396469980","1396469944","1396469947","1396470034","1396469949","1396469940"],"photo_ids_order":["1396469940","1396469944","1396469947","1396469949","1396469980","1396470034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/083d594a261e2411d773a9f45be8eee4.jpg","text":"TemporaryFile(/tmp/multipartBody4080726624363449987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_34_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/27/f34338c28f8a99f92e9912d63c1fabd1.jpg","text":"TemporaryFile(/tmp/multipartBody8603739949305104096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_26_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/27/848c25451aa200d18d610be3e7422245.jpg","text":"TemporaryFile(/tmp/multipartBody442797884589864420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_28_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/27/38318b9de7ceeebcebee74a9ac823883.jpg","text":"TemporaryFile(/tmp/multipartBody6230811252328578415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_38_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/27/77ffe575810440e85cfa278ba07bfbce.jpg","text":"TemporaryFile(/tmp/multipartBody3237935366848919370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_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/27/2862c331c1a47ff7b011bc1b187b1169.jpg","text":"TemporaryFile(/tmp/multipartBody4747465518049293546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764277994720,"filename":"image_21112025_21_43_21_5218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396469947","file1":"1396469944","file0":"1396469940","file4":"1396469980","file5":"1396470034","file3":"1396469949"},"map_files_photo_id_array":[{"photo_id":"1396470034","filename":"file5"},{"photo_id":"1396469947","filename":"file2"},{"photo_id":"1396469980","filename":"file4"},{"photo_id":"1396469944","filename":"file1"},{"photo_id":"1396469940","filename":"file0"},{"photo_id":"1396469949","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396469980":["hashtag1","hashtag2"]},{"1396469944":["hashtag1","hashtag2"]},{"1396469947":["hashtag1","hashtag2"]},{"1396470034":["hashtag1","hashtag2"]},{"1396469949":["hashtag1","hashtag2"]},{"1396469940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396469980, 1396469944, 1396469947, 1396470034, 1396469949, 1396469940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17732357978821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:13:02.781496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/23/image_27112025_18_24_04_9545.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_25_10091.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_34_9373.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_54_9661.jpg', '/home/pi/Desktop/images/27112025/18/24/image_27112025_18_25_05_10706.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_14_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/23/image_27112025_18_24_04_9545.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_25_10091.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_34_9373.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_24_54_9661.jpg
/home/pi/Desktop/images/27112025/18/24/image_27112025_18_25_05_10706.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_14_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470359","1396470311","1396470376","1396470331","1396470319","1396470294"],"photo_ids_order":["1396470294","1396470311","1396470319","1396470331","1396470359","1396470376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2edabe9831a117e4d25f0ea9f2c9c21.jpg","text":"TemporaryFile(/tmp/multipartBody4846460001928943148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_25_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/682494b81f663394b41ab1ff96437f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6419569386972465683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_24_25_10091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f6b0557b4b0c6dbc92524f1d1878b16.jpg","text":"TemporaryFile(/tmp/multipartBody5238089003599389565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_25_14_9374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ec84db95efde38ec6e938ee1ad6fc094.jpg","text":"TemporaryFile(/tmp/multipartBody1740372284154896723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_24_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5b7a44ffcb472778f7553d71d35449b7.jpg","text":"TemporaryFile(/tmp/multipartBody2857679943798093281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_24_34_9373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eca0ec5a88cf7233d741b75f01ff09b1.jpg","text":"TemporaryFile(/tmp/multipartBody5111303071381530807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278043863,"filename":"image_27112025_18_24_04_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470319","file1":"1396470311","file0":"1396470294","file4":"1396470359","file5":"1396470376","file3":"1396470331"},"map_files_photo_id_array":[{"photo_id":"1396470376","filename":"file5"},{"photo_id":"1396470319","filename":"file2"},{"photo_id":"1396470359","filename":"file4"},{"photo_id":"1396470311","filename":"file1"},{"photo_id":"1396470294","filename":"file0"},{"photo_id":"1396470331","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396470359":["hashtag1","hashtag2"]},{"1396470311":["hashtag1","hashtag2"]},{"1396470376":["hashtag1","hashtag2"]},{"1396470331":["hashtag1","hashtag2"]},{"1396470319":["hashtag1","hashtag2"]},{"1396470294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396470359, 1396470311, 1396470376, 1396470331, 1396470319, 1396470294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45266532897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:14:03.127612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_25_10674.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_35_9812.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_45_9829.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_54_9742.jpg', '/home/pi/Desktop/images/27112025/18/25/image_27112025_18_26_04_9769.jpg', '/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_15_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_25_10674.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_35_9812.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_45_9829.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_25_54_9742.jpg
/home/pi/Desktop/images/27112025/18/25/image_27112025_18_26_04_9769.jpg
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_15_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470429","1396470425","1396470433","1396470442","1396470436","1396470439"],"photo_ids_order":["1396470425","1396470429","1396470433","1396470436","1396470439","1396470442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb34b91f5513be7b58735f4067b7c336.jpg","text":"TemporaryFile(/tmp/multipartBody1990724445316355604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_25_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7672ac32bc316cba89d3582021ebdbfd.jpg","text":"TemporaryFile(/tmp/multipartBody1275941891973090139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_25_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e482283fc180bb1c5bf0ffff027ff690.jpg","text":"TemporaryFile(/tmp/multipartBody1649169132566527426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_25_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e8052c29d8ab496e90c722dce930831.jpg","text":"TemporaryFile(/tmp/multipartBody8691077575849460294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_26_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fe4977e41ca3503da908788eb5f8325.jpg","text":"TemporaryFile(/tmp/multipartBody47027872197054325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_25_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ab2ee32e0a95c44eda22ed1db80d1121.jpg","text":"TemporaryFile(/tmp/multipartBody3810897957213226211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278104246,"filename":"image_27112025_18_26_04_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470433","file1":"1396470429","file0":"1396470425","file4":"1396470439","file5":"1396470442","file3":"1396470436"},"map_files_photo_id_array":[{"photo_id":"1396470442","filename":"file5"},{"photo_id":"1396470433","filename":"file2"},{"photo_id":"1396470439","filename":"file4"},{"photo_id":"1396470429","filename":"file1"},{"photo_id":"1396470425","filename":"file0"},{"photo_id":"1396470436","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396470429":["hashtag1","hashtag2"]},{"1396470425":["hashtag1","hashtag2"]},{"1396470433":["hashtag1","hashtag2"]},{"1396470442":["hashtag1","hashtag2"]},{"1396470436":["hashtag1","hashtag2"]},{"1396470439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396470429, 1396470425, 1396470433, 1396470442, 1396470436, 1396470439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64786744117737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:15:03.244144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_24_9609.jpg', '/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_34_9735.jpg', '/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_45_10844.jpg', '/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_54_9484.jpg', '/home/pi/Desktop/images/27112025/18/26/image_27112025_18_27_04_9689.jpg', '/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_24_9609.jpg
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_34_9735.jpg
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_45_10844.jpg
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_26_54_9484.jpg
/home/pi/Desktop/images/27112025/18/26/image_27112025_18_27_04_9689.jpg
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_15_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470476","1396470461","1396470478","1396470481","1396470480","1396470468"],"photo_ids_order":["1396470461","1396470468","1396470476","1396470478","1396470480","1396470481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/33b590f8ed614bde8d882c065065fa47.jpg","text":"TemporaryFile(/tmp/multipartBody3628426638215366521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_26_45_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1a8c4a0ef70eff17aca9eaea2cb6d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1586085614418106539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_26_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49077c6981dd7fd24a777a6c942aa349.jpg","text":"TemporaryFile(/tmp/multipartBody8482689860075566552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_26_54_9484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cc947bc305d7d72cf6be787d7cf44084.jpg","text":"TemporaryFile(/tmp/multipartBody3188189929243148091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_27_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3cd2d139b41044c99b69c65785658680.jpg","text":"TemporaryFile(/tmp/multipartBody7509805468638823692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_27_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f601d7cbd17aa120d5fdd356be2022da.jpg","text":"TemporaryFile(/tmp/multipartBody4879290352404194499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278164387,"filename":"image_27112025_18_26_34_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470476","file1":"1396470468","file0":"1396470461","file4":"1396470480","file5":"1396470481","file3":"1396470478"},"map_files_photo_id_array":[{"photo_id":"1396470481","filename":"file5"},{"photo_id":"1396470476","filename":"file2"},{"photo_id":"1396470480","filename":"file4"},{"photo_id":"1396470468","filename":"file1"},{"photo_id":"1396470461","filename":"file0"},{"photo_id":"1396470478","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396470476":["hashtag1","hashtag2"]},{"1396470461":["hashtag1","hashtag2"]},{"1396470478":["hashtag1","hashtag2"]},{"1396470481":["hashtag1","hashtag2"]},{"1396470480":["hashtag1","hashtag2"]},{"1396470468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396470476, 1396470461, 1396470478, 1396470481, 1396470480, 1396470468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15251278877258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:16:03.264426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_25_9808.jpg', '/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_34_9836.jpg', '/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_45_10558.jpg', '/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_55_9837.jpg', '/home/pi/Desktop/images/27112025/18/27/image_27112025_18_28_04_9691.jpg', '/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_25_9808.jpg
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_34_9836.jpg
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_45_10558.jpg
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_27_55_9837.jpg
/home/pi/Desktop/images/27112025/18/27/image_27112025_18_28_04_9691.jpg
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_14_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470501","1396470491","1396470493","1396470495","1396470489","1396470498"],"photo_ids_order":["1396470489","1396470491","1396470493","1396470495","1396470498","1396470501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1358d407a309e134597f1ee56b279a3.jpg","text":"TemporaryFile(/tmp/multipartBody3517293520616471277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_28_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83d13797cd7cf28ce5f7f715589450be.jpg","text":"TemporaryFile(/tmp/multipartBody6740476065167754261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_27_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9297d6c5e9674f53be32bc04d3411c63.jpg","text":"TemporaryFile(/tmp/multipartBody6990616186031949491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_27_45_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/556a2ac096ce5ff49c5f512f34e9d824.jpg","text":"TemporaryFile(/tmp/multipartBody3385853857457075069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_27_55_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07772134616fb0b391728917e6ee14f3.jpg","text":"TemporaryFile(/tmp/multipartBody4181655984772909715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_27_25_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4162c49559d776c3c515a446975a94fa.jpg","text":"TemporaryFile(/tmp/multipartBody4893149043008121984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278224292,"filename":"image_27112025_18_28_04_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470493","file1":"1396470491","file0":"1396470489","file4":"1396470498","file5":"1396470501","file3":"1396470495"},"map_files_photo_id_array":[{"photo_id":"1396470501","filename":"file5"},{"photo_id":"1396470493","filename":"file2"},{"photo_id":"1396470498","filename":"file4"},{"photo_id":"1396470491","filename":"file1"},{"photo_id":"1396470489","filename":"file0"},{"photo_id":"1396470495","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396470501":["hashtag1","hashtag2"]},{"1396470491":["hashtag1","hashtag2"]},{"1396470493":["hashtag1","hashtag2"]},{"1396470495":["hashtag1","hashtag2"]},{"1396470489":["hashtag1","hashtag2"]},{"1396470498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396470501, 1396470491, 1396470493, 1396470495, 1396470489, 1396470498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56733012199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 22:16:42.806491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_59_2683.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_02_2984.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_05_3602.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_08_2654.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_17_2563.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_19_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/27/image_31102025_03_27_59_2683.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_02_2984.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_05_3602.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_08_2654.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_17_2563.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_19_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470510","1396470527","1396470514","1396470523","1396470511","1396470508"],"photo_ids_order":["1396470508","1396470510","1396470511","1396470514","1396470523","1396470527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/46ea5ed39ff705df9ce064d14a65c7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4166923106960374781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_28_02_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a709d3860641f94a779bd946d553525b.jpg","text":"TemporaryFile(/tmp/multipartBody8504176957580079303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_28_19_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/27/cca8028173d4a9182b95d01055585bde.jpg","text":"TemporaryFile(/tmp/multipartBody5888530397827444917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_28_08_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/27/9a382d925ecd634239e037971cffe711.jpg","text":"TemporaryFile(/tmp/multipartBody3467055993028587370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_28_17_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/27/784380c22662c2370bb7d5e9a84efceb.jpg","text":"TemporaryFile(/tmp/multipartBody3166161046295298190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_28_05_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/27/e48fa105113f7343d11c28f6f072bb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3120652974442181261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278264606,"filename":"image_31102025_03_27_59_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470511","file1":"1396470510","file0":"1396470508","file4":"1396470523","file5":"1396470527","file3":"1396470514"},"map_files_photo_id_array":[{"photo_id":"1396470527","filename":"file5"},{"photo_id":"1396470511","filename":"file2"},{"photo_id":"1396470523","filename":"file4"},{"photo_id":"1396470510","filename":"file1"},{"photo_id":"1396470508","filename":"file0"},{"photo_id":"1396470514","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396470510":["hashtag1","hashtag2"]},{"1396470527":["hashtag1","hashtag2"]},{"1396470514":["hashtag1","hashtag2"]},{"1396470523":["hashtag1","hashtag2"]},{"1396470511":["hashtag1","hashtag2"]},{"1396470508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396470510, 1396470527, 1396470514, 1396470523, 1396470511, 1396470508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82183384895325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:17:31.994211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_43_2695.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_46_2749.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_49_3614.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_52_2932.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_55_2697.jpg', '/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_59_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_43_2695.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_46_2749.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_49_3614.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_52_2932.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_55_2697.jpg
/home/pi/Desktop/images/21112025/21/43/image_21112025_21_43_59_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470581","1396470677","1396470553","1396470613","1396470541","1396470651"],"photo_ids_order":["1396470541","1396470553","1396470581","1396470613","1396470651","1396470677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4680d61e6a26aa8631dbb1ff777f2eda.jpg","text":"TemporaryFile(/tmp/multipartBody6060291133065235877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_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/27/471b95b46acc790b42418af3dae10793.jpg","text":"TemporaryFile(/tmp/multipartBody418942850176201852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_59_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/27/5317abe45a8d4d2ea7a7df33a5e6d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody9122341961012241106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_46_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/27/d4deb4ddcd9022293b3889cf4067c3f9.jpg","text":"TemporaryFile(/tmp/multipartBody347228129951984797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_52_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/27/cb4dd623c42fe6491095e65f105c836d.jpg","text":"TemporaryFile(/tmp/multipartBody379612272113226809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_43_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/27/fed0dd5cb1fa82397329addd4ebde130.jpg","text":"TemporaryFile(/tmp/multipartBody8123058679797741782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278314052,"filename":"image_21112025_21_43_55_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470581","file1":"1396470553","file0":"1396470541","file4":"1396470651","file5":"1396470677","file3":"1396470613"},"map_files_photo_id_array":[{"photo_id":"1396470677","filename":"file5"},{"photo_id":"1396470581","filename":"file2"},{"photo_id":"1396470651","filename":"file4"},{"photo_id":"1396470553","filename":"file1"},{"photo_id":"1396470541","filename":"file0"},{"photo_id":"1396470613","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396470581":["hashtag1","hashtag2"]},{"1396470677":["hashtag1","hashtag2"]},{"1396470553":["hashtag1","hashtag2"]},{"1396470613":["hashtag1","hashtag2"]},{"1396470541":["hashtag1","hashtag2"]},{"1396470651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396470581, 1396470677, 1396470553, 1396470613, 1396470541, 1396470651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.772995471954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:18:12.103893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_10_3621.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_13_2688.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_17_3647.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_21_4352.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_23_1858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_07_3012.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_10_3621.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_13_2688.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_17_3647.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_21_4352.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_23_1858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396470890","1396470773","1396470827","1396470800","1396470919","1396470858"],"photo_ids_order":["1396470773","1396470800","1396470827","1396470858","1396470890","1396470919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/99954cc9a00d3a196ac2a186f637333e.jpg","text":"TemporaryFile(/tmp/multipartBody22581412071755044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_46_21_4352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f040799686a7877b85708a0292a4554.jpg","text":"TemporaryFile(/tmp/multipartBody4478499077881027397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_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/27/1296bfab0126feafbc09c8aa5e5b146f.jpg","text":"TemporaryFile(/tmp/multipartBody7921944649428967835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_46_13_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/27/54f6e8a4dfb7bf9daf1675cadaa3b39f.jpg","text":"TemporaryFile(/tmp/multipartBody4157061312935301813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_46_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/27/339e3d701002539163e0c4bfaa0d2305.jpg","text":"TemporaryFile(/tmp/multipartBody3655988274948601314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_46_23_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a7bf50d6a9be18ceb1e6e829dfb8c2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3191063034838681006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278354079,"filename":"image_21112025_21_46_17_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396470827","file1":"1396470800","file0":"1396470773","file4":"1396470890","file5":"1396470919","file3":"1396470858"},"map_files_photo_id_array":[{"photo_id":"1396470919","filename":"file5"},{"photo_id":"1396470827","filename":"file2"},{"photo_id":"1396470890","filename":"file4"},{"photo_id":"1396470800","filename":"file1"},{"photo_id":"1396470773","filename":"file0"},{"photo_id":"1396470858","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396470890":["hashtag1","hashtag2"]},{"1396470773":["hashtag1","hashtag2"]},{"1396470827":["hashtag1","hashtag2"]},{"1396470800":["hashtag1","hashtag2"]},{"1396470919":["hashtag1","hashtag2"]},{"1396470858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396470890, 1396470773, 1396470827, 1396470800, 1396470919, 1396470858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69989728927612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:19:03.405224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_25_10709.jpg', '/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_35_9768.jpg', '/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_44_9771.jpg', '/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_54_9596.jpg', '/home/pi/Desktop/images/27112025/18/28/image_27112025_18_29_05_10755.jpg', '/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_14_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_25_10709.jpg
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_35_9768.jpg
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_44_9771.jpg
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_28_54_9596.jpg
/home/pi/Desktop/images/27112025/18/28/image_27112025_18_29_05_10755.jpg
/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_14_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396471169","1396471291","1396471078","1396471108","1396471257","1396471137"],"photo_ids_order":["1396471078","1396471108","1396471137","1396471169","1396471257","1396471291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b2817775e13f17055f63528eb58bcb68.jpg","text":"TemporaryFile(/tmp/multipartBody4093469364921569167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_28_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2abf67c5f6cc7670231cf2c84354afad.jpg","text":"TemporaryFile(/tmp/multipartBody2661021297252429768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_29_14_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b58b356056812a28019b046d1e023a6.jpg","text":"TemporaryFile(/tmp/multipartBody6261333974602505630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_28_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a8151a289f9c653ad21a5db4c57cf5c.jpg","text":"TemporaryFile(/tmp/multipartBody6087527638092094556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_28_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5d7b9d926ff0b90b5fb6c8aa2d06b114.jpg","text":"TemporaryFile(/tmp/multipartBody4821211562033641577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_29_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1f9f9873198fcd60220a09f4a8231da.jpg","text":"TemporaryFile(/tmp/multipartBody2515858625075501206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278404591,"filename":"image_27112025_18_28_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396471137","file1":"1396471108","file0":"1396471078","file4":"1396471257","file5":"1396471291","file3":"1396471169"},"map_files_photo_id_array":[{"photo_id":"1396471291","filename":"file5"},{"photo_id":"1396471137","filename":"file2"},{"photo_id":"1396471257","filename":"file4"},{"photo_id":"1396471108","filename":"file1"},{"photo_id":"1396471078","filename":"file0"},{"photo_id":"1396471169","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396471169":["hashtag1","hashtag2"]},{"1396471291":["hashtag1","hashtag2"]},{"1396471078":["hashtag1","hashtag2"]},{"1396471108":["hashtag1","hashtag2"]},{"1396471257":["hashtag1","hashtag2"]},{"1396471137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396471169, 1396471291, 1396471078, 1396471108, 1396471257, 1396471137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.436551332473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:20:02.883274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_24_9875.jpg', '/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_34_9823.jpg', '/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_55_9747.jpg', '/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_13_10048.jpg', '/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_24_10743.jpg', '/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_34_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_24_9875.jpg
/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_34_9823.jpg
/home/pi/Desktop/images/27112025/18/29/image_27112025_18_29_55_9747.jpg
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_13_10048.jpg
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_24_10743.jpg
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_34_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396471436","1396471498","1396471590","1396471464","1396471530","1396471562"],"photo_ids_order":["1396471436","1396471464","1396471498","1396471530","1396471562","1396471590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/13e63195c87937ca4500e7c398f02f60.jpg","text":"TemporaryFile(/tmp/multipartBody5716489592101414472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_29_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5561b8b9450f7bfc247a845c2d0617b5.jpg","text":"TemporaryFile(/tmp/multipartBody2877743830064473137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_29_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/68ba2e9c677fd20ad6274263f6aa606c.jpg","text":"TemporaryFile(/tmp/multipartBody423645814832787018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_31_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f30028d3e2772777cde537c466b5db0b.jpg","text":"TemporaryFile(/tmp/multipartBody1346922173959729608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_29_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/726775050e064c25617d0564985cf0a7.jpg","text":"TemporaryFile(/tmp/multipartBody6082038449959205870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_31_13_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/457946dcba00de5022ba2aad5ae8ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody1791939090648374855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278463900,"filename":"image_27112025_18_31_24_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396471498","file1":"1396471464","file0":"1396471436","file4":"1396471562","file5":"1396471590","file3":"1396471530"},"map_files_photo_id_array":[{"photo_id":"1396471590","filename":"file5"},{"photo_id":"1396471498","filename":"file2"},{"photo_id":"1396471562","filename":"file4"},{"photo_id":"1396471464","filename":"file1"},{"photo_id":"1396471436","filename":"file0"},{"photo_id":"1396471530","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396471436":["hashtag1","hashtag2"]},{"1396471498":["hashtag1","hashtag2"]},{"1396471590":["hashtag1","hashtag2"]},{"1396471464":["hashtag1","hashtag2"]},{"1396471530":["hashtag1","hashtag2"]},{"1396471562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396471436, 1396471498, 1396471590, 1396471464, 1396471530, 1396471562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46576929092407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:21:03.463359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_44_9750.jpg', '/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_54_10714.jpg', '/home/pi/Desktop/images/27112025/18/31/image_27112025_18_32_04_9654.jpg', '/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_24_9718.jpg', '/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_34_10860.jpg', '/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_54_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_44_9750.jpg
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_31_54_10714.jpg
/home/pi/Desktop/images/27112025/18/31/image_27112025_18_32_04_9654.jpg
/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_24_9718.jpg
/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_34_10860.jpg
/home/pi/Desktop/images/27112025/18/32/image_27112025_18_32_54_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396471984","1396471948","1396471840","1396471810","1396471872","1396471902"],"photo_ids_order":["1396471810","1396471840","1396471872","1396471902","1396471948","1396471984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7cb5b00fcbf409e31a7832397c810b3.jpg","text":"TemporaryFile(/tmp/multipartBody8324527618651608772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_32_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/818d2cc148191048a0482cef273c5dbd.jpg","text":"TemporaryFile(/tmp/multipartBody238194323367532748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_32_34_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/750f6a98b09e1c260f6f166472629903.jpg","text":"TemporaryFile(/tmp/multipartBody2584010582591729431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_31_54_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7642c45a52fcd5134f759c872712ece3.jpg","text":"TemporaryFile(/tmp/multipartBody739398831740498044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_31_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/302d74ce3231c736f8b71cf45d95888d.jpg","text":"TemporaryFile(/tmp/multipartBody6588595841042001156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_32_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ac786d0dd7cd025db892fb4626c6584.jpg","text":"TemporaryFile(/tmp/multipartBody5516583009205363115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278524554,"filename":"image_27112025_18_32_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396471872","file1":"1396471840","file0":"1396471810","file4":"1396471948","file5":"1396471984","file3":"1396471902"},"map_files_photo_id_array":[{"photo_id":"1396471984","filename":"file5"},{"photo_id":"1396471872","filename":"file2"},{"photo_id":"1396471948","filename":"file4"},{"photo_id":"1396471840","filename":"file1"},{"photo_id":"1396471810","filename":"file0"},{"photo_id":"1396471902","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396471984":["hashtag1","hashtag2"]},{"1396471948":["hashtag1","hashtag2"]},{"1396471840":["hashtag1","hashtag2"]},{"1396471810":["hashtag1","hashtag2"]},{"1396471872":["hashtag1","hashtag2"]},{"1396471902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396471984, 1396471948, 1396471840, 1396471810, 1396471872, 1396471902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.354167222976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:22:02.400987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_14_10685.jpg', '/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_24_9682.jpg', '/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_34_10515.jpg', '/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_43_9122.jpg', '/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_54_10698.jpg', '/home/pi/Desktop/images/27112025/18/33/image_27112025_18_34_04_10193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_14_10685.jpg
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_24_9682.jpg
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_34_10515.jpg
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_43_9122.jpg
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_33_54_10698.jpg
/home/pi/Desktop/images/27112025/18/33/image_27112025_18_34_04_10193.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396472303","1396472242","1396472215","1396472274","1396472331","1396472357"],"photo_ids_order":["1396472215","1396472242","1396472274","1396472303","1396472331","1396472357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9c7c5df48c0b6262361d0c1514e2476.jpg","text":"TemporaryFile(/tmp/multipartBody9182504190374698445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_33_43_9122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a9cacffaea92cd03b9450159efb30d7.jpg","text":"TemporaryFile(/tmp/multipartBody5496713588155304789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_33_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d3b96c8353a7effead1810880b210d1.jpg","text":"TemporaryFile(/tmp/multipartBody7495277935129690288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_33_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9a1800fc1116092acf6283951e5cee35.jpg","text":"TemporaryFile(/tmp/multipartBody9212262973328701377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_33_34_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1be1f4c23f8eecf39ccc41c5e7166011.jpg","text":"TemporaryFile(/tmp/multipartBody3720955479460833081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_33_54_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/725b1477bab1a18b3621ed2c02cae286.jpg","text":"TemporaryFile(/tmp/multipartBody1724797147789830001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278583513,"filename":"image_27112025_18_34_04_10193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396472274","file1":"1396472242","file0":"1396472215","file4":"1396472331","file5":"1396472357","file3":"1396472303"},"map_files_photo_id_array":[{"photo_id":"1396472357","filename":"file5"},{"photo_id":"1396472274","filename":"file2"},{"photo_id":"1396472331","filename":"file4"},{"photo_id":"1396472242","filename":"file1"},{"photo_id":"1396472215","filename":"file0"},{"photo_id":"1396472303","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396472303":["hashtag1","hashtag2"]},{"1396472242":["hashtag1","hashtag2"]},{"1396472215":["hashtag1","hashtag2"]},{"1396472274":["hashtag1","hashtag2"]},{"1396472331":["hashtag1","hashtag2"]},{"1396472357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396472303, 1396472242, 1396472215, 1396472274, 1396472331, 1396472357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49189829826355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:23:02.702429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_14_9651.jpg', '/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_24_9802.jpg', '/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_34_9678.jpg', '/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_44_10544.jpg', '/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_54_9703.jpg', '/home/pi/Desktop/images/27112025/18/34/image_27112025_18_35_04_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_14_9651.jpg
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_24_9802.jpg
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_34_9678.jpg
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_44_10544.jpg
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_34_54_9703.jpg
/home/pi/Desktop/images/27112025/18/34/image_27112025_18_35_04_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396472782","1396472764","1396472746","1396472812","1396472815","1396472724"],"photo_ids_order":["1396472724","1396472746","1396472764","1396472782","1396472812","1396472815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ae3bb2903df7fff2e9276ede493befe5.jpg","text":"TemporaryFile(/tmp/multipartBody2249702651073209539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_34_44_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe176132ad7443ec406875efc339bdba.jpg","text":"TemporaryFile(/tmp/multipartBody788036828460527832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_34_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/482d94a3533fa8dae9489a9c62a02374.jpg","text":"TemporaryFile(/tmp/multipartBody2156876702236636428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_34_24_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d0375ec250966e2f1651c8d9d9a937ce.jpg","text":"TemporaryFile(/tmp/multipartBody7927272610186178903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_34_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/286afa81d74aede1cd11db46c174add4.jpg","text":"TemporaryFile(/tmp/multipartBody6642031816778494135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_35_04_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a9f2b607c39613f5319350d98ab9f35.jpg","text":"TemporaryFile(/tmp/multipartBody1158851905027237323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278643807,"filename":"image_27112025_18_34_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396472764","file1":"1396472746","file0":"1396472724","file4":"1396472812","file5":"1396472815","file3":"1396472782"},"map_files_photo_id_array":[{"photo_id":"1396472815","filename":"file5"},{"photo_id":"1396472764","filename":"file2"},{"photo_id":"1396472812","filename":"file4"},{"photo_id":"1396472746","filename":"file1"},{"photo_id":"1396472724","filename":"file0"},{"photo_id":"1396472782","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396472782":["hashtag1","hashtag2"]},{"1396472764":["hashtag1","hashtag2"]},{"1396472746":["hashtag1","hashtag2"]},{"1396472812":["hashtag1","hashtag2"]},{"1396472815":["hashtag1","hashtag2"]},{"1396472724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396472782, 1396472764, 1396472746, 1396472812, 1396472815, 1396472724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34103178977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:24:02.946033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_14_10802.jpg', '/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_44_9799.jpg', '/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_54_10704.jpg', '/home/pi/Desktop/images/27112025/18/35/image_27112025_18_36_04_9781.jpg', '/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_14_9546.jpg', '/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_24_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_14_10802.jpg
/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_44_9799.jpg
/home/pi/Desktop/images/27112025/18/35/image_27112025_18_35_54_10704.jpg
/home/pi/Desktop/images/27112025/18/35/image_27112025_18_36_04_9781.jpg
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_14_9546.jpg
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_24_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396473097","1396473025","1396473013","1396473016","1396473021","1396473047"],"photo_ids_order":["1396473013","1396473016","1396473021","1396473025","1396473047","1396473097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/faa461ff6cdc64a4533c309b82cbbb80.jpg","text":"TemporaryFile(/tmp/multipartBody8788941984996430709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_36_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcc185d7532dccee40389fbd330866d1.jpg","text":"TemporaryFile(/tmp/multipartBody4634536514258470676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_36_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9a2bc122a8f25e2da7ee4481c5bcf81.jpg","text":"TemporaryFile(/tmp/multipartBody5860804951932537958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_35_14_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61355b297c3c0442caa2360945d0dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7971655420585093068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_35_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca73fda48610a7f63a7a31184508ca07.jpg","text":"TemporaryFile(/tmp/multipartBody4315480635366168159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_35_54_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b90710db706614093565c19196aaad44.jpg","text":"TemporaryFile(/tmp/multipartBody5179615244404691640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278704106,"filename":"image_27112025_18_36_14_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396473021","file1":"1396473016","file0":"1396473013","file4":"1396473047","file5":"1396473097","file3":"1396473025"},"map_files_photo_id_array":[{"photo_id":"1396473097","filename":"file5"},{"photo_id":"1396473021","filename":"file2"},{"photo_id":"1396473047","filename":"file4"},{"photo_id":"1396473016","filename":"file1"},{"photo_id":"1396473013","filename":"file0"},{"photo_id":"1396473025","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396473097":["hashtag1","hashtag2"]},{"1396473025":["hashtag1","hashtag2"]},{"1396473013":["hashtag1","hashtag2"]},{"1396473016":["hashtag1","hashtag2"]},{"1396473021":["hashtag1","hashtag2"]},{"1396473047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396473097, 1396473025, 1396473013, 1396473016, 1396473021, 1396473047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.208160400390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:25:03.237933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_34_9846.jpg', '/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_44_9892.jpg', '/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_54_9771.jpg', '/home/pi/Desktop/images/27112025/18/36/image_27112025_18_37_04_9687.jpg', '/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_14_10751.jpg', '/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_34_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_34_9846.jpg
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_44_9892.jpg
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_36_54_9771.jpg
/home/pi/Desktop/images/27112025/18/36/image_27112025_18_37_04_9687.jpg
/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_14_10751.jpg
/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_34_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396473508","1396473479","1396473405","1396473449","1396473377","1396473545"],"photo_ids_order":["1396473377","1396473405","1396473449","1396473479","1396473508","1396473545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d903031d6a6f586cda8437fc6282881.jpg","text":"TemporaryFile(/tmp/multipartBody4703447956425049299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_37_14_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/327e27f72ef47e7da713bc26d1e38242.jpg","text":"TemporaryFile(/tmp/multipartBody2283834500258425516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_37_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4d10f1cd4f9be3bc5e0c52d1c8ad1dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4613412692186378257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_36_44_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56c57e7a206d4b39a3c91c34c76aaf48.jpg","text":"TemporaryFile(/tmp/multipartBody196858278819866289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_36_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71c67cd69a4b79f91bb9be28d0e13568.jpg","text":"TemporaryFile(/tmp/multipartBody9221598160256358666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_36_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4f45a98d901d4126f36455699646ee3b.jpg","text":"TemporaryFile(/tmp/multipartBody7335693417754005459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278764468,"filename":"image_27112025_18_37_34_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396473449","file1":"1396473405","file0":"1396473377","file4":"1396473508","file5":"1396473545","file3":"1396473479"},"map_files_photo_id_array":[{"photo_id":"1396473545","filename":"file5"},{"photo_id":"1396473449","filename":"file2"},{"photo_id":"1396473508","filename":"file4"},{"photo_id":"1396473405","filename":"file1"},{"photo_id":"1396473377","filename":"file0"},{"photo_id":"1396473479","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396473508":["hashtag1","hashtag2"]},{"1396473479":["hashtag1","hashtag2"]},{"1396473405":["hashtag1","hashtag2"]},{"1396473449":["hashtag1","hashtag2"]},{"1396473377":["hashtag1","hashtag2"]},{"1396473545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396473508, 1396473479, 1396473405, 1396473449, 1396473377, 1396473545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.473408460617065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:26:03.151277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_43_9696.jpg', '/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_54_10721.jpg', '/home/pi/Desktop/images/27112025/18/37/image_27112025_18_38_04_9884.jpg', '/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_14_9716.jpg', '/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_23_9697.jpg', '/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_54_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_43_9696.jpg
/home/pi/Desktop/images/27112025/18/37/image_27112025_18_37_54_10721.jpg
/home/pi/Desktop/images/27112025/18/37/image_27112025_18_38_04_9884.jpg
/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_14_9716.jpg
/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_23_9697.jpg
/home/pi/Desktop/images/27112025/18/38/image_27112025_18_38_54_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396473949","1396473980","1396473857","1396473911","1396473749","1396473806"],"photo_ids_order":["1396473749","1396473806","1396473857","1396473911","1396473949","1396473980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f5e4b030cb389ca59d0fb6cdc0c5d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody2733606932785775347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_38_23_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14650dfce22f68ce24e0242e62af725f.jpg","text":"TemporaryFile(/tmp/multipartBody3592251948864660683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_38_54_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7342d12471f35f60e4edf8ff772e81f2.jpg","text":"TemporaryFile(/tmp/multipartBody4562506771358611446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_38_04_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/778020a87d229848ca1792ec0514bd2f.jpg","text":"TemporaryFile(/tmp/multipartBody6477316795444318113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_38_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c5178f784a3b9cbf0a2cfc66a140f77e.jpg","text":"TemporaryFile(/tmp/multipartBody6812048829666694326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_37_43_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1ee701c28a2960326ef0a091df195a0.jpg","text":"TemporaryFile(/tmp/multipartBody7359553347780114847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278824226,"filename":"image_27112025_18_37_54_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396473857","file1":"1396473806","file0":"1396473749","file4":"1396473949","file5":"1396473980","file3":"1396473911"},"map_files_photo_id_array":[{"photo_id":"1396473980","filename":"file5"},{"photo_id":"1396473857","filename":"file2"},{"photo_id":"1396473949","filename":"file4"},{"photo_id":"1396473806","filename":"file1"},{"photo_id":"1396473749","filename":"file0"},{"photo_id":"1396473911","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396473949":["hashtag1","hashtag2"]},{"1396473980":["hashtag1","hashtag2"]},{"1396473857":["hashtag1","hashtag2"]},{"1396473911":["hashtag1","hashtag2"]},{"1396473749":["hashtag1","hashtag2"]},{"1396473806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396473949, 1396473980, 1396473857, 1396473911, 1396473749, 1396473806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.371395111083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:27:03.340222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/38/image_27112025_18_39_04_10679.jpg', '/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_14_9735.jpg', '/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_24_9615.jpg', '/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_34_10685.jpg', '/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_44_9669.jpg', '/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_54_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/38/image_27112025_18_39_04_10679.jpg
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_14_9735.jpg
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_24_9615.jpg
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_34_10685.jpg
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_44_9669.jpg
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_39_54_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396474315","1396474254","1396474197","1396474134","1396474283","1396474166"],"photo_ids_order":["1396474134","1396474166","1396474197","1396474254","1396474283","1396474315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cd69727932c549e919ef6a251ae7a5e6.jpg","text":"TemporaryFile(/tmp/multipartBody4841123389101595976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3f65f413452ccb07db65f9e0600f90f8.jpg","text":"TemporaryFile(/tmp/multipartBody7978340941065933624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_34_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d4ed1f445cc09b60a3b85d5dc4eca950.jpg","text":"TemporaryFile(/tmp/multipartBody7231609995420387515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d95257ffe90d17f800061def8b24d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3628466747538252583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b088e9ee152248d6b969ef4115d60575.jpg","text":"TemporaryFile(/tmp/multipartBody4223794014646280217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b5f5aa4761348bbad8b2317167f7d5b6.jpg","text":"TemporaryFile(/tmp/multipartBody676305043360977139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278884507,"filename":"image_27112025_18_39_14_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396474197","file1":"1396474166","file0":"1396474134","file4":"1396474283","file5":"1396474315","file3":"1396474254"},"map_files_photo_id_array":[{"photo_id":"1396474315","filename":"file5"},{"photo_id":"1396474197","filename":"file2"},{"photo_id":"1396474283","filename":"file4"},{"photo_id":"1396474166","filename":"file1"},{"photo_id":"1396474134","filename":"file0"},{"photo_id":"1396474254","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396474315":["hashtag1","hashtag2"]},{"1396474254":["hashtag1","hashtag2"]},{"1396474197":["hashtag1","hashtag2"]},{"1396474134":["hashtag1","hashtag2"]},{"1396474283":["hashtag1","hashtag2"]},{"1396474166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396474315, 1396474254, 1396474197, 1396474134, 1396474283, 1396474166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.933521032333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:28:02.442748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/39/image_27112025_18_40_04_10767.jpg', '/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_14_9869.jpg', '/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_24_9816.jpg', '/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_43_9630.jpg', '/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_54_10689.jpg', '/home/pi/Desktop/images/27112025/18/40/image_27112025_18_41_04_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/39/image_27112025_18_40_04_10767.jpg
/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_14_9869.jpg
/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_24_9816.jpg
/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_43_9630.jpg
/home/pi/Desktop/images/27112025/18/40/image_27112025_18_40_54_10689.jpg
/home/pi/Desktop/images/27112025/18/40/image_27112025_18_41_04_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396474659","1396474767","1396474602","1396474544","1396474502","1396474720"],"photo_ids_order":["1396474502","1396474544","1396474602","1396474659","1396474720","1396474767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/437874e7d2d413958f9067616dac8315.jpg","text":"TemporaryFile(/tmp/multipartBody6872596435566090944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_40_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40ef20528c34c8f362431ef54109957e.jpg","text":"TemporaryFile(/tmp/multipartBody3193634887801888266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_41_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee9e18159c34a9f362945127223c18b2.jpg","text":"TemporaryFile(/tmp/multipartBody21935080460286403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_40_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9dd56184249dce9b32101e2878447b04.jpg","text":"TemporaryFile(/tmp/multipartBody4651360545897335807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_40_14_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d19ec3d8f3ec953fa88ee52b692661a4.jpg","text":"TemporaryFile(/tmp/multipartBody581711221072635919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_40_04_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6892a9ef97a156317be0965cdd66e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody5287989922939434043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278943486,"filename":"image_27112025_18_40_54_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396474602","file1":"1396474544","file0":"1396474502","file4":"1396474720","file5":"1396474767","file3":"1396474659"},"map_files_photo_id_array":[{"photo_id":"1396474767","filename":"file5"},{"photo_id":"1396474602","filename":"file2"},{"photo_id":"1396474720","filename":"file4"},{"photo_id":"1396474544","filename":"file1"},{"photo_id":"1396474502","filename":"file0"},{"photo_id":"1396474659","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396474659":["hashtag1","hashtag2"]},{"1396474767":["hashtag1","hashtag2"]},{"1396474602":["hashtag1","hashtag2"]},{"1396474544":["hashtag1","hashtag2"]},{"1396474502":["hashtag1","hashtag2"]},{"1396474720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396474659, 1396474767, 1396474602, 1396474544, 1396474502, 1396474720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.881826639175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 22:28:42.037425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_23_3792.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_29_2841.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_31_2731.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_38_2685.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_40_2583.jpg', '/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_50_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_23_3792.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_29_2841.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_31_2731.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_38_2685.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_40_2583.jpg
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_50_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396475045","1396474907","1396475074","1396474966","1396475101","1396475002"],"photo_ids_order":["1396474907","1396474966","1396475002","1396475045","1396475074","1396475101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/df99271bfc3726ae016118f60d4805cb.jpg","text":"TemporaryFile(/tmp/multipartBody8518690956018548153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_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/27/6590a7f6463950f8580eff93c5eeb29c.jpg","text":"TemporaryFile(/tmp/multipartBody7977386382527577268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_23_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/27/6eb340ea2adef41cc24d2ccae7e64636.jpg","text":"TemporaryFile(/tmp/multipartBody887181569044713564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_40_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/27/9cad5b251f3133222f905cbce63c1beb.jpg","text":"TemporaryFile(/tmp/multipartBody692455695810555771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_29_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/27/e7238e56e139ff5605ef349f7500b9de.jpg","text":"TemporaryFile(/tmp/multipartBody7135479332089904164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_50_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/27/5034295cc2fa7fe601a1362a9278048e.jpg","text":"TemporaryFile(/tmp/multipartBody6949205457455727878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764278983974,"filename":"image_31102025_03_28_31_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396475002","file1":"1396474966","file0":"1396474907","file4":"1396475074","file5":"1396475101","file3":"1396475045"},"map_files_photo_id_array":[{"photo_id":"1396475101","filename":"file5"},{"photo_id":"1396475002","filename":"file2"},{"photo_id":"1396475074","filename":"file4"},{"photo_id":"1396474966","filename":"file1"},{"photo_id":"1396474907","filename":"file0"},{"photo_id":"1396475045","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396475045":["hashtag1","hashtag2"]},{"1396474907":["hashtag1","hashtag2"]},{"1396475074":["hashtag1","hashtag2"]},{"1396474966":["hashtag1","hashtag2"]},{"1396475101":["hashtag1","hashtag2"]},{"1396475002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396475045, 1396474907, 1396475074, 1396474966, 1396475101, 1396475002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05144214630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:29:32.524173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_26_2646.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_28_2659.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_31_2615.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_35_3678.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_37_2781.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_40_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_26_2646.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_28_2659.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_31_2615.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_35_3678.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_37_2781.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_40_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396475273","1396475447","1396475306","1396475341","1396475416","1396475385"],"photo_ids_order":["1396475273","1396475306","1396475341","1396475385","1396475416","1396475447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c67ec2794d616aded4be26b8cbcc0b25.jpg","text":"TemporaryFile(/tmp/multipartBody5217447664858553316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_26_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/27/c816a3e630f205b453cd52cb32da1d90.jpg","text":"TemporaryFile(/tmp/multipartBody2761961701178297483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_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/27/ba4614f82ca6ceba13a2ec96dd867426.jpg","text":"TemporaryFile(/tmp/multipartBody2741545771414146245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_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/27/e2decc9d376ee106766415d2c5cbf0e8.jpg","text":"TemporaryFile(/tmp/multipartBody3121388620068789633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_31_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/27/74a227c4b90a112aecc459f307bcaf0a.jpg","text":"TemporaryFile(/tmp/multipartBody7235710170186522671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_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/27/18a19efcc0b2fbc76910ef870de4c653.jpg","text":"TemporaryFile(/tmp/multipartBody9136801722052826278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279034533,"filename":"image_21112025_21_46_35_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396475341","file1":"1396475306","file0":"1396475273","file4":"1396475416","file5":"1396475447","file3":"1396475385"},"map_files_photo_id_array":[{"photo_id":"1396475447","filename":"file5"},{"photo_id":"1396475341","filename":"file2"},{"photo_id":"1396475416","filename":"file4"},{"photo_id":"1396475306","filename":"file1"},{"photo_id":"1396475273","filename":"file0"},{"photo_id":"1396475385","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396475273":["hashtag1","hashtag2"]},{"1396475447":["hashtag1","hashtag2"]},{"1396475306":["hashtag1","hashtag2"]},{"1396475341":["hashtag1","hashtag2"]},{"1396475416":["hashtag1","hashtag2"]},{"1396475385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396475273, 1396475447, 1396475306, 1396475341, 1396475416, 1396475385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64271092414856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 22:30:22.507406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_14_9728.jpg', '/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_24_10694.jpg', '/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_34_9667.jpg', '/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_44_10008.jpg', '/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_54_9887.jpg', '/home/pi/Desktop/images/27112025/18/42/image_27112025_18_42_24_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_14_9728.jpg
/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_24_10694.jpg
/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_34_9667.jpg
/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_44_10008.jpg
/home/pi/Desktop/images/27112025/18/41/image_27112025_18_41_54_9887.jpg
/home/pi/Desktop/images/27112025/18/42/image_27112025_18_42_24_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396475568","1396475639","1396475653","1396475620","1396475644","1396475611"],"photo_ids_order":["1396475568","1396475611","1396475620","1396475639","1396475644","1396475653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b6f0180aa512cefea4ddc5ce8a1b5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7065408148456929414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_41_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/633da183364312b1b79b2651186bc0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7381697637465209333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_41_44_10008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d5a7fdcef6daa2bc10cfa88347d3a958.jpg","text":"TemporaryFile(/tmp/multipartBody9215358201006282488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_42_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/91edcaac0c9c946672d6a9404e1fce8e.jpg","text":"TemporaryFile(/tmp/multipartBody4956876489235791164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_41_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83691dc782714bbd12daffd18566ab41.jpg","text":"TemporaryFile(/tmp/multipartBody137604434885429441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_41_54_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8eb71c96ead83593a76beb9b6c812644.jpg","text":"TemporaryFile(/tmp/multipartBody3401201117920610954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279083644,"filename":"image_27112025_18_41_24_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396475620","file1":"1396475611","file0":"1396475568","file4":"1396475644","file5":"1396475653","file3":"1396475639"},"map_files_photo_id_array":[{"photo_id":"1396475653","filename":"file5"},{"photo_id":"1396475620","filename":"file2"},{"photo_id":"1396475644","filename":"file4"},{"photo_id":"1396475611","filename":"file1"},{"photo_id":"1396475568","filename":"file0"},{"photo_id":"1396475639","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396475568":["hashtag1","hashtag2"]},{"1396475639":["hashtag1","hashtag2"]},{"1396475653":["hashtag1","hashtag2"]},{"1396475620":["hashtag1","hashtag2"]},{"1396475644":["hashtag1","hashtag2"]},{"1396475611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396475568, 1396475639, 1396475653, 1396475620, 1396475644, 1396475611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.752768993377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:31:12.624133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_44_3554.jpg', '/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_46_2554.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_07_3012.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_10_3682.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_14_3853.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_16_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_44_3554.jpg
/home/pi/Desktop/images/21112025/21/46/image_21112025_21_46_46_2554.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_07_3012.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_10_3682.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_14_3853.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_16_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396475919","1396475945","1396475852","1396475948","1396475825","1396475884"],"photo_ids_order":["1396475825","1396475852","1396475884","1396475919","1396475945","1396475948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c372e03fb7b562b1017329fd6019810b.jpg","text":"TemporaryFile(/tmp/multipartBody2623531332098410165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_48_10_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/27/79f73c965b8774eaea8cdf05b55caa68.jpg","text":"TemporaryFile(/tmp/multipartBody7295475003336977530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_48_14_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/27/7f2608427658d8ebbbf83ba280ef5505.jpg","text":"TemporaryFile(/tmp/multipartBody3521630815060807073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_46_46_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/27/9aef711796c4ce521f38150c33d0c785.jpg","text":"TemporaryFile(/tmp/multipartBody4382600038736283071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_48_16_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/27/4a48e3c1f3533b18720d0573cc3f14dc.jpg","text":"TemporaryFile(/tmp/multipartBody5816125695766876414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_46_44_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/27/7aaafa8cd5e5b5a43248f322bcaf1a81.jpg","text":"TemporaryFile(/tmp/multipartBody6854910495358086611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279134610,"filename":"image_21112025_21_48_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396475884","file1":"1396475852","file0":"1396475825","file4":"1396475945","file5":"1396475948","file3":"1396475919"},"map_files_photo_id_array":[{"photo_id":"1396475948","filename":"file5"},{"photo_id":"1396475884","filename":"file2"},{"photo_id":"1396475945","filename":"file4"},{"photo_id":"1396475852","filename":"file1"},{"photo_id":"1396475825","filename":"file0"},{"photo_id":"1396475919","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396475919":["hashtag1","hashtag2"]},{"1396475945":["hashtag1","hashtag2"]},{"1396475852":["hashtag1","hashtag2"]},{"1396475948":["hashtag1","hashtag2"]},{"1396475825":["hashtag1","hashtag2"]},{"1396475884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396475919, 1396475945, 1396475852, 1396475948, 1396475825, 1396475884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.07639002799988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:32:02.303764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/42/image_27112025_18_42_44_10030.jpg', '/home/pi/Desktop/images/27112025/18/42/image_27112025_18_43_04_9710.jpg', '/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_14_9889.jpg', '/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_24_9968.jpg', '/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_33_9689.jpg', '/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_43_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/42/image_27112025_18_42_44_10030.jpg
/home/pi/Desktop/images/27112025/18/42/image_27112025_18_43_04_9710.jpg
/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_14_9889.jpg
/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_24_9968.jpg
/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_33_9689.jpg
/home/pi/Desktop/images/27112025/18/43/image_27112025_18_43_43_10044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396476071","1396476067","1396476011","1396476075","1396476060","1396476048"],"photo_ids_order":["1396476011","1396476048","1396476060","1396476067","1396476071","1396476075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcdaa113bbf703ba64bcb24e2b0fa978.jpg","text":"TemporaryFile(/tmp/multipartBody2963744778875057857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_43_33_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ebde3869a658472a602fe96ec213c12.jpg","text":"TemporaryFile(/tmp/multipartBody5423786722291879052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_43_24_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f2546fc5b5fd382dabbfee67316851ea.jpg","text":"TemporaryFile(/tmp/multipartBody3216136305315773515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_42_44_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb449447df0d796f512f68cfd66cda62.jpg","text":"TemporaryFile(/tmp/multipartBody8798730515106520424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_43_43_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d424b2c741ebf530c026f15d5883f82.jpg","text":"TemporaryFile(/tmp/multipartBody8471988971407877562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_43_14_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b029329cac8c97c127d0aa5216c9cb0a.jpg","text":"TemporaryFile(/tmp/multipartBody6805895974708039353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279183364,"filename":"image_27112025_18_43_04_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396476060","file1":"1396476048","file0":"1396476011","file4":"1396476071","file5":"1396476075","file3":"1396476067"},"map_files_photo_id_array":[{"photo_id":"1396476075","filename":"file5"},{"photo_id":"1396476060","filename":"file2"},{"photo_id":"1396476071","filename":"file4"},{"photo_id":"1396476048","filename":"file1"},{"photo_id":"1396476011","filename":"file0"},{"photo_id":"1396476067","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396476071":["hashtag1","hashtag2"]},{"1396476067":["hashtag1","hashtag2"]},{"1396476011":["hashtag1","hashtag2"]},{"1396476075":["hashtag1","hashtag2"]},{"1396476060":["hashtag1","hashtag2"]},{"1396476048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396476071, 1396476067, 1396476011, 1396476075, 1396476060, 1396476048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86926531791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:33:02.696186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_04_9948.jpg', '/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_14_9642.jpg', '/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_34_10716.jpg', '/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_44_10036.jpg', '/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_54_9218.jpg', '/home/pi/Desktop/images/27112025/18/44/image_27112025_18_45_04_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_04_9948.jpg
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_14_9642.jpg
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_34_10716.jpg
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_44_10036.jpg
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_44_54_9218.jpg
/home/pi/Desktop/images/27112025/18/44/image_27112025_18_45_04_10787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396476321","1396476290","1396476350","1396476251","1396476407","1396476375"],"photo_ids_order":["1396476251","1396476290","1396476321","1396476350","1396476375","1396476407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a173350859a40f285abfef4d82da98e2.jpg","text":"TemporaryFile(/tmp/multipartBody6819467360499412700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_44_34_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/700876f5ada8387019a0bf7c153d5b37.jpg","text":"TemporaryFile(/tmp/multipartBody554614131363923766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_44_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/effe04b5479ef7f79a9cdf7527d90154.jpg","text":"TemporaryFile(/tmp/multipartBody123824482369670412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_44_44_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b4b6026b023a032b0944d07f212e08cf.jpg","text":"TemporaryFile(/tmp/multipartBody8291973753452215872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_44_04_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/47c60874d22b682b82d19e6147fd8148.jpg","text":"TemporaryFile(/tmp/multipartBody2536461479234972755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_45_04_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c06280e605bc17150a8b79340d4d0b76.jpg","text":"TemporaryFile(/tmp/multipartBody1454651115319632405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279243674,"filename":"image_27112025_18_44_54_9218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396476321","file1":"1396476290","file0":"1396476251","file4":"1396476375","file5":"1396476407","file3":"1396476350"},"map_files_photo_id_array":[{"photo_id":"1396476407","filename":"file5"},{"photo_id":"1396476321","filename":"file2"},{"photo_id":"1396476375","filename":"file4"},{"photo_id":"1396476290","filename":"file1"},{"photo_id":"1396476251","filename":"file0"},{"photo_id":"1396476350","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396476321":["hashtag1","hashtag2"]},{"1396476290":["hashtag1","hashtag2"]},{"1396476350":["hashtag1","hashtag2"]},{"1396476251":["hashtag1","hashtag2"]},{"1396476407":["hashtag1","hashtag2"]},{"1396476375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396476321, 1396476290, 1396476350, 1396476251, 1396476407, 1396476375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.075371503829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:34:02.664652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_14_9557.jpg', '/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_24_9806.jpg', '/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_34_10691.jpg', '/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_44_9708.jpg', '/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_54_9597.jpg', '/home/pi/Desktop/images/27112025/18/45/image_27112025_18_46_04_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_14_9557.jpg
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_24_9806.jpg
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_34_10691.jpg
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_44_9708.jpg
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_45_54_9597.jpg
/home/pi/Desktop/images/27112025/18/45/image_27112025_18_46_04_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396476485","1396476470","1396476473","1396476489","1396476480","1396476477"],"photo_ids_order":["1396476470","1396476473","1396476477","1396476480","1396476485","1396476489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7aba2c90bf68c57cbdf9cbf70517d12b.jpg","text":"TemporaryFile(/tmp/multipartBody1194950401430284084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_45_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d50b4c3fa819bc06a6921adaa4fbff9b.jpg","text":"TemporaryFile(/tmp/multipartBody8014929008361001508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_45_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c00cd2c0854d8b7871079858bc61628.jpg","text":"TemporaryFile(/tmp/multipartBody5005669120188668018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_45_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/782d9d77af7c32cb5424d357833ce4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3295353456858487994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_46_04_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/766c5d20bcf4abed77c0e3b66d9bb7ad.jpg","text":"TemporaryFile(/tmp/multipartBody6170492279756699824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_45_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/34c2b3040a8c799929a333768687411e.jpg","text":"TemporaryFile(/tmp/multipartBody1540386422979293739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279303802,"filename":"image_27112025_18_45_34_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396476477","file1":"1396476473","file0":"1396476470","file4":"1396476485","file5":"1396476489","file3":"1396476480"},"map_files_photo_id_array":[{"photo_id":"1396476489","filename":"file5"},{"photo_id":"1396476477","filename":"file2"},{"photo_id":"1396476485","filename":"file4"},{"photo_id":"1396476473","filename":"file1"},{"photo_id":"1396476470","filename":"file0"},{"photo_id":"1396476480","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396476485":["hashtag1","hashtag2"]},{"1396476470":["hashtag1","hashtag2"]},{"1396476473":["hashtag1","hashtag2"]},{"1396476489":["hashtag1","hashtag2"]},{"1396476480":["hashtag1","hashtag2"]},{"1396476477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396476485, 1396476470, 1396476473, 1396476489, 1396476480, 1396476477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02489948272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:35:03.119452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_14_9229.jpg', '/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_23_9841.jpg', '/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_34_10731.jpg', '/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_54_9633.jpg', '/home/pi/Desktop/images/27112025/18/46/image_27112025_18_47_04_9952.jpg', '/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_13_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_14_9229.jpg
/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_23_9841.jpg
/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_34_10731.jpg
/home/pi/Desktop/images/27112025/18/46/image_27112025_18_46_54_9633.jpg
/home/pi/Desktop/images/27112025/18/46/image_27112025_18_47_04_9952.jpg
/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_13_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396476686","1396476559","1396476718","1396476652","1396476588","1396476621"],"photo_ids_order":["1396476559","1396476588","1396476621","1396476652","1396476686","1396476718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a806165d384ada5f8d2bf7dd3bc3847e.jpg","text":"TemporaryFile(/tmp/multipartBody7856133259183509625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_47_04_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/107e01d5a2f0ec961bcba1a871a336e2.jpg","text":"TemporaryFile(/tmp/multipartBody6125136158651950070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_46_14_9229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d356560a9ce4c85417cec703effde71a.jpg","text":"TemporaryFile(/tmp/multipartBody8841653618521433303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_47_13_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fcd2977a01cfa3c8b95080fe0bb4f49b.jpg","text":"TemporaryFile(/tmp/multipartBody7836898076195381427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_46_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37801aec791b62e1be3a3539b984c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody8451495151869926157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_46_23_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/108d84b0db324c67d8d27867569a7348.jpg","text":"TemporaryFile(/tmp/multipartBody6204733074283305974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279364168,"filename":"image_27112025_18_46_34_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396476621","file1":"1396476588","file0":"1396476559","file4":"1396476686","file5":"1396476718","file3":"1396476652"},"map_files_photo_id_array":[{"photo_id":"1396476718","filename":"file5"},{"photo_id":"1396476621","filename":"file2"},{"photo_id":"1396476686","filename":"file4"},{"photo_id":"1396476588","filename":"file1"},{"photo_id":"1396476559","filename":"file0"},{"photo_id":"1396476652","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396476686":["hashtag1","hashtag2"]},{"1396476559":["hashtag1","hashtag2"]},{"1396476718":["hashtag1","hashtag2"]},{"1396476652":["hashtag1","hashtag2"]},{"1396476588":["hashtag1","hashtag2"]},{"1396476621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396476686, 1396476559, 1396476718, 1396476652, 1396476588, 1396476621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03421998023987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:36:03.089714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_34_9788.jpg', '/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_44_9750.jpg', '/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_54_10742.jpg', '/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_14_9792.jpg', '/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_34_9848.jpg', '/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_34_9788.jpg
/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_44_9750.jpg
/home/pi/Desktop/images/27112025/18/47/image_27112025_18_47_54_10742.jpg
/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_14_9792.jpg
/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_34_9848.jpg
/home/pi/Desktop/images/27112025/18/48/image_27112025_18_48_44_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396477061","1396476911","1396477003","1396476975","1396477032","1396476945"],"photo_ids_order":["1396476911","1396476945","1396476975","1396477003","1396477032","1396477061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ead8ccf4ed356a34ab4cb42b34213df6.jpg","text":"TemporaryFile(/tmp/multipartBody5330713205515773109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_48_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85af72cf5d7fe8b6bed7acc04201f1f4.jpg","text":"TemporaryFile(/tmp/multipartBody674299188054676473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_47_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e0f47e3cbc21977b28afc29acdf39b0.jpg","text":"TemporaryFile(/tmp/multipartBody7656403325168485101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_48_14_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/21992ea54423fa029731be84170b743e.jpg","text":"TemporaryFile(/tmp/multipartBody6078915806646275217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_47_54_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4611b84bf47b051c054c66ead309c7d.jpg","text":"TemporaryFile(/tmp/multipartBody24386704462816366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_48_34_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/255edc46764b7129f678628a84b5bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody4912287416897662478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279424226,"filename":"image_27112025_18_47_44_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396476975","file1":"1396476945","file0":"1396476911","file4":"1396477032","file5":"1396477061","file3":"1396477003"},"map_files_photo_id_array":[{"photo_id":"1396477061","filename":"file5"},{"photo_id":"1396476975","filename":"file2"},{"photo_id":"1396477032","filename":"file4"},{"photo_id":"1396476945","filename":"file1"},{"photo_id":"1396476911","filename":"file0"},{"photo_id":"1396477003","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396477061":["hashtag1","hashtag2"]},{"1396476911":["hashtag1","hashtag2"]},{"1396477003":["hashtag1","hashtag2"]},{"1396476975":["hashtag1","hashtag2"]},{"1396477032":["hashtag1","hashtag2"]},{"1396476945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396477061, 1396476911, 1396477003, 1396476975, 1396477032, 1396476945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09930658340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:37:02.536408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_14_10769.jpg', '/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_24_9809.jpg', '/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_34_9874.jpg', '/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_44_10046.jpg', '/home/pi/Desktop/images/27112025/18/49/image_27112025_18_50_04_10701.jpg', '/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_14_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_14_10769.jpg
/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_24_9809.jpg
/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_34_9874.jpg
/home/pi/Desktop/images/27112025/18/49/image_27112025_18_49_44_10046.jpg
/home/pi/Desktop/images/27112025/18/49/image_27112025_18_50_04_10701.jpg
/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_14_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396477349","1396477441","1396477378","1396477411","1396477290","1396477320"],"photo_ids_order":["1396477290","1396477320","1396477349","1396477378","1396477411","1396477441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f14767c549ed7bd061954ed4fb8d8d4a.jpg","text":"TemporaryFile(/tmp/multipartBody8019137042807887486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_49_34_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f964a8567c632093426f8c6552557976.jpg","text":"TemporaryFile(/tmp/multipartBody2229687225881412892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_50_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ee9dabf2deee6b4031b7fe21c23e64a.jpg","text":"TemporaryFile(/tmp/multipartBody9013699311306192100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_49_44_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eacb6462213f465a817d3b930606eec4.jpg","text":"TemporaryFile(/tmp/multipartBody7312676001366247486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_50_04_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d8df103019901b8fd9505cede5f0dd97.jpg","text":"TemporaryFile(/tmp/multipartBody1143897561487399713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_49_14_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8938044fe7a01c880d4173fa5b90e87.jpg","text":"TemporaryFile(/tmp/multipartBody1280302797918483720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279483528,"filename":"image_27112025_18_49_24_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396477349","file1":"1396477320","file0":"1396477290","file4":"1396477411","file5":"1396477441","file3":"1396477378"},"map_files_photo_id_array":[{"photo_id":"1396477441","filename":"file5"},{"photo_id":"1396477349","filename":"file2"},{"photo_id":"1396477411","filename":"file4"},{"photo_id":"1396477320","filename":"file1"},{"photo_id":"1396477290","filename":"file0"},{"photo_id":"1396477378","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396477349":["hashtag1","hashtag2"]},{"1396477441":["hashtag1","hashtag2"]},{"1396477378":["hashtag1","hashtag2"]},{"1396477411":["hashtag1","hashtag2"]},{"1396477290":["hashtag1","hashtag2"]},{"1396477320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396477349, 1396477441, 1396477378, 1396477411, 1396477290, 1396477320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15432357788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:38:02.442832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_24_9668.jpg', '/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_34_10665.jpg', '/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_44_9715.jpg', '/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_54_9900.jpg', '/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_14_10787.jpg', '/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_24_9668.jpg
/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_34_10665.jpg
/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_44_9715.jpg
/home/pi/Desktop/images/27112025/18/50/image_27112025_18_50_54_9900.jpg
/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_14_10787.jpg
/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_24_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396477646","1396477669","1396477660","1396477654","1396477642","1396477676"],"photo_ids_order":["1396477642","1396477646","1396477654","1396477660","1396477669","1396477676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4cd51e2d50fc285841aacd7d76b5f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2961913065489036111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_50_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4afa18080ba54d91185ec59a7a4afd49.jpg","text":"TemporaryFile(/tmp/multipartBody3809619414729100533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_51_14_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/57f4a462f09c331a7bcbe710b4c89757.jpg","text":"TemporaryFile(/tmp/multipartBody8827972543890034965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_50_54_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7396ac9c444f1a26c6f49f9c9ab88bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4712806910094436275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_50_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0d1a1233d630fd51489ce04d5b3c5c39.jpg","text":"TemporaryFile(/tmp/multipartBody1492971382202454611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_50_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/28b5473e94efb5be2a95661dfcc8ba57.jpg","text":"TemporaryFile(/tmp/multipartBody4361125901791248317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279543447,"filename":"image_27112025_18_51_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396477654","file1":"1396477646","file0":"1396477642","file4":"1396477669","file5":"1396477676","file3":"1396477660"},"map_files_photo_id_array":[{"photo_id":"1396477676","filename":"file5"},{"photo_id":"1396477654","filename":"file2"},{"photo_id":"1396477669","filename":"file4"},{"photo_id":"1396477646","filename":"file1"},{"photo_id":"1396477642","filename":"file0"},{"photo_id":"1396477660","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396477646":["hashtag1","hashtag2"]},{"1396477669":["hashtag1","hashtag2"]},{"1396477660":["hashtag1","hashtag2"]},{"1396477654":["hashtag1","hashtag2"]},{"1396477642":["hashtag1","hashtag2"]},{"1396477676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396477646, 1396477669, 1396477660, 1396477654, 1396477642, 1396477676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90644335746765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:39:03.405637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_34_9651.jpg', '/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_44_10782.jpg', '/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_54_9666.jpg', '/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_14_9676.jpg', '/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_24_10686.jpg', '/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_34_9651.jpg
/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_44_10782.jpg
/home/pi/Desktop/images/27112025/18/51/image_27112025_18_51_54_9666.jpg
/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_14_9676.jpg
/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_24_10686.jpg
/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396477954","1396477816","1396477875","1396477785","1396477848","1396477902"],"photo_ids_order":["1396477785","1396477816","1396477848","1396477875","1396477902","1396477954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b25101b7ca35e17ecd68ef39cce39a48.jpg","text":"TemporaryFile(/tmp/multipartBody5234581839063379816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_52_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/71589f2ef259bb376b9616db91399cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1276410946223534573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_51_44_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b13285d31e2e64d31fc4f7ed217b567.jpg","text":"TemporaryFile(/tmp/multipartBody3700875506871749694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_52_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd3ec8ab637a495e0877c41b5ce5c68f.jpg","text":"TemporaryFile(/tmp/multipartBody5363748436971754267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_51_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f43238952e511aabd7a3917a5d6acbf5.jpg","text":"TemporaryFile(/tmp/multipartBody8825624642633859348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_51_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/09f6093940d4c4b26d58e78671cf52d4.jpg","text":"TemporaryFile(/tmp/multipartBody3864108902586110352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279604599,"filename":"image_27112025_18_52_24_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396477848","file1":"1396477816","file0":"1396477785","file4":"1396477902","file5":"1396477954","file3":"1396477875"},"map_files_photo_id_array":[{"photo_id":"1396477954","filename":"file5"},{"photo_id":"1396477848","filename":"file2"},{"photo_id":"1396477902","filename":"file4"},{"photo_id":"1396477816","filename":"file1"},{"photo_id":"1396477785","filename":"file0"},{"photo_id":"1396477875","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396477954":["hashtag1","hashtag2"]},{"1396477816":["hashtag1","hashtag2"]},{"1396477875":["hashtag1","hashtag2"]},{"1396477785":["hashtag1","hashtag2"]},{"1396477848":["hashtag1","hashtag2"]},{"1396477902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396477954, 1396477816, 1396477875, 1396477785, 1396477848, 1396477902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79076623916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:40:02.858878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_54_10650.jpg', '/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_13_9577.jpg', '/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_24_10703.jpg', '/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_34_9625.jpg', '/home/pi/Desktop/images/27112025/18/54/image_27112025_18_54_54_10022.jpg', '/home/pi/Desktop/images/27112025/18/54/image_27112025_18_55_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/52/image_27112025_18_52_54_10650.jpg
/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_13_9577.jpg
/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_24_10703.jpg
/home/pi/Desktop/images/27112025/18/53/image_27112025_18_53_34_9625.jpg
/home/pi/Desktop/images/27112025/18/54/image_27112025_18_54_54_10022.jpg
/home/pi/Desktop/images/27112025/18/54/image_27112025_18_55_04_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396478408","1396478284","1396478335","1396478437","1396478251","1396478373"],"photo_ids_order":["1396478251","1396478284","1396478335","1396478373","1396478408","1396478437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2a738314af3ec36875bc4fd62b2b341.jpg","text":"TemporaryFile(/tmp/multipartBody375766140218475285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_54_54_10022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49582b48452ec9ba6782fc301402f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2416347585434872843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_53_13_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/001f155325e4a50551e0f53d9039216b.jpg","text":"TemporaryFile(/tmp/multipartBody8034410316463127664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_53_24_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f21bf3ddc30cf5ecfac5fd75d5717d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7078016597469672858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_55_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b00b18c98b3a39fce0416d32609e2688.jpg","text":"TemporaryFile(/tmp/multipartBody5983107877420829354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_52_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5df015b217776ff26ffe92471a218777.jpg","text":"TemporaryFile(/tmp/multipartBody277543338851264997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279663860,"filename":"image_27112025_18_53_34_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396478335","file1":"1396478284","file0":"1396478251","file4":"1396478408","file5":"1396478437","file3":"1396478373"},"map_files_photo_id_array":[{"photo_id":"1396478437","filename":"file5"},{"photo_id":"1396478335","filename":"file2"},{"photo_id":"1396478408","filename":"file4"},{"photo_id":"1396478284","filename":"file1"},{"photo_id":"1396478251","filename":"file0"},{"photo_id":"1396478373","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396478408":["hashtag1","hashtag2"]},{"1396478284":["hashtag1","hashtag2"]},{"1396478335":["hashtag1","hashtag2"]},{"1396478437":["hashtag1","hashtag2"]},{"1396478251":["hashtag1","hashtag2"]},{"1396478373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396478408, 1396478284, 1396478335, 1396478437, 1396478251, 1396478373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84856605529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:41:03.200490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_14_9770.jpg', '/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_24_9486.jpg', '/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_34_10667.jpg', '/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_44_9642.jpg', '/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_54_9849.jpg', '/home/pi/Desktop/images/27112025/18/55/image_27112025_18_56_04_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_14_9770.jpg
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_24_9486.jpg
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_34_10667.jpg
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_44_9642.jpg
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_55_54_9849.jpg
/home/pi/Desktop/images/27112025/18/55/image_27112025_18_56_04_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396478731","1396478793","1396478673","1396478763","1396478703","1396478642"],"photo_ids_order":["1396478642","1396478673","1396478703","1396478731","1396478763","1396478793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa40f38a0e995c90a01a1127769254ed.jpg","text":"TemporaryFile(/tmp/multipartBody6041230371703470534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_55_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/83ffe51ba057473f453df6d013e93795.jpg","text":"TemporaryFile(/tmp/multipartBody8940455233870024733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_56_04_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7dbcc7a26324a533564336eb415944f2.jpg","text":"TemporaryFile(/tmp/multipartBody8469512362765609507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_55_24_9486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7f134809501bc5d8ebcebc6140be4056.jpg","text":"TemporaryFile(/tmp/multipartBody4428978250730946542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_55_54_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4be68c82559e7048bf53857d79adc92d.jpg","text":"TemporaryFile(/tmp/multipartBody4499901587194645156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_55_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0ee07a817678ff122ce4273b6f7e6de8.jpg","text":"TemporaryFile(/tmp/multipartBody7015107421783098876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279724174,"filename":"image_27112025_18_55_14_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396478703","file1":"1396478673","file0":"1396478642","file4":"1396478763","file5":"1396478793","file3":"1396478731"},"map_files_photo_id_array":[{"photo_id":"1396478793","filename":"file5"},{"photo_id":"1396478703","filename":"file2"},{"photo_id":"1396478763","filename":"file4"},{"photo_id":"1396478673","filename":"file1"},{"photo_id":"1396478642","filename":"file0"},{"photo_id":"1396478731","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396478731":["hashtag1","hashtag2"]},{"1396478793":["hashtag1","hashtag2"]},{"1396478673":["hashtag1","hashtag2"]},{"1396478763":["hashtag1","hashtag2"]},{"1396478703":["hashtag1","hashtag2"]},{"1396478642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396478731, 1396478793, 1396478673, 1396478763, 1396478703, 1396478642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00336503982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:42:02.402185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/18/56/image_27112025_18_56_44_9670.jpg', '/home/pi/Desktop/images/27112025/18/56/image_27112025_18_57_04_10556.jpg', '/home/pi/Desktop/images/27112025/18/57/image_27112025_18_57_14_9793.jpg', '/home/pi/Desktop/images/27112025/18/58/image_27112025_18_58_49_14351.jpg', '/home/pi/Desktop/images/27112025/18/58/image_27112025_18_59_04_9698.jpg', '/home/pi/Desktop/images/27112025/18/59/image_27112025_18_59_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/18/56/image_27112025_18_56_44_9670.jpg
/home/pi/Desktop/images/27112025/18/56/image_27112025_18_57_04_10556.jpg
/home/pi/Desktop/images/27112025/18/57/image_27112025_18_57_14_9793.jpg
/home/pi/Desktop/images/27112025/18/58/image_27112025_18_58_49_14351.jpg
/home/pi/Desktop/images/27112025/18/58/image_27112025_18_59_04_9698.jpg
/home/pi/Desktop/images/27112025/18/59/image_27112025_18_59_34_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396479046","1396479010","1396478950","1396478824","1396479075","1396478865"],"photo_ids_order":["1396478824","1396478865","1396478950","1396479010","1396479046","1396479075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aba1680a735cc93d9cd2c0b34545cf70.jpg","text":"TemporaryFile(/tmp/multipartBody7733486653905049692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_59_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06d78f7bf2b0706d9eeda516c3ec0deb.jpg","text":"TemporaryFile(/tmp/multipartBody7944882503124609312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_58_49_14351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9f378c31d60b9b40e7de818bd6a2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1279741466048669269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_57_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ff202d4691107a3a3b5fdab022b81a1.jpg","text":"TemporaryFile(/tmp/multipartBody1524119597456358592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_56_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e117496162e9e20f443a0ca2c234c3ee.jpg","text":"TemporaryFile(/tmp/multipartBody4853879337727025588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_59_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9154f629e554c64a50989da74b44f26a.jpg","text":"TemporaryFile(/tmp/multipartBody3226479821656185451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279783417,"filename":"image_27112025_18_57_04_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396478950","file1":"1396478865","file0":"1396478824","file4":"1396479046","file5":"1396479075","file3":"1396479010"},"map_files_photo_id_array":[{"photo_id":"1396479075","filename":"file5"},{"photo_id":"1396478950","filename":"file2"},{"photo_id":"1396479046","filename":"file4"},{"photo_id":"1396478865","filename":"file1"},{"photo_id":"1396478824","filename":"file0"},{"photo_id":"1396479010","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396479046":["hashtag1","hashtag2"]},{"1396479010":["hashtag1","hashtag2"]},{"1396478950":["hashtag1","hashtag2"]},{"1396478824":["hashtag1","hashtag2"]},{"1396479075":["hashtag1","hashtag2"]},{"1396478865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396479046, 1396479010, 1396478950, 1396478824, 1396479075, 1396478865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.05214238166809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 22:43:12.014376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_19_2793.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_22_3506.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_25_2625.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_28_3554.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_31_2600.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_34_2949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_19_2793.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_22_3506.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_25_2625.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_28_3554.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_31_2600.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_34_2949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396479205","1396479156","1396479123","1396479219","1396479098","1396479190"],"photo_ids_order":["1396479098","1396479123","1396479156","1396479190","1396479205","1396479219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3cc61a649c10c01f84c3300b49fb796f.jpg","text":"TemporaryFile(/tmp/multipartBody5729221335736443395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_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/27/22937ed14d100427f9828fc541ccba62.jpg","text":"TemporaryFile(/tmp/multipartBody1930343967223828987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_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/27/bc91e167ffd0e4417a2b630d779d8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody9035769037905514500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_22_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/27/a51f318be27c269d2742638e6d9f5b33.jpg","text":"TemporaryFile(/tmp/multipartBody959600682115206962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_34_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/409605a5d10deedc7b992d3d72dfc2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4399025104569367587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_19_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/27/8ad54b341cfb8e7eb576727acd8d770d.jpg","text":"TemporaryFile(/tmp/multipartBody4255613061104724071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279853986,"filename":"image_21112025_21_48_28_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396479156","file1":"1396479123","file0":"1396479098","file4":"1396479205","file5":"1396479219","file3":"1396479190"},"map_files_photo_id_array":[{"photo_id":"1396479219","filename":"file5"},{"photo_id":"1396479156","filename":"file2"},{"photo_id":"1396479205","filename":"file4"},{"photo_id":"1396479123","filename":"file1"},{"photo_id":"1396479098","filename":"file0"},{"photo_id":"1396479190","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396479205":["hashtag1","hashtag2"]},{"1396479156":["hashtag1","hashtag2"]},{"1396479123":["hashtag1","hashtag2"]},{"1396479219":["hashtag1","hashtag2"]},{"1396479098":["hashtag1","hashtag2"]},{"1396479190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396479205, 1396479156, 1396479123, 1396479219, 1396479098, 1396479190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.788804054260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:44:02.888950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_14_10037.jpg', '/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_25_10551.jpg', '/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_34_9542.jpg', '/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_45_10611.jpg', '/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_54_9648.jpg', '/home/pi/Desktop/images/27112025/19/01/image_27112025_19_02_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_14_10037.jpg
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_25_10551.jpg
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_34_9542.jpg
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_45_10611.jpg
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_01_54_9648.jpg
/home/pi/Desktop/images/27112025/19/01/image_27112025_19_02_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396479310","1396479318","1396479306","1396479315","1396479300","1396479295"],"photo_ids_order":["1396479295","1396479300","1396479306","1396479310","1396479315","1396479318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/302d07cf512851bb816c32e2b427a656.jpg","text":"TemporaryFile(/tmp/multipartBody7676983603118503300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_01_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43958ed524ce5c377203715c54453160.jpg","text":"TemporaryFile(/tmp/multipartBody2573224984303044133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_02_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a0a95f8b498bd3ca5f8fa6857430f16.jpg","text":"TemporaryFile(/tmp/multipartBody5760997970830489134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_01_34_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a9deaa4e4d770d664e72e06cf51f5ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7703148026158531590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_01_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c69e509de094f3374aa58a37532ebb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7530263272872587046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_01_25_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b450f7612eb338418b2a2596d6e5414.jpg","text":"TemporaryFile(/tmp/multipartBody2850800358452652165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279904027,"filename":"image_27112025_19_01_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396479306","file1":"1396479300","file0":"1396479295","file4":"1396479315","file5":"1396479318","file3":"1396479310"},"map_files_photo_id_array":[{"photo_id":"1396479318","filename":"file5"},{"photo_id":"1396479306","filename":"file2"},{"photo_id":"1396479315","filename":"file4"},{"photo_id":"1396479300","filename":"file1"},{"photo_id":"1396479295","filename":"file0"},{"photo_id":"1396479310","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396479310":["hashtag1","hashtag2"]},{"1396479318":["hashtag1","hashtag2"]},{"1396479306":["hashtag1","hashtag2"]},{"1396479315":["hashtag1","hashtag2"]},{"1396479300":["hashtag1","hashtag2"]},{"1396479295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396479310, 1396479318, 1396479306, 1396479315, 1396479300, 1396479295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.749882221221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:45:03.047890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_15_10766.jpg', '/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_25_9726.jpg', '/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_34_9791.jpg', '/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_45_10560.jpg', '/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_54_9547.jpg', '/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_15_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_15_10766.jpg
/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_25_9726.jpg
/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_34_9791.jpg
/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_45_10560.jpg
/home/pi/Desktop/images/27112025/19/02/image_27112025_19_02_54_9547.jpg
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_15_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396479361","1396479400","1396479453","1396479333","1396479488","1396479428"],"photo_ids_order":["1396479333","1396479361","1396479400","1396479428","1396479453","1396479488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b427a0906f40a5350332ac11259b3a12.jpg","text":"TemporaryFile(/tmp/multipartBody7198705004816507858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_02_25_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/27/c3f497f22331ebe2aa63fc60f78f0779.jpg","text":"TemporaryFile(/tmp/multipartBody7107487645385760779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_02_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0091d86b60c76bdd3a33b084b503f151.jpg","text":"TemporaryFile(/tmp/multipartBody8850273274199659268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_02_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ac918e02d3806b0caa28cca6ea9c3f7.jpg","text":"TemporaryFile(/tmp/multipartBody7878569019149877195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_02_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3a92f74d3be1e71dfaab2b54f25568c1.jpg","text":"TemporaryFile(/tmp/multipartBody8374861339473787662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_03_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a98d29baa3f8d56f350c4be2c6a6f826.jpg","text":"TemporaryFile(/tmp/multipartBody3027856910139665727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764279964164,"filename":"image_27112025_19_02_45_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396479400","file1":"1396479361","file0":"1396479333","file4":"1396479453","file5":"1396479488","file3":"1396479428"},"map_files_photo_id_array":[{"photo_id":"1396479488","filename":"file5"},{"photo_id":"1396479400","filename":"file2"},{"photo_id":"1396479453","filename":"file4"},{"photo_id":"1396479361","filename":"file1"},{"photo_id":"1396479333","filename":"file0"},{"photo_id":"1396479428","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396479361":["hashtag1","hashtag2"]},{"1396479400":["hashtag1","hashtag2"]},{"1396479453":["hashtag1","hashtag2"]},{"1396479333":["hashtag1","hashtag2"]},{"1396479488":["hashtag1","hashtag2"]},{"1396479428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396479361, 1396479400, 1396479453, 1396479333, 1396479488, 1396479428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14618802070618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:46:03.081557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_24_9607.jpg', '/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_34_9729.jpg', '/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_45_10560.jpg', '/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_55_9839.jpg', '/home/pi/Desktop/images/27112025/19/03/image_27112025_19_04_04_9594.jpg', '/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_14_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_24_9607.jpg
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_34_9729.jpg
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_45_10560.jpg
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_03_55_9839.jpg
/home/pi/Desktop/images/27112025/19/03/image_27112025_19_04_04_9594.jpg
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_14_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396479841","1396479724","1396479808","1396479780","1396479695","1396479752"],"photo_ids_order":["1396479695","1396479724","1396479752","1396479780","1396479808","1396479841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8298bda301f1d82509a92678fe9c1226.jpg","text":"TemporaryFile(/tmp/multipartBody1709280894590701045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_04_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b5d266553a65e713b53dc2ade69caf8.jpg","text":"TemporaryFile(/tmp/multipartBody6171705536403409734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_03_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2829ec410d403214b85a808f14ebdf10.jpg","text":"TemporaryFile(/tmp/multipartBody4729889796617452726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_04_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ba7221a89ecf44f432bc0707ad5f7921.jpg","text":"TemporaryFile(/tmp/multipartBody7598024272059970325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_03_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4fd435ed30d3c4fa20d89c7f16657fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8642286967936589623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_03_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/624d4d39b4d619e85c090250b2303f32.jpg","text":"TemporaryFile(/tmp/multipartBody1437929702488899427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280024049,"filename":"image_27112025_19_03_45_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396479752","file1":"1396479724","file0":"1396479695","file4":"1396479808","file5":"1396479841","file3":"1396479780"},"map_files_photo_id_array":[{"photo_id":"1396479841","filename":"file5"},{"photo_id":"1396479752","filename":"file2"},{"photo_id":"1396479808","filename":"file4"},{"photo_id":"1396479724","filename":"file1"},{"photo_id":"1396479695","filename":"file0"},{"photo_id":"1396479780","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396479841":["hashtag1","hashtag2"]},{"1396479724":["hashtag1","hashtag2"]},{"1396479808":["hashtag1","hashtag2"]},{"1396479780":["hashtag1","hashtag2"]},{"1396479695":["hashtag1","hashtag2"]},{"1396479752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396479841, 1396479724, 1396479808, 1396479780, 1396479695, 1396479752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28453850746155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:47:03.524060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_25_10597.jpg', '/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_34_9776.jpg', '/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_44_9860.jpg', '/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_55_10532.jpg', '/home/pi/Desktop/images/27112025/19/04/image_27112025_19_05_05_9884.jpg', '/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_24_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_25_10597.jpg
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_34_9776.jpg
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_44_9860.jpg
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_04_55_10532.jpg
/home/pi/Desktop/images/27112025/19/04/image_27112025_19_05_05_9884.jpg
/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_24_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396480171","1396480138","1396480111","1396480167","1396480079","1396480043"],"photo_ids_order":["1396480043","1396480079","1396480111","1396480138","1396480167","1396480171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85195008a3a52162e3eab2c87616adf5.jpg","text":"TemporaryFile(/tmp/multipartBody1068214995320723220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_05_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/657db75429d9dfd1fa169ddddaaaaed4.jpg","text":"TemporaryFile(/tmp/multipartBody5760588608963277190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_04_55_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95c5ce724cf1c4d614e535e475b32b82.jpg","text":"TemporaryFile(/tmp/multipartBody2524595991331095465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_04_44_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e747879935841fcdf65a201a63f749b0.jpg","text":"TemporaryFile(/tmp/multipartBody6444307679838980191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_05_05_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2991daa81ad294bb67fcb42b228d95bf.jpg","text":"TemporaryFile(/tmp/multipartBody124873969408786725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_04_34_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/036a5324573a5f0f2893d7d9f06ed82e.jpg","text":"TemporaryFile(/tmp/multipartBody7947562629821134540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280085031,"filename":"image_27112025_19_04_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396480111","file1":"1396480079","file0":"1396480043","file4":"1396480167","file5":"1396480171","file3":"1396480138"},"map_files_photo_id_array":[{"photo_id":"1396480171","filename":"file5"},{"photo_id":"1396480111","filename":"file2"},{"photo_id":"1396480167","filename":"file4"},{"photo_id":"1396480079","filename":"file1"},{"photo_id":"1396480043","filename":"file0"},{"photo_id":"1396480138","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396480171":["hashtag1","hashtag2"]},{"1396480138":["hashtag1","hashtag2"]},{"1396480111":["hashtag1","hashtag2"]},{"1396480167":["hashtag1","hashtag2"]},{"1396480079":["hashtag1","hashtag2"]},{"1396480043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396480171, 1396480138, 1396480111, 1396480167, 1396480079, 1396480043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38253474235535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:48:02.380145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_35_10642.jpg', '/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_45_9891.jpg', '/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_54_9527.jpg', '/home/pi/Desktop/images/27112025/19/05/image_27112025_19_06_05_10681.jpg', '/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_14_9687.jpg', '/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_34_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_35_10642.jpg
/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_45_9891.jpg
/home/pi/Desktop/images/27112025/19/05/image_27112025_19_05_54_9527.jpg
/home/pi/Desktop/images/27112025/19/05/image_27112025_19_06_05_10681.jpg
/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_14_9687.jpg
/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_34_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396480360","1396480336","1396480356","1396480305","1396480277","1396480247"],"photo_ids_order":["1396480247","1396480277","1396480305","1396480336","1396480356","1396480360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/360bee0520fb532810c580d17f15655d.jpg","text":"TemporaryFile(/tmp/multipartBody4417252466679165602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_06_34_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcb9eabd6924daa04b8e8f97e5bb8415.jpg","text":"TemporaryFile(/tmp/multipartBody2423052877394642209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_06_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/424ed5e6aab1ad4022a5257e61f66ef0.jpg","text":"TemporaryFile(/tmp/multipartBody9214218912038069414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_06_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/292941cc0dd5bac70cbbac949d573471.jpg","text":"TemporaryFile(/tmp/multipartBody5592870362227569583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_05_54_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bec01c6ac4a93346f82e2b154136fef6.jpg","text":"TemporaryFile(/tmp/multipartBody2658248698709042059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_05_45_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02696889895af2ce29885d7f57422fae.jpg","text":"TemporaryFile(/tmp/multipartBody291869380213307110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280143488,"filename":"image_27112025_19_05_35_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396480305","file1":"1396480277","file0":"1396480247","file4":"1396480356","file5":"1396480360","file3":"1396480336"},"map_files_photo_id_array":[{"photo_id":"1396480360","filename":"file5"},{"photo_id":"1396480305","filename":"file2"},{"photo_id":"1396480356","filename":"file4"},{"photo_id":"1396480277","filename":"file1"},{"photo_id":"1396480247","filename":"file0"},{"photo_id":"1396480336","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396480360":["hashtag1","hashtag2"]},{"1396480336":["hashtag1","hashtag2"]},{"1396480356":["hashtag1","hashtag2"]},{"1396480305":["hashtag1","hashtag2"]},{"1396480277":["hashtag1","hashtag2"]},{"1396480247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396480360, 1396480336, 1396480356, 1396480305, 1396480277, 1396480247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16540789604187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:49:02.935882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_45_10640.jpg', '/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_54_9623.jpg', '/home/pi/Desktop/images/27112025/19/06/image_27112025_19_07_04_9675.jpg', '/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_15_10589.jpg', '/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_24_9706.jpg', '/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_45_10640.jpg
/home/pi/Desktop/images/27112025/19/06/image_27112025_19_06_54_9623.jpg
/home/pi/Desktop/images/27112025/19/06/image_27112025_19_07_04_9675.jpg
/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_15_10589.jpg
/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_24_9706.jpg
/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_34_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396480498","1396480491","1396480485","1396480494","1396480488","1396480476"],"photo_ids_order":["1396480476","1396480485","1396480488","1396480491","1396480494","1396480498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2635c75bbcf79c41d0b952e8e26073c8.jpg","text":"TemporaryFile(/tmp/multipartBody2595050467872167234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_07_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/87d30dc3bd7dffff8ea87f1032c7ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody3028742590592544370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_07_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d14cb906f0a0a30ff2d1383b0674433e.jpg","text":"TemporaryFile(/tmp/multipartBody2097443664964113852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_06_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5cfa50394a2b427243a5f131875aed7f.jpg","text":"TemporaryFile(/tmp/multipartBody4577723309304555299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_07_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5dea6bc39b2b72b5f901d513cd1b0f9d.jpg","text":"TemporaryFile(/tmp/multipartBody6432525255840500796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_07_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7ef06284fc4155c9ba0d455a6df431d8.jpg","text":"TemporaryFile(/tmp/multipartBody9049620899358618529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280204167,"filename":"image_27112025_19_06_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396480488","file1":"1396480485","file0":"1396480476","file4":"1396480494","file5":"1396480498","file3":"1396480491"},"map_files_photo_id_array":[{"photo_id":"1396480498","filename":"file5"},{"photo_id":"1396480488","filename":"file2"},{"photo_id":"1396480494","filename":"file4"},{"photo_id":"1396480485","filename":"file1"},{"photo_id":"1396480476","filename":"file0"},{"photo_id":"1396480491","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396480498":["hashtag1","hashtag2"]},{"1396480491":["hashtag1","hashtag2"]},{"1396480485":["hashtag1","hashtag2"]},{"1396480494":["hashtag1","hashtag2"]},{"1396480488":["hashtag1","hashtag2"]},{"1396480476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396480498, 1396480491, 1396480485, 1396480494, 1396480488, 1396480476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94402074813843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:50:02.589682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_45_10640.jpg', '/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_54_9681.jpg', '/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_15_10561.jpg', '/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_24_9666.jpg', '/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_35_10577.jpg', '/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_45_10640.jpg
/home/pi/Desktop/images/27112025/19/07/image_27112025_19_07_54_9681.jpg
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_15_10561.jpg
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_24_9666.jpg
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_35_10577.jpg
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396480885","1396480750","1396480788","1396480707","1396480928","1396480829"],"photo_ids_order":["1396480707","1396480750","1396480788","1396480829","1396480885","1396480928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/67f54cb9c2867529b1bab0828bd2da13.jpg","text":"TemporaryFile(/tmp/multipartBody1889617336456044689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_08_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/62c7ed0a2afa0fa05ccb7ba60084ab24.jpg","text":"TemporaryFile(/tmp/multipartBody389755201592076550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_07_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/01779bd60027573824317f48798ecb17.jpg","text":"TemporaryFile(/tmp/multipartBody708686685828318401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_08_15_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9722c9b54163dbf9660dfb99d6282c50.jpg","text":"TemporaryFile(/tmp/multipartBody4993150413968434551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_07_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a919d8a1a409cfa5aec0068c9a92e0b9.jpg","text":"TemporaryFile(/tmp/multipartBody947037474822238544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_08_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/93f82e9e49133f6d403f3f495ef4642d.jpg","text":"TemporaryFile(/tmp/multipartBody8953450682773813160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280263412,"filename":"image_27112025_19_08_24_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396480788","file1":"1396480750","file0":"1396480707","file4":"1396480885","file5":"1396480928","file3":"1396480829"},"map_files_photo_id_array":[{"photo_id":"1396480928","filename":"file5"},{"photo_id":"1396480788","filename":"file2"},{"photo_id":"1396480885","filename":"file4"},{"photo_id":"1396480750","filename":"file1"},{"photo_id":"1396480707","filename":"file0"},{"photo_id":"1396480829","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396480885":["hashtag1","hashtag2"]},{"1396480750":["hashtag1","hashtag2"]},{"1396480788":["hashtag1","hashtag2"]},{"1396480707":["hashtag1","hashtag2"]},{"1396480928":["hashtag1","hashtag2"]},{"1396480829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396480885, 1396480750, 1396480788, 1396480707, 1396480928, 1396480829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79499053955078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:51:03.018717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_54_9744.jpg', '/home/pi/Desktop/images/27112025/19/08/image_27112025_19_09_05_10621.jpg', '/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_15_9807.jpg', '/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_24_9701.jpg', '/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_34_9671.jpg', '/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_45_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_08_54_9744.jpg
/home/pi/Desktop/images/27112025/19/08/image_27112025_19_09_05_10621.jpg
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_15_9807.jpg
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_24_9701.jpg
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_34_9671.jpg
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_45_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481257","1396481163","1396481226","1396481315","1396481287","1396481194"],"photo_ids_order":["1396481163","1396481194","1396481226","1396481257","1396481287","1396481315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/026d5aba10d99a876df50e79e26df05f.jpg","text":"TemporaryFile(/tmp/multipartBody3341875665163403726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_09_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a8b849cb4c8b8bec774d461e73649143.jpg","text":"TemporaryFile(/tmp/multipartBody7757038422647863095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_08_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8b6ee4b8731e23d5f513842303adf140.jpg","text":"TemporaryFile(/tmp/multipartBody812119430482887183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_09_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a2d87af70afad488edb5039f7c70ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3583212270900722403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_09_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5ab59d6ea9a4fa9a14ac902d91ca3cae.jpg","text":"TemporaryFile(/tmp/multipartBody416689982227678669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_09_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/44a1d7812d4662fb8d203751aa74f158.jpg","text":"TemporaryFile(/tmp/multipartBody6519944339411385122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280324155,"filename":"image_27112025_19_09_05_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481226","file1":"1396481194","file0":"1396481163","file4":"1396481287","file5":"1396481315","file3":"1396481257"},"map_files_photo_id_array":[{"photo_id":"1396481315","filename":"file5"},{"photo_id":"1396481226","filename":"file2"},{"photo_id":"1396481287","filename":"file4"},{"photo_id":"1396481194","filename":"file1"},{"photo_id":"1396481163","filename":"file0"},{"photo_id":"1396481257","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481257":["hashtag1","hashtag2"]},{"1396481163":["hashtag1","hashtag2"]},{"1396481226":["hashtag1","hashtag2"]},{"1396481315":["hashtag1","hashtag2"]},{"1396481287":["hashtag1","hashtag2"]},{"1396481194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481257, 1396481163, 1396481226, 1396481315, 1396481287, 1396481194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61176919937134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:52:03.047467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_54_9741.jpg', '/home/pi/Desktop/images/27112025/19/09/image_27112025_19_10_04_9556.jpg', '/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_15_10739.jpg', '/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_24_9721.jpg', '/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_34_9697.jpg', '/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_45_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_09_54_9741.jpg
/home/pi/Desktop/images/27112025/19/09/image_27112025_19_10_04_9556.jpg
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_15_10739.jpg
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_24_9721.jpg
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_34_9697.jpg
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_45_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481404","1396481460","1396481492","1396481456","1396481453","1396481432"],"photo_ids_order":["1396481404","1396481432","1396481453","1396481456","1396481460","1396481492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7fbc56123eb38b72a56dd5b30649ee8c.jpg","text":"TemporaryFile(/tmp/multipartBody2258412022317982120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_09_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/baec8d4134ae82b4fd1f766f3bf46a96.jpg","text":"TemporaryFile(/tmp/multipartBody5942859201241631157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_10_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e23d661b276dbc320602e54aff3a5dac.jpg","text":"TemporaryFile(/tmp/multipartBody1998634466185121121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_10_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/065972914366687e1ecbe971528e93bb.jpg","text":"TemporaryFile(/tmp/multipartBody7761488835168802323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_10_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b14e45fc40d4531ecd5652e4623b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody5118476721246862769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_10_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac4361997a33de52fe1af26a6ad5459b.jpg","text":"TemporaryFile(/tmp/multipartBody4160715692291060523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280384143,"filename":"image_27112025_19_10_04_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481453","file1":"1396481432","file0":"1396481404","file4":"1396481460","file5":"1396481492","file3":"1396481456"},"map_files_photo_id_array":[{"photo_id":"1396481492","filename":"file5"},{"photo_id":"1396481453","filename":"file2"},{"photo_id":"1396481460","filename":"file4"},{"photo_id":"1396481432","filename":"file1"},{"photo_id":"1396481404","filename":"file0"},{"photo_id":"1396481456","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481404":["hashtag1","hashtag2"]},{"1396481460":["hashtag1","hashtag2"]},{"1396481492":["hashtag1","hashtag2"]},{"1396481456":["hashtag1","hashtag2"]},{"1396481453":["hashtag1","hashtag2"]},{"1396481432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481404, 1396481460, 1396481492, 1396481456, 1396481453, 1396481432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70725965499878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:53:03.404541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_55_9900.jpg', '/home/pi/Desktop/images/27112025/19/10/image_27112025_19_11_04_9625.jpg', '/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_15_10627.jpg', '/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_25_9681.jpg', '/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_34_9616.jpg', '/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_44_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_10_55_9900.jpg
/home/pi/Desktop/images/27112025/19/10/image_27112025_19_11_04_9625.jpg
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_15_10627.jpg
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_25_9681.jpg
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_34_9616.jpg
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_44_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481554","1396481562","1396481565","1396481559","1396481550","1396481546"],"photo_ids_order":["1396481546","1396481550","1396481554","1396481559","1396481562","1396481565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/02a0d2842e42b291f15d95456c3d3ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6134488185534527041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_11_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7c9c944e6fa753b7f5dbc13571127bf.jpg","text":"TemporaryFile(/tmp/multipartBody1927114319742680157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_11_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f20d0f111cdffd687a86a69b494689c9.jpg","text":"TemporaryFile(/tmp/multipartBody3936962792273114447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_11_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2a6b188f6d73997e14be53bd28552459.jpg","text":"TemporaryFile(/tmp/multipartBody3189860905711978843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_11_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/64608c7afccdddf22a4a521d6296e297.jpg","text":"TemporaryFile(/tmp/multipartBody3761737542803126329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_11_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8061d40c59db3bff74c57142efb35553.jpg","text":"TemporaryFile(/tmp/multipartBody1651723119211795786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280444545,"filename":"image_27112025_19_10_55_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481554","file1":"1396481550","file0":"1396481546","file4":"1396481562","file5":"1396481565","file3":"1396481559"},"map_files_photo_id_array":[{"photo_id":"1396481565","filename":"file5"},{"photo_id":"1396481554","filename":"file2"},{"photo_id":"1396481562","filename":"file4"},{"photo_id":"1396481550","filename":"file1"},{"photo_id":"1396481546","filename":"file0"},{"photo_id":"1396481559","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481554":["hashtag1","hashtag2"]},{"1396481562":["hashtag1","hashtag2"]},{"1396481565":["hashtag1","hashtag2"]},{"1396481559":["hashtag1","hashtag2"]},{"1396481550":["hashtag1","hashtag2"]},{"1396481546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481554, 1396481562, 1396481565, 1396481559, 1396481550, 1396481546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28978729248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:54:02.545817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_55_10624.jpg', '/home/pi/Desktop/images/27112025/19/11/image_27112025_19_12_04_9666.jpg', '/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_14_9679.jpg', '/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_25_10799.jpg', '/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_35_9792.jpg', '/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_44_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_11_55_10624.jpg
/home/pi/Desktop/images/27112025/19/11/image_27112025_19_12_04_9666.jpg
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_14_9679.jpg
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_25_10799.jpg
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_35_9792.jpg
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_44_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481592","1396481595","1396481589","1396481597","1396481585","1396481581"],"photo_ids_order":["1396481581","1396481585","1396481589","1396481592","1396481595","1396481597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a0fdff2aaf32b690246941d30b2658b.jpg","text":"TemporaryFile(/tmp/multipartBody2296320178963777513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_12_25_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/129ebbec4d417623715d64839804b9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6597752415631403038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_12_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/31ec01c34dd833632add30e0f1e29e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1399835616836277427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_12_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d6709339c810a25e3b0ae75421a5654.jpg","text":"TemporaryFile(/tmp/multipartBody2028919441265335233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_12_44_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d495e4707e65a459d16a0ecff9bfee9e.jpg","text":"TemporaryFile(/tmp/multipartBody71533580565426513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_12_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6d55843ffc8848fc009ed3ffe1525486.jpg","text":"TemporaryFile(/tmp/multipartBody3223526232137305495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280503703,"filename":"image_27112025_19_11_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481589","file1":"1396481585","file0":"1396481581","file4":"1396481595","file5":"1396481597","file3":"1396481592"},"map_files_photo_id_array":[{"photo_id":"1396481597","filename":"file5"},{"photo_id":"1396481589","filename":"file2"},{"photo_id":"1396481595","filename":"file4"},{"photo_id":"1396481585","filename":"file1"},{"photo_id":"1396481581","filename":"file0"},{"photo_id":"1396481592","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481592":["hashtag1","hashtag2"]},{"1396481595":["hashtag1","hashtag2"]},{"1396481589":["hashtag1","hashtag2"]},{"1396481597":["hashtag1","hashtag2"]},{"1396481585":["hashtag1","hashtag2"]},{"1396481581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481592, 1396481595, 1396481589, 1396481597, 1396481585, 1396481581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64632058143616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:55:02.712559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_55_10763.jpg', '/home/pi/Desktop/images/27112025/19/12/image_27112025_19_13_05_9835.jpg', '/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_14_9795.jpg', '/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_24_9816.jpg', '/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_34_9804.jpg', '/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_44_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_12_55_10763.jpg
/home/pi/Desktop/images/27112025/19/12/image_27112025_19_13_05_9835.jpg
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_14_9795.jpg
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_24_9816.jpg
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_34_9804.jpg
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_44_9945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481614","1396481610","1396481628","1396481622","1396481618","1396481606"],"photo_ids_order":["1396481606","1396481610","1396481614","1396481618","1396481622","1396481628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ac4f60ce42c1f64edcd591d7452fde9.jpg","text":"TemporaryFile(/tmp/multipartBody201487797889563470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_13_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f1832176be8805021408d1f407e9167c.jpg","text":"TemporaryFile(/tmp/multipartBody7059898121788536040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_13_05_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/710670501d4c6b19b0125456f6963798.jpg","text":"TemporaryFile(/tmp/multipartBody4316189007146799431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_13_44_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37bf726bc0c1c1cab8900afed6a74f93.jpg","text":"TemporaryFile(/tmp/multipartBody404753387045487674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_13_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84d6970b0e5f7134648ebc23e824d974.jpg","text":"TemporaryFile(/tmp/multipartBody5489098688703728419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_13_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0fddfa1162ae273392b4aa1da9a57cc6.jpg","text":"TemporaryFile(/tmp/multipartBody953234785335934622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280563865,"filename":"image_27112025_19_12_55_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481614","file1":"1396481610","file0":"1396481606","file4":"1396481622","file5":"1396481628","file3":"1396481618"},"map_files_photo_id_array":[{"photo_id":"1396481628","filename":"file5"},{"photo_id":"1396481614","filename":"file2"},{"photo_id":"1396481622","filename":"file4"},{"photo_id":"1396481610","filename":"file1"},{"photo_id":"1396481606","filename":"file0"},{"photo_id":"1396481618","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481614":["hashtag1","hashtag2"]},{"1396481610":["hashtag1","hashtag2"]},{"1396481628":["hashtag1","hashtag2"]},{"1396481622":["hashtag1","hashtag2"]},{"1396481618":["hashtag1","hashtag2"]},{"1396481606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481614, 1396481610, 1396481628, 1396481622, 1396481618, 1396481606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6688392162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:56:02.811776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_55_10791.jpg', '/home/pi/Desktop/images/27112025/19/13/image_27112025_19_14_04_9606.jpg', '/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_14_9632.jpg', '/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_25_10669.jpg', '/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_34_9648.jpg', '/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_44_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_13_55_10791.jpg
/home/pi/Desktop/images/27112025/19/13/image_27112025_19_14_04_9606.jpg
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_14_9632.jpg
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_25_10669.jpg
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_34_9648.jpg
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_44_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481638","1396481646","1396481654","1396481657","1396481642","1396481650"],"photo_ids_order":["1396481638","1396481642","1396481646","1396481650","1396481654","1396481657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c13bb52e681470936ecd3687a34297ed.jpg","text":"TemporaryFile(/tmp/multipartBody747187435462650454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_13_55_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bf3e0ce94bf8b7339e05303f2fed367f.jpg","text":"TemporaryFile(/tmp/multipartBody4292553839991487478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_14_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ed8ee302fb6bfc8cb9a3c478c24dbd8.jpg","text":"TemporaryFile(/tmp/multipartBody2883283334810194348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_14_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c97e2e66879ba0770f912e1d60081e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1758966494482571229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_14_44_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c1974e0fdf5191ab80e11c7b7eaa84a.jpg","text":"TemporaryFile(/tmp/multipartBody5218723920514630795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_14_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/636c3bb1ce101f03c3e3fad8ccd5c62d.jpg","text":"TemporaryFile(/tmp/multipartBody8532237236841257083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280623929,"filename":"image_27112025_19_14_25_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481646","file1":"1396481642","file0":"1396481638","file4":"1396481654","file5":"1396481657","file3":"1396481650"},"map_files_photo_id_array":[{"photo_id":"1396481657","filename":"file5"},{"photo_id":"1396481646","filename":"file2"},{"photo_id":"1396481654","filename":"file4"},{"photo_id":"1396481642","filename":"file1"},{"photo_id":"1396481638","filename":"file0"},{"photo_id":"1396481650","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481638":["hashtag1","hashtag2"]},{"1396481646":["hashtag1","hashtag2"]},{"1396481654":["hashtag1","hashtag2"]},{"1396481657":["hashtag1","hashtag2"]},{"1396481642":["hashtag1","hashtag2"]},{"1396481650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481638, 1396481646, 1396481654, 1396481657, 1396481642, 1396481650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20528531074524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:57:03.233038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_55_10683.jpg', '/home/pi/Desktop/images/27112025/19/14/image_27112025_19_15_05_9730.jpg', '/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_14_9870.jpg', '/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_24_9762.jpg', '/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_34_9918.jpg', '/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_44_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_14_55_10683.jpg
/home/pi/Desktop/images/27112025/19/14/image_27112025_19_15_05_9730.jpg
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_14_9870.jpg
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_24_9762.jpg
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_34_9918.jpg
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_44_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396481757","1396481727","1396481814","1396481869","1396481842","1396481785"],"photo_ids_order":["1396481727","1396481757","1396481785","1396481814","1396481842","1396481869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7decfc523d221562ebc41401e5d4796f.jpg","text":"TemporaryFile(/tmp/multipartBody3513731692797265887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_15_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0933c2580b16b8b92e6c23f31bc2fb85.jpg","text":"TemporaryFile(/tmp/multipartBody5826572245837604154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_14_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f5e3a80379148dd30c07702e5cebed6.jpg","text":"TemporaryFile(/tmp/multipartBody2754629489131773272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_15_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42bb51690c47feea70f3399ab1677e18.jpg","text":"TemporaryFile(/tmp/multipartBody6553046475909904128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_15_44_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1464733e738531bae6263aa31841dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody9151344232527854144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_15_34_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/27/e9c578d83306b9995a7c14dfb75ed06e.jpg","text":"TemporaryFile(/tmp/multipartBody4571556142683342026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280684367,"filename":"image_27112025_19_15_14_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396481785","file1":"1396481757","file0":"1396481727","file4":"1396481842","file5":"1396481869","file3":"1396481814"},"map_files_photo_id_array":[{"photo_id":"1396481869","filename":"file5"},{"photo_id":"1396481785","filename":"file2"},{"photo_id":"1396481842","filename":"file4"},{"photo_id":"1396481757","filename":"file1"},{"photo_id":"1396481727","filename":"file0"},{"photo_id":"1396481814","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396481757":["hashtag1","hashtag2"]},{"1396481727":["hashtag1","hashtag2"]},{"1396481814":["hashtag1","hashtag2"]},{"1396481869":["hashtag1","hashtag2"]},{"1396481842":["hashtag1","hashtag2"]},{"1396481785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396481757, 1396481727, 1396481814, 1396481869, 1396481842, 1396481785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87112259864807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 22:59:03.741411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_55_10740.jpg', '/home/pi/Desktop/images/27112025/19/15/image_27112025_19_16_04_9719.jpg', '/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_14_9808.jpg', '/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_24_9865.jpg', '/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_44_9583.jpg', '/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_15_55_10740.jpg
/home/pi/Desktop/images/27112025/19/15/image_27112025_19_16_04_9719.jpg
/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_14_9808.jpg
/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_24_9865.jpg
/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_44_9583.jpg
/home/pi/Desktop/images/27112025/19/16/image_27112025_19_16_54_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396482567","1396482383","1396482445","1396482631","1396482696","1396482508"],"photo_ids_order":["1396482383","1396482445","1396482508","1396482567","1396482631","1396482696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5a031539047bcd132cab1e8bea9d9911.jpg","text":"TemporaryFile(/tmp/multipartBody2797572267697794000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_16_24_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ed5cc8c0f672621f1287f864639ed9f1.jpg","text":"TemporaryFile(/tmp/multipartBody7117899731984748473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_15_55_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4df79de09f25fdef9e18cb975dd5c8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2013433203791911864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_16_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cf459e9f330b1c5a03de34a77b820b40.jpg","text":"TemporaryFile(/tmp/multipartBody5154772287926088868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_16_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/24dfdaa048ffadbf13d655149bdd5fba.jpg","text":"TemporaryFile(/tmp/multipartBody6947105676278083199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_16_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/29ac2c6fb55dfc38149e1dbb776d957b.jpg","text":"TemporaryFile(/tmp/multipartBody8326767733729731942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280804895,"filename":"image_27112025_19_16_14_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396482508","file1":"1396482445","file0":"1396482383","file4":"1396482631","file5":"1396482696","file3":"1396482567"},"map_files_photo_id_array":[{"photo_id":"1396482696","filename":"file5"},{"photo_id":"1396482508","filename":"file2"},{"photo_id":"1396482631","filename":"file4"},{"photo_id":"1396482445","filename":"file1"},{"photo_id":"1396482383","filename":"file0"},{"photo_id":"1396482567","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396482567":["hashtag1","hashtag2"]},{"1396482383":["hashtag1","hashtag2"]},{"1396482445":["hashtag1","hashtag2"]},{"1396482631":["hashtag1","hashtag2"]},{"1396482696":["hashtag1","hashtag2"]},{"1396482508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396482567, 1396482383, 1396482445, 1396482631, 1396482696, 1396482508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84955859184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:00:03.273783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/16/image_27112025_19_17_05_10737.jpg', '/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_14_9692.jpg', '/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_24_9590.jpg', '/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_35_10609.jpg', '/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_44_9708.jpg', '/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_54_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/16/image_27112025_19_17_05_10737.jpg
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_14_9692.jpg
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_24_9590.jpg
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_35_10609.jpg
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_44_9708.jpg
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_17_54_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396483067","1396483156","1396482967","1396483201","1396483024","1396483105"],"photo_ids_order":["1396482967","1396483024","1396483067","1396483105","1396483156","1396483201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fe7d8deb962fb91818d76297fa3a7a32.jpg","text":"TemporaryFile(/tmp/multipartBody1190022334297512664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b587bc011cef0b362bdeb1b4a0d6d763.jpg","text":"TemporaryFile(/tmp/multipartBody7433856159185775866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2217e368a7d90ade7f22828c4dfbe12b.jpg","text":"TemporaryFile(/tmp/multipartBody6982907685074883604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbb8cf1911b61b466ca87fde2f5f9ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4937723409852887660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/745ce6859d30702e3bd23174b2429de2.jpg","text":"TemporaryFile(/tmp/multipartBody2440839035920993197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/731bbad5779bbe381d979bf407eaf2ef.jpg","text":"TemporaryFile(/tmp/multipartBody5524021656304130145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280864286,"filename":"image_27112025_19_17_35_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396483067","file1":"1396483024","file0":"1396482967","file4":"1396483156","file5":"1396483201","file3":"1396483105"},"map_files_photo_id_array":[{"photo_id":"1396483201","filename":"file5"},{"photo_id":"1396483067","filename":"file2"},{"photo_id":"1396483156","filename":"file4"},{"photo_id":"1396483024","filename":"file1"},{"photo_id":"1396482967","filename":"file0"},{"photo_id":"1396483105","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396483067":["hashtag1","hashtag2"]},{"1396483156":["hashtag1","hashtag2"]},{"1396482967":["hashtag1","hashtag2"]},{"1396483201":["hashtag1","hashtag2"]},{"1396483024":["hashtag1","hashtag2"]},{"1396483105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396483067, 1396483156, 1396482967, 1396483201, 1396483024, 1396483105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16390013694763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:01:02.514568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/17/image_27112025_19_18_05_10774.jpg', '/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_15_9766.jpg', '/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_25_9862.jpg', '/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_34_9519.jpg', '/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_45_10672.jpg', '/home/pi/Desktop/images/27112025/19/18/image_27112025_19_19_04_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/17/image_27112025_19_18_05_10774.jpg
/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_15_9766.jpg
/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_25_9862.jpg
/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_34_9519.jpg
/home/pi/Desktop/images/27112025/19/18/image_27112025_19_18_45_10672.jpg
/home/pi/Desktop/images/27112025/19/18/image_27112025_19_19_04_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396483542","1396483381","1396483417","1396483345","1396483312","1396483473"],"photo_ids_order":["1396483312","1396483345","1396483381","1396483417","1396483473","1396483542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1181c920ee8db5442031de65b9c8d06c.jpg","text":"TemporaryFile(/tmp/multipartBody1293265521985957240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_19_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b72a6d0c5a64b5364b17aa2b9a8418aa.jpg","text":"TemporaryFile(/tmp/multipartBody5791027898016776445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_18_25_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76b7bf9310167b8ea3789289e84db2e1.jpg","text":"TemporaryFile(/tmp/multipartBody8002200918030965702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_18_34_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d61d166c30e463002091684683c7366.jpg","text":"TemporaryFile(/tmp/multipartBody2178783165129864378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_18_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/56dccf205f5b3d69739181c149d3c094.jpg","text":"TemporaryFile(/tmp/multipartBody2901784030040147737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_18_05_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e2713f7609a01847d5d8f8d979f1755.jpg","text":"TemporaryFile(/tmp/multipartBody5314753069142982371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280923471,"filename":"image_27112025_19_18_45_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396483381","file1":"1396483345","file0":"1396483312","file4":"1396483473","file5":"1396483542","file3":"1396483417"},"map_files_photo_id_array":[{"photo_id":"1396483542","filename":"file5"},{"photo_id":"1396483381","filename":"file2"},{"photo_id":"1396483473","filename":"file4"},{"photo_id":"1396483345","filename":"file1"},{"photo_id":"1396483312","filename":"file0"},{"photo_id":"1396483417","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396483542":["hashtag1","hashtag2"]},{"1396483381":["hashtag1","hashtag2"]},{"1396483417":["hashtag1","hashtag2"]},{"1396483345":["hashtag1","hashtag2"]},{"1396483312":["hashtag1","hashtag2"]},{"1396483473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396483542, 1396483381, 1396483417, 1396483345, 1396483312, 1396483473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34779453277588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:02:02.527779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_15_10659.jpg', '/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_24_9790.jpg', '/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_34_9648.jpg', '/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_45_10605.jpg', '/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_54_9647.jpg', '/home/pi/Desktop/images/27112025/19/19/image_27112025_19_20_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_15_10659.jpg
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_24_9790.jpg
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_34_9648.jpg
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_45_10605.jpg
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_19_54_9647.jpg
/home/pi/Desktop/images/27112025/19/19/image_27112025_19_20_04_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396483979","1396484042","1396484284","1396484332","1396484202","1396484118"],"photo_ids_order":["1396483979","1396484042","1396484118","1396484202","1396484284","1396484332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1d47b3368db747aa7aa6d2c58c464c8f.jpg","text":"TemporaryFile(/tmp/multipartBody188648982044908575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_19_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d58a31c5fa360004cc59e37fae79b678.jpg","text":"TemporaryFile(/tmp/multipartBody633521148149028212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_19_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b582602412753782b4241d054590b63.jpg","text":"TemporaryFile(/tmp/multipartBody1907298721445414592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_19_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c4903483109da1059e76403b5b1bf30.jpg","text":"TemporaryFile(/tmp/multipartBody1091402650035469135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_20_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f9de97e38f24d8321cb000ef00647e81.jpg","text":"TemporaryFile(/tmp/multipartBody5013459888463861170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_19_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/11c9d4da0c35e5efa1c2ffe118627f90.jpg","text":"TemporaryFile(/tmp/multipartBody5265378595959696300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764280983429,"filename":"image_27112025_19_19_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396484118","file1":"1396484042","file0":"1396483979","file4":"1396484284","file5":"1396484332","file3":"1396484202"},"map_files_photo_id_array":[{"photo_id":"1396484332","filename":"file5"},{"photo_id":"1396484118","filename":"file2"},{"photo_id":"1396484284","filename":"file4"},{"photo_id":"1396484042","filename":"file1"},{"photo_id":"1396483979","filename":"file0"},{"photo_id":"1396484202","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396483979":["hashtag1","hashtag2"]},{"1396484042":["hashtag1","hashtag2"]},{"1396484284":["hashtag1","hashtag2"]},{"1396484332":["hashtag1","hashtag2"]},{"1396484202":["hashtag1","hashtag2"]},{"1396484118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396483979, 1396484042, 1396484284, 1396484332, 1396484202, 1396484118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.318724155426025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:03:03.154078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_15_10692.jpg', '/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_25_9828.jpg', '/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_55_10672.jpg', '/home/pi/Desktop/images/27112025/19/20/image_27112025_19_21_04_9743.jpg', '/home/pi/Desktop/images/27112025/19/21/image_27112025_19_21_25_10705.jpg', '/home/pi/Desktop/images/27112025/19/21/image_27112025_19_21_55_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_15_10692.jpg
/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_25_9828.jpg
/home/pi/Desktop/images/27112025/19/20/image_27112025_19_20_55_10672.jpg
/home/pi/Desktop/images/27112025/19/20/image_27112025_19_21_04_9743.jpg
/home/pi/Desktop/images/27112025/19/21/image_27112025_19_21_25_10705.jpg
/home/pi/Desktop/images/27112025/19/21/image_27112025_19_21_55_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396484951","1396485116","1396485037","1396484880","1396484829","1396485204"],"photo_ids_order":["1396484829","1396484880","1396484951","1396485037","1396485116","1396485204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4d0930dc4a53be39f4a722511d7d897.jpg","text":"TemporaryFile(/tmp/multipartBody5800500288068454803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_20_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/03fcaf4cf53a2392f5ba5e27cc5406d8.jpg","text":"TemporaryFile(/tmp/multipartBody1757920215260583495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_21_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f7d2e6c8dc7ce45b4ebffe328697e8af.jpg","text":"TemporaryFile(/tmp/multipartBody1439650940835314590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_21_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/243da7c08f7a86a008252f8b67c78ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4276727190302874462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_20_25_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7feb2f1c8d2f40c2c1ee244ee5808b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3189231997238693635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_20_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6b01bb932420b63fc6e8766522660a66.jpg","text":"TemporaryFile(/tmp/multipartBody4143220923636580113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281044114,"filename":"image_27112025_19_21_55_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396484951","file1":"1396484880","file0":"1396484829","file4":"1396485116","file5":"1396485204","file3":"1396485037"},"map_files_photo_id_array":[{"photo_id":"1396485204","filename":"file5"},{"photo_id":"1396484951","filename":"file2"},{"photo_id":"1396485116","filename":"file4"},{"photo_id":"1396484880","filename":"file1"},{"photo_id":"1396484829","filename":"file0"},{"photo_id":"1396485037","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396484951":["hashtag1","hashtag2"]},{"1396485116":["hashtag1","hashtag2"]},{"1396485037":["hashtag1","hashtag2"]},{"1396484880":["hashtag1","hashtag2"]},{"1396484829":["hashtag1","hashtag2"]},{"1396485204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396484951, 1396485116, 1396485037, 1396484880, 1396484829, 1396485204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00492572784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:04:03.302739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/21/image_27112025_19_22_05_9806.jpg', '/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_14_9710.jpg', '/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_24_9816.jpg', '/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_35_10569.jpg', '/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_44_9650.jpg', '/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_54_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/21/image_27112025_19_22_05_9806.jpg
/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_14_9710.jpg
/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_24_9816.jpg
/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_35_10569.jpg
/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_44_9650.jpg
/home/pi/Desktop/images/27112025/19/22/image_27112025_19_22_54_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396485821","1396485874","1396486014","1396485933","1396485708","1396485764"],"photo_ids_order":["1396485708","1396485764","1396485821","1396485874","1396485933","1396486014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/59aa7191e29bd3e5de81c55e5d122ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5833733771282660674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/970547b8cf262ef6e9d35690fb1e1901.jpg","text":"TemporaryFile(/tmp/multipartBody1872920152849859401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f483cbda639cdb3108ecd3a23a571b49.jpg","text":"TemporaryFile(/tmp/multipartBody8725290862548806593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fc0b7028915b1f8ffc60da579cc7a250.jpg","text":"TemporaryFile(/tmp/multipartBody3142127199338143354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7d66ce10c5dd9107c0a8bbd11a03e842.jpg","text":"TemporaryFile(/tmp/multipartBody6727441757327076758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_05_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0da5b620a71067a72a6272637ea1dd34.jpg","text":"TemporaryFile(/tmp/multipartBody5463718702765182741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281104416,"filename":"image_27112025_19_22_14_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396485821","file1":"1396485764","file0":"1396485708","file4":"1396485933","file5":"1396486014","file3":"1396485874"},"map_files_photo_id_array":[{"photo_id":"1396486014","filename":"file5"},{"photo_id":"1396485821","filename":"file2"},{"photo_id":"1396485933","filename":"file4"},{"photo_id":"1396485764","filename":"file1"},{"photo_id":"1396485708","filename":"file0"},{"photo_id":"1396485874","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396485821":["hashtag1","hashtag2"]},{"1396485874":["hashtag1","hashtag2"]},{"1396486014":["hashtag1","hashtag2"]},{"1396485933":["hashtag1","hashtag2"]},{"1396485708":["hashtag1","hashtag2"]},{"1396485764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396485821, 1396485874, 1396486014, 1396485933, 1396485708, 1396485764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.198230504989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:05:03.494418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_24_9665.jpg', '/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_35_10723.jpg', '/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_45_9732.jpg', '/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_54_9509.jpg', '/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_14_9700.jpg', '/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_24_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_24_9665.jpg
/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_35_10723.jpg
/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_45_9732.jpg
/home/pi/Desktop/images/27112025/19/23/image_27112025_19_23_54_9509.jpg
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_14_9700.jpg
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_24_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396486624","1396486566","1396486719","1396486653","1396486533","1396486595"],"photo_ids_order":["1396486533","1396486566","1396486595","1396486624","1396486653","1396486719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98e5946e7e1d5198c9948ea855d931cb.jpg","text":"TemporaryFile(/tmp/multipartBody4766620409974906732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_23_54_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40c38a24b8997a58a3f3f26a65e82cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5202695903617683524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_23_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e0c513fdd1b6968507c1e0ae23a8263d.jpg","text":"TemporaryFile(/tmp/multipartBody4893893436799356195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_24_24_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/27/b3ba1ba5a9222b89b8fa5d926877ebed.jpg","text":"TemporaryFile(/tmp/multipartBody6169217706535956268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_24_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9858da520f9a888bdd8e847412e7d301.jpg","text":"TemporaryFile(/tmp/multipartBody4695051974628377525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_23_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/142aac82cf6b854f9b3d67523de3e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3741759167560301067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281164659,"filename":"image_27112025_19_23_45_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396486595","file1":"1396486566","file0":"1396486533","file4":"1396486653","file5":"1396486719","file3":"1396486624"},"map_files_photo_id_array":[{"photo_id":"1396486719","filename":"file5"},{"photo_id":"1396486595","filename":"file2"},{"photo_id":"1396486653","filename":"file4"},{"photo_id":"1396486566","filename":"file1"},{"photo_id":"1396486533","filename":"file0"},{"photo_id":"1396486624","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396486624":["hashtag1","hashtag2"]},{"1396486566":["hashtag1","hashtag2"]},{"1396486719":["hashtag1","hashtag2"]},{"1396486653":["hashtag1","hashtag2"]},{"1396486533":["hashtag1","hashtag2"]},{"1396486595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396486624, 1396486566, 1396486719, 1396486653, 1396486533, 1396486595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42133951187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:06:02.415908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_34_9867.jpg', '/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_45_10623.jpg', '/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_55_9884.jpg', '/home/pi/Desktop/images/27112025/19/24/image_27112025_19_25_04_9606.jpg', '/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_15_10673.jpg', '/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_24_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_34_9867.jpg
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_45_10623.jpg
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_24_55_9884.jpg
/home/pi/Desktop/images/27112025/19/24/image_27112025_19_25_04_9606.jpg
/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_15_10673.jpg
/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_24_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396487827","1396487660","1396487528","1396487992","1396488241","1396488121"],"photo_ids_order":["1396487528","1396487660","1396487827","1396487992","1396488121","1396488241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3eb1c21b5de54978adc454d40a3774a5.jpg","text":"TemporaryFile(/tmp/multipartBody2836931365184756180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_24_55_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38a31b3a86fa3e09738fb33e6d4098fe.jpg","text":"TemporaryFile(/tmp/multipartBody1236083493958065618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_24_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f0c863657e1ee48cbc760e71a7b36e28.jpg","text":"TemporaryFile(/tmp/multipartBody5690002439869059022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_24_34_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d06a75aebe184810428dc8e771395e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3456687514105728470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_25_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43b71bd19b47750d76c1b2b4d7aa26bc.jpg","text":"TemporaryFile(/tmp/multipartBody7835689266748693088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_25_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/acde41c6e8aec81b4503361735844573.jpg","text":"TemporaryFile(/tmp/multipartBody6546339007534368847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281223461,"filename":"image_27112025_19_25_15_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396487827","file1":"1396487660","file0":"1396487528","file4":"1396488121","file5":"1396488241","file3":"1396487992"},"map_files_photo_id_array":[{"photo_id":"1396488241","filename":"file5"},{"photo_id":"1396487827","filename":"file2"},{"photo_id":"1396488121","filename":"file4"},{"photo_id":"1396487660","filename":"file1"},{"photo_id":"1396487528","filename":"file0"},{"photo_id":"1396487992","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396487827":["hashtag1","hashtag2"]},{"1396487660":["hashtag1","hashtag2"]},{"1396487528":["hashtag1","hashtag2"]},{"1396487992":["hashtag1","hashtag2"]},{"1396488241":["hashtag1","hashtag2"]},{"1396488121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396487827, 1396487660, 1396487528, 1396487992, 1396488241, 1396488121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96061086654663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:07:02.770492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_45_10636.jpg', '/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_54_9609.jpg', '/home/pi/Desktop/images/27112025/19/25/image_27112025_19_26_04_9683.jpg', '/home/pi/Desktop/images/27112025/19/26/image_27112025_19_26_34_9804.jpg', '/home/pi/Desktop/images/27112025/19/26/image_27112025_19_26_54_9746.jpg', '/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_14_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_45_10636.jpg
/home/pi/Desktop/images/27112025/19/25/image_27112025_19_25_54_9609.jpg
/home/pi/Desktop/images/27112025/19/25/image_27112025_19_26_04_9683.jpg
/home/pi/Desktop/images/27112025/19/26/image_27112025_19_26_34_9804.jpg
/home/pi/Desktop/images/27112025/19/26/image_27112025_19_26_54_9746.jpg
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_14_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396489029","1396489020","1396488846","1396488933","1396488878","1396488988"],"photo_ids_order":["1396488846","1396488878","1396488933","1396488988","1396489020","1396489029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c56e27e580c488063fb6b40dbd2d49ee.jpg","text":"TemporaryFile(/tmp/multipartBody1747228598142090263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_27_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cf68e0d930c96f0aee9758ac1a3925a.jpg","text":"TemporaryFile(/tmp/multipartBody1211978244193273557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_26_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30f9bf432d4d26d4ffda87e151f2ef59.jpg","text":"TemporaryFile(/tmp/multipartBody7302744978407686173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_25_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2ad3d058d040fc8d26b6b6d071257414.jpg","text":"TemporaryFile(/tmp/multipartBody7154177460366099697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_26_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a10015225355a22604c8aff4ccdea809.jpg","text":"TemporaryFile(/tmp/multipartBody7698455195991774881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_25_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f451fb6491cf5c829e1e41ac668f2f27.jpg","text":"TemporaryFile(/tmp/multipartBody6130235404074279242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281283830,"filename":"image_27112025_19_26_34_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396488933","file1":"1396488878","file0":"1396488846","file4":"1396489020","file5":"1396489029","file3":"1396488988"},"map_files_photo_id_array":[{"photo_id":"1396489029","filename":"file5"},{"photo_id":"1396488933","filename":"file2"},{"photo_id":"1396489020","filename":"file4"},{"photo_id":"1396488878","filename":"file1"},{"photo_id":"1396488846","filename":"file0"},{"photo_id":"1396488988","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396489029":["hashtag1","hashtag2"]},{"1396489020":["hashtag1","hashtag2"]},{"1396488846":["hashtag1","hashtag2"]},{"1396488933":["hashtag1","hashtag2"]},{"1396488878":["hashtag1","hashtag2"]},{"1396488988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396489029, 1396489020, 1396488846, 1396488933, 1396488878, 1396488988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.356998682022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:08:02.974934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_24_9644.jpg', '/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_35_10792.jpg', '/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_44_9653.jpg', '/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_54_9660.jpg', '/home/pi/Desktop/images/27112025/19/27/image_27112025_19_28_05_10807.jpg', '/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_15_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_24_9644.jpg
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_35_10792.jpg
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_44_9653.jpg
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_27_54_9660.jpg
/home/pi/Desktop/images/27112025/19/27/image_27112025_19_28_05_10807.jpg
/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_15_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396489437","1396489460","1396489361","1396489322","1396489408","1396489278"],"photo_ids_order":["1396489278","1396489322","1396489361","1396489408","1396489437","1396489460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/128409d63f787253cc3b02d68aba97bc.jpg","text":"TemporaryFile(/tmp/multipartBody3300671338377118819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_28_05_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cbab4ebfe60e63946461d8785c9d8e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1610182599045348364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_28_15_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/23f8a59fadb28cce9f64583afda1c082.jpg","text":"TemporaryFile(/tmp/multipartBody332805145425120829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_27_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3ad4cc802c6fb5e471765afeccbfe0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6848874375539620357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_27_35_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/689614dab0648b7b9660cda230542fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6470454617348379596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_27_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6ea3aa5776b6531e37e26965cc9254ec.jpg","text":"TemporaryFile(/tmp/multipartBody1846660926886642288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281344085,"filename":"image_27112025_19_27_24_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396489361","file1":"1396489322","file0":"1396489278","file4":"1396489437","file5":"1396489460","file3":"1396489408"},"map_files_photo_id_array":[{"photo_id":"1396489460","filename":"file5"},{"photo_id":"1396489361","filename":"file2"},{"photo_id":"1396489437","filename":"file4"},{"photo_id":"1396489322","filename":"file1"},{"photo_id":"1396489278","filename":"file0"},{"photo_id":"1396489408","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396489437":["hashtag1","hashtag2"]},{"1396489460":["hashtag1","hashtag2"]},{"1396489361":["hashtag1","hashtag2"]},{"1396489322":["hashtag1","hashtag2"]},{"1396489408":["hashtag1","hashtag2"]},{"1396489278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396489437, 1396489460, 1396489361, 1396489322, 1396489408, 1396489278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09193801879883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:09:03.581018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_24_9645.jpg', '/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_34_9608.jpg', '/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_45_10584.jpg', '/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_15_10710.jpg', '/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_24_9612.jpg', '/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_35_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_24_9645.jpg
/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_34_9608.jpg
/home/pi/Desktop/images/27112025/19/28/image_27112025_19_28_45_10584.jpg
/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_15_10710.jpg
/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_24_9612.jpg
/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_35_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396489946","1396489718","1396489628","1396489597","1396489794","1396489863"],"photo_ids_order":["1396489597","1396489628","1396489718","1396489794","1396489863","1396489946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3c85c8b2201daf3e2e092746a81e5b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5428929114017028648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_29_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/07a747fcd39a61c5d17ac4cd7883b39e.jpg","text":"TemporaryFile(/tmp/multipartBody1958717412789508090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_28_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc1eebe0c5896fee9bea68332ffd82a1.jpg","text":"TemporaryFile(/tmp/multipartBody3335245733430321486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_28_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1de2682b6a51d500c8656f8c10f8941.jpg","text":"TemporaryFile(/tmp/multipartBody6291018600387872669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_28_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fa70495f9ac314e16afab0acd3592da7.jpg","text":"TemporaryFile(/tmp/multipartBody7955742837061848421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_29_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14d92758669fc63a4433103f03f84c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3209230195397924583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281404736,"filename":"image_27112025_19_29_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396489718","file1":"1396489628","file0":"1396489597","file4":"1396489863","file5":"1396489946","file3":"1396489794"},"map_files_photo_id_array":[{"photo_id":"1396489946","filename":"file5"},{"photo_id":"1396489718","filename":"file2"},{"photo_id":"1396489863","filename":"file4"},{"photo_id":"1396489628","filename":"file1"},{"photo_id":"1396489597","filename":"file0"},{"photo_id":"1396489794","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396489946":["hashtag1","hashtag2"]},{"1396489718":["hashtag1","hashtag2"]},{"1396489628":["hashtag1","hashtag2"]},{"1396489597":["hashtag1","hashtag2"]},{"1396489794":["hashtag1","hashtag2"]},{"1396489863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396489946, 1396489718, 1396489628, 1396489597, 1396489794, 1396489863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88886785507202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:10:03.272917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_45_9753.jpg', '/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_54_9667.jpg', '/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_15_10056.jpg', '/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_25_10683.jpg', '/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_45_10641.jpg', '/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_55_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_45_9753.jpg
/home/pi/Desktop/images/27112025/19/29/image_27112025_19_29_54_9667.jpg
/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_15_10056.jpg
/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_25_10683.jpg
/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_45_10641.jpg
/home/pi/Desktop/images/27112025/19/30/image_27112025_19_30_55_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490017","1396490025","1396490004","1396490013","1396490021","1396490009"],"photo_ids_order":["1396490004","1396490009","1396490013","1396490017","1396490021","1396490025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/92ea4aaf6190ce3c97bdd327880fdc74.jpg","text":"TemporaryFile(/tmp/multipartBody2783695442594848754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_30_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/157bd62a7c249f206b733a916f354235.jpg","text":"TemporaryFile(/tmp/multipartBody781409935702261223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_30_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0a1d8b1bedc4101e6adaf0f525ea646e.jpg","text":"TemporaryFile(/tmp/multipartBody4754210067753262730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_29_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c80e0c55c64886033abdce3986f765d.jpg","text":"TemporaryFile(/tmp/multipartBody9009663650920682539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_30_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b911cb32939eac4811f9d30bf1a82556.jpg","text":"TemporaryFile(/tmp/multipartBody197716087829272058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_30_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2c935150069efbda6542e01e5eb53c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7789308234523081583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281464374,"filename":"image_27112025_19_29_54_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490013","file1":"1396490009","file0":"1396490004","file4":"1396490021","file5":"1396490025","file3":"1396490017"},"map_files_photo_id_array":[{"photo_id":"1396490025","filename":"file5"},{"photo_id":"1396490013","filename":"file2"},{"photo_id":"1396490021","filename":"file4"},{"photo_id":"1396490009","filename":"file1"},{"photo_id":"1396490004","filename":"file0"},{"photo_id":"1396490017","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490017":["hashtag1","hashtag2"]},{"1396490025":["hashtag1","hashtag2"]},{"1396490004":["hashtag1","hashtag2"]},{"1396490013":["hashtag1","hashtag2"]},{"1396490021":["hashtag1","hashtag2"]},{"1396490009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490017, 1396490025, 1396490004, 1396490013, 1396490021, 1396490009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92766046524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:11:02.736561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/30/image_27112025_19_31_05_9678.jpg', '/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_15_10588.jpg', '/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_25_9644.jpg', '/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_45_10620.jpg', '/home/pi/Desktop/images/27112025/19/31/image_27112025_19_32_05_9849.jpg', '/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_16_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/30/image_27112025_19_31_05_9678.jpg
/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_15_10588.jpg
/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_25_9644.jpg
/home/pi/Desktop/images/27112025/19/31/image_27112025_19_31_45_10620.jpg
/home/pi/Desktop/images/27112025/19/31/image_27112025_19_32_05_9849.jpg
/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_16_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490385","1396490367","1396490357","1396490395","1396490398","1396490401"],"photo_ids_order":["1396490357","1396490367","1396490385","1396490395","1396490398","1396490401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7c6390fec2c4dc554c5fd1f1bae81259.jpg","text":"TemporaryFile(/tmp/multipartBody8143610878943699371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_31_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a6894281deef2bb00c69c74fe21d1ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6579305883379693734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_31_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08f18a85398d3e896bf5f6ec4b10665b.jpg","text":"TemporaryFile(/tmp/multipartBody6416251979728214579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_31_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a2a3bda3847be14ea5ed9c11c2975546.jpg","text":"TemporaryFile(/tmp/multipartBody272868806423116603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_31_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/000c20dad9abc09814dcb05832be8125.jpg","text":"TemporaryFile(/tmp/multipartBody7990906736265504016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_32_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/06f864894d3c58d057d895e087540c98.jpg","text":"TemporaryFile(/tmp/multipartBody639997028208627497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281523669,"filename":"image_27112025_19_32_16_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490385","file1":"1396490367","file0":"1396490357","file4":"1396490398","file5":"1396490401","file3":"1396490395"},"map_files_photo_id_array":[{"photo_id":"1396490401","filename":"file5"},{"photo_id":"1396490385","filename":"file2"},{"photo_id":"1396490398","filename":"file4"},{"photo_id":"1396490367","filename":"file1"},{"photo_id":"1396490357","filename":"file0"},{"photo_id":"1396490395","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490385":["hashtag1","hashtag2"]},{"1396490367":["hashtag1","hashtag2"]},{"1396490357":["hashtag1","hashtag2"]},{"1396490395":["hashtag1","hashtag2"]},{"1396490398":["hashtag1","hashtag2"]},{"1396490401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490385, 1396490367, 1396490357, 1396490395, 1396490398, 1396490401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.073750019073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:12:02.553202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_35_9672.jpg', '/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_45_10564.jpg', '/home/pi/Desktop/images/27112025/19/32/image_27112025_19_33_05_9693.jpg', '/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_15_10610.jpg', '/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_25_9694.jpg', '/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_35_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_35_9672.jpg
/home/pi/Desktop/images/27112025/19/32/image_27112025_19_32_45_10564.jpg
/home/pi/Desktop/images/27112025/19/32/image_27112025_19_33_05_9693.jpg
/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_15_10610.jpg
/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_25_9694.jpg
/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_35_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490462","1396490459","1396490476","1396490470","1396490473","1396490446"],"photo_ids_order":["1396490446","1396490459","1396490462","1396490470","1396490473","1396490476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/550ec11096677cf837ce95af8897be10.jpg","text":"TemporaryFile(/tmp/multipartBody295367472402840964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_33_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4effb4837461adeacd9d5ce68d3af671.jpg","text":"TemporaryFile(/tmp/multipartBody4718530207870390131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_32_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5fb6d9e65bfb8c12546ef524927ef398.jpg","text":"TemporaryFile(/tmp/multipartBody330132938724568587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_33_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/720b3e4f1a83c8bc255c7c113f2818c2.jpg","text":"TemporaryFile(/tmp/multipartBody6719579510259362094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_33_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6673533a6173ba5b8df32a4b65abe7b9.jpg","text":"TemporaryFile(/tmp/multipartBody7556306484109618375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_33_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e6a92c45e13ee2c26db1d1f4f694f28e.jpg","text":"TemporaryFile(/tmp/multipartBody8573538730187131327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281583583,"filename":"image_27112025_19_32_35_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490462","file1":"1396490459","file0":"1396490446","file4":"1396490473","file5":"1396490476","file3":"1396490470"},"map_files_photo_id_array":[{"photo_id":"1396490476","filename":"file5"},{"photo_id":"1396490462","filename":"file2"},{"photo_id":"1396490473","filename":"file4"},{"photo_id":"1396490459","filename":"file1"},{"photo_id":"1396490446","filename":"file0"},{"photo_id":"1396490470","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490462":["hashtag1","hashtag2"]},{"1396490459":["hashtag1","hashtag2"]},{"1396490476":["hashtag1","hashtag2"]},{"1396490470":["hashtag1","hashtag2"]},{"1396490473":["hashtag1","hashtag2"]},{"1396490446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490462, 1396490459, 1396490476, 1396490470, 1396490473, 1396490446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.03173351287842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:13:03.160832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_45_10610.jpg', '/home/pi/Desktop/images/27112025/19/33/image_27112025_19_34_05_9581.jpg', '/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_15_10595.jpg', '/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_25_9640.jpg', '/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_35_9617.jpg', '/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_45_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/33/image_27112025_19_33_45_10610.jpg
/home/pi/Desktop/images/27112025/19/33/image_27112025_19_34_05_9581.jpg
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_15_10595.jpg
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_25_9640.jpg
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_35_9617.jpg
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_45_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490505","1396490502","1396490494","1396490497","1396490491","1396490487"],"photo_ids_order":["1396490487","1396490491","1396490494","1396490497","1396490502","1396490505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a312bd633b0f2fe817fc03dc93e09fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8142538774170315509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_34_45_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2507ed6a56e12512e52364d252632837.jpg","text":"TemporaryFile(/tmp/multipartBody1766488902212776053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_34_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/321792831dfe3d8278a00d9fe1cc190c.jpg","text":"TemporaryFile(/tmp/multipartBody7203872122615468301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_34_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7ee657b021a607658f31811895bc3fa.jpg","text":"TemporaryFile(/tmp/multipartBody3567600305770764190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_34_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a146a4b4e6e3e136e3590f91acc6fde4.jpg","text":"TemporaryFile(/tmp/multipartBody8220720309632333822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_34_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef57d3d4f2e6053f8d014b56d80d31a8.jpg","text":"TemporaryFile(/tmp/multipartBody2630333177107347839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281644258,"filename":"image_27112025_19_33_45_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490494","file1":"1396490491","file0":"1396490487","file4":"1396490502","file5":"1396490505","file3":"1396490497"},"map_files_photo_id_array":[{"photo_id":"1396490505","filename":"file5"},{"photo_id":"1396490494","filename":"file2"},{"photo_id":"1396490502","filename":"file4"},{"photo_id":"1396490491","filename":"file1"},{"photo_id":"1396490487","filename":"file0"},{"photo_id":"1396490497","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490505":["hashtag1","hashtag2"]},{"1396490502":["hashtag1","hashtag2"]},{"1396490494":["hashtag1","hashtag2"]},{"1396490497":["hashtag1","hashtag2"]},{"1396490491":["hashtag1","hashtag2"]},{"1396490487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490505, 1396490502, 1396490494, 1396490497, 1396490491, 1396490487)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.683719873428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:14:03.388238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_55_9707.jpg', '/home/pi/Desktop/images/27112025/19/34/image_27112025_19_35_05_9563.jpg', '/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_15_10717.jpg', '/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_25_9794.jpg', '/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_35_9691.jpg', '/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_55_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_34_55_9707.jpg
/home/pi/Desktop/images/27112025/19/34/image_27112025_19_35_05_9563.jpg
/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_15_10717.jpg
/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_25_9794.jpg
/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_35_9691.jpg
/home/pi/Desktop/images/27112025/19/35/image_27112025_19_35_55_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490532","1396490511","1396490528","1396490516","1396490525","1396490521"],"photo_ids_order":["1396490511","1396490516","1396490521","1396490525","1396490528","1396490532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e4343881522d31073a0b1965fdc8faa.jpg","text":"TemporaryFile(/tmp/multipartBody4889440017800722599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_35_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b4b023e7d6dce58a9ade27d6f8fdc43.jpg","text":"TemporaryFile(/tmp/multipartBody6946294817281420305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_34_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/706cbdd7fdfb897a26ba7dd68d98aae2.jpg","text":"TemporaryFile(/tmp/multipartBody3900730158434824987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_35_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f36b17d1ad0c7b041292d607a705f069.jpg","text":"TemporaryFile(/tmp/multipartBody1336173095934381198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_35_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/011f4bfa8c47ad089422bc3dd98ed38f.jpg","text":"TemporaryFile(/tmp/multipartBody1540922974468503065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_35_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8a5156c87f973537587c00ecde1cc32c.jpg","text":"TemporaryFile(/tmp/multipartBody6027261392905995691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281704388,"filename":"image_27112025_19_35_15_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490521","file1":"1396490516","file0":"1396490511","file4":"1396490528","file5":"1396490532","file3":"1396490525"},"map_files_photo_id_array":[{"photo_id":"1396490532","filename":"file5"},{"photo_id":"1396490521","filename":"file2"},{"photo_id":"1396490528","filename":"file4"},{"photo_id":"1396490516","filename":"file1"},{"photo_id":"1396490511","filename":"file0"},{"photo_id":"1396490525","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490532":["hashtag1","hashtag2"]},{"1396490511":["hashtag1","hashtag2"]},{"1396490528":["hashtag1","hashtag2"]},{"1396490516":["hashtag1","hashtag2"]},{"1396490525":["hashtag1","hashtag2"]},{"1396490521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490532, 1396490511, 1396490528, 1396490516, 1396490525, 1396490521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.928863763809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:15:02.565734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/35/image_27112025_19_36_05_9577.jpg', '/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_15_10713.jpg', '/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_45_10628.jpg', '/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_55_9755.jpg', '/home/pi/Desktop/images/27112025/19/36/image_27112025_19_37_05_9877.jpg', '/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_15_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/35/image_27112025_19_36_05_9577.jpg
/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_15_10713.jpg
/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_45_10628.jpg
/home/pi/Desktop/images/27112025/19/36/image_27112025_19_36_55_9755.jpg
/home/pi/Desktop/images/27112025/19/36/image_27112025_19_37_05_9877.jpg
/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_15_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490577","1396490573","1396490581","1396490590","1396490584","1396490587"],"photo_ids_order":["1396490573","1396490577","1396490581","1396490584","1396490587","1396490590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f41462f2abecd426665de60fce85373c.jpg","text":"TemporaryFile(/tmp/multipartBody3302103476321244503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_36_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be0084fa2597e8ea9ddfb7969ecad176.jpg","text":"TemporaryFile(/tmp/multipartBody6745664005337556657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_36_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/855caa003b82bcf5179f412fc71f5119.jpg","text":"TemporaryFile(/tmp/multipartBody6700817317471935376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_36_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e809822e00a84f683bac5d74ea389b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1531777487042632255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_37_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05b5d174a5063282dc16c48892562d04.jpg","text":"TemporaryFile(/tmp/multipartBody5765140008972341179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_36_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10b00375c8012739fffff827b7cc4484.jpg","text":"TemporaryFile(/tmp/multipartBody704653560326637442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281763706,"filename":"image_27112025_19_37_05_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490581","file1":"1396490577","file0":"1396490573","file4":"1396490587","file5":"1396490590","file3":"1396490584"},"map_files_photo_id_array":[{"photo_id":"1396490590","filename":"file5"},{"photo_id":"1396490581","filename":"file2"},{"photo_id":"1396490587","filename":"file4"},{"photo_id":"1396490577","filename":"file1"},{"photo_id":"1396490573","filename":"file0"},{"photo_id":"1396490584","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490577":["hashtag1","hashtag2"]},{"1396490573":["hashtag1","hashtag2"]},{"1396490581":["hashtag1","hashtag2"]},{"1396490590":["hashtag1","hashtag2"]},{"1396490584":["hashtag1","hashtag2"]},{"1396490587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490577, 1396490573, 1396490581, 1396490590, 1396490584, 1396490587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74863314628601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:16:04.603928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_25_10721.jpg', '/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_55_9720.jpg', '/home/pi/Desktop/images/27112025/19/37/image_27112025_19_38_05_10641.jpg', '/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_15_9817.jpg', '/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_35_10672.jpg', '/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_45_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_25_10721.jpg
/home/pi/Desktop/images/27112025/19/37/image_27112025_19_37_55_9720.jpg
/home/pi/Desktop/images/27112025/19/37/image_27112025_19_38_05_10641.jpg
/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_15_9817.jpg
/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_35_10672.jpg
/home/pi/Desktop/images/27112025/19/38/image_27112025_19_38_45_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396490964","1396490789","1396490996","1396490897","1396490930","1396490848"],"photo_ids_order":["1396490789","1396490848","1396490897","1396490930","1396490964","1396490996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/da7b5a302be77f8956d19c8cc6fd7cce.jpg","text":"TemporaryFile(/tmp/multipartBody7528106082293710765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_38_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1e604ca15c519c7fb41ad10450da195e.jpg","text":"TemporaryFile(/tmp/multipartBody576653482563923865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_37_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4ba5af332bf9a5990b8b6d0597d3b9cb.jpg","text":"TemporaryFile(/tmp/multipartBody3320624004208244940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_38_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ac717dee897714c4a5fe58e78367aff2.jpg","text":"TemporaryFile(/tmp/multipartBody5353899306718873945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_38_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd82355222e1cc94b1ca70f2727e45a4.jpg","text":"TemporaryFile(/tmp/multipartBody7097683403784843114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_38_15_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/129ad517f2de8d3f2859a14ee8105742.jpg","text":"TemporaryFile(/tmp/multipartBody7562316704927655851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281825508,"filename":"image_27112025_19_37_55_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396490897","file1":"1396490848","file0":"1396490789","file4":"1396490964","file5":"1396490996","file3":"1396490930"},"map_files_photo_id_array":[{"photo_id":"1396490996","filename":"file5"},{"photo_id":"1396490897","filename":"file2"},{"photo_id":"1396490964","filename":"file4"},{"photo_id":"1396490848","filename":"file1"},{"photo_id":"1396490789","filename":"file0"},{"photo_id":"1396490930","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396490964":["hashtag1","hashtag2"]},{"1396490789":["hashtag1","hashtag2"]},{"1396490996":["hashtag1","hashtag2"]},{"1396490897":["hashtag1","hashtag2"]},{"1396490930":["hashtag1","hashtag2"]},{"1396490848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396490964, 1396490789, 1396490996, 1396490897, 1396490930, 1396490848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27652454376221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:17:03.186899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/39/image_27112025_19_39_55_9684.jpg', '/home/pi/Desktop/images/27112025/19/39/image_27112025_19_40_05_10641.jpg', '/home/pi/Desktop/images/27112025/19/40/image_27112025_19_40_45_9656.jpg', '/home/pi/Desktop/images/27112025/19/40/image_27112025_19_41_05_10668.jpg', '/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_15_9703.jpg', '/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_25_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/39/image_27112025_19_39_55_9684.jpg
/home/pi/Desktop/images/27112025/19/39/image_27112025_19_40_05_10641.jpg
/home/pi/Desktop/images/27112025/19/40/image_27112025_19_40_45_9656.jpg
/home/pi/Desktop/images/27112025/19/40/image_27112025_19_41_05_10668.jpg
/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_15_9703.jpg
/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_25_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396491389","1396491496","1396491259","1396491430","1396491328","1396491465"],"photo_ids_order":["1396491259","1396491328","1396491389","1396491430","1396491465","1396491496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b47fa5ea536d36e244afc9d979d7e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8904428961693785918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_40_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2bfd51d9b585c964b7c123c7c22fda8b.jpg","text":"TemporaryFile(/tmp/multipartBody126186553887970474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_41_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49f8ca0de994752b72578ae1959de0a5.jpg","text":"TemporaryFile(/tmp/multipartBody1173129844429042213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_39_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/716ec69c91095f67b8899d72fd9a12c3.jpg","text":"TemporaryFile(/tmp/multipartBody3939240132420975738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_41_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8baefa844f6d7a4b134205f02c3f4916.jpg","text":"TemporaryFile(/tmp/multipartBody3238000281334953240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_40_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/30aa8c4e3761c6ae3632aae49a3340f8.jpg","text":"TemporaryFile(/tmp/multipartBody4349182559058894934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281884282,"filename":"image_27112025_19_41_15_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396491389","file1":"1396491328","file0":"1396491259","file4":"1396491465","file5":"1396491496","file3":"1396491430"},"map_files_photo_id_array":[{"photo_id":"1396491496","filename":"file5"},{"photo_id":"1396491389","filename":"file2"},{"photo_id":"1396491465","filename":"file4"},{"photo_id":"1396491328","filename":"file1"},{"photo_id":"1396491259","filename":"file0"},{"photo_id":"1396491430","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396491389":["hashtag1","hashtag2"]},{"1396491496":["hashtag1","hashtag2"]},{"1396491259":["hashtag1","hashtag2"]},{"1396491430":["hashtag1","hashtag2"]},{"1396491328":["hashtag1","hashtag2"]},{"1396491465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396491389, 1396491496, 1396491259, 1396491430, 1396491328, 1396491465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50170016288757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:18:02.933863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_45_9772.jpg', '/home/pi/Desktop/images/27112025/19/41/image_27112025_19_42_05_10685.jpg', '/home/pi/Desktop/images/27112025/19/42/image_27112025_19_42_15_9869.jpg', '/home/pi/Desktop/images/27112025/19/43/image_27112025_19_43_36_10505.jpg', '/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_35_9798.jpg', '/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/41/image_27112025_19_41_45_9772.jpg
/home/pi/Desktop/images/27112025/19/41/image_27112025_19_42_05_10685.jpg
/home/pi/Desktop/images/27112025/19/42/image_27112025_19_42_15_9869.jpg
/home/pi/Desktop/images/27112025/19/43/image_27112025_19_43_36_10505.jpg
/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_35_9798.jpg
/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_45_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396491813","1396491642","1396491711","1396491674","1396491758","1396491613"],"photo_ids_order":["1396491613","1396491642","1396491674","1396491711","1396491758","1396491813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e84118b0225f5583bcdf9100c78703b.jpg","text":"TemporaryFile(/tmp/multipartBody182429899633950011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_44_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b37cd2136933332382a3244ed21c8b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1123065995598899588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_42_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2fd44f424648a766cd1e7a7ffea1ad40.jpg","text":"TemporaryFile(/tmp/multipartBody7890910060914313500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_43_36_10505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ebaf9e700847624193171164a6175b90.jpg","text":"TemporaryFile(/tmp/multipartBody6316155595413202089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_42_15_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/004937905eb2b4d491b8bc1765eb4b0f.jpg","text":"TemporaryFile(/tmp/multipartBody281751526557184763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_44_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/036431fc1f5feb134f6e2f39785cb538.jpg","text":"TemporaryFile(/tmp/multipartBody1935511806316675019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764281943957,"filename":"image_27112025_19_41_45_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396491674","file1":"1396491642","file0":"1396491613","file4":"1396491758","file5":"1396491813","file3":"1396491711"},"map_files_photo_id_array":[{"photo_id":"1396491813","filename":"file5"},{"photo_id":"1396491674","filename":"file2"},{"photo_id":"1396491758","filename":"file4"},{"photo_id":"1396491642","filename":"file1"},{"photo_id":"1396491613","filename":"file0"},{"photo_id":"1396491711","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396491813":["hashtag1","hashtag2"]},{"1396491642":["hashtag1","hashtag2"]},{"1396491711":["hashtag1","hashtag2"]},{"1396491674":["hashtag1","hashtag2"]},{"1396491758":["hashtag1","hashtag2"]},{"1396491613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396491813, 1396491642, 1396491711, 1396491674, 1396491758, 1396491613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.409990549087524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:19:03.671986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_55_9587.jpg', '/home/pi/Desktop/images/27112025/19/46/image_27112025_19_46_46_10967.jpg', '/home/pi/Desktop/images/27112025/19/46/image_27112025_19_46_55_9629.jpg', '/home/pi/Desktop/images/27112025/19/47/image_27112025_19_47_15_10665.jpg', '/home/pi/Desktop/images/27112025/19/47/image_27112025_19_47_35_10647.jpg', '/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_25_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/44/image_27112025_19_44_55_9587.jpg
/home/pi/Desktop/images/27112025/19/46/image_27112025_19_46_46_10967.jpg
/home/pi/Desktop/images/27112025/19/46/image_27112025_19_46_55_9629.jpg
/home/pi/Desktop/images/27112025/19/47/image_27112025_19_47_15_10665.jpg
/home/pi/Desktop/images/27112025/19/47/image_27112025_19_47_35_10647.jpg
/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_25_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396492186","1396492299","1396492371","1396492434","1396492329","1396492245"],"photo_ids_order":["1396492186","1396492245","1396492299","1396492329","1396492371","1396492434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6baab32bdb79d980bbb0dc384680ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody2849675944624008792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_44_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fee4cc05e041f7c069d0e561b38afa69.jpg","text":"TemporaryFile(/tmp/multipartBody1944004590344199423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_46_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/51ea04040f833eb8fdd2647ede86c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8081922204190097140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_47_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e0a8b70529c3287fbfe0bb55c8a30dd.jpg","text":"TemporaryFile(/tmp/multipartBody1880318098630746977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_48_25_10427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c87401ccd04c869d83be931ac5d51a8.jpg","text":"TemporaryFile(/tmp/multipartBody5431090054053032791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_47_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/616445835a8d16f0d8399386690ee9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7279931948179383383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282004912,"filename":"image_27112025_19_46_46_10967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396492299","file1":"1396492245","file0":"1396492186","file4":"1396492371","file5":"1396492434","file3":"1396492329"},"map_files_photo_id_array":[{"photo_id":"1396492434","filename":"file5"},{"photo_id":"1396492299","filename":"file2"},{"photo_id":"1396492371","filename":"file4"},{"photo_id":"1396492245","filename":"file1"},{"photo_id":"1396492186","filename":"file0"},{"photo_id":"1396492329","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396492186":["hashtag1","hashtag2"]},{"1396492299":["hashtag1","hashtag2"]},{"1396492371":["hashtag1","hashtag2"]},{"1396492434":["hashtag1","hashtag2"]},{"1396492329":["hashtag1","hashtag2"]},{"1396492245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396492186, 1396492299, 1396492371, 1396492434, 1396492329, 1396492245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0200560092926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:20:02.439479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_35_9797.jpg', '/home/pi/Desktop/images/27112025/19/48/image_27112025_19_49_05_10579.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_45_9518.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_55_10650.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_50_05_9644.jpg', '/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_15_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_35_9797.jpg
/home/pi/Desktop/images/27112025/19/48/image_27112025_19_49_05_10579.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_45_9518.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_55_10650.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_50_05_9644.jpg
/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_15_9752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6501891613006592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:20:11.995695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_38_4135.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_43_3510.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_46_2770.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_49_2651.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_53_3922.jpg', '/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_55_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_38_4135.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_43_3510.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_46_2770.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_49_2651.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_53_3922.jpg
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_55_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396492772","1396492739","1396492789","1396492678","1396492707","1396492790"],"photo_ids_order":["1396492678","1396492707","1396492739","1396492772","1396492789","1396492790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/50761dd48aab12e2d4f257f02a1157e2.jpg","text":"TemporaryFile(/tmp/multipartBody1335169950301465905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_49_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/27/d4035e3dcc9ab9d3cd3286fc8437e28c.jpg","text":"TemporaryFile(/tmp/multipartBody5992759825810181994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_46_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/27/153af77312edc454b1e25afcf67551a8.jpg","text":"TemporaryFile(/tmp/multipartBody8116431387717440400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_53_3922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/612be2e1b9ec14663b36a211a71beb21.jpg","text":"TemporaryFile(/tmp/multipartBody500656439819370066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_38_4135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/448ebd0f4d0e4e58f90f77bd9cfc69c0.jpg","text":"TemporaryFile(/tmp/multipartBody8935596627189219315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_43_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/61ae6ab164e33be4d4bfc4210ea7fe4b.jpg","text":"TemporaryFile(/tmp/multipartBody316383201469869349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282074011,"filename":"image_21112025_21_48_55_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396492739","file1":"1396492707","file0":"1396492678","file4":"1396492789","file5":"1396492790","file3":"1396492772"},"map_files_photo_id_array":[{"photo_id":"1396492790","filename":"file5"},{"photo_id":"1396492739","filename":"file2"},{"photo_id":"1396492789","filename":"file4"},{"photo_id":"1396492707","filename":"file1"},{"photo_id":"1396492678","filename":"file0"},{"photo_id":"1396492772","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396492772":["hashtag1","hashtag2"]},{"1396492739":["hashtag1","hashtag2"]},{"1396492789":["hashtag1","hashtag2"]},{"1396492678":["hashtag1","hashtag2"]},{"1396492707":["hashtag1","hashtag2"]},{"1396492790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396492772, 1396492739, 1396492789, 1396492678, 1396492707, 1396492790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.313302993774414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:21:02.780687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_35_9797.jpg', '/home/pi/Desktop/images/27112025/19/48/image_27112025_19_49_05_10579.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_45_9518.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_55_10650.jpg', '/home/pi/Desktop/images/27112025/19/49/image_27112025_19_50_05_9644.jpg', '/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_15_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/48/image_27112025_19_48_35_9797.jpg
/home/pi/Desktop/images/27112025/19/48/image_27112025_19_49_05_10579.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_45_9518.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_49_55_10650.jpg
/home/pi/Desktop/images/27112025/19/49/image_27112025_19_50_05_9644.jpg
/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_15_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396492859","1396492844","1396492841","1396492885","1396492831","1396492917"],"photo_ids_order":["1396492831","1396492841","1396492844","1396492859","1396492885","1396492917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79cca747dddf028b229f74b102dd7469.jpg","text":"TemporaryFile(/tmp/multipartBody533324562432941779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_49_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/855ff8c72ce252296783876ae4f414f0.jpg","text":"TemporaryFile(/tmp/multipartBody8593359331720214427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_49_45_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/08cece1acee590cdbb9ae538bc2c66be.jpg","text":"TemporaryFile(/tmp/multipartBody2399132454056436336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_49_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6789981617b699a86b559f42278b3d73.jpg","text":"TemporaryFile(/tmp/multipartBody2196387060942767401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_50_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b7fe2d6ede0ff6db79238d9bd4597d8.jpg","text":"TemporaryFile(/tmp/multipartBody5359289678943875008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_48_35_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f895d460ab8b595303c8a8dafff59653.jpg","text":"TemporaryFile(/tmp/multipartBody1191203072699932862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282123919,"filename":"image_27112025_19_50_15_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396492844","file1":"1396492841","file0":"1396492831","file4":"1396492885","file5":"1396492917","file3":"1396492859"},"map_files_photo_id_array":[{"photo_id":"1396492917","filename":"file5"},{"photo_id":"1396492844","filename":"file2"},{"photo_id":"1396492885","filename":"file4"},{"photo_id":"1396492841","filename":"file1"},{"photo_id":"1396492831","filename":"file0"},{"photo_id":"1396492859","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396492859":["hashtag1","hashtag2"]},{"1396492844":["hashtag1","hashtag2"]},{"1396492841":["hashtag1","hashtag2"]},{"1396492885":["hashtag1","hashtag2"]},{"1396492831":["hashtag1","hashtag2"]},{"1396492917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396492859, 1396492844, 1396492841, 1396492885, 1396492831, 1396492917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5015664100647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:22:02.893506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_35_10704.jpg', '/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_45_9644.jpg', '/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_25_9578.jpg', '/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_35_10617.jpg', '/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_45_9679.jpg', '/home/pi/Desktop/images/27112025/19/51/image_27112025_19_52_05_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_35_10704.jpg
/home/pi/Desktop/images/27112025/19/50/image_27112025_19_50_45_9644.jpg
/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_25_9578.jpg
/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_35_10617.jpg
/home/pi/Desktop/images/27112025/19/51/image_27112025_19_51_45_9679.jpg
/home/pi/Desktop/images/27112025/19/51/image_27112025_19_52_05_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493114","1396493152","1396493125","1396493181","1396493113","1396493177"],"photo_ids_order":["1396493113","1396493114","1396493125","1396493152","1396493177","1396493181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1bcd1bedb2fe34e023dedb981ce0870e.jpg","text":"TemporaryFile(/tmp/multipartBody6212256094747046308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_50_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97ea32ce56dc3f01aae36e23ecbca2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7334118507721177726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_51_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/49e1029d490a71a1df491d93a3ac68ef.jpg","text":"TemporaryFile(/tmp/multipartBody7519792858749591840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_51_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/705ca2f2ab8f11d9d84cb9ac1a96f177.jpg","text":"TemporaryFile(/tmp/multipartBody769222062570997295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_52_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/eb32e42931e91e60083229085c593960.jpg","text":"TemporaryFile(/tmp/multipartBody3912346658105478256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_50_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d953ad4a8088518633f2a74325e1d53a.jpg","text":"TemporaryFile(/tmp/multipartBody2338891540916300134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282183921,"filename":"image_27112025_19_51_45_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493125","file1":"1396493114","file0":"1396493113","file4":"1396493177","file5":"1396493181","file3":"1396493152"},"map_files_photo_id_array":[{"photo_id":"1396493181","filename":"file5"},{"photo_id":"1396493125","filename":"file2"},{"photo_id":"1396493177","filename":"file4"},{"photo_id":"1396493114","filename":"file1"},{"photo_id":"1396493113","filename":"file0"},{"photo_id":"1396493152","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396493114":["hashtag1","hashtag2"]},{"1396493152":["hashtag1","hashtag2"]},{"1396493125":["hashtag1","hashtag2"]},{"1396493181":["hashtag1","hashtag2"]},{"1396493113":["hashtag1","hashtag2"]},{"1396493177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396493114, 1396493152, 1396493125, 1396493181, 1396493113, 1396493177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.412521839141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 23:22:42.408645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_53_2674.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_02_2683.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_05_3013.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_08_3254.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_11_2627.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_17_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/28/image_31102025_03_28_53_2674.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_02_2683.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_05_3013.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_08_3254.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_11_2627.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_17_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493219","1396493228","1396493221","1396493224","1396493223","1396493222"],"photo_ids_order":["1396493219","1396493221","1396493222","1396493223","1396493224","1396493228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7814adf2a32c8458a19756a6d240ddc6.jpg","text":"TemporaryFile(/tmp/multipartBody8173393187111127233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_28_53_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/27/9e6fb3e4daabea586f84313c44ccb13c.jpg","text":"TemporaryFile(/tmp/multipartBody5719947981280156511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_29_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/27/cb2b02d06e734436a2ba672c39a032f4.jpg","text":"TemporaryFile(/tmp/multipartBody3584165487317627989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_29_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/27/5381e6192bb8edf919e86c345f99964a.jpg","text":"TemporaryFile(/tmp/multipartBody5959166228752211730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_29_11_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/27/b0a5c3b22726ee8ea4c1f3055ff304c4.jpg","text":"TemporaryFile(/tmp/multipartBody544810520347703911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_29_08_3254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b7fa95fdd899c10e2fe323f52ffbe6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8662332844819646867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282224199,"filename":"image_31102025_03_29_05_3013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493222","file1":"1396493221","file0":"1396493219","file4":"1396493224","file5":"1396493228","file3":"1396493223"},"map_files_photo_id_array":[{"photo_id":"1396493228","filename":"file5"},{"photo_id":"1396493222","filename":"file2"},{"photo_id":"1396493224","filename":"file4"},{"photo_id":"1396493221","filename":"file1"},{"photo_id":"1396493219","filename":"file0"},{"photo_id":"1396493223","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396493219":["hashtag1","hashtag2"]},{"1396493228":["hashtag1","hashtag2"]},{"1396493221":["hashtag1","hashtag2"]},{"1396493224":["hashtag1","hashtag2"]},{"1396493223":["hashtag1","hashtag2"]},{"1396493222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396493219, 1396493228, 1396493221, 1396493224, 1396493223, 1396493222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15889382362366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:23:32.578838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_58_2628.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_07_3011.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_11_3522.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_13_2593.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_17_3716.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_19_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/48/image_21112025_21_48_58_2628.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_07_3011.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_11_3522.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_13_2593.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_17_3716.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_19_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493251","1396493239","1396493256","1396493259","1396493238","1396493253"],"photo_ids_order":["1396493238","1396493239","1396493251","1396493253","1396493256","1396493259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f436917f75731056de03bbd962c3c56a.jpg","text":"TemporaryFile(/tmp/multipartBody1810735108413732781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_50_11_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/27/fa6243dac61b4133a94d924cea24c66d.jpg","text":"TemporaryFile(/tmp/multipartBody2367754617357441745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_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/27/67ed1c0bb8d612076fed671120f350cf.jpg","text":"TemporaryFile(/tmp/multipartBody7285718050210622653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_50_17_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/27/ea2157bab24c3013116af9b8849bd341.jpg","text":"TemporaryFile(/tmp/multipartBody3843998825826995028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_50_19_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/27/0ddf05aa60fb9f03bb6a19485128b415.jpg","text":"TemporaryFile(/tmp/multipartBody2546939697576382652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_48_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/27/ffe9e6b601dba09277cc60a33218e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody6951505720622669291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282274618,"filename":"image_21112025_21_50_13_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493251","file1":"1396493239","file0":"1396493238","file4":"1396493256","file5":"1396493259","file3":"1396493253"},"map_files_photo_id_array":[{"photo_id":"1396493259","filename":"file5"},{"photo_id":"1396493251","filename":"file2"},{"photo_id":"1396493256","filename":"file4"},{"photo_id":"1396493239","filename":"file1"},{"photo_id":"1396493238","filename":"file0"},{"photo_id":"1396493253","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396493251":["hashtag1","hashtag2"]},{"1396493239":["hashtag1","hashtag2"]},{"1396493256":["hashtag1","hashtag2"]},{"1396493259":["hashtag1","hashtag2"]},{"1396493238":["hashtag1","hashtag2"]},{"1396493253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396493251, 1396493239, 1396493256, 1396493259, 1396493238, 1396493253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.904149532318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:24:32.768895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_22_2700.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_26_3668.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_29_2773.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_33_4474.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_35_1622.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_37_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_22_2700.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_26_3668.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_29_2773.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_33_4474.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_35_1622.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_37_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493438","1396493317","1396493463","1396493412","1396493349","1396493381"],"photo_ids_order":["1396493317","1396493349","1396493381","1396493412","1396493438","1396493463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b3d26cc116ff6533b22c9c952444c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody5400391378295668849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_35_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/27/4286d98eca389a76473dda3b23346233.jpg","text":"TemporaryFile(/tmp/multipartBody7724283142892264935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_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/27/2ed4633bfcc291f8e494c595e35c08f4.jpg","text":"TemporaryFile(/tmp/multipartBody5831530601868867724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_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/27/f1d313cebb1bcc666eff5683d09fc596.jpg","text":"TemporaryFile(/tmp/multipartBody6994546829818344037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_33_4474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/48f4618ef38ceb0f35f3ae162a73121b.jpg","text":"TemporaryFile(/tmp/multipartBody6249152504085756105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_26_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/27/cdefbf5d42897da0b7adaa5a15962733.jpg","text":"TemporaryFile(/tmp/multipartBody6161573082188443267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282334814,"filename":"image_21112025_21_50_29_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493381","file1":"1396493349","file0":"1396493317","file4":"1396493438","file5":"1396493463","file3":"1396493412"},"map_files_photo_id_array":[{"photo_id":"1396493463","filename":"file5"},{"photo_id":"1396493381","filename":"file2"},{"photo_id":"1396493438","filename":"file4"},{"photo_id":"1396493349","filename":"file1"},{"photo_id":"1396493317","filename":"file0"},{"photo_id":"1396493412","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396493438":["hashtag1","hashtag2"]},{"1396493317":["hashtag1","hashtag2"]},{"1396493463":["hashtag1","hashtag2"]},{"1396493412":["hashtag1","hashtag2"]},{"1396493349":["hashtag1","hashtag2"]},{"1396493381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396493438, 1396493317, 1396493463, 1396493412, 1396493349, 1396493381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.504669189453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-27 23:25:22.116038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_15_9766.jpg', '/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_45_10799.jpg', '/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_55_9622.jpg', '/home/pi/Desktop/images/27112025/19/53/image_27112025_19_53_15_10663.jpg', '/home/pi/Desktop/images/27112025/19/53/image_27112025_19_53_25_9735.jpg', '/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_25_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_15_9766.jpg
/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_45_10799.jpg
/home/pi/Desktop/images/27112025/19/52/image_27112025_19_52_55_9622.jpg
/home/pi/Desktop/images/27112025/19/53/image_27112025_19_53_15_10663.jpg
/home/pi/Desktop/images/27112025/19/53/image_27112025_19_53_25_9735.jpg
/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_25_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493708","1396493734","1396493634","1396493604","1396493675","1396493768"],"photo_ids_order":["1396493604","1396493634","1396493675","1396493708","1396493734","1396493768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dab427a4592dc9d8dba0c2fd2064709a.jpg","text":"TemporaryFile(/tmp/multipartBody2363236971385209950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_53_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cda784fcfc29051044cb25242bd07e86.jpg","text":"TemporaryFile(/tmp/multipartBody7401300253093139452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_53_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ddfdf56be2391c1bf3edfc64d37ec4b.jpg","text":"TemporaryFile(/tmp/multipartBody7041784902167559881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_52_45_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/517c84884e92e91cb15de4f6d017b6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2753823324343104850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_52_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/db4161612a2ced4ee3790a7f658d3cde.jpg","text":"TemporaryFile(/tmp/multipartBody6599061774820548544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_52_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ee20940e6fd53da4e373e17256c5aedb.jpg","text":"TemporaryFile(/tmp/multipartBody1197151454908660983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282383044,"filename":"image_27112025_19_54_25_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493675","file1":"1396493634","file0":"1396493604","file4":"1396493734","file5":"1396493768","file3":"1396493708"},"map_files_photo_id_array":[{"photo_id":"1396493768","filename":"file5"},{"photo_id":"1396493675","filename":"file2"},{"photo_id":"1396493734","filename":"file4"},{"photo_id":"1396493634","filename":"file1"},{"photo_id":"1396493604","filename":"file0"},{"photo_id":"1396493708","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396493708":["hashtag1","hashtag2"]},{"1396493734":["hashtag1","hashtag2"]},{"1396493634":["hashtag1","hashtag2"]},{"1396493604":["hashtag1","hashtag2"]},{"1396493675":["hashtag1","hashtag2"]},{"1396493768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396493708, 1396493734, 1396493634, 1396493604, 1396493675, 1396493768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13852572441101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:26:02.685675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_35_9683.jpg', '/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_55_9732.jpg', '/home/pi/Desktop/images/27112025/19/54/image_27112025_19_55_05_10091.jpg', '/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_15_9537.jpg', '/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_25_10673.jpg', '/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_35_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_35_9683.jpg
/home/pi/Desktop/images/27112025/19/54/image_27112025_19_54_55_9732.jpg
/home/pi/Desktop/images/27112025/19/54/image_27112025_19_55_05_10091.jpg
/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_15_9537.jpg
/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_25_10673.jpg
/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_35_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396493950","1396493920","1396493863","1396493889","1396493982","1396494011"],"photo_ids_order":["1396493863","1396493889","1396493920","1396493950","1396493982","1396494011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40b50b6cb19f86cd0e68e4629dd16147.jpg","text":"TemporaryFile(/tmp/multipartBody5919206895398975911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_55_15_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/308cc9f8903345e1c7fa010459538c59.jpg","text":"TemporaryFile(/tmp/multipartBody5654414943149209072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_55_05_10091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e64304e30cc26a7fbe87840e862517f.jpg","text":"TemporaryFile(/tmp/multipartBody1427306295518029551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_54_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/72a090f6438e3b5f7409b2920070bec3.jpg","text":"TemporaryFile(/tmp/multipartBody4425669973939357433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_54_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3e47eb44112172e34360c66b27badc12.jpg","text":"TemporaryFile(/tmp/multipartBody3755484923785042309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_55_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d540d2f069b64e3a21200b45a5047f59.jpg","text":"TemporaryFile(/tmp/multipartBody1191928601527139118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282423722,"filename":"image_27112025_19_55_35_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396493920","file1":"1396493889","file0":"1396493863","file4":"1396493982","file5":"1396494011","file3":"1396493950"},"map_files_photo_id_array":[{"photo_id":"1396494011","filename":"file5"},{"photo_id":"1396493920","filename":"file2"},{"photo_id":"1396493982","filename":"file4"},{"photo_id":"1396493889","filename":"file1"},{"photo_id":"1396493863","filename":"file0"},{"photo_id":"1396493950","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396493950":["hashtag1","hashtag2"]},{"1396493920":["hashtag1","hashtag2"]},{"1396493863":["hashtag1","hashtag2"]},{"1396493889":["hashtag1","hashtag2"]},{"1396493982":["hashtag1","hashtag2"]},{"1396494011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396493950, 1396493920, 1396493863, 1396493889, 1396493982, 1396494011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63548398017883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:27:03.059411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_45_9840.jpg', '/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_55_9738.jpg', '/home/pi/Desktop/images/27112025/19/56/image_27112025_19_56_35_9864.jpg', '/home/pi/Desktop/images/27112025/19/56/image_27112025_19_56_55_9565.jpg', '/home/pi/Desktop/images/27112025/19/56/image_27112025_19_57_05_10669.jpg', '/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_15_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_45_9840.jpg
/home/pi/Desktop/images/27112025/19/55/image_27112025_19_55_55_9738.jpg
/home/pi/Desktop/images/27112025/19/56/image_27112025_19_56_35_9864.jpg
/home/pi/Desktop/images/27112025/19/56/image_27112025_19_56_55_9565.jpg
/home/pi/Desktop/images/27112025/19/56/image_27112025_19_57_05_10669.jpg
/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_15_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396494265","1396494325","1396494421","1396494453","1396494375","1396494206"],"photo_ids_order":["1396494206","1396494265","1396494325","1396494375","1396494421","1396494453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/964b36394a6fa1260d3dd09fabbb94d3.jpg","text":"TemporaryFile(/tmp/multipartBody3069440120214329447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_55_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3fc88b7fea81f84c43b07c1ccf55e82d.jpg","text":"TemporaryFile(/tmp/multipartBody5912471818134463883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_56_35_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4451d576c645e43af6fa0a94993a1887.jpg","text":"TemporaryFile(/tmp/multipartBody6422796322777540982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_57_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0526a16371c30f5c1db8e3b30a325c9.jpg","text":"TemporaryFile(/tmp/multipartBody833812488595652098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_57_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ba71c6d835f6e816e2c5b143b1ef4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5021010845582153829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_56_55_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b0bb841ab7dbf799aa5d6296057e30ae.jpg","text":"TemporaryFile(/tmp/multipartBody630816881241836238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282484018,"filename":"image_27112025_19_55_45_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396494325","file1":"1396494265","file0":"1396494206","file4":"1396494421","file5":"1396494453","file3":"1396494375"},"map_files_photo_id_array":[{"photo_id":"1396494453","filename":"file5"},{"photo_id":"1396494325","filename":"file2"},{"photo_id":"1396494421","filename":"file4"},{"photo_id":"1396494265","filename":"file1"},{"photo_id":"1396494206","filename":"file0"},{"photo_id":"1396494375","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396494265":["hashtag1","hashtag2"]},{"1396494325":["hashtag1","hashtag2"]},{"1396494421":["hashtag1","hashtag2"]},{"1396494453":["hashtag1","hashtag2"]},{"1396494375":["hashtag1","hashtag2"]},{"1396494206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396494265, 1396494325, 1396494421, 1396494453, 1396494375, 1396494206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.665114402770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:28:03.050109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_25_9725.jpg', '/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_55_9613.jpg', '/home/pi/Desktop/images/27112025/19/57/image_27112025_19_58_05_9811.jpg', '/home/pi/Desktop/images/27112025/19/58/image_27112025_19_58_45_10581.jpg', '/home/pi/Desktop/images/27112025/20/00/image_27112025_20_00_26_10745.jpg', '/home/pi/Desktop/images/27112025/20/00/image_27112025_20_00_35_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_25_9725.jpg
/home/pi/Desktop/images/27112025/19/57/image_27112025_19_57_55_9613.jpg
/home/pi/Desktop/images/27112025/19/57/image_27112025_19_58_05_9811.jpg
/home/pi/Desktop/images/27112025/19/58/image_27112025_19_58_45_10581.jpg
/home/pi/Desktop/images/27112025/20/00/image_27112025_20_00_26_10745.jpg
/home/pi/Desktop/images/27112025/20/00/image_27112025_20_00_35_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396494891","1396494838","1396494873","1396494767","1396494889","1396494806"],"photo_ids_order":["1396494767","1396494806","1396494838","1396494873","1396494889","1396494891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bff72173e35e35f5a4b5bbf32c80cf57.jpg","text":"TemporaryFile(/tmp/multipartBody3219353301168179060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_20_00_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ad7a53d3272fbfb92a4282c7db375995.jpg","text":"TemporaryFile(/tmp/multipartBody849954108826687540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_19_58_05_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98aa573381df08f6f7c247742d94ffe2.jpg","text":"TemporaryFile(/tmp/multipartBody8174158338057613517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_19_58_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a8256af4510250a63806767104b5e88.jpg","text":"TemporaryFile(/tmp/multipartBody7665769470437063277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_19_57_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/219ef77b635f0655357eff03ef9388c1.jpg","text":"TemporaryFile(/tmp/multipartBody4629232465646676794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_20_00_26_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/230d649901170fe684ff98e96377cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5013515724280418468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282543954,"filename":"image_27112025_19_57_55_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396494838","file1":"1396494806","file0":"1396494767","file4":"1396494889","file5":"1396494891","file3":"1396494873"},"map_files_photo_id_array":[{"photo_id":"1396494891","filename":"file5"},{"photo_id":"1396494838","filename":"file2"},{"photo_id":"1396494889","filename":"file4"},{"photo_id":"1396494806","filename":"file1"},{"photo_id":"1396494767","filename":"file0"},{"photo_id":"1396494873","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396494891":["hashtag1","hashtag2"]},{"1396494838":["hashtag1","hashtag2"]},{"1396494873":["hashtag1","hashtag2"]},{"1396494767":["hashtag1","hashtag2"]},{"1396494889":["hashtag1","hashtag2"]},{"1396494806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396494891, 1396494838, 1396494873, 1396494767, 1396494889, 1396494806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.405457735061646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:29:03.902760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/02/image_27112025_20_02_55_10662.jpg', '/home/pi/Desktop/images/27112025/20/03/image_27112025_20_03_15_9763.jpg', '/home/pi/Desktop/images/27112025/20/03/image_27112025_20_03_56_10783.jpg', '/home/pi/Desktop/images/27112025/20/03/image_27112025_20_04_05_9934.jpg', '/home/pi/Desktop/images/27112025/20/04/image_27112025_20_04_45_9664.jpg', '/home/pi/Desktop/images/27112025/20/04/image_27112025_20_04_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/02/image_27112025_20_02_55_10662.jpg
/home/pi/Desktop/images/27112025/20/03/image_27112025_20_03_15_9763.jpg
/home/pi/Desktop/images/27112025/20/03/image_27112025_20_03_56_10783.jpg
/home/pi/Desktop/images/27112025/20/03/image_27112025_20_04_05_9934.jpg
/home/pi/Desktop/images/27112025/20/04/image_27112025_20_04_45_9664.jpg
/home/pi/Desktop/images/27112025/20/04/image_27112025_20_04_55_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396494987","1396495044","1396495014","1396495087","1396495069","1396495078"],"photo_ids_order":["1396494987","1396495014","1396495044","1396495069","1396495078","1396495087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d4bdc8a0cb8ed2e009a3e44ed894d6f.jpg","text":"TemporaryFile(/tmp/multipartBody9086987618825461610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_02_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bc26e25334d3b590660438d53ceb7091.jpg","text":"TemporaryFile(/tmp/multipartBody5285915312629646518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_03_56_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/de6cef60179a6c6f290b7b0ddde7d292.jpg","text":"TemporaryFile(/tmp/multipartBody76120533776171101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_03_15_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9ed26a0950edb5b00f661ed0a947e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1393959349360610165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_04_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f4f8ebb6d1818dfc77bf4c9f15ff20f.jpg","text":"TemporaryFile(/tmp/multipartBody2714877942428629065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_04_05_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2e1dff874dd84365a0b3afd44dce5967.jpg","text":"TemporaryFile(/tmp/multipartBody94476032220374700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282605010,"filename":"image_27112025_20_04_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495044","file1":"1396495014","file0":"1396494987","file4":"1396495078","file5":"1396495087","file3":"1396495069"},"map_files_photo_id_array":[{"photo_id":"1396495087","filename":"file5"},{"photo_id":"1396495044","filename":"file2"},{"photo_id":"1396495078","filename":"file4"},{"photo_id":"1396495014","filename":"file1"},{"photo_id":"1396494987","filename":"file0"},{"photo_id":"1396495069","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396494987":["hashtag1","hashtag2"]},{"1396495044":["hashtag1","hashtag2"]},{"1396495014":["hashtag1","hashtag2"]},{"1396495087":["hashtag1","hashtag2"]},{"1396495069":["hashtag1","hashtag2"]},{"1396495078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396494987, 1396495044, 1396495014, 1396495087, 1396495069, 1396495078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08076524734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:30:03.043340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/04/image_27112025_20_05_06_10599.jpg', '/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_25_9591.jpg', '/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_36_10763.jpg', '/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_45_9565.jpg', '/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_55_9716.jpg', '/home/pi/Desktop/images/27112025/20/06/image_27112025_20_06_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/04/image_27112025_20_05_06_10599.jpg
/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_25_9591.jpg
/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_36_10763.jpg
/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_45_9565.jpg
/home/pi/Desktop/images/27112025/20/05/image_27112025_20_05_55_9716.jpg
/home/pi/Desktop/images/27112025/20/06/image_27112025_20_06_15_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495219","1396495213","1396495216","1396495221","1396495209","1396495205"],"photo_ids_order":["1396495205","1396495209","1396495213","1396495216","1396495219","1396495221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/487afb39f015ab06ae1ca01885b6ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody6099689713802842923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_05_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ef0d2da946c14f28a971a8fc06ee3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody9083086931939695258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_05_36_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c663b32ddd52fc6c2cc121cf3cab46f5.jpg","text":"TemporaryFile(/tmp/multipartBody8558212482898702765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_05_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2d5031a9c29a4af76ce2327c6cc11184.jpg","text":"TemporaryFile(/tmp/multipartBody802005223133422558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_06_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/af3682cd181da0d1facd26214b5c6249.jpg","text":"TemporaryFile(/tmp/multipartBody8508873359194925310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_05_25_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6fef5e67f09c989f9efc335595ac5428.jpg","text":"TemporaryFile(/tmp/multipartBody6126671395802228701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282667645,"filename":"image_27112025_20_05_06_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495213","file1":"1396495209","file0":"1396495205","file4":"1396495219","file5":"1396495221","file3":"1396495216"},"map_files_photo_id_array":[{"photo_id":"1396495221","filename":"file5"},{"photo_id":"1396495213","filename":"file2"},{"photo_id":"1396495219","filename":"file4"},{"photo_id":"1396495209","filename":"file1"},{"photo_id":"1396495205","filename":"file0"},{"photo_id":"1396495216","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495219":["hashtag1","hashtag2"]},{"1396495213":["hashtag1","hashtag2"]},{"1396495216":["hashtag1","hashtag2"]},{"1396495221":["hashtag1","hashtag2"]},{"1396495209":["hashtag1","hashtag2"]},{"1396495205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495219, 1396495213, 1396495216, 1396495221, 1396495209, 1396495205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.518760442733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:31:03.506840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/06/image_27112025_20_06_55_9658.jpg', '/home/pi/Desktop/images/27112025/20/07/image_27112025_20_07_45_9656.jpg', '/home/pi/Desktop/images/27112025/20/07/image_27112025_20_07_55_9769.jpg', '/home/pi/Desktop/images/27112025/20/07/image_27112025_20_08_06_10850.jpg', '/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_15_9531.jpg', '/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_25_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/06/image_27112025_20_06_55_9658.jpg
/home/pi/Desktop/images/27112025/20/07/image_27112025_20_07_45_9656.jpg
/home/pi/Desktop/images/27112025/20/07/image_27112025_20_07_55_9769.jpg
/home/pi/Desktop/images/27112025/20/07/image_27112025_20_08_06_10850.jpg
/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_15_9531.jpg
/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_25_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495228","1396495257","1396495242","1396495259","1396495253","1396495255"],"photo_ids_order":["1396495228","1396495242","1396495253","1396495255","1396495257","1396495259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/85c46b72f3f70616260bae92d474fab0.jpg","text":"TemporaryFile(/tmp/multipartBody3368932203507656027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_06_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd700caeaeb8a66d99d784ee6690dd3b.jpg","text":"TemporaryFile(/tmp/multipartBody6380321862765093790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_08_15_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/77995012b4d09883e9bbcfc0a3fe0694.jpg","text":"TemporaryFile(/tmp/multipartBody1851943393669919642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_07_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6f9f5b08bd46ce5ea72dd927ed2146f7.jpg","text":"TemporaryFile(/tmp/multipartBody4440766417822283856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_08_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/fd8c9bca57c3352018e0048cea3ad999.jpg","text":"TemporaryFile(/tmp/multipartBody4205061996911268676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_07_55_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b0209f783f6d5d626cf41d9b7af058a.jpg","text":"TemporaryFile(/tmp/multipartBody6835598979415739879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282724364,"filename":"image_27112025_20_08_06_10850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495253","file1":"1396495242","file0":"1396495228","file4":"1396495257","file5":"1396495259","file3":"1396495255"},"map_files_photo_id_array":[{"photo_id":"1396495259","filename":"file5"},{"photo_id":"1396495253","filename":"file2"},{"photo_id":"1396495257","filename":"file4"},{"photo_id":"1396495242","filename":"file1"},{"photo_id":"1396495228","filename":"file0"},{"photo_id":"1396495255","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495228":["hashtag1","hashtag2"]},{"1396495257":["hashtag1","hashtag2"]},{"1396495242":["hashtag1","hashtag2"]},{"1396495259":["hashtag1","hashtag2"]},{"1396495253":["hashtag1","hashtag2"]},{"1396495255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495228, 1396495257, 1396495242, 1396495259, 1396495253, 1396495255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5282187461853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:32:03.868314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_35_10585.jpg', '/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_45_9512.jpg', '/home/pi/Desktop/images/27112025/20/08/image_27112025_20_09_05_10790.jpg', '/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_15_9643.jpg', '/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_25_9592.jpg', '/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_35_10585.jpg
/home/pi/Desktop/images/27112025/20/08/image_27112025_20_08_45_9512.jpg
/home/pi/Desktop/images/27112025/20/08/image_27112025_20_09_05_10790.jpg
/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_15_9643.jpg
/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_25_9592.jpg
/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_35_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495281","1396495278","1396495274","1396495271","1396495268","1396495285"],"photo_ids_order":["1396495268","1396495271","1396495274","1396495278","1396495281","1396495285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/82e2ab1b9bd50da26d56079bae26c034.jpg","text":"TemporaryFile(/tmp/multipartBody7139973191757528880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_09_25_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b9cb3f9a4a638bea95505f62aea434bb.jpg","text":"TemporaryFile(/tmp/multipartBody8516411147682458879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_09_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/88478c135bc0d57547648a617d5e96a9.jpg","text":"TemporaryFile(/tmp/multipartBody6082254854299148858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_09_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40e676765e3b1caa32d7cf747edfb604.jpg","text":"TemporaryFile(/tmp/multipartBody1299732302310346895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_08_45_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/edfc45968b5d7066d390cd7013a43f13.jpg","text":"TemporaryFile(/tmp/multipartBody844028498269449817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_08_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e874dcebe00783deecc041b25ad96c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7015979339936345820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282785285,"filename":"image_27112025_20_09_35_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495274","file1":"1396495271","file0":"1396495268","file4":"1396495281","file5":"1396495285","file3":"1396495278"},"map_files_photo_id_array":[{"photo_id":"1396495285","filename":"file5"},{"photo_id":"1396495274","filename":"file2"},{"photo_id":"1396495281","filename":"file4"},{"photo_id":"1396495271","filename":"file1"},{"photo_id":"1396495268","filename":"file0"},{"photo_id":"1396495278","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495281":["hashtag1","hashtag2"]},{"1396495278":["hashtag1","hashtag2"]},{"1396495274":["hashtag1","hashtag2"]},{"1396495271":["hashtag1","hashtag2"]},{"1396495268":["hashtag1","hashtag2"]},{"1396495285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495281, 1396495278, 1396495274, 1396495271, 1396495268, 1396495285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.759621143341064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:33:08.776230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_45_9696.jpg', '/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_55_9696.jpg', '/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_15_9763.jpg', '/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_25_9621.jpg', '/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_35_10716.jpg', '/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_45_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_45_9696.jpg
/home/pi/Desktop/images/27112025/20/09/image_27112025_20_09_55_9696.jpg
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_15_9763.jpg
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_25_9621.jpg
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_35_10716.jpg
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_45_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495324","1396495303","1396495308","1396495331","1396495319","1396495328"],"photo_ids_order":["1396495303","1396495308","1396495319","1396495324","1396495328","1396495331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/53154a5664f975c528b0d46ea17d6188.jpg","text":"TemporaryFile(/tmp/multipartBody1079639050838112223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_10_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0f1b8331aaf9cbc964805a79cedf0178.jpg","text":"TemporaryFile(/tmp/multipartBody2779034896453799541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_09_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/222283cf823701b60925299810867199.jpg","text":"TemporaryFile(/tmp/multipartBody2790708523063926011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_09_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e17e83091107de7be99e36f4380dc68.jpg","text":"TemporaryFile(/tmp/multipartBody2663401063758474982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_10_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e53a890afb7732d3bfe1ecf0078a6f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8576847326060479540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_10_15_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1547a83d22708d880b5a6d5a37cdfc81.jpg","text":"TemporaryFile(/tmp/multipartBody2561275677782520294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282852310,"filename":"image_27112025_20_10_35_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495319","file1":"1396495308","file0":"1396495303","file4":"1396495328","file5":"1396495331","file3":"1396495324"},"map_files_photo_id_array":[{"photo_id":"1396495331","filename":"file5"},{"photo_id":"1396495319","filename":"file2"},{"photo_id":"1396495328","filename":"file4"},{"photo_id":"1396495308","filename":"file1"},{"photo_id":"1396495303","filename":"file0"},{"photo_id":"1396495324","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495324":["hashtag1","hashtag2"]},{"1396495303":["hashtag1","hashtag2"]},{"1396495308":["hashtag1","hashtag2"]},{"1396495331":["hashtag1","hashtag2"]},{"1396495319":["hashtag1","hashtag2"]},{"1396495328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495324, 1396495303, 1396495308, 1396495331, 1396495319, 1396495328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50174856185913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:34:03.265814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_55_9662.jpg', '/home/pi/Desktop/images/27112025/20/10/image_27112025_20_11_05_10812.jpg', '/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_15_9676.jpg', '/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_35_10637.jpg', '/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_45_9751.jpg', '/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_55_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_10_55_9662.jpg
/home/pi/Desktop/images/27112025/20/10/image_27112025_20_11_05_10812.jpg
/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_15_9676.jpg
/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_35_10637.jpg
/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_45_9751.jpg
/home/pi/Desktop/images/27112025/20/11/image_27112025_20_11_55_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495380","1396495407","1396495463","1396495352","1396495498","1396495435"],"photo_ids_order":["1396495352","1396495380","1396495407","1396495435","1396495463","1396495498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/110d3f17d2b2fa998140d4a5245c7022.jpg","text":"TemporaryFile(/tmp/multipartBody6816479573114050396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_11_05_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/408c49296746dc48de0dacbfeb7b54bd.jpg","text":"TemporaryFile(/tmp/multipartBody5115447572970885744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_11_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cee8a1d6739d028ceef06358fc666d51.jpg","text":"TemporaryFile(/tmp/multipartBody6481498537451986143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_11_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b79fb65972a59fc1fd097e9cb4ad081e.jpg","text":"TemporaryFile(/tmp/multipartBody884752360031409207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_10_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6528c2e2c8f833d0ac397bb8b1442d2c.jpg","text":"TemporaryFile(/tmp/multipartBody855991791391818010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_11_55_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8c18be7f31b408886c4c61bbb7d3062f.jpg","text":"TemporaryFile(/tmp/multipartBody2220886776708165046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282904271,"filename":"image_27112025_20_11_35_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495407","file1":"1396495380","file0":"1396495352","file4":"1396495463","file5":"1396495498","file3":"1396495435"},"map_files_photo_id_array":[{"photo_id":"1396495498","filename":"file5"},{"photo_id":"1396495407","filename":"file2"},{"photo_id":"1396495463","filename":"file4"},{"photo_id":"1396495380","filename":"file1"},{"photo_id":"1396495352","filename":"file0"},{"photo_id":"1396495435","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495380":["hashtag1","hashtag2"]},{"1396495407":["hashtag1","hashtag2"]},{"1396495463":["hashtag1","hashtag2"]},{"1396495352":["hashtag1","hashtag2"]},{"1396495498":["hashtag1","hashtag2"]},{"1396495435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495380, 1396495407, 1396495463, 1396495352, 1396495498, 1396495435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.125043630599976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:35:03.138143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/11/image_27112025_20_12_05_9733.jpg', '/home/pi/Desktop/images/27112025/20/12/image_27112025_20_12_15_10669.jpg', '/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_35_9655.jpg', '/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_45_9777.jpg', '/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_56_10720.jpg', '/home/pi/Desktop/images/27112025/20/15/image_27112025_20_16_05_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/11/image_27112025_20_12_05_9733.jpg
/home/pi/Desktop/images/27112025/20/12/image_27112025_20_12_15_10669.jpg
/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_35_9655.jpg
/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_45_9777.jpg
/home/pi/Desktop/images/27112025/20/15/image_27112025_20_15_56_10720.jpg
/home/pi/Desktop/images/27112025/20/15/image_27112025_20_16_05_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495650","1396495620","1396495616","1396495601","1396495532","1396495613"],"photo_ids_order":["1396495532","1396495601","1396495613","1396495616","1396495620","1396495650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/005715be4616b9a214d2da36dc772b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3166648762337812494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_16_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/10348200d3e15d19263dd371feb62571.jpg","text":"TemporaryFile(/tmp/multipartBody1578282064864142267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_15_56_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97c1eb4762bd67b1daba1b3d92d1274a.jpg","text":"TemporaryFile(/tmp/multipartBody8576731779266206269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_15_45_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd337eb88dbaaef3fbbe25b352af90fc.jpg","text":"TemporaryFile(/tmp/multipartBody3654074143374221205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_12_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6a427104424ed14c4ac1965020b443a8.jpg","text":"TemporaryFile(/tmp/multipartBody5383070188493315892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_12_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/25586f07c0e11667be5bb9849637bd52.jpg","text":"TemporaryFile(/tmp/multipartBody5288956138290483442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764282964080,"filename":"image_27112025_20_15_35_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495613","file1":"1396495601","file0":"1396495532","file4":"1396495620","file5":"1396495650","file3":"1396495616"},"map_files_photo_id_array":[{"photo_id":"1396495650","filename":"file5"},{"photo_id":"1396495613","filename":"file2"},{"photo_id":"1396495620","filename":"file4"},{"photo_id":"1396495601","filename":"file1"},{"photo_id":"1396495532","filename":"file0"},{"photo_id":"1396495616","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495650":["hashtag1","hashtag2"]},{"1396495620":["hashtag1","hashtag2"]},{"1396495616":["hashtag1","hashtag2"]},{"1396495601":["hashtag1","hashtag2"]},{"1396495532":["hashtag1","hashtag2"]},{"1396495613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495650, 1396495620, 1396495616, 1396495601, 1396495532, 1396495613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.301682472229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:36:03.268779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_15_9655.jpg', '/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_25_10590.jpg', '/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_35_9548.jpg', '/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_55_9679.jpg', '/home/pi/Desktop/images/27112025/20/16/image_27112025_20_17_05_9649.jpg', '/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_25_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_15_9655.jpg
/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_25_10590.jpg
/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_35_9548.jpg
/home/pi/Desktop/images/27112025/20/16/image_27112025_20_16_55_9679.jpg
/home/pi/Desktop/images/27112025/20/16/image_27112025_20_17_05_9649.jpg
/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_25_10538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495685","1396495694","1396495715","1396495706","1396495690","1396495687"],"photo_ids_order":["1396495685","1396495687","1396495690","1396495694","1396495706","1396495715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b1d53a29ab18d7ad20f5297c2c15efb.jpg","text":"TemporaryFile(/tmp/multipartBody7679552237882230418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_16_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/187c556a30ad6df821b8a3228eba55bc.jpg","text":"TemporaryFile(/tmp/multipartBody3117447694042553156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_16_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/faa27837fdc8afb6e72668ec3300cc65.jpg","text":"TemporaryFile(/tmp/multipartBody5445133291079004153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_17_25_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d02ce0deff3f7c2783da0c18fc64185a.jpg","text":"TemporaryFile(/tmp/multipartBody7774557468073458835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_17_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3b4c0c2172306d169aca56585e1f9b76.jpg","text":"TemporaryFile(/tmp/multipartBody6418063119527609654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_16_35_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a74e232bbeed3a113526cf9f1e7643bc.jpg","text":"TemporaryFile(/tmp/multipartBody170665863579032508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283024271,"filename":"image_27112025_20_16_25_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495690","file1":"1396495687","file0":"1396495685","file4":"1396495706","file5":"1396495715","file3":"1396495694"},"map_files_photo_id_array":[{"photo_id":"1396495715","filename":"file5"},{"photo_id":"1396495690","filename":"file2"},{"photo_id":"1396495706","filename":"file4"},{"photo_id":"1396495687","filename":"file1"},{"photo_id":"1396495685","filename":"file0"},{"photo_id":"1396495694","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396495685":["hashtag1","hashtag2"]},{"1396495694":["hashtag1","hashtag2"]},{"1396495715":["hashtag1","hashtag2"]},{"1396495706":["hashtag1","hashtag2"]},{"1396495690":["hashtag1","hashtag2"]},{"1396495687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396495685, 1396495694, 1396495715, 1396495706, 1396495690, 1396495687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29392051696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-27 23:36:42.966198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_20_2687.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_22_2690.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_26_3753.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_35_3619.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_46_2663.jpg', '/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_55_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_20_2687.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_22_2690.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_26_3753.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_35_3619.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_46_2663.jpg
/home/pi/Desktop/images/31102025/03/29/image_31102025_03_29_55_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396495782","1396495812","1396495728","1396495865","1396495754","1396495837"],"photo_ids_order":["1396495728","1396495754","1396495782","1396495812","1396495837","1396495865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5600ed42ba382c228ca19a2bdcb09a35.jpg","text":"TemporaryFile(/tmp/multipartBody7665008298821663890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_26_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/27/257c947506f6da5a9132a70877f3c3ed.jpg","text":"TemporaryFile(/tmp/multipartBody2092164795887000184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_35_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/27/f96603cc709a333a0676608a3dd9aae7.jpg","text":"TemporaryFile(/tmp/multipartBody5896586627337894494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_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/27/ae72d19a54fc1563dd15e9b09f1f39e3.jpg","text":"TemporaryFile(/tmp/multipartBody8779393378613770304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_55_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/27/3c3b760b667a6114d1e061823aa92ab8.jpg","text":"TemporaryFile(/tmp/multipartBody1075199724536343861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_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/27/769e1a81371fbdcc8cfa074cdc9b887d.jpg","text":"TemporaryFile(/tmp/multipartBody7428996028923827062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283064712,"filename":"image_31102025_03_29_46_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396495782","file1":"1396495754","file0":"1396495728","file4":"1396495837","file5":"1396495865","file3":"1396495812"},"map_files_photo_id_array":[{"photo_id":"1396495865","filename":"file5"},{"photo_id":"1396495782","filename":"file2"},{"photo_id":"1396495837","filename":"file4"},{"photo_id":"1396495754","filename":"file1"},{"photo_id":"1396495728","filename":"file0"},{"photo_id":"1396495812","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396495782":["hashtag1","hashtag2"]},{"1396495812":["hashtag1","hashtag2"]},{"1396495728":["hashtag1","hashtag2"]},{"1396495865":["hashtag1","hashtag2"]},{"1396495754":["hashtag1","hashtag2"]},{"1396495837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396495782, 1396495812, 1396495728, 1396495865, 1396495754, 1396495837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.898906230926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:37:32.255879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_55_14558.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_56_1619.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_58_1588.jpg', '/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_59_1700.jpg', '/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_01_1533.jpg', '/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_03_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_55_14558.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_56_1619.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_58_1588.jpg
/home/pi/Desktop/images/21112025/21/50/image_21112025_21_50_59_1700.jpg
/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_01_1533.jpg
/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_03_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496031","1396496109","1396496134","1396496059","1396496082","1396496008"],"photo_ids_order":["1396496008","1396496031","1396496059","1396496082","1396496109","1396496134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/620661612e44b5d888d5e47ad8124e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6432218109635895262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_50_56_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/27/01242e93b102fb25225267566b46757f.jpg","text":"TemporaryFile(/tmp/multipartBody4614183224135160270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_51_01_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/27/838d2ab64ac479c7b6c7a7b960164aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5250672610831487420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_51_03_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/27/14d95b85655c358a170ce424814e036e.jpg","text":"TemporaryFile(/tmp/multipartBody1290637153809681619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_50_58_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/27/0f8ef73b3e76be4ffaf4182766a04de6.jpg","text":"TemporaryFile(/tmp/multipartBody992569843350639846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_50_59_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/27/6055bfbb9318dd9932b9b58a09c855f8.jpg","text":"TemporaryFile(/tmp/multipartBody6072497361115924523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283114375,"filename":"image_21112025_21_50_55_14558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496059","file1":"1396496031","file0":"1396496008","file4":"1396496109","file5":"1396496134","file3":"1396496082"},"map_files_photo_id_array":[{"photo_id":"1396496134","filename":"file5"},{"photo_id":"1396496059","filename":"file2"},{"photo_id":"1396496109","filename":"file4"},{"photo_id":"1396496031","filename":"file1"},{"photo_id":"1396496008","filename":"file0"},{"photo_id":"1396496082","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396496031":["hashtag1","hashtag2"]},{"1396496109":["hashtag1","hashtag2"]},{"1396496134":["hashtag1","hashtag2"]},{"1396496059":["hashtag1","hashtag2"]},{"1396496082":["hashtag1","hashtag2"]},{"1396496008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396496031, 1396496109, 1396496134, 1396496059, 1396496082, 1396496008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52021932601929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:38:12.471035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_04_1617.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_07_3020.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_10_3524.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_13_2531.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_17_4201.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_20_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/51/image_21112025_21_51_04_1617.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_07_3020.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_10_3524.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_13_2531.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_17_4201.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_20_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496283","1396496256","1396496313","1396496223","1396496369","1396496344"],"photo_ids_order":["1396496223","1396496256","1396496283","1396496313","1396496344","1396496369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6e1b5f618705628f739f8594c05fed09.jpg","text":"TemporaryFile(/tmp/multipartBody4632245910581996801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_52_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/27/c1bec018f29434795b5e95648d141e25.jpg","text":"TemporaryFile(/tmp/multipartBody4378530751267552339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_52_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/27/82815ef8e57ee5024114b005590f6590.jpg","text":"TemporaryFile(/tmp/multipartBody9109285238117567647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_52_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/27/6517f1431204bd302742b61494e1d5e2.jpg","text":"TemporaryFile(/tmp/multipartBody8339066483954855303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_51_04_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/27/b0047c41d1a0ace6bf460880f92238a4.jpg","text":"TemporaryFile(/tmp/multipartBody4523068659541421804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_52_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/27/5c8bfb7293c46b851375452fad4590d7.jpg","text":"TemporaryFile(/tmp/multipartBody3207389618175270557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283154550,"filename":"image_21112025_21_52_17_4201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496283","file1":"1396496256","file0":"1396496223","file4":"1396496344","file5":"1396496369","file3":"1396496313"},"map_files_photo_id_array":[{"photo_id":"1396496369","filename":"file5"},{"photo_id":"1396496283","filename":"file2"},{"photo_id":"1396496344","filename":"file4"},{"photo_id":"1396496256","filename":"file1"},{"photo_id":"1396496223","filename":"file0"},{"photo_id":"1396496313","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396496283":["hashtag1","hashtag2"]},{"1396496256":["hashtag1","hashtag2"]},{"1396496313":["hashtag1","hashtag2"]},{"1396496223":["hashtag1","hashtag2"]},{"1396496369":["hashtag1","hashtag2"]},{"1396496344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396496283, 1396496256, 1396496313, 1396496223, 1396496369, 1396496344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.96616721153259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:39:03.615714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_35_9610.jpg', '/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_45_9771.jpg', '/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_55_10705.jpg', '/home/pi/Desktop/images/27112025/20/17/image_27112025_20_18_05_9880.jpg', '/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_15_9706.jpg', '/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_26_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_35_9610.jpg
/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_45_9771.jpg
/home/pi/Desktop/images/27112025/20/17/image_27112025_20_17_55_10705.jpg
/home/pi/Desktop/images/27112025/20/17/image_27112025_20_18_05_9880.jpg
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_15_9706.jpg
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_26_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496513","1396496516","1396496501","1396496504","1396496507","1396496509"],"photo_ids_order":["1396496501","1396496504","1396496507","1396496509","1396496513","1396496516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c7536d29dfb95c695ddbfad07fac61fc.jpg","text":"TemporaryFile(/tmp/multipartBody5019155594807912634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_18_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6233e9be450679fbde8c4a362ae5aaa7.jpg","text":"TemporaryFile(/tmp/multipartBody2289000789025413005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_18_26_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dcea324d06ba95b4104523c506b9b2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1797627141768497377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_17_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/98a111e19c4eac6f1ac239707bf5d99f.jpg","text":"TemporaryFile(/tmp/multipartBody5065274471792763490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_17_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aef083e81bc7aad89705eeea661ae829.jpg","text":"TemporaryFile(/tmp/multipartBody7206539969261844041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_17_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/085af24c44310ea1595ff0345ca490c1.jpg","text":"TemporaryFile(/tmp/multipartBody9047959816632499963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283204857,"filename":"image_27112025_20_18_05_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496507","file1":"1396496504","file0":"1396496501","file4":"1396496513","file5":"1396496516","file3":"1396496509"},"map_files_photo_id_array":[{"photo_id":"1396496516","filename":"file5"},{"photo_id":"1396496507","filename":"file2"},{"photo_id":"1396496513","filename":"file4"},{"photo_id":"1396496504","filename":"file1"},{"photo_id":"1396496501","filename":"file0"},{"photo_id":"1396496509","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396496513":["hashtag1","hashtag2"]},{"1396496516":["hashtag1","hashtag2"]},{"1396496501":["hashtag1","hashtag2"]},{"1396496504":["hashtag1","hashtag2"]},{"1396496507":["hashtag1","hashtag2"]},{"1396496509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396496513, 1396496516, 1396496501, 1396496504, 1396496507, 1396496509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83727288246155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:40:02.505401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_35_9662.jpg', '/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_45_9630.jpg', '/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_55_10653.jpg', '/home/pi/Desktop/images/27112025/20/18/image_27112025_20_19_05_9579.jpg', '/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_15_9685.jpg', '/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_25_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_35_9662.jpg
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_45_9630.jpg
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_18_55_10653.jpg
/home/pi/Desktop/images/27112025/20/18/image_27112025_20_19_05_9579.jpg
/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_15_9685.jpg
/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_25_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496742","1396496715","1396496687","1396496750","1396496747","1396496660"],"photo_ids_order":["1396496660","1396496687","1396496715","1396496742","1396496747","1396496750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/968d52e7ae041ce29d4c047afb2e4df3.jpg","text":"TemporaryFile(/tmp/multipartBody354551409827272922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_19_05_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a77b7f87c87c3c261599371794be1e0b.jpg","text":"TemporaryFile(/tmp/multipartBody6650333101923482222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_18_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/932d5bc585a207ab903916da6082f82a.jpg","text":"TemporaryFile(/tmp/multipartBody6717277280499139622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_18_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d43ea5e6c8e43c1d3ca855ad3717d430.jpg","text":"TemporaryFile(/tmp/multipartBody8566036706227580575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_19_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/76442d540cf94f83971cf8899fd6ca71.jpg","text":"TemporaryFile(/tmp/multipartBody4659282841465182570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_19_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/41d85b154c461121f9934431fe92ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody676472877705146807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283263549,"filename":"image_27112025_20_18_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496715","file1":"1396496687","file0":"1396496660","file4":"1396496747","file5":"1396496750","file3":"1396496742"},"map_files_photo_id_array":[{"photo_id":"1396496750","filename":"file5"},{"photo_id":"1396496715","filename":"file2"},{"photo_id":"1396496747","filename":"file4"},{"photo_id":"1396496687","filename":"file1"},{"photo_id":"1396496660","filename":"file0"},{"photo_id":"1396496742","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396496742":["hashtag1","hashtag2"]},{"1396496715":["hashtag1","hashtag2"]},{"1396496687":["hashtag1","hashtag2"]},{"1396496750":["hashtag1","hashtag2"]},{"1396496747":["hashtag1","hashtag2"]},{"1396496660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396496742, 1396496715, 1396496687, 1396496750, 1396496747, 1396496660)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.89457678794861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:41:02.950980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_35_9818.jpg', '/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_45_9658.jpg', '/home/pi/Desktop/images/27112025/20/19/image_27112025_20_20_05_9653.jpg', '/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_15_9822.jpg', '/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_25_9806.jpg', '/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_35_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_35_9818.jpg
/home/pi/Desktop/images/27112025/20/19/image_27112025_20_19_45_9658.jpg
/home/pi/Desktop/images/27112025/20/19/image_27112025_20_20_05_9653.jpg
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_15_9822.jpg
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_25_9806.jpg
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_35_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496886","1396496882","1396496878","1396496872","1396496875","1396496869"],"photo_ids_order":["1396496869","1396496872","1396496875","1396496878","1396496882","1396496886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/05d62d2fae064f6f8c57a9ff6c6f67b7.jpg","text":"TemporaryFile(/tmp/multipartBody2853911318107022406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_20_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9007a2ed7e2885dfbb004498aec90419.jpg","text":"TemporaryFile(/tmp/multipartBody8302674382012908047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_20_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7cbe9b5045557a1d98a09be782c55125.jpg","text":"TemporaryFile(/tmp/multipartBody1208101482362399572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_20_15_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/bcab73108eca80e1cfbccee401a33cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7338228800775301729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_19_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5c28f748ce0e6a9db8bde938a66cda95.jpg","text":"TemporaryFile(/tmp/multipartBody2228140508923821708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_20_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/36e59e8d71819b0f82e30535ffb9e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3759658269531973823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283323830,"filename":"image_27112025_20_19_35_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496875","file1":"1396496872","file0":"1396496869","file4":"1396496882","file5":"1396496886","file3":"1396496878"},"map_files_photo_id_array":[{"photo_id":"1396496886","filename":"file5"},{"photo_id":"1396496875","filename":"file2"},{"photo_id":"1396496882","filename":"file4"},{"photo_id":"1396496872","filename":"file1"},{"photo_id":"1396496869","filename":"file0"},{"photo_id":"1396496878","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396496886":["hashtag1","hashtag2"]},{"1396496882":["hashtag1","hashtag2"]},{"1396496878":["hashtag1","hashtag2"]},{"1396496872":["hashtag1","hashtag2"]},{"1396496875":["hashtag1","hashtag2"]},{"1396496869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396496886, 1396496882, 1396496878, 1396496872, 1396496875, 1396496869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38590097427368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:42:02.887340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_45_9702.jpg', '/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_55_9746.jpg', '/home/pi/Desktop/images/27112025/20/20/image_27112025_20_21_05_9903.jpg', '/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_15_9796.jpg', '/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_25_10697.jpg', '/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_35_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_45_9702.jpg
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_20_55_9746.jpg
/home/pi/Desktop/images/27112025/20/20/image_27112025_20_21_05_9903.jpg
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_15_9796.jpg
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_25_10697.jpg
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_35_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496916","1396496904","1396496921","1396496924","1396496912","1396496909"],"photo_ids_order":["1396496904","1396496909","1396496912","1396496916","1396496921","1396496924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e3adfaf1c0f5d4fb71666345da22a66e.jpg","text":"TemporaryFile(/tmp/multipartBody2152854342904291534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_21_15_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/63d85cfeb79ee24638a8c51c0bca925d.jpg","text":"TemporaryFile(/tmp/multipartBody5591210976224685572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_20_45_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d51c5a3321711289c9e3e8d453bbadb5.jpg","text":"TemporaryFile(/tmp/multipartBody8462655225442344652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_21_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/97b40b1338ef71479703b69473e74c33.jpg","text":"TemporaryFile(/tmp/multipartBody4377973674931665771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_21_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8932329e0c1acf1b09cc4a707b979bba.jpg","text":"TemporaryFile(/tmp/multipartBody3183316398483063923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_21_05_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/79fbd17f4a33de80a7c3cb57d00810ca.jpg","text":"TemporaryFile(/tmp/multipartBody8054005670223302702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283386839,"filename":"image_27112025_20_20_55_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496912","file1":"1396496909","file0":"1396496904","file4":"1396496921","file5":"1396496924","file3":"1396496916"},"map_files_photo_id_array":[{"photo_id":"1396496924","filename":"file5"},{"photo_id":"1396496912","filename":"file2"},{"photo_id":"1396496921","filename":"file4"},{"photo_id":"1396496909","filename":"file1"},{"photo_id":"1396496904","filename":"file0"},{"photo_id":"1396496916","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396496916":["hashtag1","hashtag2"]},{"1396496904":["hashtag1","hashtag2"]},{"1396496921":["hashtag1","hashtag2"]},{"1396496924":["hashtag1","hashtag2"]},{"1396496912":["hashtag1","hashtag2"]},{"1396496909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396496916, 1396496904, 1396496921, 1396496924, 1396496912, 1396496909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.49913430213928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:43:03.345373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_45_9905.jpg', '/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_55_10676.jpg', '/home/pi/Desktop/images/27112025/20/21/image_27112025_20_22_05_9591.jpg', '/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_15_9662.jpg', '/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_25_10747.jpg', '/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_56_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_45_9905.jpg
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_21_55_10676.jpg
/home/pi/Desktop/images/27112025/20/21/image_27112025_20_22_05_9591.jpg
/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_15_9662.jpg
/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_25_10747.jpg
/home/pi/Desktop/images/27112025/20/22/image_27112025_20_22_56_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396496969","1396496930","1396496956","1396496944","1396496973","1396496976"],"photo_ids_order":["1396496930","1396496944","1396496956","1396496969","1396496973","1396496976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3bc317336d54c6a74db0bc0161910540.jpg","text":"TemporaryFile(/tmp/multipartBody6177420626917181162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_22_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/e4904936bd1512f791609682a5121204.jpg","text":"TemporaryFile(/tmp/multipartBody257215745584819988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_21_45_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/95cd95121c1326e0012425c5e33dfb9e.jpg","text":"TemporaryFile(/tmp/multipartBody1252260858291809684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_22_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2b8a5672a0ccba4696924bfbbbc0f09b.jpg","text":"TemporaryFile(/tmp/multipartBody6223216867388756121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_21_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/43281c3556dd3c0ba7c0f5916a1c6a36.jpg","text":"TemporaryFile(/tmp/multipartBody8275985302870516073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_22_25_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2da81150129f10654c7d381c394092a6.jpg","text":"TemporaryFile(/tmp/multipartBody6281811874060055478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283444452,"filename":"image_27112025_20_22_56_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396496956","file1":"1396496944","file0":"1396496930","file4":"1396496973","file5":"1396496976","file3":"1396496969"},"map_files_photo_id_array":[{"photo_id":"1396496976","filename":"file5"},{"photo_id":"1396496956","filename":"file2"},{"photo_id":"1396496973","filename":"file4"},{"photo_id":"1396496944","filename":"file1"},{"photo_id":"1396496930","filename":"file0"},{"photo_id":"1396496969","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396496969":["hashtag1","hashtag2"]},{"1396496930":["hashtag1","hashtag2"]},{"1396496956":["hashtag1","hashtag2"]},{"1396496944":["hashtag1","hashtag2"]},{"1396496973":["hashtag1","hashtag2"]},{"1396496976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396496969, 1396496930, 1396496956, 1396496944, 1396496973, 1396496976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50755023956299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:44:03.525698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/22/image_27112025_20_23_05_9580.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_15_9700.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_26_10716.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_35_9598.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_45_9670.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_55_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/22/image_27112025_20_23_05_9580.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_15_9700.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_26_10716.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_35_9598.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_45_9670.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_55_10612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7304513454437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-27 23:44:12.779233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
  port_id : 28762588
  datou_current_id : 4088073
in upload_from_sqlite, uploading in 28762588
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_22_2642.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_25_2664.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_29_3673.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_32_2803.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_34_2748.jpg', '/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_37_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4088073&datou=0
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_22_2642.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_25_2664.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_29_3673.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_32_2803.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_34_2748.jpg
/home/pi/Desktop/images/21112025/21/52/image_21112025_21_52_37_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497015","1396496999","1396497011","1396497013","1396497004","1396497007"],"photo_ids_order":["1396496999","1396497004","1396497007","1396497011","1396497013","1396497015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5513977b444d5aab1ca0d5732817c916.jpg","text":"TemporaryFile(/tmp/multipartBody4440772415537103243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_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/27/07a96b69ccd0f390c40c69f6bccf5475.jpg","text":"TemporaryFile(/tmp/multipartBody169972030779856206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_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/27/90049d54c5847137e2e043c509a4e1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1250283000551116438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_32_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/27/1bc622c8aa590660a47edcbc28596be8.jpg","text":"TemporaryFile(/tmp/multipartBody759313665231625797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_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/27/e69e1296db5f2d08d42acb3139f368ce.jpg","text":"TemporaryFile(/tmp/multipartBody8547591960862438606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_25_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/27/e7c6514d94411fed5cece1503e678984.jpg","text":"TemporaryFile(/tmp/multipartBody7804705198202432632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283514792,"filename":"image_21112025_21_52_29_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497007","file1":"1396497004","file0":"1396496999","file4":"1396497013","file5":"1396497015","file3":"1396497011"},"map_files_photo_id_array":[{"photo_id":"1396497015","filename":"file5"},{"photo_id":"1396497007","filename":"file2"},{"photo_id":"1396497013","filename":"file4"},{"photo_id":"1396497004","filename":"file1"},{"photo_id":"1396496999","filename":"file0"},{"photo_id":"1396497011","filename":"file3"}],"portfolio_id":28762588,"hashtag_by_photo_ids":[{"1396497015":["hashtag1","hashtag2"]},{"1396496999":["hashtag1","hashtag2"]},{"1396497011":["hashtag1","hashtag2"]},{"1396497013":["hashtag1","hashtag2"]},{"1396497004":["hashtag1","hashtag2"]},{"1396497007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28762588 used, photo_id : ArrayBuffer(1396497015, 1396496999, 1396497011, 1396497013, 1396497004, 1396497007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.545894384384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:45:02.612516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/22/image_27112025_20_23_05_9580.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_15_9700.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_26_10716.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_35_9598.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_45_9670.jpg', '/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_55_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/22/image_27112025_20_23_05_9580.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_15_9700.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_26_10716.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_35_9598.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_45_9670.jpg
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_23_55_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497062","1396497038","1396497049","1396497054","1396497057","1396497042"],"photo_ids_order":["1396497038","1396497042","1396497049","1396497054","1396497057","1396497062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/743e8e5a109a19e6927f3283918ccf04.jpg","text":"TemporaryFile(/tmp/multipartBody6250581774958805807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_55_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66cd5f6c5358fcca5b796daeb4346caa.jpg","text":"TemporaryFile(/tmp/multipartBody3699056214450906642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5f7a402be01433f5227a742768b07980.jpg","text":"TemporaryFile(/tmp/multipartBody6644826242727189417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_26_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4439ce52894badffb7b02882d21c890e.jpg","text":"TemporaryFile(/tmp/multipartBody689395692729851994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f8db4e11aefe2bc05cf71954350c0b70.jpg","text":"TemporaryFile(/tmp/multipartBody8394185678945210119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/78aab5b07ef3c9a526e94b0756b94c13.jpg","text":"TemporaryFile(/tmp/multipartBody5781327233628565542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283563711,"filename":"image_27112025_20_23_15_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497049","file1":"1396497042","file0":"1396497038","file4":"1396497057","file5":"1396497062","file3":"1396497054"},"map_files_photo_id_array":[{"photo_id":"1396497062","filename":"file5"},{"photo_id":"1396497049","filename":"file2"},{"photo_id":"1396497057","filename":"file4"},{"photo_id":"1396497042","filename":"file1"},{"photo_id":"1396497038","filename":"file0"},{"photo_id":"1396497054","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497062":["hashtag1","hashtag2"]},{"1396497038":["hashtag1","hashtag2"]},{"1396497049":["hashtag1","hashtag2"]},{"1396497054":["hashtag1","hashtag2"]},{"1396497057":["hashtag1","hashtag2"]},{"1396497042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497062, 1396497038, 1396497049, 1396497054, 1396497057, 1396497042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.19863319396973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:46:02.758251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/23/image_27112025_20_24_05_9583.jpg', '/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_15_9804.jpg', '/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_25_10673.jpg', '/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_35_9614.jpg', '/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_45_9659.jpg', '/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_55_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/23/image_27112025_20_24_05_9583.jpg
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_15_9804.jpg
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_25_10673.jpg
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_35_9614.jpg
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_45_9659.jpg
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_24_55_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497080","1396497082","1396497076","1396497073","1396497067","1396497069"],"photo_ids_order":["1396497067","1396497069","1396497073","1396497076","1396497080","1396497082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a1ebeb746f5196ca3f424c1eaa00230c.jpg","text":"TemporaryFile(/tmp/multipartBody7028428367330297737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/37000a6645c7eaa4f6294c3f5782ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody1653276814697221155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/edf6d8d56bb041e7be3d0a657a065573.jpg","text":"TemporaryFile(/tmp/multipartBody1930748147778698204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38ce252437eb547bad0b88b92ee1575d.jpg","text":"TemporaryFile(/tmp/multipartBody2958335572349768714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ca8706e91912f6cd3ba06269f4dcfba6.jpg","text":"TemporaryFile(/tmp/multipartBody2295860735516562844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_05_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d1b0ab0ff03f45fe02f17ad283825f3.jpg","text":"TemporaryFile(/tmp/multipartBody3812767741884124220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283623778,"filename":"image_27112025_20_24_15_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497073","file1":"1396497069","file0":"1396497067","file4":"1396497080","file5":"1396497082","file3":"1396497076"},"map_files_photo_id_array":[{"photo_id":"1396497082","filename":"file5"},{"photo_id":"1396497073","filename":"file2"},{"photo_id":"1396497080","filename":"file4"},{"photo_id":"1396497069","filename":"file1"},{"photo_id":"1396497067","filename":"file0"},{"photo_id":"1396497076","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497080":["hashtag1","hashtag2"]},{"1396497082":["hashtag1","hashtag2"]},{"1396497076":["hashtag1","hashtag2"]},{"1396497073":["hashtag1","hashtag2"]},{"1396497067":["hashtag1","hashtag2"]},{"1396497069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497080, 1396497082, 1396497076, 1396497073, 1396497067, 1396497069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74214172363281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:47:03.021108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/24/image_27112025_20_25_05_9806.jpg', '/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_15_9743.jpg', '/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_25_9614.jpg', '/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_35_10619.jpg', '/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_45_9662.jpg', '/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_55_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/24/image_27112025_20_25_05_9806.jpg
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_15_9743.jpg
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_25_9614.jpg
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_35_10619.jpg
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_45_9662.jpg
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_25_55_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497263","1396497344","1396497419","1396497387","1396497189","1396497414"],"photo_ids_order":["1396497189","1396497263","1396497344","1396497387","1396497414","1396497419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7864743dd7efc74725397da806c7a35a.jpg","text":"TemporaryFile(/tmp/multipartBody4881854134757759497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1673490796fa36f40ab9e6d37042d95d.jpg","text":"TemporaryFile(/tmp/multipartBody7536476338411910378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d79d7f5abf04fe5b26c9423132b452a1.jpg","text":"TemporaryFile(/tmp/multipartBody8827981291760913485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b616f5e118721b046222c4ebdd0dc784.jpg","text":"TemporaryFile(/tmp/multipartBody8728711799996143300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a4fbc5b66397596bd7791624febe3617.jpg","text":"TemporaryFile(/tmp/multipartBody9213061889434148709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_05_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66bd850cd74cfe6010de8db841b2dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody2239483918694716267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283683934,"filename":"image_27112025_20_25_45_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497344","file1":"1396497263","file0":"1396497189","file4":"1396497414","file5":"1396497419","file3":"1396497387"},"map_files_photo_id_array":[{"photo_id":"1396497419","filename":"file5"},{"photo_id":"1396497344","filename":"file2"},{"photo_id":"1396497414","filename":"file4"},{"photo_id":"1396497263","filename":"file1"},{"photo_id":"1396497189","filename":"file0"},{"photo_id":"1396497387","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497263":["hashtag1","hashtag2"]},{"1396497344":["hashtag1","hashtag2"]},{"1396497419":["hashtag1","hashtag2"]},{"1396497387":["hashtag1","hashtag2"]},{"1396497189":["hashtag1","hashtag2"]},{"1396497414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497263, 1396497344, 1396497419, 1396497387, 1396497189, 1396497414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.83669686317444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:48:03.012160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/25/image_27112025_20_26_05_10718.jpg', '/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_15_9673.jpg', '/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_25_9661.jpg', '/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_35_10675.jpg', '/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_45_9686.jpg', '/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/25/image_27112025_20_26_05_10718.jpg
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_15_9673.jpg
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_25_9661.jpg
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_35_10675.jpg
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_45_9686.jpg
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_26_55_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497537","1396497524","1396497533","1396497529","1396497505","1396497489"],"photo_ids_order":["1396497489","1396497505","1396497524","1396497529","1396497533","1396497537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d826ef0452bb9ba88e0d7a3bd022a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6721458638681590517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/4a6a0cb5128a2dd6465feae3867918cf.jpg","text":"TemporaryFile(/tmp/multipartBody3313054650310795498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/1f1f9ad1165f302283296396c081e590.jpg","text":"TemporaryFile(/tmp/multipartBody9139625865500793266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_45_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ff38f6a7d3d7628d735dd81638becc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1794381701170728033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_35_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7642e45d5ea519a76ad04c19d23e93a9.jpg","text":"TemporaryFile(/tmp/multipartBody6367404413747278165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/940f6866f74f856a40a92f2d27019f01.jpg","text":"TemporaryFile(/tmp/multipartBody5382311306878659356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283744085,"filename":"image_27112025_20_26_05_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497524","file1":"1396497505","file0":"1396497489","file4":"1396497533","file5":"1396497537","file3":"1396497529"},"map_files_photo_id_array":[{"photo_id":"1396497537","filename":"file5"},{"photo_id":"1396497524","filename":"file2"},{"photo_id":"1396497533","filename":"file4"},{"photo_id":"1396497505","filename":"file1"},{"photo_id":"1396497489","filename":"file0"},{"photo_id":"1396497529","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497537":["hashtag1","hashtag2"]},{"1396497524":["hashtag1","hashtag2"]},{"1396497533":["hashtag1","hashtag2"]},{"1396497529":["hashtag1","hashtag2"]},{"1396497505":["hashtag1","hashtag2"]},{"1396497489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497537, 1396497524, 1396497533, 1396497529, 1396497505, 1396497489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48390793800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:49:03.588845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/26/image_27112025_20_27_05_10734.jpg', '/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_15_9936.jpg', '/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_25_9668.jpg', '/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_45_10732.jpg', '/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_55_9893.jpg', '/home/pi/Desktop/images/27112025/20/27/image_27112025_20_28_05_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/26/image_27112025_20_27_05_10734.jpg
/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_15_9936.jpg
/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_25_9668.jpg
/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_45_10732.jpg
/home/pi/Desktop/images/27112025/20/27/image_27112025_20_27_55_9893.jpg
/home/pi/Desktop/images/27112025/20/27/image_27112025_20_28_05_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497565","1396497562","1396497570","1396497558","1396497573","1396497567"],"photo_ids_order":["1396497558","1396497562","1396497565","1396497567","1396497570","1396497573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9ba4a29d5b630afd1791e87e2d1cd425.jpg","text":"TemporaryFile(/tmp/multipartBody8972912202104425804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_27_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e9029f08c35b04fcb3d39d0bbe73fcf.jpg","text":"TemporaryFile(/tmp/multipartBody478526663045659376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_27_15_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f72e0c89c92255bef1dc969f6c9fee63.jpg","text":"TemporaryFile(/tmp/multipartBody928002018719611322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_27_55_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b5cedab260c0cf16c9e652b3ae19cec.jpg","text":"TemporaryFile(/tmp/multipartBody4720458474886337886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_27_05_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6df710efb380af792f6db143c25ed321.jpg","text":"TemporaryFile(/tmp/multipartBody863708599025941758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_28_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0cc22b500764668b666f7a8e0c8afd38.jpg","text":"TemporaryFile(/tmp/multipartBody7628269835429578960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283804745,"filename":"image_27112025_20_27_45_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497565","file1":"1396497562","file0":"1396497558","file4":"1396497570","file5":"1396497573","file3":"1396497567"},"map_files_photo_id_array":[{"photo_id":"1396497573","filename":"file5"},{"photo_id":"1396497565","filename":"file2"},{"photo_id":"1396497570","filename":"file4"},{"photo_id":"1396497562","filename":"file1"},{"photo_id":"1396497558","filename":"file0"},{"photo_id":"1396497567","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497565":["hashtag1","hashtag2"]},{"1396497562":["hashtag1","hashtag2"]},{"1396497570":["hashtag1","hashtag2"]},{"1396497558":["hashtag1","hashtag2"]},{"1396497573":["hashtag1","hashtag2"]},{"1396497567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497565, 1396497562, 1396497570, 1396497558, 1396497573, 1396497567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13199281692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:50:03.397708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_15_9749.jpg', '/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_26_10822.jpg', '/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_35_9820.jpg', '/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_45_9542.jpg', '/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_55_9695.jpg', '/home/pi/Desktop/images/27112025/20/28/image_27112025_20_29_05_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_15_9749.jpg
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_26_10822.jpg
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_35_9820.jpg
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_45_9542.jpg
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_28_55_9695.jpg
/home/pi/Desktop/images/27112025/20/28/image_27112025_20_29_05_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497609","1396497600","1396497593","1396497605","1396497597","1396497585"],"photo_ids_order":["1396497585","1396497593","1396497597","1396497600","1396497605","1396497609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/d2246eb05d78fed48fb9ae3e0e5ecca9.jpg","text":"TemporaryFile(/tmp/multipartBody6208455170815429333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_29_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0858da22199b769086491d36a5a7a658.jpg","text":"TemporaryFile(/tmp/multipartBody113250935180582286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_28_45_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7b33a1b6f77296a83c80dbf90dce768f.jpg","text":"TemporaryFile(/tmp/multipartBody6032981552034174601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_28_26_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9b82654f87a513f04b6fcbbcf8d2d094.jpg","text":"TemporaryFile(/tmp/multipartBody6434707192808994127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_28_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dbd6f1ad0c1b2c99317d3d7d8b824175.jpg","text":"TemporaryFile(/tmp/multipartBody2371838283152406893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_28_35_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/ce43b8557debe099456127a8c8683e68.jpg","text":"TemporaryFile(/tmp/multipartBody6603503624551707368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283864461,"filename":"image_27112025_20_28_15_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497597","file1":"1396497593","file0":"1396497585","file4":"1396497605","file5":"1396497609","file3":"1396497600"},"map_files_photo_id_array":[{"photo_id":"1396497609","filename":"file5"},{"photo_id":"1396497597","filename":"file2"},{"photo_id":"1396497605","filename":"file4"},{"photo_id":"1396497593","filename":"file1"},{"photo_id":"1396497585","filename":"file0"},{"photo_id":"1396497600","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497609":["hashtag1","hashtag2"]},{"1396497600":["hashtag1","hashtag2"]},{"1396497593":["hashtag1","hashtag2"]},{"1396497605":["hashtag1","hashtag2"]},{"1396497597":["hashtag1","hashtag2"]},{"1396497585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497609, 1396497600, 1396497593, 1396497605, 1396497597, 1396497585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76450800895691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:51:02.686788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_15_9649.jpg', '/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_26_10620.jpg', '/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_35_9547.jpg', '/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_45_9879.jpg', '/home/pi/Desktop/images/27112025/20/29/image_27112025_20_30_05_10652.jpg', '/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_15_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_15_9649.jpg
/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_26_10620.jpg
/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_35_9547.jpg
/home/pi/Desktop/images/27112025/20/29/image_27112025_20_29_45_9879.jpg
/home/pi/Desktop/images/27112025/20/29/image_27112025_20_30_05_10652.jpg
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_15_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497636","1396497623","1396497626","1396497620","1396497630","1396497633"],"photo_ids_order":["1396497620","1396497623","1396497626","1396497630","1396497633","1396497636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a798863bdab5ff21234bf1d40e5cb11a.jpg","text":"TemporaryFile(/tmp/multipartBody328278324983101007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_30_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/42357ce037869223c285930da677e522.jpg","text":"TemporaryFile(/tmp/multipartBody5496501579968853321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_29_26_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/80a870edfe1f629d56a054680caea1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5880834600006023091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_29_35_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/9cddd9d2ecc04249e9f170ee42d030c8.jpg","text":"TemporaryFile(/tmp/multipartBody6131825614797906255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_29_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/585ab248c98ba01958fea2ed69f6a4f6.jpg","text":"TemporaryFile(/tmp/multipartBody668182298838565238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_29_45_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8d349272f2b7c3e4457db91860b1fd70.jpg","text":"TemporaryFile(/tmp/multipartBody6194485125490961915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283926298,"filename":"image_27112025_20_30_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497626","file1":"1396497623","file0":"1396497620","file4":"1396497633","file5":"1396497636","file3":"1396497630"},"map_files_photo_id_array":[{"photo_id":"1396497636","filename":"file5"},{"photo_id":"1396497626","filename":"file2"},{"photo_id":"1396497633","filename":"file4"},{"photo_id":"1396497623","filename":"file1"},{"photo_id":"1396497620","filename":"file0"},{"photo_id":"1396497630","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497636":["hashtag1","hashtag2"]},{"1396497623":["hashtag1","hashtag2"]},{"1396497626":["hashtag1","hashtag2"]},{"1396497620":["hashtag1","hashtag2"]},{"1396497630":["hashtag1","hashtag2"]},{"1396497633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497636, 1396497623, 1396497626, 1396497620, 1396497630, 1396497633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85191464424133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:52:02.657528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_25_9722.jpg', '/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_35_10718.jpg', '/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_45_9606.jpg', '/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_55_9622.jpg', '/home/pi/Desktop/images/27112025/20/30/image_27112025_20_31_05_10676.jpg', '/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_15_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_25_9722.jpg
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_35_10718.jpg
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_45_9606.jpg
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_30_55_9622.jpg
/home/pi/Desktop/images/27112025/20/30/image_27112025_20_31_05_10676.jpg
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_15_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396497716","1396497746","1396497682","1396497778","1396497652","1396497640"],"photo_ids_order":["1396497640","1396497652","1396497682","1396497716","1396497746","1396497778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/6814414507f11278b00ff8c09afecafa.jpg","text":"TemporaryFile(/tmp/multipartBody3666729956943064073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_30_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c4becd114629b6260c5697e977a5ab22.jpg","text":"TemporaryFile(/tmp/multipartBody5315245431313610437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_31_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/0e2e68aa9f210503c0eb3236addef1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6307777684408173149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_30_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/58ec8eec6666957485b86e77a0638a69.jpg","text":"TemporaryFile(/tmp/multipartBody7703334905131011127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_31_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/2144be8d49ce977ec04cd47e0070c08f.jpg","text":"TemporaryFile(/tmp/multipartBody5027419416897833236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_30_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/790acc56500ffbd4e54838fe0ea17b86.jpg","text":"TemporaryFile(/tmp/multipartBody4366878653303238310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764283983617,"filename":"image_27112025_20_30_25_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396497682","file1":"1396497652","file0":"1396497640","file4":"1396497746","file5":"1396497778","file3":"1396497716"},"map_files_photo_id_array":[{"photo_id":"1396497778","filename":"file5"},{"photo_id":"1396497682","filename":"file2"},{"photo_id":"1396497746","filename":"file4"},{"photo_id":"1396497652","filename":"file1"},{"photo_id":"1396497640","filename":"file0"},{"photo_id":"1396497716","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396497716":["hashtag1","hashtag2"]},{"1396497746":["hashtag1","hashtag2"]},{"1396497682":["hashtag1","hashtag2"]},{"1396497778":["hashtag1","hashtag2"]},{"1396497652":["hashtag1","hashtag2"]},{"1396497640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396497716, 1396497746, 1396497682, 1396497778, 1396497652, 1396497640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24904751777649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:53:03.094802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_25_9690.jpg', '/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_35_10568.jpg', '/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_45_9675.jpg', '/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_55_9758.jpg', '/home/pi/Desktop/images/27112025/20/31/image_27112025_20_32_05_10751.jpg', '/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_15_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_25_9690.jpg
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_35_10568.jpg
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_45_9675.jpg
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_31_55_9758.jpg
/home/pi/Desktop/images/27112025/20/31/image_27112025_20_32_05_10751.jpg
/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_15_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396498013","1396498103","1396498072","1396498039","1396497984","1396498131"],"photo_ids_order":["1396497984","1396498013","1396498039","1396498072","1396498103","1396498131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5e015cbfb363d09f8687149e4ff13ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5068061488913778037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_31_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c06653047cc0129daecb5ffa76f4e817.jpg","text":"TemporaryFile(/tmp/multipartBody307086511641363333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_32_05_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/cede18873715e327d5b9a80181003d60.jpg","text":"TemporaryFile(/tmp/multipartBody2398237857680154482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_31_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/294b9a78e2ff9cab5b286ce83a33e313.jpg","text":"TemporaryFile(/tmp/multipartBody303617303009033297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_31_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/38dad1cf374a6156cd9699e4185f8b0d.jpg","text":"TemporaryFile(/tmp/multipartBody5232826302937182541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_31_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/3d8e8f6d09c880f4fc09d2de68dd7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6580447176330836991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284044251,"filename":"image_27112025_20_32_15_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396498039","file1":"1396498013","file0":"1396497984","file4":"1396498103","file5":"1396498131","file3":"1396498072"},"map_files_photo_id_array":[{"photo_id":"1396498131","filename":"file5"},{"photo_id":"1396498039","filename":"file2"},{"photo_id":"1396498103","filename":"file4"},{"photo_id":"1396498013","filename":"file1"},{"photo_id":"1396497984","filename":"file0"},{"photo_id":"1396498072","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396498013":["hashtag1","hashtag2"]},{"1396498103":["hashtag1","hashtag2"]},{"1396498072":["hashtag1","hashtag2"]},{"1396498039":["hashtag1","hashtag2"]},{"1396497984":["hashtag1","hashtag2"]},{"1396498131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396498013, 1396498103, 1396498072, 1396498039, 1396497984, 1396498131)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.78505611419678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:54:03.426589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_25_9772.jpg', '/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_36_10648.jpg', '/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_55_9596.jpg', '/home/pi/Desktop/images/27112025/20/32/image_27112025_20_33_05_10655.jpg', '/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_15_9900.jpg', '/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_35_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_25_9772.jpg
/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_36_10648.jpg
/home/pi/Desktop/images/27112025/20/32/image_27112025_20_32_55_9596.jpg
/home/pi/Desktop/images/27112025/20/32/image_27112025_20_33_05_10655.jpg
/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_15_9900.jpg
/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_35_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396498489","1396498396","1396498366","1396498456","1396498338","1396498425"],"photo_ids_order":["1396498338","1396498366","1396498396","1396498425","1396498456","1396498489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/8ea07df414c556f5b4e61d27f22424f1.jpg","text":"TemporaryFile(/tmp/multipartBody6879996813910658935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_33_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/5bef4393d8fec5234cd7183608a31cf3.jpg","text":"TemporaryFile(/tmp/multipartBody451192495308556994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_32_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/55615347556fd93f07ecc0672f764c5f.jpg","text":"TemporaryFile(/tmp/multipartBody4420880065707262623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_32_36_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/7e4db8bf21613a76c3b05bc0db4dfa6a.jpg","text":"TemporaryFile(/tmp/multipartBody2801635008039553121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_33_15_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/14d4b4853e54ea4317a0aaf1eae3cadd.jpg","text":"TemporaryFile(/tmp/multipartBody8302870082905436023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_32_25_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c9c603217a48eb57fa2086278a68a395.jpg","text":"TemporaryFile(/tmp/multipartBody7099973552772673034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284104489,"filename":"image_27112025_20_33_05_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396498396","file1":"1396498366","file0":"1396498338","file4":"1396498456","file5":"1396498489","file3":"1396498425"},"map_files_photo_id_array":[{"photo_id":"1396498489","filename":"file5"},{"photo_id":"1396498396","filename":"file2"},{"photo_id":"1396498456","filename":"file4"},{"photo_id":"1396498366","filename":"file1"},{"photo_id":"1396498338","filename":"file0"},{"photo_id":"1396498425","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396498489":["hashtag1","hashtag2"]},{"1396498396":["hashtag1","hashtag2"]},{"1396498366":["hashtag1","hashtag2"]},{"1396498456":["hashtag1","hashtag2"]},{"1396498338":["hashtag1","hashtag2"]},{"1396498425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396498489, 1396498396, 1396498366, 1396498456, 1396498338, 1396498425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77285814285278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:55:02.424738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_55_9767.jpg', '/home/pi/Desktop/images/27112025/20/33/image_27112025_20_34_05_9752.jpg', '/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_15_9566.jpg', '/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_25_10684.jpg', '/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_35_9798.jpg', '/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/33/image_27112025_20_33_55_9767.jpg
/home/pi/Desktop/images/27112025/20/33/image_27112025_20_34_05_9752.jpg
/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_15_9566.jpg
/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_25_10684.jpg
/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_35_9798.jpg
/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396498547","1396498541","1396498550","1396498538","1396498543","1396498557"],"photo_ids_order":["1396498538","1396498541","1396498543","1396498547","1396498550","1396498557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c70e76cb9d047cc045340eec5d03ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody5868597739453024499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_34_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/abce6e5dfa957636a2732efd1062512f.jpg","text":"TemporaryFile(/tmp/multipartBody5264972853593140312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_34_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/b8202b3e7bbee0b502f6d7715470dde5.jpg","text":"TemporaryFile(/tmp/multipartBody1169503023802344361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_34_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/be6f69bf0b5a083d63a54614134ae2ea.jpg","text":"TemporaryFile(/tmp/multipartBody8751207750665116618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_33_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84ef024d9fef45c25e6de7957d75e4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5009630746702890310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_34_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/40f3653a6db3916eb93993ce07091d13.jpg","text":"TemporaryFile(/tmp/multipartBody6412094199721523713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284163499,"filename":"image_27112025_20_34_45_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396498543","file1":"1396498541","file0":"1396498538","file4":"1396498550","file5":"1396498557","file3":"1396498547"},"map_files_photo_id_array":[{"photo_id":"1396498557","filename":"file5"},{"photo_id":"1396498543","filename":"file2"},{"photo_id":"1396498550","filename":"file4"},{"photo_id":"1396498541","filename":"file1"},{"photo_id":"1396498538","filename":"file0"},{"photo_id":"1396498547","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396498547":["hashtag1","hashtag2"]},{"1396498541":["hashtag1","hashtag2"]},{"1396498550":["hashtag1","hashtag2"]},{"1396498538":["hashtag1","hashtag2"]},{"1396498543":["hashtag1","hashtag2"]},{"1396498557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396498547, 1396498541, 1396498550, 1396498538, 1396498543, 1396498557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.179826974868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:56:02.489212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_55_9786.jpg', '/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_15_9790.jpg', '/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_25_9829.jpg', '/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_35_9697.jpg', '/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_45_10718.jpg', '/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/34/image_27112025_20_34_55_9786.jpg
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_15_9790.jpg
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_25_9829.jpg
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_35_9697.jpg
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_45_10718.jpg
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_35_55_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396499083","1396498873","1396498981","1396498924","1396499037","1396499138"],"photo_ids_order":["1396498873","1396498924","1396498981","1396499037","1396499083","1396499138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/a604af259b1ef1072c4be97468c95ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1003980120904055514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_35_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dd97f4b03990b75c4bd7b955648ad0d5.jpg","text":"TemporaryFile(/tmp/multipartBody2198051711022735693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_34_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/aa3a84b24769422d130db3444ed51d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3122685610028322374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_35_25_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/84340baca7974fa1f91c732852d322c3.jpg","text":"TemporaryFile(/tmp/multipartBody4127068092151932837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_35_15_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/dfd5f7a50d31f6e839940d612e1b5c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3222504320253300390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_35_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c73878ef9152be80e8f8bedd5ccf081c.jpg","text":"TemporaryFile(/tmp/multipartBody4216848724476137535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284223606,"filename":"image_27112025_20_35_55_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396498981","file1":"1396498924","file0":"1396498873","file4":"1396499083","file5":"1396499138","file3":"1396499037"},"map_files_photo_id_array":[{"photo_id":"1396499138","filename":"file5"},{"photo_id":"1396498981","filename":"file2"},{"photo_id":"1396499083","filename":"file4"},{"photo_id":"1396498924","filename":"file1"},{"photo_id":"1396498873","filename":"file0"},{"photo_id":"1396499037","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396499083":["hashtag1","hashtag2"]},{"1396498873":["hashtag1","hashtag2"]},{"1396498981":["hashtag1","hashtag2"]},{"1396498924":["hashtag1","hashtag2"]},{"1396499037":["hashtag1","hashtag2"]},{"1396499138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396499083, 1396498873, 1396498981, 1396498924, 1396499037, 1396499138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29389715194702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-27 23:57:02.880805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251127 ORDER BY id_local ASC LIMIT 6;
  port_id : 28941786
  datou_current_id : 4125030
in upload_from_sqlite, uploading in 28941786
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/27112025/20/35/image_27112025_20_36_05_9818.jpg', '/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_15_10599.jpg', '/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_25_9736.jpg', '/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_35_9755.jpg', '/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_45_9674.jpg', '/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_55_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4125030&datou=0
/home/pi/Desktop/images/27112025/20/35/image_27112025_20_36_05_9818.jpg
/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_15_10599.jpg
/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_25_9736.jpg
/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_35_9755.jpg
/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_45_9674.jpg
/home/pi/Desktop/images/27112025/20/36/image_27112025_20_36_55_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396499470","1396499527","1396499422","1396499564","1396499639","1396499606"],"photo_ids_order":["1396499422","1396499470","1396499527","1396499564","1396499606","1396499639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/f224649729cd34a6fa8146325deed364.jpg","text":"TemporaryFile(/tmp/multipartBody8983797495339002096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c090dc321ffda3c81922ebf2a9e1ddb1.jpg","text":"TemporaryFile(/tmp/multipartBody6421777906280693294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/174e882a1a913ef56c8b6f60dcdfca97.jpg","text":"TemporaryFile(/tmp/multipartBody8767113117038340840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_05_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/27/8157dd768f53d7c201f1ad0dba0dabe8.jpg","text":"TemporaryFile(/tmp/multipartBody4712044356485760511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/66ebf2c6df1e7f6e4c038995a98f2c08.jpg","text":"TemporaryFile(/tmp/multipartBody5842176938512904239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_55_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/27/c29564694420a9573dff4dad9b32b57d.jpg","text":"TemporaryFile(/tmp/multipartBody7284541113428480654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764284283956,"filename":"image_27112025_20_36_45_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396499527","file1":"1396499470","file0":"1396499422","file4":"1396499606","file5":"1396499639","file3":"1396499564"},"map_files_photo_id_array":[{"photo_id":"1396499639","filename":"file5"},{"photo_id":"1396499527","filename":"file2"},{"photo_id":"1396499606","filename":"file4"},{"photo_id":"1396499470","filename":"file1"},{"photo_id":"1396499422","filename":"file0"},{"photo_id":"1396499564","filename":"file3"}],"portfolio_id":28941786,"hashtag_by_photo_ids":[{"1396499470":["hashtag1","hashtag2"]},{"1396499527":["hashtag1","hashtag2"]},{"1396499422":["hashtag1","hashtag2"]},{"1396499564":["hashtag1","hashtag2"]},{"1396499639":["hashtag1","hashtag2"]},{"1396499606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28941786 used, photo_id : ArrayBuffer(1396499470, 1396499527, 1396499422, 1396499564, 1396499639, 1396499606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.587902784347534 secondes ---
